Variable: LixCommitEdgeSchema

const LixCommitEdgeSchema: { additionalProperties: false; properties: { child_id: { type: "string"; }; parent_id: { type: "string"; }; }; required: readonly ["parent_id", "child_id"]; type: "object"; x-lix-foreign-keys: readonly [{ properties: readonly ["parent_id"]; references: { properties: readonly ["id"]; schemaKey: "lix_commit"; }; }, { properties: readonly ["child_id"]; references: { properties: readonly ["id"]; schemaKey: "lix_commit"; }; }]; x-lix-key: "lix_commit_edge"; x-lix-primary-key: readonly ["parent_id", "child_id"]; x-lix-version: "1.0"; }

Schema definition for commit edges.

Commit edges form a directed acyclic graph (DAG) that represents the lineage of commits, replacing the previous change set edges.

Type declaration

additionalProperties

readonly additionalProperties: false = false

properties

readonly properties: { child_id: { type: "string"; }; parent_id: { type: "string"; }; }

properties.child_id

readonly child_id: { type: "string"; }

properties.child_id.type

readonly type: "string" = "string"

properties.parent_id

readonly parent_id: { type: "string"; }

properties.parent_id.type

readonly type: "string" = "string"

required

readonly required: readonly ["parent_id", "child_id"]

type

readonly type: "object" = "object"

x-lix-foreign-keys

readonly x-lix-foreign-keys: readonly [{ properties: readonly ["parent_id"]; references: { properties: readonly ["id"]; schemaKey: "lix_commit"; }; }, { properties: readonly ["child_id"]; references: { properties: readonly ["id"]; schemaKey: "lix_commit"; }; }]

x-lix-key

readonly x-lix-key: "lix_commit_edge" = "lix_commit_edge"

x-lix-primary-key

readonly x-lix-primary-key: readonly ["parent_id", "child_id"]

x-lix-version

readonly x-lix-version: "1.0" = "1.0"