Variable: LixFileDescriptorSchema

const LixFileDescriptorSchema: { additionalProperties: false; properties: { hidden: { type: "boolean"; x-lix-generated: true; }; id: { type: "string"; x-lix-generated: true; }; metadata: { nullable: true; type: "object"; }; path: { description: "File path must start with a slash, not contain backslashes or consecutive slashes, and not end with a slash"; pattern: "^/(?!.*//|.*\\)(?!.*/$|^/$).+"; type: "string"; }; }; required: readonly ["id", "path"]; type: "object"; x-lix-key: "lix_file_descriptor"; x-lix-primary-key: readonly ["id"]; x-lix-unique: readonly [readonly ["path"]]; x-lix-version: "1.0"; }

Type declaration

additionalProperties

readonly additionalProperties: false = false

properties

readonly properties: { hidden: { type: "boolean"; x-lix-generated: true; }; id: { type: "string"; x-lix-generated: true; }; metadata: { nullable: true; type: "object"; }; path: { description: "File path must start with a slash, not contain backslashes or consecutive slashes, and not end with a slash"; pattern: "^/(?!.*//|.*\\)(?!.*/$|^/$).+"; type: "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.metadata

readonly metadata: { nullable: true; type: "object"; }

properties.metadata.nullable

readonly nullable: true = true

properties.metadata.type

readonly type: "object" = "object"

properties.path

readonly path: { description: "File path must start with a slash, not contain backslashes or consecutive slashes, and not end with a slash"; pattern: "^/(?!.*//|.*\\)(?!.*/$|^/$).+"; type: "string"; }

properties.path.description

readonly description: "File path must start with a slash, not contain backslashes or consecutive slashes, and not end with a slash" = "File path must start with a slash, not contain backslashes or consecutive slashes, and not end with a slash"

properties.path.pattern

readonly pattern: "^/(?!.*//|.*\\)(?!.*/$|^/$).+" = "^/(?!.*//|.*\\\\)(?!.*/$|^/$).+"

properties.path.type

readonly type: "string" = "string"

required

readonly required: readonly ["id", "path"]

type

readonly type: "object" = "object"

x-lix-key

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

x-lix-primary-key

readonly x-lix-primary-key: readonly ["id"]

x-lix-unique

readonly x-lix-unique: readonly [readonly ["path"]]

x-lix-version

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