initial public commit
This commit is contained in:
18
dist-node/parseTwtxt.d.ts
vendored
Normal file
18
dist-node/parseTwtxt.d.ts
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
import { Metadata, Twttr } 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;
|
||||
}[];
|
||||
};
|
||||
Reference in New Issue
Block a user