NaturalSelectionLabs / RSS3-SDK-for-JavaScript

⚠️ DEPRECATED
48 stars 5 forks source link

Cannot find name #4

Open ItVen opened 2 years ago

ItVen commented 2 years ago

use yarn add rss3 verison :{"rss3": "^0.8.19"} 5 getListFile(persona: string, index?: number): Promise<RSS3AutoAssetsList | null>; node_modules/rss3/dist/assets/auto.d.ts:6:50 - error TS2304: Cannot find name 'RSS3AutoAssetsList'.

6 getList(persona: string, breakpoint?: (file: RSS3AutoAssetsList) => boolean): Promise<string[]>;


node_modules/rss3/dist/assets/custom.d.ts:5:59 - error TS2304: Cannot find name 'RSS3CustomAssetsList'.

5     getListFile(persona: string, index?: number): Promise<RSS3CustomAssetsList | null>;

node_modules/rss3/dist/assets/custom.d.ts:6:50 - error TS2304: Cannot find name 'RSS3CustomAssetsList'.

6 getList(persona: string, breakpoint?: (file: RSS3CustomAssetsList) => boolean): Promise<string[]>;


node_modules/rss3/dist/assets/custom.d.ts:8:17 - error TS2304: Cannot find name 'RSS3CustomAsset'.

8     post(asset: RSS3CustomAsset): Promise<string>;

node_modules/rss3/dist/assets/custom.d.ts:9:19 - error TS2304: Cannot find name 'RSS3CustomAsset'.

9 delete(asset: RSS3CustomAsset): Promise<string[] | undefined>;


node_modules/rss3/dist/backlinks.d.ts:6:71 - error TS2304: Cannot find name 'RSS3BacklinksList'.

6     getListFile(persona: string, id: string, index?: number): Promise<RSS3BacklinksList | null>;

node_modules/rss3/dist/backlinks.d.ts:7:62 - error TS2304: Cannot find name 'RSS3BacklinksList'.

7 getList(persona: string, id: string, breakpoint?: (file: RSS3BacklinksList) => boolean): Promise<string[]>;


node_modules/rss3/dist/files.d.ts:8:26 - error TS2304: Cannot find name 'RSS3File'.

8     new(fileID: string): RSS3File;

node_modules/rss3/dist/files.d.ts:9:52 - error TS2304: Cannot find name 'RSS3File'.

9 get(fileID?: string, force?: boolean): Promise;


node_modules/rss3/dist/files.d.ts:10:119 - error TS2304: Cannot find name 'RSS3CustomItemsList'.

10     getList(persona: string, field: 'assets' | 'backlinks' | 'links' | 'items', index?: number, id?: string): Promise<RSS3CustomItemsList | RSS3AutoItemsList | RSS3CustomAssetsList | RSS3AutoAssetsList | null>;

node_modules/rss3/dist/files.d.ts:10:141 - error TS2304: Cannot find name 'RSS3AutoItemsList'.

10 getList(persona: string, field: 'assets' | 'backlinks' | 'links' | 'items', index?: number, id?: string): Promise<RSS3CustomItemsList | RSS3AutoItemsList | RSS3CustomAssetsList | RSS3AutoAssetsList | null>;


node_modules/rss3/dist/files.d.ts:10:161 - error TS2304: Cannot find name 'RSS3CustomAssetsList'.

10     getList(persona: string, field: 'assets' | 'backlinks' | 'links' | 'items', index?: number, id?: string): Promise<RSS3CustomItemsList | RSS3AutoItemsList | RSS3CustomAssetsList | RSS3AutoAssetsList | null>;

node_modules/rss3/dist/files.d.ts:10:184 - error TS2304: Cannot find name 'RSS3AutoAssetsList'.

10 getList(persona: string, field: 'assets' | 'backlinks' | 'links' | 'items', index?: number, id?: string): Promise<RSS3CustomItemsList | RSS3AutoItemsList | RSS3CustomAssetsList | RSS3AutoAssetsList | null>;


node_modules/rss3/dist/files.d.ts:11:20 - error TS2304: Cannot find name 'RSS3ListID'.

11     getAll(fileID: RSS3ListID, breakpoint?: (file: RSS3List) => boolean): Promise<(string | RSS3CustomItem | RSS3AutoItem)[]>;

