update to v0.9.1.
add npm package link prep for jsr support (I hope) add favicon update installation instructions
This commit is contained in:
16
dist-demo/dist-browser/loadAndParseTwtxt.d.ts
vendored
16
dist-demo/dist-browser/loadAndParseTwtxt.d.ts
vendored
@@ -1,14 +1,2 @@
|
||||
export default function loadAndParseTwtxtFile(url?: string): Promise<{
|
||||
lastModified: string;
|
||||
following: import('./types.ts').Twttr[];
|
||||
metadata: import('./types.ts').Metadata;
|
||||
twts: {
|
||||
content: string;
|
||||
created: string;
|
||||
createdUTC: string;
|
||||
hash: string;
|
||||
replyHash: string | undefined;
|
||||
replyNick: string | undefined;
|
||||
replyUrl: string | undefined;
|
||||
}[];
|
||||
}>;
|
||||
import { Twtxt } from './types.ts';
|
||||
export default function loadAndParseTwtxtFile(url?: string): Promise<Twtxt>;
|
||||
|
||||
16
dist-demo/dist-browser/parseTwtxt.d.ts
vendored
16
dist-demo/dist-browser/parseTwtxt.d.ts
vendored
@@ -1,18 +1,6 @@
|
||||
import { Metadata, Twttr } from './types.ts';
|
||||
import { Twtxt } from './types.ts';
|
||||
/**
|
||||
* @param twtxt
|
||||
* @returns object containing: following, metadata, twts
|
||||
*/
|
||||
export default function parseTwtxt(twtxt: string): {
|
||||
following: Twttr[];
|
||||
metadata: Metadata;
|
||||
twts: {
|
||||
content: string;
|
||||
created: string;
|
||||
createdUTC: string;
|
||||
hash: string;
|
||||
replyHash: string | undefined;
|
||||
replyNick: string | undefined;
|
||||
replyUrl: string | undefined;
|
||||
}[];
|
||||
};
|
||||
export default function parseTwtxt(twtxt: string): Twtxt;
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
dist-demo/dist-browser/types.d.ts
vendored
1
dist-demo/dist-browser/types.d.ts
vendored
@@ -26,6 +26,7 @@ export interface Twttr {
|
||||
}
|
||||
export interface Twtxt {
|
||||
following: Twttr[];
|
||||
lastModified?: string;
|
||||
metadata: Metadata;
|
||||
twts: Twt[];
|
||||
}
|
||||
|
||||
2
dist-demo/dist-browser/utils.d.ts
vendored
2
dist-demo/dist-browser/utils.d.ts
vendored
@@ -1,2 +1,2 @@
|
||||
export declare const base32Encode: (payload: string | Uint8Array<ArrayBufferLike>) => any;
|
||||
export declare const base32Encode: (payload: string | Uint8Array<ArrayBufferLike>) => string;
|
||||
export declare const getValueOrFirstEntry: (value: unknown | unknown[]) => any;
|
||||
|
||||
Reference in New Issue
Block a user