MCPcopy
hub / github.com/OpenCut-app/OpenCut / get

Method get

apps/web/src/services/storage/types.ts:10–10  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

8
9export interface StorageAdapter<T> {
10 get(key: string): Promise<T | null>;
11 set(key: string, value: T): Promise<void>;
12 remove(key: string): Promise<void>;
13 list(): Promise<string[]>;

Callers 15

useElementRegistryFunction · 0.65
SectionFunction · 0.65
SectionFunction · 0.65
GraphicTabFunction · 0.65
StrokeSectionFunction · 0.65
MaskItemFunction · 0.65
EffectSectionFunction · 0.65
getKeyframeIndicatorsFunction · 0.65
MaskHandlesFunction · 0.65
getPreparedClipBufferMethod · 0.65
getDecodedBufferMethod · 0.65

Implementers 2

IndexedDBAdapterapps/web/src/services/storage/indexedd
OPFSAdapterapps/web/src/services/storage/opfs-ada

Calls

no outgoing calls

Tested by

no test coverage detected