MCPcopy
hub / github.com/nbubna/store / StoreAPI

Interface StoreAPI

index.d.ts:17–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15export type Base = BaseSet & BaseGet & BaseSetAll & BaseGetAll & BaseTransact & BaseClear;
16
17export interface StoreAPI {
18 clear(): StoreBase;
19 clearAll(): StoreBase;
20 each(callback: EachFn): StoreBase;
21 get(key: any, alt?: any|Reviver): any;
22 getAll(fillObj?: StoredData): StoredData;
23 has(key: any): boolean;
24 isFake(force?: boolean): boolean;
25 keys(fillList?: string[]): string[];
26 namespace(namespace: string, singleArea?: true, delim?: string): StoreType;
27 remove(key: any, alt?: any|Reviver): any;
28 set(key: any, data: any, overwrite?: boolean|Replacer): any;
29 setAll(data: Object, overwrite?: boolean|Replacer): StoredData;
30 add(key: any, data: any): any;
31 size(): number;
32 transact(key: any, fn: TransactFn, alt?: any|Reviver): StoreBase;
33 area(id: string, area: Storage): StoreBase
34}
35
36export type StoreBase = StoreAPI & Base;
37

Callers 72

clearFunction · 0.80
store_test.jsFile · 0.80
store2.jsFile · 0.80
clearAllFunction · 0.80
store_test.jsFile · 0.80
eachFunction · 0.80
store2.jsFile · 0.80
jquery.jsFile · 0.80
createOptionsFunction · 0.80
buildParamsFunction · 0.80
inspectFunction · 0.80
createTweensFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…