Variable: LixVersionSchema
const
LixVersionSchema: { additionalProperties
: false
; properties
: { commit_id
: { type
: "string"
; }; hidden
: { type
: "boolean"
; x-lix-generated
: true
; }; id
: { type
: "string"
; x-lix-generated
: true
; }; inherits_from_version_id
: { type
: readonly ["string"
, "null"
]; }; name
: { type
: "string"
; x-lix-generated
: true
; }; working_commit_id
: { type
: "string"
; x-lix-generated
: true
; }; }; required
: readonly ["id"
, "name"
, "commit_id"
, "working_commit_id"
]; type
: "object"
; x-lix-foreign-keys
: readonly [{ properties
: readonly ["commit_id"
]; references
: { properties
: readonly ["id"
]; schemaKey
: "lix_commit"
; }; }, { properties
: readonly ["working_commit_id"
]; references
: { properties
: readonly ["id"
]; schemaKey
: "lix_commit"
; }; }, { properties
: readonly ["inherits_from_version_id"
]; references
: { properties
: readonly ["id"
]; schemaKey
: "lix_version"
; }; }]; x-lix-key
: "lix_version"
; x-lix-primary-key
: readonly ["id"
]; x-lix-unique
: readonly [readonly ["working_commit_id"
]]; x-lix-version
: "1.0"
; }
Type declaration
additionalProperties
readonly
additionalProperties: false
= false
properties
readonly
properties: { commit_id
: { type
: "string"
; }; hidden
: { type
: "boolean"
; x-lix-generated
: true
; }; id
: { type
: "string"
; x-lix-generated
: true
; }; inherits_from_version_id
: { type
: readonly ["string"
, "null"
]; }; name
: { type
: "string"
; x-lix-generated
: true
; }; working_commit_id
: { type
: "string"
; x-lix-generated
: true
; }; }
properties.commit_id
readonly
commit_id: { type
: "string"
; }
properties.commit_id.type
readonly
type: "string"
= "string"
properties.hidden
readonly
hidden: { type
: "boolean"
; x-lix-generated
: true
; }
properties.hidden.type
readonly
type: "boolean"
= "boolean"
properties.hidden.x-lix-generated
readonly
x-lix-generated: true
= true
properties.id
readonly
id: { type
: "string"
; x-lix-generated
: true
; }
properties.id.type
readonly
type: "string"
= "string"
properties.id.x-lix-generated
readonly
x-lix-generated: true
= true
properties.inherits_from_version_id
readonly
inherits_from_version_id: { type
: readonly ["string"
, "null"
]; }
properties.inherits_from_version_id.type
readonly
type: readonly ["string"
, "null"
]
properties.name
readonly
name: { type
: "string"
; x-lix-generated
: true
; }
properties.name.type
readonly
type: "string"
= "string"
properties.name.x-lix-generated
readonly
x-lix-generated: true
= true
properties.working_commit_id
readonly
working_commit_id: { type
: "string"
; x-lix-generated
: true
; }
properties.working_commit_id.type
readonly
type: "string"
= "string"
properties.working_commit_id.x-lix-generated
readonly
x-lix-generated: true
= true
required
readonly
required: readonly ["id"
, "name"
, "commit_id"
, "working_commit_id"
]
type
readonly
type: "object"
= "object"
x-lix-foreign-keys
readonly
x-lix-foreign-keys: readonly [{ properties
: readonly ["commit_id"
]; references
: { properties
: readonly ["id"
]; schemaKey
: "lix_commit"
; }; }, { properties
: readonly ["working_commit_id"
]; references
: { properties
: readonly ["id"
]; schemaKey
: "lix_commit"
; }; }, { properties
: readonly ["inherits_from_version_id"
]; references
: { properties
: readonly ["id"
]; schemaKey
: "lix_version"
; }; }]
x-lix-key
readonly
x-lix-key: "lix_version"
= "lix_version"
x-lix-primary-key
readonly
x-lix-primary-key: readonly ["id"
]
x-lix-unique
readonly
x-lix-unique: readonly [readonly ["working_commit_id"
]]
x-lix-version
readonly
x-lix-version: "1.0"
= "1.0"