Type Alias: LixDatabaseSchema

LixDatabaseSchema = { active_account: ToKysely<ActiveAccount>; active_version: ToKysely<ActiveVersion>; change: ChangeView; state: StateView; state_all: StateAllView; state_history: StateHistoryView; state_with_tombstones: StateWithTombstonesView; } & EntityViews<typeof LixKeyValueSchema, "key_value", { value: LixKeyValue["value"]; }> & EntityViews<typeof LixAccountSchema, "account"> & EntityViews<typeof LixChangeSetSchema, "change_set"> & EntityViews<typeof LixChangeSetElementSchema, "change_set_element"> & EntityViews<typeof LixChangeSetLabelSchema, "change_set_label"> & EntityViews<typeof LixChangeAuthorSchema, "change_author"> & EntityViews<typeof LixFileDescriptorSchema, "file", { data: Uint8Array; }> & EntityViews<typeof LixLabelSchema, "label"> & EntityViews<typeof LixEntityLabelSchema, "entity_label"> & EntityViews<typeof LixEntityThreadSchema, "entity_thread"> & EntityViews<typeof LixStoredSchemaSchema, "stored_schema", { value: any; }> & EntityViews<typeof LixLogSchema, "log"> & EntityViews<typeof LixThreadSchema, "thread"> & EntityViews<typeof LixThreadCommentSchema, "thread_comment", { body: ThreadComment["body"]; }> & EntityViews<typeof LixVersionSchema, "version"> & EntityViews<typeof LixCommitSchema, "commit"> & EntityViews<typeof LixCommitEdgeSchema, "commit_edge">

Type declaration

active_account

active_account: ToKysely<ActiveAccount>

active_version

active_version: ToKysely<ActiveVersion>

change

change: ChangeView

state

state: StateView

state_all

state_all: StateAllView

state_history

state_history: StateHistoryView

state_with_tombstones

state_with_tombstones: StateWithTombstonesView