node_modules/rss3/dist/files.d.ts:11:52 - error TS2304: Cannot find name 'RSS3List'.

11 getAll(fileID: RSS3ListID, breakpoint?: (file: RSS3List) => boolean): Promise<(string | RSS3CustomItem | RSS3AutoItem)[]>;


node_modules/rss3/dist/files.d.ts:11:93 - error TS2304: Cannot find name 'RSS3CustomItem'.

11     getAll(fileID: RSS3ListID, breakpoint?: (file: RSS3List) => boolean): Promise<(string | RSS3CustomItem | RSS3AutoItem)[]>;

node_modules/rss3/dist/files.d.ts:11:110 - error TS2304: Cannot find name 'RSS3AutoItem'.

11 getAll(fileID: RSS3ListID, breakpoint?: (file: RSS3List) => boolean): Promise<(string | RSS3CustomItem | RSS3AutoItem)[]>;


node_modules/rss3/dist/files.d.ts:12:18 - error TS2304: Cannot find name 'RSS3File'.

12     set(content: RSS3File): void;

node_modules/rss3/dist/items/auto.d.ts:7:59 - error TS2304: Cannot find name 'RSS3AutoItemsList'.

7 getListFile(persona: string, index?: number): Promise<RSS3AutoItemsList | null>;


node_modules/rss3/dist/items/auto.d.ts:8:50 - error TS2304: Cannot find name 'RSS3AutoItemsList'.

8     getList(persona: string, breakpoint?: (file: RSS3AutoItemsList) => boolean): Promise<RSS3AutoItem[]>;

node_modules/rss3/dist/items/auto.d.ts:8:90 - error TS2304: Cannot find name 'RSS3AutoItem'.

8 getList(persona: string, breakpoint?: (file: RSS3AutoItemsList) => boolean): Promise<RSS3AutoItem[]>;


node_modules/rss3/dist/items/auto.d.ts:10:34 - error TS2304: Cannot find name 'RSS3AutoItem'.

10     get(itemID: string): Promise<RSS3AutoItem | null>;

node_modules/rss3/dist/items/backlinks.d.ts:8:70 - error TS2304: Cannot find name 'RSS3CustomItemsList'.

8 getListFile(itemID: string, id: string, index?: number): Promise<RSS3CustomItemsList | RSS3AutoItemsList | RSS3CustomAssetsList | RSS3AutoAssetsList | null>;


node_modules/rss3/dist/items/backlinks.d.ts:8:92 - error TS2304: Cannot find name 'RSS3AutoItemsList'.

8     getListFile(itemID: string, id: string, index?: number): Promise<RSS3CustomItemsList | RSS3AutoItemsList | RSS3CustomAssetsList | RSS3AutoAssetsList | null>;

node_modules/rss3/dist/items/backlinks.d.ts:8:112 - error TS2304: Cannot find name 'RSS3CustomAssetsList'.

8 getListFile(itemID: string, id: string, index?: number): Promise<RSS3CustomItemsList | RSS3AutoItemsList | RSS3CustomAssetsList | RSS3AutoAssetsList | null>;


node_modules/rss3/dist/items/backlinks.d.ts:8:135 - error TS2304: Cannot find name 'RSS3AutoAssetsList'.

8     getListFile(itemID: string, id: string, index?: number): Promise<RSS3CustomItemsList | RSS3AutoItemsList | RSS3CustomAssetsList | RSS3AutoAssetsList | null>;

node_modules/rss3/dist/items/backlinks.d.ts:9:63 - error TS2304: Cannot find name 'RSS3BacklinksList'.

9 getList(itemID: string, type: string, breakpoint?: (file: RSS3BacklinksList) => boolean): Promise<string[]>;


node_modules/rss3/dist/items/custom.d.ts:3:30 - error TS2304: Cannot find name 'RSS3CustomItem'.

3 declare type ItemPost = Omit<RSS3CustomItem, 'id' | 'date_created' | 'date_updated'>;

node_modules/rss3/dist/items/custom.d.ts:4:37 - error TS2304: Cannot find name 'RSS3CustomItem'.

