Skip to content

Faimulus TypeScript API / @faimulus/driver-sdk / MemoryDriverDefinition

Interface: MemoryDriverDefinition<TConfig> ​

Factory and metadata exported by a memory driver.

Type Parameters ​

TConfig ​

TConfig = unknown

Properties ​

configSchema ​

readonly configSchema: JsonSchema


displayName ​

readonly displayName: string


kind ​

readonly kind: MemoryKind


supportedScopes ​

readonly supportedScopes: readonly ("named" | "session")[]


type ​

readonly type: string

Methods ​

createMemory() ​

createMemory(config, context): Promise<Memory>

Parameters ​

config ​

TConfig

context ​

MemoryDriverContext

Returns ​

Promise<Memory>

Documentation for the current repository state.