ssxsessioncrudconfig
Home > @spruceid/ssx-serverless > SSXSessionCRUDConfig
SSXSessionCRUDConfig interface
Type definition for CRUD session functions
Signature:
export interface SSXSessionCRUDConfig
Example
create: async <T>(value: any, opts?: Record<string, any>): Promise<T> => { },
retrieve: async <T>(key: any, opts?: Record<string, any>): Promise<T> => { },
update: async <T>(key: any, value: any, opts?: Record<string, any>): Promise<T> => { },
delete: async <T>(key: any): Promise<T> => { },
Properties
Property
Modifiers
Type
Description
<T>(key: any, opts?: Record<string, any>) => Promise<T>
Definition of the retrieve (search) function
<T>(key: any, value: any, opts?: Record<string, any>) => Promise<T>
Definition of the update function
Last updated
Was this helpful?