4 interface ItemPatch extends Partial {


node_modules/rss3/dist/items/custom.d.ts:5:9 - error TS2304: Cannot find name 'RSS3CustomItemID'.

5     id: RSS3CustomItemID;

node_modules/rss3/dist/items/custom.d.ts:11:59 - error TS2304: Cannot find name 'RSS3CustomItemsList'.

11 getListFile(persona: string, index?: number): Promise<RSS3CustomItemsList | null>;


node_modules/rss3/dist/items/custom.d.ts:12:50 - error TS2304: Cannot find name 'RSS3CustomItemsList'.

12     getList(persona: string, breakpoint?: (file: RSS3CustomItemsList) => boolean): Promise<RSS3CustomItem[]>;

node_modules/rss3/dist/items/custom.d.ts:12:92 - error TS2304: Cannot find name 'RSS3CustomItem'.

12 getList(persona: string, breakpoint?: (file: RSS3CustomItemsList) => boolean): Promise<RSS3CustomItem[]>;


node_modules/rss3/dist/items/custom.d.ts:14:34 - error TS2304: Cannot find name 'RSS3CustomItem'.

14     get(itemID: string): Promise<RSS3CustomItem | null>;

node_modules/rss3/dist/items/custom.d.ts:15:37 - error TS2304: Cannot find name 'RSS3CustomItem'.

15 post(itemIn: ItemPost): Promise;


node_modules/rss3/dist/items/custom.d.ts:16:39 - error TS2304: Cannot find name 'RSS3CustomItem'.

16     patch(itemIn: ItemPatch): Promise<RSS3CustomItem | null>;

node_modules/rss3/dist/items/index.d.ts:17:18 - error TS2304: Cannot find name 'RSS3CustomItem'.

17 }): Promise<(RSS3CustomItem | RSS3AutoItem)[]>;


node_modules/rss3/dist/items/index.d.ts:17:35 - error TS2304: Cannot find name 'RSS3AutoItem'.

17     }): Promise<(RSS3CustomItem | RSS3AutoItem)[]>;

node_modules/rss3/dist/items/index.d.ts:26:18 - error TS2304: Cannot find name 'RSS3CustomItem'.

26 }): Promise<(RSS3CustomItem | RSS3AutoItem)[]>;


node_modules/rss3/dist/items/index.d.ts:26:35 - error TS2304: Cannot find name 'RSS3AutoItem'.

26     }): Promise<(RSS3CustomItem | RSS3AutoItem)[]>;

node_modules/rss3/dist/links.d.ts:5:12 - error TS2304: Cannot find name 'RSS3ID'.

5 list?: RSS3ID[];


node_modules/rss3/dist/links.d.ts:11:71 - error TS2304: Cannot find name 'RSS3LinksList'.

11     getListFile(persona: string, id: string, index?: number): Promise<RSS3LinksList | null>;

node_modules/rss3/dist/links.d.ts:12:62 - error TS2304: Cannot find name 'RSS3LinksList'.

12 getList(persona: string, id: string, breakpoint?: (file: RSS3LinksList) => boolean): Promise<string[]>;


node_modules/rss3/dist/links.d.ts:24:50 - error TS2304: Cannot find name 'RSS3LinksList'.

24     post(id: string, personaID: string): Promise<RSS3LinksList | undefined>;

node_modules/rss3/dist/profile/accounts.d.ts:6:28 - error TS2304: Cannot find name 'RSS3Account'.

6 getSigMessage(account: RSS3Account): Promise;


node_modules/rss3/dist/profile/accounts.d.ts:7:19 - error TS2304: Cannot find name 'RSS3Account'.

7     post(account: RSS3Account): Promise<{

node_modules/rss3/dist/profile/index.d.ts:9:18 - error TS2304: Cannot find name 'ThirdPartyAddress'.

9 avatar?: ThirdPartyAddress | undefined;


node_modules/rss3/dist/profile/index.d.ts:17:20 - error TS2304: Cannot find name 'RSS3Profile'.

17     patch(profile: RSS3Profile): Promise<{

node_modules/rss3/dist/profile/index.d.ts:19:18 - error TS2304: Cannot find name 'ThirdPartyAddress'.

19 avatar?: ThirdPartyAddress | undefined;



node_modules/rss3/dist/profile/index.d.ts:29:18 - error TS2304: Cannot find name 'ThirdPartyAddress'.

29         avatar?: ThirdPartyAddress | undefined;