move to pkg

This commit is contained in:
2023-06-08 12:45:23 +02:00
parent 2b80109e3b
commit 81ccb95d82
256 changed files with 4856 additions and 529 deletions

13
packages/system/dist/NostrLink.d.ts vendored Normal file
View File

@ -0,0 +1,13 @@
import { NostrPrefix } from ".";
export interface NostrLink {
type: NostrPrefix;
id: string;
kind?: number;
author?: string;
relays?: Array<string>;
encode(): string;
}
export declare function validateNostrLink(link: string): boolean;
export declare function tryParseNostrLink(link: string, prefixHint?: NostrPrefix): NostrLink | undefined;
export declare function parseNostrLink(link: string, prefixHint?: NostrPrefix): NostrLink;
//# sourceMappingURL=NostrLink.d.ts.map