Skip to main content

Variable: kSchemaSession

const kSchemaSession: object

Defined in: cfds/base/schema.ts:249

All connections to the DB are represented as Session items, and are used to verify the authenticity of commits.

Type Declaration

fields

readonly fields: object

fields.expiration

readonly expiration: object

fields.expiration.required

readonly required: true = true

fields.expiration.type

readonly type: "date" = 'date'

fields.id

readonly id: object

fields.id.required

readonly required: true = true

fields.id.type

readonly type: "string" = 'string'

fields.owner

readonly owner: object

fields.owner.type

readonly type: "string" = 'string'

fields.publicKey

readonly publicKey: object

fields.publicKey.required

readonly required: true = true

fields.publicKey.type

readonly type: "string" = 'string'

ns

readonly ns: "sessions" = 'sessions'

version

readonly version: 1 = 1