LixDatabaseSchema = {
active_account
:ToKysely
<ActiveAccount
>;active_version
:ToKysely
<LixActiveVersion
>;change
:ChangeView
;directory
:DirectoryDescriptorView
;directory_all
:DirectoryDescriptorAllView
;directory_history
:DirectoryDescriptorHistoryView
;state
:StateView
;state_all
:StateAllView
;state_history
:StateHistoryView
;state_with_tombstones
:StateWithTombstonesView
; } &EntityViews
<typeofLixKeyValueSchema
,"key_value"
, {value
:LixKeyValue
["value"
]; }> &EntityViews
<typeofLixAccountSchema
,"account"
> &EntityViews
<typeofLixChangeSetSchema
,"change_set"
> &EntityViews
<typeofLixChangeSetElementSchema
,"change_set_element"
> &EntityViews
<typeofLixChangeSetLabelSchema
,"change_set_label"
> &EntityViews
<typeofLixChangeAuthorSchema
,"change_author"
> &EntityViews
<typeofLixFileDescriptorSchema
,"file"
, {data
:Uint8Array
;directory_id
:LixGenerated
<string
|null
>;extension
:LixGenerated
<string
|null
>;name
:LixGenerated
<string
>;path
:LixGenerated
<string
>; }> &EntityViews
<typeofLixLabelSchema
,"label"
> &EntityViews
<typeofLixEntityLabelSchema
,"entity_label"
> &EntityViews
<typeofLixEntityConversationSchema
,"entity_conversation"
> &EntityViews
<typeofLixStoredSchemaSchema
,"stored_schema"
, {value
:any
; }> &EntityViews
<typeofLixLogSchema
,"log"
> &EntityViews
<typeofLixConversationSchema
,"conversation"
> &EntityViews
<typeofLixConversationMessageSchema
,"conversation_message"
, {body
:LixConversationMessage
["body"
]; }> &EntityViews
<typeofLixChangeProposalSchema
,"change_proposal"
> &EntityViews
<typeofLixVersionDescriptorSchema
,"version"
, {commit_id
:LixGenerated
<string
>;working_commit_id
:LixGenerated
<string
>; }> &EntityViews
<typeofLixCommitSchema
,"commit"
> &EntityViews
<typeofLixCommitEdgeSchema
,"commit_edge"
>
active_account:
ToKysely
<ActiveAccount
>
active_version:
ToKysely
<LixActiveVersion
>
change:
ChangeView
directory:
DirectoryDescriptorView
directory_all:
DirectoryDescriptorAllView
directory_history:
DirectoryDescriptorHistoryView
state:
StateView
state_all:
StateAllView
state_history:
StateHistoryView
state_with_tombstones:
StateWithTombstonesView