const
LixThreadCommentSchema: { additionalProperties
: false
; properties
: { body
: any
; id
: { type
: "string"
; x-lix-generated
: true
; }; parent_id
: { nullable
: true
; type
: "string"
; }; thread_id
: { type
: "string"
; }; }; required
: readonly ["id"
, "thread_id"
, "body"
]; type
: "object"
; x-lix-foreign-keys
: readonly [{ properties
: readonly ["thread_id"
]; references
: { properties
: readonly ["id"
]; schemaKey
: "lix_thread"
; }; }, { properties
: readonly ["parent_id"
]; references
: { properties
: readonly ["id"
]; schemaKey
: "lix_thread_comment"
; }; }]; x-lix-key
: "lix_thread_comment"
; x-lix-primary-key
: readonly ["id"
]; x-lix-version
: "1.0"
; }
Type declaration
additionalProperties
readonly
additionalProperties: false
= false
properties
readonly
properties: { body
: any
; id
: { type
: "string"
; x-lix-generated
: true
; }; parent_id
: { nullable
: true
; type
: "string"
; }; thread_id
: { type
: "string"
; }; }
properties.body
readonly
body: any
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.parent_id
readonly
parent_id: { nullable
: true
; type
: "string"
; }
properties.parent_id.nullable
readonly
nullable: true
= true
properties.parent_id.type
readonly
type: "string"
= "string"
properties.thread_id
readonly
thread_id: { type
: "string"
; }
properties.thread_id.type
readonly
type: "string"
= "string"
required
readonly
required: readonly ["id"
, "thread_id"
, "body"
]
type
readonly
type: "object"
= "object"
x-lix-foreign-keys
readonly
x-lix-foreign-keys: readonly [{ properties
: readonly ["thread_id"
]; references
: { properties
: readonly ["id"
]; schemaKey
: "lix_thread"
; }; }, { properties
: readonly ["parent_id"
]; references
: { properties
: readonly ["id"
]; schemaKey
: "lix_thread_comment"
; }; }]
x-lix-key
readonly
x-lix-key: "lix_thread_comment"
= "lix_thread_comment"
x-lix-primary-key
readonly
x-lix-primary-key: readonly ["id"
]
x-lix-version
readonly
x-lix-version: "1.0"
= "1.0"