@ceramicnetwork/core
Version:
Typescript implementation of the Ceramic protocol
9 lines • 322 B
TypeScript
import type { IKVFactory } from './ikv-store.js';
export interface IObjectStore<O, V> {
open(store: IKVFactory): Promise<void>;
close(): Promise<void>;
save(object: O, value: V): Promise<void>;
load(object: O): Promise<V>;
remove(object: O): Promise<void>;
}
//# sourceMappingURL=iobject-store.d.ts.map