MCPcopy Create free account
hub / github.com/MCSManager/MCSManager / store

Method store

panel/src/app/common/storage/storage_interface.ts:2–2  ·  view source on GitHub ↗
(category: string, uuid: string, object: any)

Source from the content-addressed store, hash-verified

1export interface IStorage {
2 store(category: string, uuid: string, object: any): Promise<void>;
3 load(category: string, classz: any, uuid: string): Promise<any>;
4 list(category: string): Promise<Array<string>>;
5 delete(category: string, uuid: string): Promise<void>;

Callers 15

initSystemConfigFunction · 0.65
saveSystemConfigFunction · 0.65
registerRemoteServiceMethod · 0.65
editMethod · 0.65
createMethod · 0.65
editMethod · 0.65
unbindSsoMethod · 0.65
unbindAllSsoMethod · 0.65
bindSsoMethod · 0.65
upgradePresetPackAddrFunction · 0.65
storeMethod · 0.65
constructorMethod · 0.65

Implementers 3

RedisStorageSubsystempanel/src/app/common/storage/redis_sto
FileStorageSubsystemAdapterpanel/src/app/common/storage/file_stor
StorageSubsystemcommon/src/system_storage.ts

Calls

no outgoing calls

Tested by

no test coverage detected