Variable: LixConversationMessageSchema
const LixConversationMessageSchema: { additionalProperties: false; properties: { body: any; conversation_id: { type: "string"; }; id: { type: "string"; x-lix-default: "lix_uuid_v7()"; }; 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-override-lixcols: { lixcol_file_id: ""lix""; lixcol_plugin_key: ""lix_sdk""; }; 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-default: "lix_uuid_v7()"; }; 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-default: "lix_uuid_v7()"; }
properties.id.type
readonly type: "string" = "string"
properties.id.x-lix-default
readonly x-lix-default: "lix_uuid_v7()" = "lix_uuid_v7()"
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-override-lixcols
readonly x-lix-override-lixcols: { lixcol_file_id: ""lix""; lixcol_plugin_key: ""lix_sdk""; }
x-lix-override-lixcols.lixcol_file_id
readonly lixcol_file_id: ""lix"" = '"lix"'
x-lix-override-lixcols.lixcol_plugin_key
readonly lixcol_plugin_key: ""lix_sdk"" = '"lix_sdk"'
x-lix-primary-key
readonly x-lix-primary-key: readonly ["/id"]
x-lix-version
readonly x-lix-version: "1.0" = "1.0"