reorganize code into smaller files & dirs

This commit is contained in:
Martti Malmi
2024-01-04 15:48:19 +02:00
parent 5ea2eb711f
commit afa6d39a56
321 changed files with 671 additions and 671 deletions

View File

@ -4,8 +4,8 @@ declare const self: ServiceWorkerGlobalScope & {
};
import { NostrLink, NostrPrefix, TLVEntryType, encodeTLVEntries, tryParseNostrLink } from "@snort/system";
import { formatShort } from "@/Number";
import { defaultAvatar, hexToBech32 } from "@/SnortUtils";
import { formatShort } from "@/Utils/Number";
import { defaultAvatar, hexToBech32 } from "@/Utils";
import { clientsClaim } from "workbox-core";
import { registerRoute } from "workbox-routing";
import { CacheFirst, StaleWhileRevalidate } from "workbox-strategies";