15 lines
428 B
TypeScript
15 lines
428 B
TypeScript
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;
|
|
}[];
|
|
}>;
|