GramIO API Reference / @gramio/storage/dist
@gramio/storage/dist
Interfaces
| Interface | Description |
|---|---|
| Storage | Type of base storage which should implement all of storages |
Type Aliases
| Type Alias | Description |
|---|---|
| InMemoryStorageMap | Type of in memory storage map |
Functions
inMemoryStorage()
inMemoryStorage<
Data>(map?):Storage<Data>
Defined in: storage/index.d.ts:85
in memory storage. Can be used by default in plugins
Type Parameters
| Type Parameter |
|---|
Data extends Record<string, any> |
Parameters
| Parameter | Type |
|---|---|
map? | InMemoryStorageMap<Data[keyof Data]> |
Returns
Storage<Data>