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