The Guild LogoThe Guild Monogram

Search docs

Search icon

Products by The Guild

Products

Hive logoHive blurred logo

Hive

Schema Registry for your GraphQL Workflows

Skip to main content

@graphql-mesh/store

Classes#

Interfaces#

Type aliases#

Variables#

Type aliases#

ProxyOptions#

Ƭ ProxyOptions<TData\>: Object

Type parameters#

Name
TData

Type declaration#

NameType
codify(value: TData, identifier: string) => string
validate(oldValue: TData, newValue: TData, identifier: string) => void | Promise<void\>

Defined in#

packages/store/src/index.ts:83


StoreFlags#

Ƭ StoreFlags: Object

Type declaration#

NameType
readonlyboolean
validateboolean

Defined in#

packages/store/src/index.ts:88


StoreProxy#

Ƭ StoreProxy<TData\>: Object

Type parameters#

Name
TData

Type declaration#

NameType
delete() => Promise<void\>
get() => Promise<TData\>
getWithSet(setterFn: () => TData | Promise<TData\>) => Promise<TData\>
set(value: TData) => Promise<void\>

Defined in#

packages/store/src/index.ts:76


StoreStorageAdapter#

Ƭ StoreStorageAdapter<TData, TKey\>: Object

Type parameters#

NameType
TDataTData = any
TKeyTKey = string

Type declaration#

NameType
delete(key: TKey) => Promise<void\>
read(key: TKey, options: ProxyOptions<TData\>) => Promise<TData\>
write(key: TKey, data: TData, options: ProxyOptions<TData\>) => Promise<TData\>

Defined in#

packages/store/src/index.ts:12

Variables#

PredefinedProxyOptions#

Const PredefinedProxyOptions: Record<PredefinedProxyOptionsName, ProxyOptions<any\>\>

Defined in#

packages/store/src/index.ts:101