bknd
Version:
Lightweight Firebase/Supabase alternative built to run anywhere — incl. Next.js, React Router, Astro, Cloudflare, Bun, Node, AWS Lambda & more.
12,958 lines • 951 kB
TypeScript
import { MediaField } from "../media/MediaField";
import { s } from "bknd/utils";
export declare const FIELDS: {
media: {
schema: s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly entity: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly max_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly mime_types: s.Schema<s.ISchemaOptions, string[] | undefined, string[] | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
field: typeof MediaField;
};
relation: {
readonly schema: s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly reference: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target_field: {
readonly default: "id";
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field_type: {
readonly default: "integer";
readonly enum: ["text", "integer"];
} & s.Schema<s.ISchemaOptions, "text" | "integer" | undefined, "text" | "integer" | undefined>;
readonly on_delete: {
readonly default: "set null";
readonly enum: readonly ["cascade", "set null", "set default", "restrict", "no action"];
} & s.Schema<s.ISchemaOptions, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
readonly field: typeof import("../data/relations").RelationField;
};
primary: {
readonly schema: s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly format: s.Schema<s.ISchemaOptions, "integer" | "uuid" | undefined, "integer" | "uuid" | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
readonly field: typeof import("../data/fields").PrimaryField;
};
text: {
readonly schema: s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly minLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maxLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly pattern: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly html_config: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
readonly field: typeof import("../data/fields").TextField;
};
number: {
readonly schema: s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly minimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMinimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMaximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly multipleOf: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
readonly field: typeof import("../data/fields").NumberField;
};
boolean: {
readonly schema: s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
readonly field: typeof import("../data/fields").BooleanField;
};
date: {
readonly schema: s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly type: s.Schema<s.ISchemaOptions, "date" | "week" | "datetime" | undefined, "date" | "week" | "datetime" | undefined>;
readonly timezone: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly max_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
readonly field: typeof import("../data/fields").DateField;
};
enum: {
readonly schema: s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly options: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined, any>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
readonly field: typeof import("../data/fields").EnumField;
};
json: {
readonly schema: s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
readonly field: typeof import("../data/fields").JsonField;
};
jsonschema: {
readonly schema: s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly schema: s.Schema<s.ISchemaOptions, any, any>;
readonly ui_schema: s.Schema<s.ISchemaOptions, any, any>;
readonly default_from_schema: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
readonly field: typeof import("../data/fields").JsonSchemaField;
};
};
export type FieldType = keyof typeof FIELDS;
export declare const RELATIONS: {
readonly "1:1": {
readonly schema: s.ObjectSchema<{
readonly mappedBy: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly inversedBy: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: {
default?: any;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly sourceCardinality: {
default?: any;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
multipleOf?: number | undefined;
maximum?: number | undefined;
exclusiveMaximum?: number | undefined;
minimum?: number | undefined;
exclusiveMinimum?: number | undefined;
} & s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly with_limit: {
readonly default: number;
} & s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly fieldConfig: {
default?: any;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
$defs?: Record<string, s.Schema> | undefined;
patternProperties?: Record<string, s.Schema> | undefined;
additionalProperties?: (s.Schema | false) | undefined;
minProperties?: number | undefined;
maxProperties?: number | undefined;
propertyNames?: s.Schema | undefined;
strict: () => s.ObjectSchema<{
readonly label: s.StringSchema<s.IStringOptions> & s.IStringOptions;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.StringSchema<s.IStringOptions> & s.IStringOptions;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
}, s.IObjectOptions>;
} & s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
label: string;
} | undefined, {
[x: string]: unknown;
label: string;
} | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
readonly cls: typeof import("../data/relations").OneToOneRelation;
};
readonly "n:1": {
readonly schema: s.ObjectSchema<{
readonly mappedBy: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly inversedBy: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: {
default?: any;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly sourceCardinality: {
default?: any;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
multipleOf?: number | undefined;
maximum?: number | undefined;
exclusiveMaximum?: number | undefined;
minimum?: number | undefined;
exclusiveMinimum?: number | undefined;
} & s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly with_limit: {
readonly default: number;
} & s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly fieldConfig: {
default?: any;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
$defs?: Record<string, s.Schema> | undefined;
patternProperties?: Record<string, s.Schema> | undefined;
additionalProperties?: (s.Schema | false) | undefined;
minProperties?: number | undefined;
maxProperties?: number | undefined;
propertyNames?: s.Schema | undefined;
strict: () => s.ObjectSchema<{
readonly label: s.StringSchema<s.IStringOptions> & s.IStringOptions;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.StringSchema<s.IStringOptions> & s.IStringOptions;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
}, s.IObjectOptions>;
} & s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
label: string;
} | undefined, {
[x: string]: unknown;
label: string;
} | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
readonly cls: typeof import("../data/relations").ManyToOneRelation;
};
readonly "m:n": {
readonly schema: s.ObjectSchema<{
readonly mappedBy: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly inversedBy: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: {
default?: any;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly connectionTable: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly connectionTableMappedName: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
readonly cls: typeof import("../data/relations").ManyToManyRelation;
};
readonly poly: {
readonly schema: s.ObjectSchema<{
readonly mappedBy: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly inversedBy: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: {
default?: any;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly targetCardinality: {
default?: any;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
multipleOf?: number | undefined;
maximum?: number | undefined;
exclusiveMaximum?: number | undefined;
minimum?: number | undefined;
exclusiveMinimum?: number | undefined;
} & s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
readonly cls: typeof import("../data/relations").PolymorphicRelation;
};
};
export declare const fieldsSchemaObject: {
media: s.ObjectSchema<{
readonly name: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly type: s.Schema<s.ILiteralOptions, "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema", "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema"> & s.Merge<s.ILiteralOptions & {
const: "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema";
}>;
readonly config: ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly minLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maxLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly pattern: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly html_config: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly minLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maxLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly pattern: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly html_config: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly minLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maxLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly pattern: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly html_config: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
html_config?: {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
html_config?: {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly format: s.Schema<s.ISchemaOptions, "integer" | "uuid" | undefined, "integer" | "uuid" | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly format: s.Schema<s.ISchemaOptions, "integer" | "uuid" | undefined, "integer" | "uuid" | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly format: s.Schema<s.ISchemaOptions, "integer" | "uuid" | undefined, "integer" | "uuid" | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
format?: "integer" | "uuid" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
format?: "integer" | "uuid" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly minimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMinimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMaximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly multipleOf: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly minimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMinimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMaximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly multipleOf: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly minimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMinimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMaximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly multipleOf: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
multipleOf?: number | undefined;
maximum?: number | undefined;
exclusiveMaximum?: number | undefined;
minimum?: number | undefined;
exclusiveMinimum?: number | undefined;
required?: boolean | undefined;
default_value?: number | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
multipleOf?: number | undefined;
maximum?: number | undefined;
exclusiveMaximum?: number | undefined;
minimum?: number | undefined;
exclusiveMinimum?: number | undefined;
required?: boolean | undefined;
default_value?: number | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: boolean | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: boolean | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly type: s.Schema<s.ISchemaOptions, "date" | "week" | "datetime" | undefined, "date" | "week" | "datetime" | undefined>;
readonly timezone: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly max_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly type: s.Schema<s.ISchemaOptions, "date" | "week" | "datetime" | undefined, "date" | "week" | "datetime" | undefined>;
readonly timezone: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly max_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly type: s.Schema<s.ISchemaOptions, "date" | "week" | "datetime" | undefined, "date" | "week" | "datetime" | undefined>;
readonly timezone: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly max_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
type?: "date" | "week" | "datetime" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
timezone?: string | undefined;
min_date?: string | undefined;
max_date?: string | undefined;
} | undefined, {
description?: string | undefined;
type?: "date" | "week" | "datetime" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
timezone?: string | undefined;
min_date?: string | undefined;
max_date?: string | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly options: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined, any>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly options: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined, any>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly options: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined, any>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
options?: {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
options?: any;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly schema: s.Schema<s.ISchemaOptions, any, any>;
readonly ui_schema: s.Schema<s.ISchemaOptions, any, any>;
readonly default_from_schema: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly schema: s.Schema<s.ISchemaOptions, any, any>;
readonly ui_schema: s.Schema<s.ISchemaOptions, any, any>;
readonly default_from_schema: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly schema: s.Schema<s.ISchemaOptions, any, any>;
readonly ui_schema: s.Schema<s.ISchemaOptions, any, any>;
readonly default_from_schema: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
schema?: any;
ui_schema?: any;
default_from_schema?: boolean | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
schema?: any;
ui_schema?: any;
default_from_schema?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly reference: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target_field: {
readonly default: "id";
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field_type: {
readonly default: "integer";
readonly enum: ["text", "integer"];
} & s.Schema<s.ISchemaOptions, "text" | "integer" | undefined, "text" | "integer" | undefined>;
readonly on_delete: {
readonly default: "set null";
readonly enum: readonly ["cascade", "set null", "set default", "restrict", "no action"];
} & s.Schema<s.ISchemaOptions, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly reference: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target_field: {
readonly default: "id";
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field_type: {
readonly default: "integer";
readonly enum: ["text", "integer"];
} & s.Schema<s.ISchemaOptions, "text" | "integer" | undefined, "text" | "integer" | undefined>;
readonly on_delete: {
readonly default: "set null";
readonly enum: readonly ["cascade", "set null", "set default", "restrict", "no action"];
} & s.Schema<s.ISchemaOptions, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly reference: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field_type: s.Schema<s.ISchemaOptions, "text" | "integer" | undefined, "text" | "integer" | undefined>;
readonly on_delete: s.Schema<s.ISchemaOptions, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
target_field?: string | undefined;
target_field_type?: "text" | "integer" | undefined;
on_delete?: "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined;
reference: string;
target: string;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
target_field?: string | undefined;
target_field_type?: "text" | "integer" | undefined;
on_delete?: "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined;
reference: string;
target: string;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly entity: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly max_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly mime_types: s.Schema<s.ISchemaOptions, string[] | undefined, string[] | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly entity: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly max_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly mime_types: s.Schema<s.ISchemaOptions, string[] | undefined, string[] | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly entity: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly max_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly mime_types: s.Schema<s.ISchemaOptions, string[] | undefined, string[] | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
entity?: string | undefined;
min_items?: number | undefined;
max_items?: number | undefined;
mime_types?: string[] | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
entity?: string | undefined;
min_items?: number | undefined;
max_items?: number | undefined;
mime_types?: string[] | undefined;
} | undefined>);
}, s.Merge<{
readonly title: "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema";
} & {
additionalProperties: false;
}>>;
relation: s.ObjectSchema<{
readonly name: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly type: s.Schema<s.ILiteralOptions, "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema", "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema"> & s.Merge<s.ILiteralOptions & {
const: "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema";
}>;
readonly config: ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly minLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maxLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly pattern: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly html_config: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly minLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maxLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly pattern: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly html_config: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly minLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maxLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly pattern: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly html_config: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
html_config?: {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
html_config?: {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly format: s.Schema<s.ISchemaOptions, "integer" | "uuid" | undefined, "integer" | "uuid" | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly format: s.Schema<s.ISchemaOptions, "integer" | "uuid" | undefined, "integer" | "uuid" | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly format: s.Schema<s.ISchemaOptions, "integer" | "uuid" | undefined, "integer" | "uuid" | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
format?: "integer" | "uuid" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
format?: "integer" | "uuid" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly minimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMinimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMaximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly multipleOf: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly minimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMinimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMaximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly multipleOf: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly minimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMinimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMaximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly multipleOf: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
multipleOf?: number | undefined;
maximum?: number | undefined;
exclusiveMaximum?: number | undefined;
minimum?: number | undefined;
exclusiveMinimum?: number | undefined;
required?: boolean | undefined;
default_value?: number | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
multipleOf?: number | undefined;
maximum?: number | undefined;
exclusiveMaximum?: number | undefined;
minimum?: number | undefined;
exclusiveMinimum?: number | undefined;
required?: boolean | undefined;
default_value?: number | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: boolean | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: boolean | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly type: s.Schema<s.ISchemaOptions, "date" | "week" | "datetime" | undefined, "date" | "week" | "datetime" | undefined>;
readonly timezone: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly max_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly type: s.Schema<s.ISchemaOptions, "date" | "week" | "datetime" | undefined, "date" | "week" | "datetime" | undefined>;
readonly timezone: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly max_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly type: s.Schema<s.ISchemaOptions, "date" | "week" | "datetime" | undefined, "date" | "week" | "datetime" | undefined>;
readonly timezone: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly max_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
type?: "date" | "week" | "datetime" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
timezone?: string | undefined;
min_date?: string | undefined;
max_date?: string | undefined;
} | undefined, {
description?: string | undefined;
type?: "date" | "week" | "datetime" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
timezone?: string | undefined;
min_date?: string | undefined;
max_date?: string | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly options: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined, any>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly options: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined, any>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly options: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined, any>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
options?: {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
options?: any;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly schema: s.Schema<s.ISchemaOptions, any, any>;
readonly ui_schema: s.Schema<s.ISchemaOptions, any, any>;
readonly default_from_schema: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly schema: s.Schema<s.ISchemaOptions, any, any>;
readonly ui_schema: s.Schema<s.ISchemaOptions, any, any>;
readonly default_from_schema: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly schema: s.Schema<s.ISchemaOptions, any, any>;
readonly ui_schema: s.Schema<s.ISchemaOptions, any, any>;
readonly default_from_schema: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
schema?: any;
ui_schema?: any;
default_from_schema?: boolean | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
schema?: any;
ui_schema?: any;
default_from_schema?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly reference: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target_field: {
readonly default: "id";
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field_type: {
readonly default: "integer";
readonly enum: ["text", "integer"];
} & s.Schema<s.ISchemaOptions, "text" | "integer" | undefined, "text" | "integer" | undefined>;
readonly on_delete: {
readonly default: "set null";
readonly enum: readonly ["cascade", "set null", "set default", "restrict", "no action"];
} & s.Schema<s.ISchemaOptions, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly reference: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target_field: {
readonly default: "id";
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field_type: {
readonly default: "integer";
readonly enum: ["text", "integer"];
} & s.Schema<s.ISchemaOptions, "text" | "integer" | undefined, "text" | "integer" | undefined>;
readonly on_delete: {
readonly default: "set null";
readonly enum: readonly ["cascade", "set null", "set default", "restrict", "no action"];
} & s.Schema<s.ISchemaOptions, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly reference: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field_type: s.Schema<s.ISchemaOptions, "text" | "integer" | undefined, "text" | "integer" | undefined>;
readonly on_delete: s.Schema<s.ISchemaOptions, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
target_field?: string | undefined;
target_field_type?: "text" | "integer" | undefined;
on_delete?: "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined;
reference: string;
target: string;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
target_field?: string | undefined;
target_field_type?: "text" | "integer" | undefined;
on_delete?: "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined;
reference: string;
target: string;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly entity: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly max_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly mime_types: s.Schema<s.ISchemaOptions, string[] | undefined, string[] | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly entity: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly max_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly mime_types: s.Schema<s.ISchemaOptions, string[] | undefined, string[] | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly entity: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly max_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly mime_types: s.Schema<s.ISchemaOptions, string[] | undefined, string[] | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
entity?: string | undefined;
min_items?: number | undefined;
max_items?: number | undefined;
mime_types?: string[] | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
entity?: string | undefined;
min_items?: number | undefined;
max_items?: number | undefined;
mime_types?: string[] | undefined;
} | undefined>);
}, s.Merge<{
readonly title: "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema";
} & {
additionalProperties: false;
}>>;
primary: s.ObjectSchema<{
readonly name: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly type: s.Schema<s.ILiteralOptions, "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema", "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema"> & s.Merge<s.ILiteralOptions & {
const: "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema";
}>;
readonly config: ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly minLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maxLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly pattern: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly html_config: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly minLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maxLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly pattern: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly html_config: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly minLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maxLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly pattern: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly html_config: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
html_config?: {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
html_config?: {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly format: s.Schema<s.ISchemaOptions, "integer" | "uuid" | undefined, "integer" | "uuid" | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly format: s.Schema<s.ISchemaOptions, "integer" | "uuid" | undefined, "integer" | "uuid" | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly format: s.Schema<s.ISchemaOptions, "integer" | "uuid" | undefined, "integer" | "uuid" | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
format?: "integer" | "uuid" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
format?: "integer" | "uuid" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly minimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMinimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMaximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly multipleOf: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly minimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMinimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMaximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly multipleOf: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly minimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMinimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMaximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly multipleOf: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
multipleOf?: number | undefined;
maximum?: number | undefined;
exclusiveMaximum?: number | undefined;
minimum?: number | undefined;
exclusiveMinimum?: number | undefined;
required?: boolean | undefined;
default_value?: number | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
multipleOf?: number | undefined;
maximum?: number | undefined;
exclusiveMaximum?: number | undefined;
minimum?: number | undefined;
exclusiveMinimum?: number | undefined;
required?: boolean | undefined;
default_value?: number | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: boolean | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: boolean | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly type: s.Schema<s.ISchemaOptions, "date" | "week" | "datetime" | undefined, "date" | "week" | "datetime" | undefined>;
readonly timezone: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly max_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly type: s.Schema<s.ISchemaOptions, "date" | "week" | "datetime" | undefined, "date" | "week" | "datetime" | undefined>;
readonly timezone: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly max_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly type: s.Schema<s.ISchemaOptions, "date" | "week" | "datetime" | undefined, "date" | "week" | "datetime" | undefined>;
readonly timezone: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly max_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
type?: "date" | "week" | "datetime" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
timezone?: string | undefined;
min_date?: string | undefined;
max_date?: string | undefined;
} | undefined, {
description?: string | undefined;
type?: "date" | "week" | "datetime" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
timezone?: string | undefined;
min_date?: string | undefined;
max_date?: string | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly options: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined, any>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly options: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined, any>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly options: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined, any>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
options?: {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
options?: any;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly schema: s.Schema<s.ISchemaOptions, any, any>;
readonly ui_schema: s.Schema<s.ISchemaOptions, any, any>;
readonly default_from_schema: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly schema: s.Schema<s.ISchemaOptions, any, any>;
readonly ui_schema: s.Schema<s.ISchemaOptions, any, any>;
readonly default_from_schema: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly schema: s.Schema<s.ISchemaOptions, any, any>;
readonly ui_schema: s.Schema<s.ISchemaOptions, any, any>;
readonly default_from_schema: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
schema?: any;
ui_schema?: any;
default_from_schema?: boolean | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
schema?: any;
ui_schema?: any;
default_from_schema?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly reference: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target_field: {
readonly default: "id";
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field_type: {
readonly default: "integer";
readonly enum: ["text", "integer"];
} & s.Schema<s.ISchemaOptions, "text" | "integer" | undefined, "text" | "integer" | undefined>;
readonly on_delete: {
readonly default: "set null";
readonly enum: readonly ["cascade", "set null", "set default", "restrict", "no action"];
} & s.Schema<s.ISchemaOptions, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly reference: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target_field: {
readonly default: "id";
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field_type: {
readonly default: "integer";
readonly enum: ["text", "integer"];
} & s.Schema<s.ISchemaOptions, "text" | "integer" | undefined, "text" | "integer" | undefined>;
readonly on_delete: {
readonly default: "set null";
readonly enum: readonly ["cascade", "set null", "set default", "restrict", "no action"];
} & s.Schema<s.ISchemaOptions, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly reference: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field_type: s.Schema<s.ISchemaOptions, "text" | "integer" | undefined, "text" | "integer" | undefined>;
readonly on_delete: s.Schema<s.ISchemaOptions, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
target_field?: string | undefined;
target_field_type?: "text" | "integer" | undefined;
on_delete?: "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined;
reference: string;
target: string;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
target_field?: string | undefined;
target_field_type?: "text" | "integer" | undefined;
on_delete?: "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined;
reference: string;
target: string;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly entity: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly max_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly mime_types: s.Schema<s.ISchemaOptions, string[] | undefined, string[] | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly entity: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly max_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly mime_types: s.Schema<s.ISchemaOptions, string[] | undefined, string[] | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly entity: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly max_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly mime_types: s.Schema<s.ISchemaOptions, string[] | undefined, string[] | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
entity?: string | undefined;
min_items?: number | undefined;
max_items?: number | undefined;
mime_types?: string[] | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
entity?: string | undefined;
min_items?: number | undefined;
max_items?: number | undefined;
mime_types?: string[] | undefined;
} | undefined>);
}, s.Merge<{
readonly title: "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema";
} & {
additionalProperties: false;
}>>;
text: s.ObjectSchema<{
readonly name: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly type: s.Schema<s.ILiteralOptions, "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema", "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema"> & s.Merge<s.ILiteralOptions & {
const: "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema";
}>;
readonly config: ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly minLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maxLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly pattern: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly html_config: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly minLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maxLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly pattern: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly html_config: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly minLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maxLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly pattern: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly html_config: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
html_config?: {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
html_config?: {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly format: s.Schema<s.ISchemaOptions, "integer" | "uuid" | undefined, "integer" | "uuid" | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly format: s.Schema<s.ISchemaOptions, "integer" | "uuid" | undefined, "integer" | "uuid" | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly format: s.Schema<s.ISchemaOptions, "integer" | "uuid" | undefined, "integer" | "uuid" | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
format?: "integer" | "uuid" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
format?: "integer" | "uuid" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly minimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMinimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMaximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly multipleOf: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly minimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMinimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMaximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly multipleOf: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly minimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMinimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMaximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly multipleOf: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
multipleOf?: number | undefined;
maximum?: number | undefined;
exclusiveMaximum?: number | undefined;
minimum?: number | undefined;
exclusiveMinimum?: number | undefined;
required?: boolean | undefined;
default_value?: number | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
multipleOf?: number | undefined;
maximum?: number | undefined;
exclusiveMaximum?: number | undefined;
minimum?: number | undefined;
exclusiveMinimum?: number | undefined;
required?: boolean | undefined;
default_value?: number | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: boolean | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: boolean | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly type: s.Schema<s.ISchemaOptions, "date" | "week" | "datetime" | undefined, "date" | "week" | "datetime" | undefined>;
readonly timezone: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly max_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly type: s.Schema<s.ISchemaOptions, "date" | "week" | "datetime" | undefined, "date" | "week" | "datetime" | undefined>;
readonly timezone: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly max_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly type: s.Schema<s.ISchemaOptions, "date" | "week" | "datetime" | undefined, "date" | "week" | "datetime" | undefined>;
readonly timezone: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly max_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
type?: "date" | "week" | "datetime" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
timezone?: string | undefined;
min_date?: string | undefined;
max_date?: string | undefined;
} | undefined, {
description?: string | undefined;
type?: "date" | "week" | "datetime" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
timezone?: string | undefined;
min_date?: string | undefined;
max_date?: string | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly options: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined, any>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly options: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined, any>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly options: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined, any>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
options?: {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
options?: any;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly schema: s.Schema<s.ISchemaOptions, any, any>;
readonly ui_schema: s.Schema<s.ISchemaOptions, any, any>;
readonly default_from_schema: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly schema: s.Schema<s.ISchemaOptions, any, any>;
readonly ui_schema: s.Schema<s.ISchemaOptions, any, any>;
readonly default_from_schema: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly schema: s.Schema<s.ISchemaOptions, any, any>;
readonly ui_schema: s.Schema<s.ISchemaOptions, any, any>;
readonly default_from_schema: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
schema?: any;
ui_schema?: any;
default_from_schema?: boolean | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
schema?: any;
ui_schema?: any;
default_from_schema?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly reference: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target_field: {
readonly default: "id";
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field_type: {
readonly default: "integer";
readonly enum: ["text", "integer"];
} & s.Schema<s.ISchemaOptions, "text" | "integer" | undefined, "text" | "integer" | undefined>;
readonly on_delete: {
readonly default: "set null";
readonly enum: readonly ["cascade", "set null", "set default", "restrict", "no action"];
} & s.Schema<s.ISchemaOptions, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly reference: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target_field: {
readonly default: "id";
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field_type: {
readonly default: "integer";
readonly enum: ["text", "integer"];
} & s.Schema<s.ISchemaOptions, "text" | "integer" | undefined, "text" | "integer" | undefined>;
readonly on_delete: {
readonly default: "set null";
readonly enum: readonly ["cascade", "set null", "set default", "restrict", "no action"];
} & s.Schema<s.ISchemaOptions, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly reference: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field_type: s.Schema<s.ISchemaOptions, "text" | "integer" | undefined, "text" | "integer" | undefined>;
readonly on_delete: s.Schema<s.ISchemaOptions, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
target_field?: string | undefined;
target_field_type?: "text" | "integer" | undefined;
on_delete?: "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined;
reference: string;
target: string;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
target_field?: string | undefined;
target_field_type?: "text" | "integer" | undefined;
on_delete?: "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined;
reference: string;
target: string;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly entity: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly max_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly mime_types: s.Schema<s.ISchemaOptions, string[] | undefined, string[] | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly entity: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly max_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly mime_types: s.Schema<s.ISchemaOptions, string[] | undefined, string[] | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly entity: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly max_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly mime_types: s.Schema<s.ISchemaOptions, string[] | undefined, string[] | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
entity?: string | undefined;
min_items?: number | undefined;
max_items?: number | undefined;
mime_types?: string[] | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
entity?: string | undefined;
min_items?: number | undefined;
max_items?: number | undefined;
mime_types?: string[] | undefined;
} | undefined>);
}, s.Merge<{
readonly title: "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema";
} & {
additionalProperties: false;
}>>;
number: s.ObjectSchema<{
readonly name: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly type: s.Schema<s.ILiteralOptions, "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema", "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema"> & s.Merge<s.ILiteralOptions & {
const: "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema";
}>;
readonly config: ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly minLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maxLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly pattern: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly html_config: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly minLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maxLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly pattern: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly html_config: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly minLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maxLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly pattern: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly html_config: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
html_config?: {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
html_config?: {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly format: s.Schema<s.ISchemaOptions, "integer" | "uuid" | undefined, "integer" | "uuid" | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly format: s.Schema<s.ISchemaOptions, "integer" | "uuid" | undefined, "integer" | "uuid" | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly format: s.Schema<s.ISchemaOptions, "integer" | "uuid" | undefined, "integer" | "uuid" | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
format?: "integer" | "uuid" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
format?: "integer" | "uuid" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly minimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMinimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMaximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly multipleOf: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly minimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMinimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMaximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly multipleOf: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly minimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMinimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMaximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly multipleOf: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
multipleOf?: number | undefined;
maximum?: number | undefined;
exclusiveMaximum?: number | undefined;
minimum?: number | undefined;
exclusiveMinimum?: number | undefined;
required?: boolean | undefined;
default_value?: number | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
multipleOf?: number | undefined;
maximum?: number | undefined;
exclusiveMaximum?: number | undefined;
minimum?: number | undefined;
exclusiveMinimum?: number | undefined;
required?: boolean | undefined;
default_value?: number | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: boolean | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: boolean | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly type: s.Schema<s.ISchemaOptions, "date" | "week" | "datetime" | undefined, "date" | "week" | "datetime" | undefined>;
readonly timezone: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly max_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly type: s.Schema<s.ISchemaOptions, "date" | "week" | "datetime" | undefined, "date" | "week" | "datetime" | undefined>;
readonly timezone: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly max_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly type: s.Schema<s.ISchemaOptions, "date" | "week" | "datetime" | undefined, "date" | "week" | "datetime" | undefined>;
readonly timezone: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly max_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
type?: "date" | "week" | "datetime" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
timezone?: string | undefined;
min_date?: string | undefined;
max_date?: string | undefined;
} | undefined, {
description?: string | undefined;
type?: "date" | "week" | "datetime" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
timezone?: string | undefined;
min_date?: string | undefined;
max_date?: string | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly options: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined, any>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly options: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined, any>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly options: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined, any>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
options?: {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
options?: any;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly schema: s.Schema<s.ISchemaOptions, any, any>;
readonly ui_schema: s.Schema<s.ISchemaOptions, any, any>;
readonly default_from_schema: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly schema: s.Schema<s.ISchemaOptions, any, any>;
readonly ui_schema: s.Schema<s.ISchemaOptions, any, any>;
readonly default_from_schema: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly schema: s.Schema<s.ISchemaOptions, any, any>;
readonly ui_schema: s.Schema<s.ISchemaOptions, any, any>;
readonly default_from_schema: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
schema?: any;
ui_schema?: any;
default_from_schema?: boolean | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
schema?: any;
ui_schema?: any;
default_from_schema?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly reference: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target_field: {
readonly default: "id";
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field_type: {
readonly default: "integer";
readonly enum: ["text", "integer"];
} & s.Schema<s.ISchemaOptions, "text" | "integer" | undefined, "text" | "integer" | undefined>;
readonly on_delete: {
readonly default: "set null";
readonly enum: readonly ["cascade", "set null", "set default", "restrict", "no action"];
} & s.Schema<s.ISchemaOptions, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly reference: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target_field: {
readonly default: "id";
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field_type: {
readonly default: "integer";
readonly enum: ["text", "integer"];
} & s.Schema<s.ISchemaOptions, "text" | "integer" | undefined, "text" | "integer" | undefined>;
readonly on_delete: {
readonly default: "set null";
readonly enum: readonly ["cascade", "set null", "set default", "restrict", "no action"];
} & s.Schema<s.ISchemaOptions, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly reference: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field_type: s.Schema<s.ISchemaOptions, "text" | "integer" | undefined, "text" | "integer" | undefined>;
readonly on_delete: s.Schema<s.ISchemaOptions, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
target_field?: string | undefined;
target_field_type?: "text" | "integer" | undefined;
on_delete?: "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined;
reference: string;
target: string;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
target_field?: string | undefined;
target_field_type?: "text" | "integer" | undefined;
on_delete?: "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined;
reference: string;
target: string;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly entity: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly max_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly mime_types: s.Schema<s.ISchemaOptions, string[] | undefined, string[] | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly entity: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly max_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly mime_types: s.Schema<s.ISchemaOptions, string[] | undefined, string[] | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly entity: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly max_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly mime_types: s.Schema<s.ISchemaOptions, string[] | undefined, string[] | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
entity?: string | undefined;
min_items?: number | undefined;
max_items?: number | undefined;
mime_types?: string[] | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
entity?: string | undefined;
min_items?: number | undefined;
max_items?: number | undefined;
mime_types?: string[] | undefined;
} | undefined>);
}, s.Merge<{
readonly title: "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema";
} & {
additionalProperties: false;
}>>;
boolean: s.ObjectSchema<{
readonly name: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly type: s.Schema<s.ILiteralOptions, "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema", "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema"> & s.Merge<s.ILiteralOptions & {
const: "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema";
}>;
readonly config: ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly minLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maxLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly pattern: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly html_config: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly minLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maxLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly pattern: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly html_config: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly minLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maxLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly pattern: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly html_config: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
html_config?: {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
html_config?: {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly format: s.Schema<s.ISchemaOptions, "integer" | "uuid" | undefined, "integer" | "uuid" | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly format: s.Schema<s.ISchemaOptions, "integer" | "uuid" | undefined, "integer" | "uuid" | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly format: s.Schema<s.ISchemaOptions, "integer" | "uuid" | undefined, "integer" | "uuid" | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
format?: "integer" | "uuid" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
format?: "integer" | "uuid" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly minimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMinimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMaximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly multipleOf: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly minimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMinimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMaximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly multipleOf: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly minimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMinimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMaximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly multipleOf: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
multipleOf?: number | undefined;
maximum?: number | undefined;
exclusiveMaximum?: number | undefined;
minimum?: number | undefined;
exclusiveMinimum?: number | undefined;
required?: boolean | undefined;
default_value?: number | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
multipleOf?: number | undefined;
maximum?: number | undefined;
exclusiveMaximum?: number | undefined;
minimum?: number | undefined;
exclusiveMinimum?: number | undefined;
required?: boolean | undefined;
default_value?: number | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: boolean | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: boolean | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly type: s.Schema<s.ISchemaOptions, "date" | "week" | "datetime" | undefined, "date" | "week" | "datetime" | undefined>;
readonly timezone: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly max_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly type: s.Schema<s.ISchemaOptions, "date" | "week" | "datetime" | undefined, "date" | "week" | "datetime" | undefined>;
readonly timezone: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly max_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly type: s.Schema<s.ISchemaOptions, "date" | "week" | "datetime" | undefined, "date" | "week" | "datetime" | undefined>;
readonly timezone: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly max_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
type?: "date" | "week" | "datetime" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
timezone?: string | undefined;
min_date?: string | undefined;
max_date?: string | undefined;
} | undefined, {
description?: string | undefined;
type?: "date" | "week" | "datetime" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
timezone?: string | undefined;
min_date?: string | undefined;
max_date?: string | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly options: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined, any>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly options: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined, any>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly options: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined, any>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
options?: {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
options?: any;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly schema: s.Schema<s.ISchemaOptions, any, any>;
readonly ui_schema: s.Schema<s.ISchemaOptions, any, any>;
readonly default_from_schema: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly schema: s.Schema<s.ISchemaOptions, any, any>;
readonly ui_schema: s.Schema<s.ISchemaOptions, any, any>;
readonly default_from_schema: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly schema: s.Schema<s.ISchemaOptions, any, any>;
readonly ui_schema: s.Schema<s.ISchemaOptions, any, any>;
readonly default_from_schema: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
schema?: any;
ui_schema?: any;
default_from_schema?: boolean | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
schema?: any;
ui_schema?: any;
default_from_schema?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly reference: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target_field: {
readonly default: "id";
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field_type: {
readonly default: "integer";
readonly enum: ["text", "integer"];
} & s.Schema<s.ISchemaOptions, "text" | "integer" | undefined, "text" | "integer" | undefined>;
readonly on_delete: {
readonly default: "set null";
readonly enum: readonly ["cascade", "set null", "set default", "restrict", "no action"];
} & s.Schema<s.ISchemaOptions, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly reference: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target_field: {
readonly default: "id";
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field_type: {
readonly default: "integer";
readonly enum: ["text", "integer"];
} & s.Schema<s.ISchemaOptions, "text" | "integer" | undefined, "text" | "integer" | undefined>;
readonly on_delete: {
readonly default: "set null";
readonly enum: readonly ["cascade", "set null", "set default", "restrict", "no action"];
} & s.Schema<s.ISchemaOptions, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly reference: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field_type: s.Schema<s.ISchemaOptions, "text" | "integer" | undefined, "text" | "integer" | undefined>;
readonly on_delete: s.Schema<s.ISchemaOptions, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
target_field?: string | undefined;
target_field_type?: "text" | "integer" | undefined;
on_delete?: "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined;
reference: string;
target: string;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
target_field?: string | undefined;
target_field_type?: "text" | "integer" | undefined;
on_delete?: "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined;
reference: string;
target: string;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly entity: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly max_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly mime_types: s.Schema<s.ISchemaOptions, string[] | undefined, string[] | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly entity: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly max_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly mime_types: s.Schema<s.ISchemaOptions, string[] | undefined, string[] | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly entity: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly max_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly mime_types: s.Schema<s.ISchemaOptions, string[] | undefined, string[] | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
entity?: string | undefined;
min_items?: number | undefined;
max_items?: number | undefined;
mime_types?: string[] | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
entity?: string | undefined;
min_items?: number | undefined;
max_items?: number | undefined;
mime_types?: string[] | undefined;
} | undefined>);
}, s.Merge<{
readonly title: "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema";
} & {
additionalProperties: false;
}>>;
date: s.ObjectSchema<{
readonly name: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly type: s.Schema<s.ILiteralOptions, "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema", "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema"> & s.Merge<s.ILiteralOptions & {
const: "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema";
}>;
readonly config: ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly minLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maxLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly pattern: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly html_config: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly minLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maxLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly pattern: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly html_config: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly minLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maxLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly pattern: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly html_config: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
html_config?: {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
html_config?: {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly format: s.Schema<s.ISchemaOptions, "integer" | "uuid" | undefined, "integer" | "uuid" | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly format: s.Schema<s.ISchemaOptions, "integer" | "uuid" | undefined, "integer" | "uuid" | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly format: s.Schema<s.ISchemaOptions, "integer" | "uuid" | undefined, "integer" | "uuid" | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
format?: "integer" | "uuid" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
format?: "integer" | "uuid" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly minimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMinimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMaximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly multipleOf: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly minimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMinimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMaximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly multipleOf: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly minimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMinimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMaximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly multipleOf: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
multipleOf?: number | undefined;
maximum?: number | undefined;
exclusiveMaximum?: number | undefined;
minimum?: number | undefined;
exclusiveMinimum?: number | undefined;
required?: boolean | undefined;
default_value?: number | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
multipleOf?: number | undefined;
maximum?: number | undefined;
exclusiveMaximum?: number | undefined;
minimum?: number | undefined;
exclusiveMinimum?: number | undefined;
required?: boolean | undefined;
default_value?: number | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: boolean | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: boolean | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly type: s.Schema<s.ISchemaOptions, "date" | "week" | "datetime" | undefined, "date" | "week" | "datetime" | undefined>;
readonly timezone: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly max_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly type: s.Schema<s.ISchemaOptions, "date" | "week" | "datetime" | undefined, "date" | "week" | "datetime" | undefined>;
readonly timezone: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly max_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly type: s.Schema<s.ISchemaOptions, "date" | "week" | "datetime" | undefined, "date" | "week" | "datetime" | undefined>;
readonly timezone: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly max_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
type?: "date" | "week" | "datetime" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
timezone?: string | undefined;
min_date?: string | undefined;
max_date?: string | undefined;
} | undefined, {
description?: string | undefined;
type?: "date" | "week" | "datetime" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
timezone?: string | undefined;
min_date?: string | undefined;
max_date?: string | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly options: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined, any>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly options: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined, any>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly options: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined, any>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
options?: {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
options?: any;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly schema: s.Schema<s.ISchemaOptions, any, any>;
readonly ui_schema: s.Schema<s.ISchemaOptions, any, any>;
readonly default_from_schema: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly schema: s.Schema<s.ISchemaOptions, any, any>;
readonly ui_schema: s.Schema<s.ISchemaOptions, any, any>;
readonly default_from_schema: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly schema: s.Schema<s.ISchemaOptions, any, any>;
readonly ui_schema: s.Schema<s.ISchemaOptions, any, any>;
readonly default_from_schema: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
schema?: any;
ui_schema?: any;
default_from_schema?: boolean | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
schema?: any;
ui_schema?: any;
default_from_schema?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly reference: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target_field: {
readonly default: "id";
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field_type: {
readonly default: "integer";
readonly enum: ["text", "integer"];
} & s.Schema<s.ISchemaOptions, "text" | "integer" | undefined, "text" | "integer" | undefined>;
readonly on_delete: {
readonly default: "set null";
readonly enum: readonly ["cascade", "set null", "set default", "restrict", "no action"];
} & s.Schema<s.ISchemaOptions, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly reference: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target_field: {
readonly default: "id";
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field_type: {
readonly default: "integer";
readonly enum: ["text", "integer"];
} & s.Schema<s.ISchemaOptions, "text" | "integer" | undefined, "text" | "integer" | undefined>;
readonly on_delete: {
readonly default: "set null";
readonly enum: readonly ["cascade", "set null", "set default", "restrict", "no action"];
} & s.Schema<s.ISchemaOptions, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly reference: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field_type: s.Schema<s.ISchemaOptions, "text" | "integer" | undefined, "text" | "integer" | undefined>;
readonly on_delete: s.Schema<s.ISchemaOptions, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
target_field?: string | undefined;
target_field_type?: "text" | "integer" | undefined;
on_delete?: "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined;
reference: string;
target: string;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
target_field?: string | undefined;
target_field_type?: "text" | "integer" | undefined;
on_delete?: "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined;
reference: string;
target: string;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly entity: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly max_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly mime_types: s.Schema<s.ISchemaOptions, string[] | undefined, string[] | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly entity: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly max_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly mime_types: s.Schema<s.ISchemaOptions, string[] | undefined, string[] | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly entity: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly max_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly mime_types: s.Schema<s.ISchemaOptions, string[] | undefined, string[] | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
entity?: string | undefined;
min_items?: number | undefined;
max_items?: number | undefined;
mime_types?: string[] | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
entity?: string | undefined;
min_items?: number | undefined;
max_items?: number | undefined;
mime_types?: string[] | undefined;
} | undefined>);
}, s.Merge<{
readonly title: "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema";
} & {
additionalProperties: false;
}>>;
enum: s.ObjectSchema<{
readonly name: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly type: s.Schema<s.ILiteralOptions, "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema", "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema"> & s.Merge<s.ILiteralOptions & {
const: "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema";
}>;
readonly config: ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly minLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maxLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly pattern: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly html_config: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly minLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maxLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly pattern: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly html_config: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly minLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maxLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly pattern: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly html_config: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
html_config?: {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
html_config?: {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly format: s.Schema<s.ISchemaOptions, "integer" | "uuid" | undefined, "integer" | "uuid" | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly format: s.Schema<s.ISchemaOptions, "integer" | "uuid" | undefined, "integer" | "uuid" | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly format: s.Schema<s.ISchemaOptions, "integer" | "uuid" | undefined, "integer" | "uuid" | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
format?: "integer" | "uuid" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
format?: "integer" | "uuid" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly minimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMinimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMaximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly multipleOf: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly minimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMinimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMaximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly multipleOf: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly minimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMinimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMaximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly multipleOf: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
multipleOf?: number | undefined;
maximum?: number | undefined;
exclusiveMaximum?: number | undefined;
minimum?: number | undefined;
exclusiveMinimum?: number | undefined;
required?: boolean | undefined;
default_value?: number | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
multipleOf?: number | undefined;
maximum?: number | undefined;
exclusiveMaximum?: number | undefined;
minimum?: number | undefined;
exclusiveMinimum?: number | undefined;
required?: boolean | undefined;
default_value?: number | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: boolean | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: boolean | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly type: s.Schema<s.ISchemaOptions, "date" | "week" | "datetime" | undefined, "date" | "week" | "datetime" | undefined>;
readonly timezone: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly max_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly type: s.Schema<s.ISchemaOptions, "date" | "week" | "datetime" | undefined, "date" | "week" | "datetime" | undefined>;
readonly timezone: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly max_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly type: s.Schema<s.ISchemaOptions, "date" | "week" | "datetime" | undefined, "date" | "week" | "datetime" | undefined>;
readonly timezone: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly max_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
type?: "date" | "week" | "datetime" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
timezone?: string | undefined;
min_date?: string | undefined;
max_date?: string | undefined;
} | undefined, {
description?: string | undefined;
type?: "date" | "week" | "datetime" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
timezone?: string | undefined;
min_date?: string | undefined;
max_date?: string | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly options: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined, any>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly options: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined, any>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly options: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined, any>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
options?: {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
options?: any;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly schema: s.Schema<s.ISchemaOptions, any, any>;
readonly ui_schema: s.Schema<s.ISchemaOptions, any, any>;
readonly default_from_schema: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly schema: s.Schema<s.ISchemaOptions, any, any>;
readonly ui_schema: s.Schema<s.ISchemaOptions, any, any>;
readonly default_from_schema: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly schema: s.Schema<s.ISchemaOptions, any, any>;
readonly ui_schema: s.Schema<s.ISchemaOptions, any, any>;
readonly default_from_schema: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
schema?: any;
ui_schema?: any;
default_from_schema?: boolean | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
schema?: any;
ui_schema?: any;
default_from_schema?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly reference: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target_field: {
readonly default: "id";
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field_type: {
readonly default: "integer";
readonly enum: ["text", "integer"];
} & s.Schema<s.ISchemaOptions, "text" | "integer" | undefined, "text" | "integer" | undefined>;
readonly on_delete: {
readonly default: "set null";
readonly enum: readonly ["cascade", "set null", "set default", "restrict", "no action"];
} & s.Schema<s.ISchemaOptions, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly reference: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target_field: {
readonly default: "id";
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field_type: {
readonly default: "integer";
readonly enum: ["text", "integer"];
} & s.Schema<s.ISchemaOptions, "text" | "integer" | undefined, "text" | "integer" | undefined>;
readonly on_delete: {
readonly default: "set null";
readonly enum: readonly ["cascade", "set null", "set default", "restrict", "no action"];
} & s.Schema<s.ISchemaOptions, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly reference: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field_type: s.Schema<s.ISchemaOptions, "text" | "integer" | undefined, "text" | "integer" | undefined>;
readonly on_delete: s.Schema<s.ISchemaOptions, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
target_field?: string | undefined;
target_field_type?: "text" | "integer" | undefined;
on_delete?: "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined;
reference: string;
target: string;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
target_field?: string | undefined;
target_field_type?: "text" | "integer" | undefined;
on_delete?: "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined;
reference: string;
target: string;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly entity: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly max_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly mime_types: s.Schema<s.ISchemaOptions, string[] | undefined, string[] | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly entity: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly max_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly mime_types: s.Schema<s.ISchemaOptions, string[] | undefined, string[] | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly entity: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly max_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly mime_types: s.Schema<s.ISchemaOptions, string[] | undefined, string[] | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
entity?: string | undefined;
min_items?: number | undefined;
max_items?: number | undefined;
mime_types?: string[] | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
entity?: string | undefined;
min_items?: number | undefined;
max_items?: number | undefined;
mime_types?: string[] | undefined;
} | undefined>);
}, s.Merge<{
readonly title: "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema";
} & {
additionalProperties: false;
}>>;
json: s.ObjectSchema<{
readonly name: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly type: s.Schema<s.ILiteralOptions, "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema", "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema"> & s.Merge<s.ILiteralOptions & {
const: "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema";
}>;
readonly config: ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly minLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maxLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly pattern: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly html_config: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly minLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maxLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly pattern: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly html_config: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly minLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maxLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly pattern: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly html_config: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
html_config?: {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
html_config?: {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly format: s.Schema<s.ISchemaOptions, "integer" | "uuid" | undefined, "integer" | "uuid" | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly format: s.Schema<s.ISchemaOptions, "integer" | "uuid" | undefined, "integer" | "uuid" | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly format: s.Schema<s.ISchemaOptions, "integer" | "uuid" | undefined, "integer" | "uuid" | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
format?: "integer" | "uuid" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
format?: "integer" | "uuid" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly minimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMinimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMaximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly multipleOf: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly minimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMinimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMaximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly multipleOf: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly minimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMinimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMaximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly multipleOf: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
multipleOf?: number | undefined;
maximum?: number | undefined;
exclusiveMaximum?: number | undefined;
minimum?: number | undefined;
exclusiveMinimum?: number | undefined;
required?: boolean | undefined;
default_value?: number | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
multipleOf?: number | undefined;
maximum?: number | undefined;
exclusiveMaximum?: number | undefined;
minimum?: number | undefined;
exclusiveMinimum?: number | undefined;
required?: boolean | undefined;
default_value?: number | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: boolean | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: boolean | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly type: s.Schema<s.ISchemaOptions, "date" | "week" | "datetime" | undefined, "date" | "week" | "datetime" | undefined>;
readonly timezone: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly max_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly type: s.Schema<s.ISchemaOptions, "date" | "week" | "datetime" | undefined, "date" | "week" | "datetime" | undefined>;
readonly timezone: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly max_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly type: s.Schema<s.ISchemaOptions, "date" | "week" | "datetime" | undefined, "date" | "week" | "datetime" | undefined>;
readonly timezone: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly max_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
type?: "date" | "week" | "datetime" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
timezone?: string | undefined;
min_date?: string | undefined;
max_date?: string | undefined;
} | undefined, {
description?: string | undefined;
type?: "date" | "week" | "datetime" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
timezone?: string | undefined;
min_date?: string | undefined;
max_date?: string | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly options: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined, any>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly options: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined, any>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly options: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined, any>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
options?: {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
options?: any;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly schema: s.Schema<s.ISchemaOptions, any, any>;
readonly ui_schema: s.Schema<s.ISchemaOptions, any, any>;
readonly default_from_schema: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly schema: s.Schema<s.ISchemaOptions, any, any>;
readonly ui_schema: s.Schema<s.ISchemaOptions, any, any>;
readonly default_from_schema: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly schema: s.Schema<s.ISchemaOptions, any, any>;
readonly ui_schema: s.Schema<s.ISchemaOptions, any, any>;
readonly default_from_schema: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
schema?: any;
ui_schema?: any;
default_from_schema?: boolean | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
schema?: any;
ui_schema?: any;
default_from_schema?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly reference: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target_field: {
readonly default: "id";
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field_type: {
readonly default: "integer";
readonly enum: ["text", "integer"];
} & s.Schema<s.ISchemaOptions, "text" | "integer" | undefined, "text" | "integer" | undefined>;
readonly on_delete: {
readonly default: "set null";
readonly enum: readonly ["cascade", "set null", "set default", "restrict", "no action"];
} & s.Schema<s.ISchemaOptions, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly reference: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target_field: {
readonly default: "id";
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field_type: {
readonly default: "integer";
readonly enum: ["text", "integer"];
} & s.Schema<s.ISchemaOptions, "text" | "integer" | undefined, "text" | "integer" | undefined>;
readonly on_delete: {
readonly default: "set null";
readonly enum: readonly ["cascade", "set null", "set default", "restrict", "no action"];
} & s.Schema<s.ISchemaOptions, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly reference: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field_type: s.Schema<s.ISchemaOptions, "text" | "integer" | undefined, "text" | "integer" | undefined>;
readonly on_delete: s.Schema<s.ISchemaOptions, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
target_field?: string | undefined;
target_field_type?: "text" | "integer" | undefined;
on_delete?: "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined;
reference: string;
target: string;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
target_field?: string | undefined;
target_field_type?: "text" | "integer" | undefined;
on_delete?: "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined;
reference: string;
target: string;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly entity: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly max_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly mime_types: s.Schema<s.ISchemaOptions, string[] | undefined, string[] | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly entity: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly max_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly mime_types: s.Schema<s.ISchemaOptions, string[] | undefined, string[] | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly entity: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly max_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly mime_types: s.Schema<s.ISchemaOptions, string[] | undefined, string[] | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
entity?: string | undefined;
min_items?: number | undefined;
max_items?: number | undefined;
mime_types?: string[] | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
entity?: string | undefined;
min_items?: number | undefined;
max_items?: number | undefined;
mime_types?: string[] | undefined;
} | undefined>);
}, s.Merge<{
readonly title: "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema";
} & {
additionalProperties: false;
}>>;
jsonschema: s.ObjectSchema<{
readonly name: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly type: s.Schema<s.ILiteralOptions, "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema", "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema"> & s.Merge<s.ILiteralOptions & {
const: "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema";
}>;
readonly config: ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly minLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maxLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly pattern: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly html_config: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly minLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maxLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly pattern: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly html_config: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly minLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maxLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly pattern: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly html_config: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
html_config?: {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
html_config?: {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly format: s.Schema<s.ISchemaOptions, "integer" | "uuid" | undefined, "integer" | "uuid" | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly format: s.Schema<s.ISchemaOptions, "integer" | "uuid" | undefined, "integer" | "uuid" | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly format: s.Schema<s.ISchemaOptions, "integer" | "uuid" | undefined, "integer" | "uuid" | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
format?: "integer" | "uuid" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
format?: "integer" | "uuid" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly minimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMinimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMaximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly multipleOf: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly minimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMinimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMaximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly multipleOf: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly minimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMinimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMaximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly multipleOf: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
multipleOf?: number | undefined;
maximum?: number | undefined;
exclusiveMaximum?: number | undefined;
minimum?: number | undefined;
exclusiveMinimum?: number | undefined;
required?: boolean | undefined;
default_value?: number | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
multipleOf?: number | undefined;
maximum?: number | undefined;
exclusiveMaximum?: number | undefined;
minimum?: number | undefined;
exclusiveMinimum?: number | undefined;
required?: boolean | undefined;
default_value?: number | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: boolean | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: boolean | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly type: s.Schema<s.ISchemaOptions, "date" | "week" | "datetime" | undefined, "date" | "week" | "datetime" | undefined>;
readonly timezone: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly max_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly type: s.Schema<s.ISchemaOptions, "date" | "week" | "datetime" | undefined, "date" | "week" | "datetime" | undefined>;
readonly timezone: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly max_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly type: s.Schema<s.ISchemaOptions, "date" | "week" | "datetime" | undefined, "date" | "week" | "datetime" | undefined>;
readonly timezone: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly max_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
type?: "date" | "week" | "datetime" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
timezone?: string | undefined;
min_date?: string | undefined;
max_date?: string | undefined;
} | undefined, {
description?: string | undefined;
type?: "date" | "week" | "datetime" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
timezone?: string | undefined;
min_date?: string | undefined;
max_date?: string | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly options: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined, any>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly options: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined, any>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly options: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined, any>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
options?: {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
options?: any;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly schema: s.Schema<s.ISchemaOptions, any, any>;
readonly ui_schema: s.Schema<s.ISchemaOptions, any, any>;
readonly default_from_schema: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly schema: s.Schema<s.ISchemaOptions, any, any>;
readonly ui_schema: s.Schema<s.ISchemaOptions, any, any>;
readonly default_from_schema: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly schema: s.Schema<s.ISchemaOptions, any, any>;
readonly ui_schema: s.Schema<s.ISchemaOptions, any, any>;
readonly default_from_schema: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
schema?: any;
ui_schema?: any;
default_from_schema?: boolean | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
schema?: any;
ui_schema?: any;
default_from_schema?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly reference: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target_field: {
readonly default: "id";
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field_type: {
readonly default: "integer";
readonly enum: ["text", "integer"];
} & s.Schema<s.ISchemaOptions, "text" | "integer" | undefined, "text" | "integer" | undefined>;
readonly on_delete: {
readonly default: "set null";
readonly enum: readonly ["cascade", "set null", "set default", "restrict", "no action"];
} & s.Schema<s.ISchemaOptions, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly reference: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target_field: {
readonly default: "id";
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field_type: {
readonly default: "integer";
readonly enum: ["text", "integer"];
} & s.Schema<s.ISchemaOptions, "text" | "integer" | undefined, "text" | "integer" | undefined>;
readonly on_delete: {
readonly default: "set null";
readonly enum: readonly ["cascade", "set null", "set default", "restrict", "no action"];
} & s.Schema<s.ISchemaOptions, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly reference: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field_type: s.Schema<s.ISchemaOptions, "text" | "integer" | undefined, "text" | "integer" | undefined>;
readonly on_delete: s.Schema<s.ISchemaOptions, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
target_field?: string | undefined;
target_field_type?: "text" | "integer" | undefined;
on_delete?: "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined;
reference: string;
target: string;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
target_field?: string | undefined;
target_field_type?: "text" | "integer" | undefined;
on_delete?: "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined;
reference: string;
target: string;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly entity: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly max_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly mime_types: s.Schema<s.ISchemaOptions, string[] | undefined, string[] | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly entity: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly max_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly mime_types: s.Schema<s.ISchemaOptions, string[] | undefined, string[] | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly entity: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly max_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly mime_types: s.Schema<s.ISchemaOptions, string[] | undefined, string[] | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
entity?: string | undefined;
min_items?: number | undefined;
max_items?: number | undefined;
mime_types?: string[] | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
entity?: string | undefined;
min_items?: number | undefined;
max_items?: number | undefined;
mime_types?: string[] | undefined;
} | undefined>);
}, s.Merge<{
readonly title: "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema";
} & {
additionalProperties: false;
}>>;
};
export declare const fieldsSchema: s.Schema<s.IUnionOptions, {
name?: string | undefined;
config?: {
description?: string | undefined;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
html_config?: {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | {
description?: string | undefined;
format?: "integer" | "uuid" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | {
description?: string | undefined;
multipleOf?: number | undefined;
maximum?: number | undefined;
exclusiveMaximum?: number | undefined;
minimum?: number | undefined;
exclusiveMinimum?: number | undefined;
required?: boolean | undefined;
default_value?: number | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | {
description?: string | undefined;
required?: boolean | undefined;
default_value?: boolean | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | {
description?: string | undefined;
type?: "date" | "week" | "datetime" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
timezone?: string | undefined;
min_date?: string | undefined;
max_date?: string | undefined;
} | {
description?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
options?: {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined;
} | {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
schema?: any;
ui_schema?: any;
default_from_schema?: boolean | undefined;
} | {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
target_field?: string | undefined;
target_field_type?: "text" | "integer" | undefined;
on_delete?: "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined;
reference: string;
target: string;
} | {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
entity?: string | undefined;
min_items?: number | undefined;
max_items?: number | undefined;
mime_types?: string[] | undefined;
} | undefined;
type: "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema";
}, never> & s.Merge<s.IUnionOptions & {
anyOf: s.ObjectSchema<{
readonly name: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly type: s.Schema<s.ILiteralOptions, "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema", "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema"> & s.Merge<s.ILiteralOptions & {
const: "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema";
}>;
readonly config: ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly minLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maxLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly pattern: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly html_config: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly minLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maxLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly pattern: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly html_config: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly minLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maxLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly pattern: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly html_config: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
html_config?: {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
html_config?: {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly format: s.Schema<s.ISchemaOptions, "integer" | "uuid" | undefined, "integer" | "uuid" | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly format: s.Schema<s.ISchemaOptions, "integer" | "uuid" | undefined, "integer" | "uuid" | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly format: s.Schema<s.ISchemaOptions, "integer" | "uuid" | undefined, "integer" | "uuid" | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
format?: "integer" | "uuid" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
format?: "integer" | "uuid" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly minimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMinimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMaximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly multipleOf: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly minimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMinimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMaximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly multipleOf: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly minimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMinimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMaximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly multipleOf: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
multipleOf?: number | undefined;
maximum?: number | undefined;
exclusiveMaximum?: number | undefined;
minimum?: number | undefined;
exclusiveMinimum?: number | undefined;
required?: boolean | undefined;
default_value?: number | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
multipleOf?: number | undefined;
maximum?: number | undefined;
exclusiveMaximum?: number | undefined;
minimum?: number | undefined;
exclusiveMinimum?: number | undefined;
required?: boolean | undefined;
default_value?: number | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: boolean | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: boolean | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly type: s.Schema<s.ISchemaOptions, "date" | "week" | "datetime" | undefined, "date" | "week" | "datetime" | undefined>;
readonly timezone: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly max_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly type: s.Schema<s.ISchemaOptions, "date" | "week" | "datetime" | undefined, "date" | "week" | "datetime" | undefined>;
readonly timezone: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly max_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly type: s.Schema<s.ISchemaOptions, "date" | "week" | "datetime" | undefined, "date" | "week" | "datetime" | undefined>;
readonly timezone: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly max_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
type?: "date" | "week" | "datetime" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
timezone?: string | undefined;
min_date?: string | undefined;
max_date?: string | undefined;
} | undefined, {
description?: string | undefined;
type?: "date" | "week" | "datetime" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
timezone?: string | undefined;
min_date?: string | undefined;
max_date?: string | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly options: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined, any>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly options: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined, any>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly options: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined, any>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
options?: {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
options?: any;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly schema: s.Schema<s.ISchemaOptions, any, any>;
readonly ui_schema: s.Schema<s.ISchemaOptions, any, any>;
readonly default_from_schema: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly schema: s.Schema<s.ISchemaOptions, any, any>;
readonly ui_schema: s.Schema<s.ISchemaOptions, any, any>;
readonly default_from_schema: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly schema: s.Schema<s.ISchemaOptions, any, any>;
readonly ui_schema: s.Schema<s.ISchemaOptions, any, any>;
readonly default_from_schema: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
schema?: any;
ui_schema?: any;
default_from_schema?: boolean | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
schema?: any;
ui_schema?: any;
default_from_schema?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly reference: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target_field: {
readonly default: "id";
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field_type: {
readonly default: "integer";
readonly enum: ["text", "integer"];
} & s.Schema<s.ISchemaOptions, "text" | "integer" | undefined, "text" | "integer" | undefined>;
readonly on_delete: {
readonly default: "set null";
readonly enum: readonly ["cascade", "set null", "set default", "restrict", "no action"];
} & s.Schema<s.ISchemaOptions, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly reference: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target_field: {
readonly default: "id";
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field_type: {
readonly default: "integer";
readonly enum: ["text", "integer"];
} & s.Schema<s.ISchemaOptions, "text" | "integer" | undefined, "text" | "integer" | undefined>;
readonly on_delete: {
readonly default: "set null";
readonly enum: readonly ["cascade", "set null", "set default", "restrict", "no action"];
} & s.Schema<s.ISchemaOptions, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly reference: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field_type: s.Schema<s.ISchemaOptions, "text" | "integer" | undefined, "text" | "integer" | undefined>;
readonly on_delete: s.Schema<s.ISchemaOptions, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
target_field?: string | undefined;
target_field_type?: "text" | "integer" | undefined;
on_delete?: "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined;
reference: string;
target: string;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
target_field?: string | undefined;
target_field_type?: "text" | "integer" | undefined;
on_delete?: "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined;
reference: string;
target: string;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly entity: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly max_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly mime_types: s.Schema<s.ISchemaOptions, string[] | undefined, string[] | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly entity: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly max_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly mime_types: s.Schema<s.ISchemaOptions, string[] | undefined, string[] | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly entity: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly max_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly mime_types: s.Schema<s.ISchemaOptions, string[] | undefined, string[] | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
entity?: string | undefined;
min_items?: number | undefined;
max_items?: number | undefined;
mime_types?: string[] | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
entity?: string | undefined;
min_items?: number | undefined;
max_items?: number | undefined;
mime_types?: string[] | undefined;
} | undefined>);
}, s.Merge<{
readonly title: "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema";
} & {
additionalProperties: false;
}>>[];
}>;
export declare const entityFields: s.RecordSchema<s.Schema<s.IUnionOptions, {
name?: string | undefined;
config?: {
description?: string | undefined;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
html_config?: {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | {
description?: string | undefined;
format?: "integer" | "uuid" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | {
description?: string | undefined;
multipleOf?: number | undefined;
maximum?: number | undefined;
exclusiveMaximum?: number | undefined;
minimum?: number | undefined;
exclusiveMinimum?: number | undefined;
required?: boolean | undefined;
default_value?: number | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | {
description?: string | undefined;
required?: boolean | undefined;
default_value?: boolean | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | {
description?: string | undefined;
type?: "date" | "week" | "datetime" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
timezone?: string | undefined;
min_date?: string | undefined;
max_date?: string | undefined;
} | {
description?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
options?: {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined;
} | {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
schema?: any;
ui_schema?: any;
default_from_schema?: boolean | undefined;
} | {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
target_field?: string | undefined;
target_field_type?: "text" | "integer" | undefined;
on_delete?: "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined;
reference: string;
target: string;
} | {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
entity?: string | undefined;
min_items?: number | undefined;
max_items?: number | undefined;
mime_types?: string[] | undefined;
} | undefined;
type: "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema";
}, never> & s.Merge<s.IUnionOptions & {
anyOf: s.ObjectSchema<{
readonly name: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly type: s.Schema<s.ILiteralOptions, "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema", "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema"> & s.Merge<s.ILiteralOptions & {
const: "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema";
}>;
readonly config: ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly minLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maxLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly pattern: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly html_config: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly minLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maxLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly pattern: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly html_config: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly minLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maxLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly pattern: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly html_config: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
html_config?: {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
html_config?: {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly format: s.Schema<s.ISchemaOptions, "integer" | "uuid" | undefined, "integer" | "uuid" | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly format: s.Schema<s.ISchemaOptions, "integer" | "uuid" | undefined, "integer" | "uuid" | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly format: s.Schema<s.ISchemaOptions, "integer" | "uuid" | undefined, "integer" | "uuid" | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
format?: "integer" | "uuid" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
format?: "integer" | "uuid" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly minimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMinimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMaximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly multipleOf: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly minimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMinimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMaximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly multipleOf: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly minimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMinimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMaximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly multipleOf: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
multipleOf?: number | undefined;
maximum?: number | undefined;
exclusiveMaximum?: number | undefined;
minimum?: number | undefined;
exclusiveMinimum?: number | undefined;
required?: boolean | undefined;
default_value?: number | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
multipleOf?: number | undefined;
maximum?: number | undefined;
exclusiveMaximum?: number | undefined;
minimum?: number | undefined;
exclusiveMinimum?: number | undefined;
required?: boolean | undefined;
default_value?: number | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: boolean | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: boolean | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly type: s.Schema<s.ISchemaOptions, "date" | "week" | "datetime" | undefined, "date" | "week" | "datetime" | undefined>;
readonly timezone: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly max_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly type: s.Schema<s.ISchemaOptions, "date" | "week" | "datetime" | undefined, "date" | "week" | "datetime" | undefined>;
readonly timezone: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly max_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly type: s.Schema<s.ISchemaOptions, "date" | "week" | "datetime" | undefined, "date" | "week" | "datetime" | undefined>;
readonly timezone: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly max_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
type?: "date" | "week" | "datetime" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
timezone?: string | undefined;
min_date?: string | undefined;
max_date?: string | undefined;
} | undefined, {
description?: string | undefined;
type?: "date" | "week" | "datetime" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
timezone?: string | undefined;
min_date?: string | undefined;
max_date?: string | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly options: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined, any>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly options: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined, any>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly options: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined, any>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
options?: {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
options?: any;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly schema: s.Schema<s.ISchemaOptions, any, any>;
readonly ui_schema: s.Schema<s.ISchemaOptions, any, any>;
readonly default_from_schema: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly schema: s.Schema<s.ISchemaOptions, any, any>;
readonly ui_schema: s.Schema<s.ISchemaOptions, any, any>;
readonly default_from_schema: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly schema: s.Schema<s.ISchemaOptions, any, any>;
readonly ui_schema: s.Schema<s.ISchemaOptions, any, any>;
readonly default_from_schema: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
schema?: any;
ui_schema?: any;
default_from_schema?: boolean | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
schema?: any;
ui_schema?: any;
default_from_schema?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly reference: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target_field: {
readonly default: "id";
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field_type: {
readonly default: "integer";
readonly enum: ["text", "integer"];
} & s.Schema<s.ISchemaOptions, "text" | "integer" | undefined, "text" | "integer" | undefined>;
readonly on_delete: {
readonly default: "set null";
readonly enum: readonly ["cascade", "set null", "set default", "restrict", "no action"];
} & s.Schema<s.ISchemaOptions, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly reference: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target_field: {
readonly default: "id";
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field_type: {
readonly default: "integer";
readonly enum: ["text", "integer"];
} & s.Schema<s.ISchemaOptions, "text" | "integer" | undefined, "text" | "integer" | undefined>;
readonly on_delete: {
readonly default: "set null";
readonly enum: readonly ["cascade", "set null", "set default", "restrict", "no action"];
} & s.Schema<s.ISchemaOptions, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly reference: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field_type: s.Schema<s.ISchemaOptions, "text" | "integer" | undefined, "text" | "integer" | undefined>;
readonly on_delete: s.Schema<s.ISchemaOptions, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
target_field?: string | undefined;
target_field_type?: "text" | "integer" | undefined;
on_delete?: "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined;
reference: string;
target: string;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
target_field?: string | undefined;
target_field_type?: "text" | "integer" | undefined;
on_delete?: "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined;
reference: string;
target: string;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly entity: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly max_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly mime_types: s.Schema<s.ISchemaOptions, string[] | undefined, string[] | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly entity: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly max_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly mime_types: s.Schema<s.ISchemaOptions, string[] | undefined, string[] | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly entity: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly max_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly mime_types: s.Schema<s.ISchemaOptions, string[] | undefined, string[] | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
entity?: string | undefined;
min_items?: number | undefined;
max_items?: number | undefined;
mime_types?: string[] | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
entity?: string | undefined;
min_items?: number | undefined;
max_items?: number | undefined;
mime_types?: string[] | undefined;
} | undefined>);
}, s.Merge<{
readonly title: "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema";
} & {
additionalProperties: false;
}>>[];
}>, s.IRecordOptions>;
export type TAppDataField = s.Static<typeof fieldsSchema>;
export type TAppDataEntityFields = s.Static<typeof entityFields>;
export declare const entitiesSchema: s.ObjectSchema<{
readonly name: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly type: s.StringSchema<{
readonly enum: readonly ["regular", "system", "generated"];
readonly default: "regular";
}> & {
readonly enum: readonly ["regular", "system", "generated"];
readonly default: "regular";
};
readonly config: s.ObjectSchema<{
readonly name: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly name_singular: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly sort_field: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly sort_dir: s.Schema<s.ISchemaOptions, "asc" | "desc" | undefined, "asc" | "desc" | undefined>;
readonly primary_format: s.Schema<s.ISchemaOptions, "integer" | "uuid" | undefined, "integer" | "uuid" | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
readonly fields: s.RecordSchema<s.Schema<s.IUnionOptions, {
name?: string | undefined;
config?: {
description?: string | undefined;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
html_config?: {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | {
description?: string | undefined;
format?: "integer" | "uuid" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | {
description?: string | undefined;
multipleOf?: number | undefined;
maximum?: number | undefined;
exclusiveMaximum?: number | undefined;
minimum?: number | undefined;
exclusiveMinimum?: number | undefined;
required?: boolean | undefined;
default_value?: number | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | {
description?: string | undefined;
required?: boolean | undefined;
default_value?: boolean | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | {
description?: string | undefined;
type?: "date" | "week" | "datetime" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
timezone?: string | undefined;
min_date?: string | undefined;
max_date?: string | undefined;
} | {
description?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
options?: {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined;
} | {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
schema?: any;
ui_schema?: any;
default_from_schema?: boolean | undefined;
} | {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
target_field?: string | undefined;
target_field_type?: "text" | "integer" | undefined;
on_delete?: "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined;
reference: string;
target: string;
} | {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
entity?: string | undefined;
min_items?: number | undefined;
max_items?: number | undefined;
mime_types?: string[] | undefined;
} | undefined;
type: "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema";
}, never> & s.Merge<s.IUnionOptions & {
anyOf: s.ObjectSchema<{
readonly name: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly type: s.Schema<s.ILiteralOptions, "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema", "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema"> & s.Merge<s.ILiteralOptions & {
const: "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema";
}>;
readonly config: ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly minLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maxLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly pattern: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly html_config: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly minLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maxLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly pattern: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly html_config: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly minLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maxLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly pattern: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly html_config: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
html_config?: {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
html_config?: {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly format: s.Schema<s.ISchemaOptions, "integer" | "uuid" | undefined, "integer" | "uuid" | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly format: s.Schema<s.ISchemaOptions, "integer" | "uuid" | undefined, "integer" | "uuid" | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly format: s.Schema<s.ISchemaOptions, "integer" | "uuid" | undefined, "integer" | "uuid" | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
format?: "integer" | "uuid" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
format?: "integer" | "uuid" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly minimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMinimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMaximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly multipleOf: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly minimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMinimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMaximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly multipleOf: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly minimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMinimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMaximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly multipleOf: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
multipleOf?: number | undefined;
maximum?: number | undefined;
exclusiveMaximum?: number | undefined;
minimum?: number | undefined;
exclusiveMinimum?: number | undefined;
required?: boolean | undefined;
default_value?: number | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
multipleOf?: number | undefined;
maximum?: number | undefined;
exclusiveMaximum?: number | undefined;
minimum?: number | undefined;
exclusiveMinimum?: number | undefined;
required?: boolean | undefined;
default_value?: number | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: boolean | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: boolean | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly type: s.Schema<s.ISchemaOptions, "date" | "week" | "datetime" | undefined, "date" | "week" | "datetime" | undefined>;
readonly timezone: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly max_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly type: s.Schema<s.ISchemaOptions, "date" | "week" | "datetime" | undefined, "date" | "week" | "datetime" | undefined>;
readonly timezone: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly max_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly type: s.Schema<s.ISchemaOptions, "date" | "week" | "datetime" | undefined, "date" | "week" | "datetime" | undefined>;
readonly timezone: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly max_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
type?: "date" | "week" | "datetime" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
timezone?: string | undefined;
min_date?: string | undefined;
max_date?: string | undefined;
} | undefined, {
description?: string | undefined;
type?: "date" | "week" | "datetime" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
timezone?: string | undefined;
min_date?: string | undefined;
max_date?: string | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly options: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined, any>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly options: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined, any>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly options: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined, any>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
options?: {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
options?: any;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly schema: s.Schema<s.ISchemaOptions, any, any>;
readonly ui_schema: s.Schema<s.ISchemaOptions, any, any>;
readonly default_from_schema: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly schema: s.Schema<s.ISchemaOptions, any, any>;
readonly ui_schema: s.Schema<s.ISchemaOptions, any, any>;
readonly default_from_schema: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly schema: s.Schema<s.ISchemaOptions, any, any>;
readonly ui_schema: s.Schema<s.ISchemaOptions, any, any>;
readonly default_from_schema: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
schema?: any;
ui_schema?: any;
default_from_schema?: boolean | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
schema?: any;
ui_schema?: any;
default_from_schema?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly reference: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target_field: {
readonly default: "id";
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field_type: {
readonly default: "integer";
readonly enum: ["text", "integer"];
} & s.Schema<s.ISchemaOptions, "text" | "integer" | undefined, "text" | "integer" | undefined>;
readonly on_delete: {
readonly default: "set null";
readonly enum: readonly ["cascade", "set null", "set default", "restrict", "no action"];
} & s.Schema<s.ISchemaOptions, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly reference: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target_field: {
readonly default: "id";
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field_type: {
readonly default: "integer";
readonly enum: ["text", "integer"];
} & s.Schema<s.ISchemaOptions, "text" | "integer" | undefined, "text" | "integer" | undefined>;
readonly on_delete: {
readonly default: "set null";
readonly enum: readonly ["cascade", "set null", "set default", "restrict", "no action"];
} & s.Schema<s.ISchemaOptions, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly reference: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field_type: s.Schema<s.ISchemaOptions, "text" | "integer" | undefined, "text" | "integer" | undefined>;
readonly on_delete: s.Schema<s.ISchemaOptions, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
target_field?: string | undefined;
target_field_type?: "text" | "integer" | undefined;
on_delete?: "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined;
reference: string;
target: string;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
target_field?: string | undefined;
target_field_type?: "text" | "integer" | undefined;
on_delete?: "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined;
reference: string;
target: string;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly entity: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly max_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly mime_types: s.Schema<s.ISchemaOptions, string[] | undefined, string[] | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly entity: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly max_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly mime_types: s.Schema<s.ISchemaOptions, string[] | undefined, string[] | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly entity: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly max_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly mime_types: s.Schema<s.ISchemaOptions, string[] | undefined, string[] | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
entity?: string | undefined;
min_items?: number | undefined;
max_items?: number | undefined;
mime_types?: string[] | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
entity?: string | undefined;
min_items?: number | undefined;
max_items?: number | undefined;
mime_types?: string[] | undefined;
} | undefined>);
}, s.Merge<{
readonly title: "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema";
} & {
additionalProperties: false;
}>>[];
}>, s.IRecordOptions>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
export type TAppDataEntity = s.Static<typeof entitiesSchema>;
export declare const relationsSchema: s.ObjectSchema<{
readonly type: s.Schema<s.ILiteralOptions, string, string> & s.Merge<s.ILiteralOptions & {
const: string;
}>;
readonly source: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly config: ({
strict: () => s.ObjectSchema<{
readonly mappedBy: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly inversedBy: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: {
default?: any;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly sourceCardinality: {
default?: any;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
multipleOf?: number | undefined;
maximum?: number | undefined;
exclusiveMaximum?: number | undefined;
minimum?: number | undefined;
exclusiveMinimum?: number | undefined;
} & s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly with_limit: {
readonly default: number;
} & s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly fieldConfig: {
default?: any;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
$defs?: Record<string, s.Schema> | undefined;
patternProperties?: Record<string, s.Schema> | undefined;
additionalProperties?: (s.Schema | false) | undefined;
minProperties?: number | undefined;
maxProperties?: number | undefined;
propertyNames?: s.Schema | undefined;
strict: () => s.ObjectSchema<{
readonly label: s.StringSchema<s.IStringOptions> & s.IStringOptions;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.StringSchema<s.IStringOptions> & s.IStringOptions;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
}, s.IObjectOptions>;
} & s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
label: string;
} | undefined, {
[x: string]: unknown;
label: string;
} | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly mappedBy: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly inversedBy: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: {
default?: any;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly sourceCardinality: {
default?: any;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
multipleOf?: number | undefined;
maximum?: number | undefined;
exclusiveMaximum?: number | undefined;
minimum?: number | undefined;
exclusiveMinimum?: number | undefined;
} & s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly with_limit: {
readonly default: number;
} & s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly fieldConfig: {
default?: any;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
$defs?: Record<string, s.Schema> | undefined;
patternProperties?: Record<string, s.Schema> | undefined;
additionalProperties?: (s.Schema | false) | undefined;
minProperties?: number | undefined;
maxProperties?: number | undefined;
propertyNames?: s.Schema | undefined;
strict: () => s.ObjectSchema<{
readonly label: s.StringSchema<s.IStringOptions> & s.IStringOptions;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.StringSchema<s.IStringOptions> & s.IStringOptions;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
}, s.IObjectOptions>;
} & s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
label: string;
} | undefined, {
[x: string]: unknown;
label: string;
} | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly mappedBy: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly inversedBy: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly sourceCardinality: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly with_limit: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly fieldConfig: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
label: string;
} | undefined, {
[x: string]: unknown;
label: string;
} | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
required?: boolean | undefined;
sourceCardinality?: number | undefined;
with_limit?: number | undefined;
fieldConfig?: {
[x: string]: unknown;
label: string;
} | undefined;
mappedBy?: string | undefined;
inversedBy?: string | undefined;
} | undefined, {
required?: boolean | undefined;
sourceCardinality?: number | undefined;
with_limit?: number | undefined;
fieldConfig?: {
[x: string]: unknown;
label: string;
} | undefined;
mappedBy?: string | undefined;
inversedBy?: string | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly mappedBy: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly inversedBy: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: {
default?: any;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly connectionTable: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly connectionTableMappedName: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly mappedBy: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly inversedBy: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: {
default?: any;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly connectionTable: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly connectionTableMappedName: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly mappedBy: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly inversedBy: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly connectionTable: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly connectionTableMappedName: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
required?: boolean | undefined;
mappedBy?: string | undefined;
inversedBy?: string | undefined;
connectionTable?: string | undefined;
connectionTableMappedName?: string | undefined;
} | undefined, {
required?: boolean | undefined;
mappedBy?: string | undefined;
inversedBy?: string | undefined;
connectionTable?: string | undefined;
connectionTableMappedName?: string | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly mappedBy: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly inversedBy: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: {
default?: any;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly targetCardinality: {
default?: any;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
multipleOf?: number | undefined;
maximum?: number | undefined;
exclusiveMaximum?: number | undefined;
minimum?: number | undefined;
exclusiveMinimum?: number | undefined;
} & s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly mappedBy: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly inversedBy: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: {
default?: any;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly targetCardinality: {
default?: any;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
multipleOf?: number | undefined;
maximum?: number | undefined;
exclusiveMaximum?: number | undefined;
minimum?: number | undefined;
exclusiveMinimum?: number | undefined;
} & s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly mappedBy: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly inversedBy: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly targetCardinality: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
required?: boolean | undefined;
mappedBy?: string | undefined;
inversedBy?: string | undefined;
targetCardinality?: number | undefined;
} | undefined, {
required?: boolean | undefined;
mappedBy?: string | undefined;
inversedBy?: string | undefined;
targetCardinality?: number | undefined;
} | undefined>);
}, s.Merge<{
readonly title: string;
} & {
additionalProperties: false;
}>>[];
export type TAppDataRelation = s.Static<(typeof relationsSchema)[number]>;
export declare const indicesSchema: s.ObjectSchema<{
readonly entity: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly fields: s.ArraySchema<s.StringSchema<s.IStringOptions> & s.IStringOptions, {
readonly minItems: 1;
}> & {
readonly minItems: 1;
};
readonly unique: {
readonly default: false;
} & s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
export declare const dataConfigSchema: s.ObjectSchema<{
readonly basepath: {
readonly default: "/api/data";
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly default_primary_format: {
readonly default: "integer";
readonly enum: readonly ["integer", "uuid"];
} & s.Schema<s.ISchemaOptions, "integer" | "uuid" | undefined, "integer" | "uuid" | undefined>;
readonly entities: {
additionalProperties: s.ObjectSchema<{
readonly name: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly type: s.StringSchema<{
readonly enum: readonly ["regular", "system", "generated"];
readonly default: "regular";
}> & {
readonly enum: readonly ["regular", "system", "generated"];
readonly default: "regular";
};
readonly config: s.ObjectSchema<{
readonly name: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly name_singular: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly sort_field: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly sort_dir: s.Schema<s.ISchemaOptions, "asc" | "desc" | undefined, "asc" | "desc" | undefined>;
readonly primary_format: s.Schema<s.ISchemaOptions, "integer" | "uuid" | undefined, "integer" | "uuid" | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
readonly fields: s.RecordSchema<s.Schema<s.IUnionOptions, {
name?: string | undefined;
config?: {
description?: string | undefined;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
html_config?: {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | {
description?: string | undefined;
format?: "integer" | "uuid" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | {
description?: string | undefined;
multipleOf?: number | undefined;
maximum?: number | undefined;
exclusiveMaximum?: number | undefined;
minimum?: number | undefined;
exclusiveMinimum?: number | undefined;
required?: boolean | undefined;
default_value?: number | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | {
description?: string | undefined;
required?: boolean | undefined;
default_value?: boolean | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | {
description?: string | undefined;
type?: "date" | "week" | "datetime" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
timezone?: string | undefined;
min_date?: string | undefined;
max_date?: string | undefined;
} | {
description?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
options?: {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined;
} | {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
schema?: any;
ui_schema?: any;
default_from_schema?: boolean | undefined;
} | {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
target_field?: string | undefined;
target_field_type?: "text" | "integer" | undefined;
on_delete?: "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined;
reference: string;
target: string;
} | {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
entity?: string | undefined;
min_items?: number | undefined;
max_items?: number | undefined;
mime_types?: string[] | undefined;
} | undefined;
type: "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema";
}, never> & s.Merge<s.IUnionOptions & {
anyOf: s.ObjectSchema<{
readonly name: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly type: s.Schema<s.ILiteralOptions, "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema", "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema"> & s.Merge<s.ILiteralOptions & {
const: "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema";
}>;
readonly config: ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly minLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maxLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly pattern: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly html_config: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly minLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maxLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly pattern: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly html_config: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly minLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maxLength: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly pattern: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly html_config: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined, {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
html_config?: {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
html_config?: {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly format: s.Schema<s.ISchemaOptions, "integer" | "uuid" | undefined, "integer" | "uuid" | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly format: s.Schema<s.ISchemaOptions, "integer" | "uuid" | undefined, "integer" | "uuid" | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly format: s.Schema<s.ISchemaOptions, "integer" | "uuid" | undefined, "integer" | "uuid" | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
format?: "integer" | "uuid" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
format?: "integer" | "uuid" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly minimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMinimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMaximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly multipleOf: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly minimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMinimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMaximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly multipleOf: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly minimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly maximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMinimum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMaximum: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly multipleOf: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
multipleOf?: number | undefined;
maximum?: number | undefined;
exclusiveMaximum?: number | undefined;
minimum?: number | undefined;
exclusiveMinimum?: number | undefined;
required?: boolean | undefined;
default_value?: number | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
multipleOf?: number | undefined;
maximum?: number | undefined;
exclusiveMaximum?: number | undefined;
minimum?: number | undefined;
exclusiveMinimum?: number | undefined;
required?: boolean | undefined;
default_value?: number | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: boolean | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: boolean | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly type: s.Schema<s.ISchemaOptions, "date" | "week" | "datetime" | undefined, "date" | "week" | "datetime" | undefined>;
readonly timezone: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly max_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly type: s.Schema<s.ISchemaOptions, "date" | "week" | "datetime" | undefined, "date" | "week" | "datetime" | undefined>;
readonly timezone: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly max_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly type: s.Schema<s.ISchemaOptions, "date" | "week" | "datetime" | undefined, "date" | "week" | "datetime" | undefined>;
readonly timezone: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly max_date: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
type?: "date" | "week" | "datetime" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
timezone?: string | undefined;
min_date?: string | undefined;
max_date?: string | undefined;
} | undefined, {
description?: string | undefined;
type?: "date" | "week" | "datetime" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
timezone?: string | undefined;
min_date?: string | undefined;
max_date?: string | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly options: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined, any>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly options: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined, any>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly options: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined, any>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
options?: {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
options?: any;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly schema: s.Schema<s.ISchemaOptions, any, any>;
readonly ui_schema: s.Schema<s.ISchemaOptions, any, any>;
readonly default_from_schema: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly schema: s.Schema<s.ISchemaOptions, any, any>;
readonly ui_schema: s.Schema<s.ISchemaOptions, any, any>;
readonly default_from_schema: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly schema: s.Schema<s.ISchemaOptions, any, any>;
readonly ui_schema: s.Schema<s.ISchemaOptions, any, any>;
readonly default_from_schema: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
schema?: any;
ui_schema?: any;
default_from_schema?: boolean | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
schema?: any;
ui_schema?: any;
default_from_schema?: boolean | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly reference: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target_field: {
readonly default: "id";
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field_type: {
readonly default: "integer";
readonly enum: ["text", "integer"];
} & s.Schema<s.ISchemaOptions, "text" | "integer" | undefined, "text" | "integer" | undefined>;
readonly on_delete: {
readonly default: "set null";
readonly enum: readonly ["cascade", "set null", "set default", "restrict", "no action"];
} & s.Schema<s.ISchemaOptions, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly reference: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target_field: {
readonly default: "id";
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field_type: {
readonly default: "integer";
readonly enum: ["text", "integer"];
} & s.Schema<s.ISchemaOptions, "text" | "integer" | undefined, "text" | "integer" | undefined>;
readonly on_delete: {
readonly default: "set null";
readonly enum: readonly ["cascade", "set null", "set default", "restrict", "no action"];
} & s.Schema<s.ISchemaOptions, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly reference: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly target_field_type: s.Schema<s.ISchemaOptions, "text" | "integer" | undefined, "text" | "integer" | undefined>;
readonly on_delete: s.Schema<s.ISchemaOptions, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
target_field?: string | undefined;
target_field_type?: "text" | "integer" | undefined;
on_delete?: "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined;
reference: string;
target: string;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
target_field?: string | undefined;
target_field_type?: "text" | "integer" | undefined;
on_delete?: "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined;
reference: string;
target: string;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly entity: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly max_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly mime_types: s.Schema<s.ISchemaOptions, string[] | undefined, string[] | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly entity: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly max_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly mime_types: s.Schema<s.ISchemaOptions, string[] | undefined, string[] | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly description: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: s.Schema<s.ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: s.Schema<s.ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: s.Schema<s.ISchemaOptions, any, any>;
readonly entity: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly min_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly max_items: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly mime_types: s.Schema<s.ISchemaOptions, string[] | undefined, string[] | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
entity?: string | undefined;
min_items?: number | undefined;
max_items?: number | undefined;
mime_types?: string[] | undefined;
} | undefined, {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
entity?: string | undefined;
min_items?: number | undefined;
max_items?: number | undefined;
mime_types?: string[] | undefined;
} | undefined>);
}, s.Merge<{
readonly title: "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema";
} & {
additionalProperties: false;
}>>[];
}>, s.IRecordOptions>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
[x: string]: {
name?: string | undefined;
type: "regular" | "system" | "generated";
fields: {
[x: string]: {
name?: string | undefined;
config?: {
description?: string | undefined;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
html_config?: {
[x: string]: unknown;
element?: string | undefined;
props?: {
[x: string]: string | number;
} | undefined;
} | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | {
description?: string | undefined;
format?: "integer" | "uuid" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | {
description?: string | undefined;
multipleOf?: number | undefined;
maximum?: number | undefined;
exclusiveMaximum?: number | undefined;
minimum?: number | undefined;
exclusiveMinimum?: number | undefined;
required?: boolean | undefined;
default_value?: number | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | {
description?: string | undefined;
required?: boolean | undefined;
default_value?: boolean | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | {
description?: string | undefined;
type?: "date" | "week" | "datetime" | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
timezone?: string | undefined;
min_date?: string | undefined;
max_date?: string | undefined;
} | {
description?: string | undefined;
required?: boolean | undefined;
default_value?: string | undefined;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
options?: {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined;
} | {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
} | {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
schema?: any;
ui_schema?: any;
default_from_schema?: boolean | undefined;
} | {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
target_field?: string | undefined;
target_field_type?: "text" | "integer" | undefined;
on_delete?: "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined;
reference: string;
target: string;
} | {
description?: string | undefined;
required?: boolean | undefined;
default_value?: any;
label?: string | undefined;
fillable?: boolean | ("create" | "read" | "update" | "delete")[] | undefined;
hidden?: boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined;
virtual?: boolean | undefined;
entity?: string | undefined;
min_items?: number | undefined;
max_items?: number | undefined;
mime_types?: string[] | undefined;
} | undefined;
type: "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema";
};
};
config: {
description?: string | undefined;
name?: string | undefined;
name_singular?: string | undefined;
sort_field?: string | undefined;
sort_dir?: "asc" | "desc" | undefined;
primary_format?: "integer" | "uuid" | undefined;
};
};
} | undefined, {
[x: string]: {
name?: string | undefined;
type: "regular" | "system" | "generated";
fields: {
[x: string]: never;
};
config: {
description?: string | undefined;
name?: string | undefined;
name_singular?: string | undefined;
sort_field?: string | undefined;
sort_dir?: "asc" | "desc" | undefined;
primary_format?: "integer" | "uuid" | undefined;
};
};
} | undefined>;
readonly relations: {
additionalProperties: s.Schema<s.IUnionOptions, {
config?: {
required?: boolean | undefined;
sourceCardinality?: number | undefined;
with_limit?: number | undefined;
fieldConfig?: {
[x: string]: unknown;
label: string;
} | undefined;
mappedBy?: string | undefined;
inversedBy?: string | undefined;
} | {
required?: boolean | undefined;
mappedBy?: string | undefined;
inversedBy?: string | undefined;
connectionTable?: string | undefined;
connectionTableMappedName?: string | undefined;
} | {
required?: boolean | undefined;
mappedBy?: string | undefined;
inversedBy?: string | undefined;
targetCardinality?: number | undefined;
} | undefined;
type: string;
target: string;
source: string;
}, never> & s.Merge<s.IUnionOptions & {
anyOf: s.ObjectSchema<{
readonly type: s.Schema<s.ILiteralOptions, string, string> & s.Merge<s.ILiteralOptions & {
const: string;
}>;
readonly source: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly target: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly config: ({
strict: () => s.ObjectSchema<{
readonly mappedBy: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly inversedBy: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: {
default?: any;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly sourceCardinality: {
default?: any;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
multipleOf?: number | undefined;
maximum?: number | undefined;
exclusiveMaximum?: number | undefined;
minimum?: number | undefined;
exclusiveMinimum?: number | undefined;
} & s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly with_limit: {
readonly default: number;
} & s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly fieldConfig: {
default?: any;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
$defs?: Record<string, s.Schema> | undefined;
patternProperties?: Record<string, s.Schema> | undefined;
additionalProperties?: (s.Schema | false) | undefined;
minProperties?: number | undefined;
maxProperties?: number | undefined;
propertyNames?: s.Schema | undefined;
strict: () => s.ObjectSchema<{
readonly label: s.StringSchema<s.IStringOptions> & s.IStringOptions;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.StringSchema<s.IStringOptions> & s.IStringOptions;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
}, s.IObjectOptions>;
} & s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
label: string;
} | undefined, {
[x: string]: unknown;
label: string;
} | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly mappedBy: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly inversedBy: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: {
default?: any;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly sourceCardinality: {
default?: any;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
multipleOf?: number | undefined;
maximum?: number | undefined;
exclusiveMaximum?: number | undefined;
minimum?: number | undefined;
exclusiveMinimum?: number | undefined;
} & s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly with_limit: {
readonly default: number;
} & s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly fieldConfig: {
default?: any;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
$defs?: Record<string, s.Schema> | undefined;
patternProperties?: Record<string, s.Schema> | undefined;
additionalProperties?: (s.Schema | false) | undefined;
minProperties?: number | undefined;
maxProperties?: number | undefined;
propertyNames?: s.Schema | undefined;
strict: () => s.ObjectSchema<{
readonly label: s.StringSchema<s.IStringOptions> & s.IStringOptions;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
properties: {
readonly label: s.StringSchema<s.IStringOptions> & s.IStringOptions;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly label: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
}, s.IObjectOptions>;
} & s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
label: string;
} | undefined, {
[x: string]: unknown;
label: string;
} | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly mappedBy: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly inversedBy: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly sourceCardinality: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly with_limit: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
readonly fieldConfig: s.Schema<s.ISchemaOptions, {
[x: string]: unknown;
label: string;
} | undefined, {
[x: string]: unknown;
label: string;
} | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
required?: boolean | undefined;
sourceCardinality?: number | undefined;
with_limit?: number | undefined;
fieldConfig?: {
[x: string]: unknown;
label: string;
} | undefined;
mappedBy?: string | undefined;
inversedBy?: string | undefined;
} | undefined, {
required?: boolean | undefined;
sourceCardinality?: number | undefined;
with_limit?: number | undefined;
fieldConfig?: {
[x: string]: unknown;
label: string;
} | undefined;
mappedBy?: string | undefined;
inversedBy?: string | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly mappedBy: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly inversedBy: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: {
default?: any;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly connectionTable: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly connectionTableMappedName: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly mappedBy: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly inversedBy: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: {
default?: any;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly connectionTable: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly connectionTableMappedName: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly mappedBy: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly inversedBy: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly connectionTable: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly connectionTableMappedName: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
required?: boolean | undefined;
mappedBy?: string | undefined;
inversedBy?: string | undefined;
connectionTable?: string | undefined;
connectionTableMappedName?: string | undefined;
} | undefined, {
required?: boolean | undefined;
mappedBy?: string | undefined;
inversedBy?: string | undefined;
connectionTable?: string | undefined;
connectionTableMappedName?: string | undefined;
} | undefined>) | ({
strict: () => s.ObjectSchema<{
readonly mappedBy: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly inversedBy: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: {
default?: any;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly targetCardinality: {
default?: any;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
multipleOf?: number | undefined;
maximum?: number | undefined;
exclusiveMaximum?: number | undefined;
minimum?: number | undefined;
exclusiveMinimum?: number | undefined;
} & s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
}, s.Merge<s.Merge<s.IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly mappedBy: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly inversedBy: {
default?: any;
maxLength?: number | undefined;
minLength?: number | undefined;
pattern?: (string | RegExp) | undefined;
format?: string | undefined;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: {
default?: any;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly targetCardinality: {
default?: any;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
multipleOf?: number | undefined;
maximum?: number | undefined;
exclusiveMaximum?: number | undefined;
minimum?: number | undefined;
exclusiveMinimum?: number | undefined;
} & s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
};
required: string[] | undefined;
partial: () => s.ObjectSchema<{
readonly mappedBy: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly inversedBy: s.Schema<s.ISchemaOptions, string | undefined, string | undefined>;
readonly required: s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly targetCardinality: s.Schema<s.ISchemaOptions, number | undefined, number | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
required?: boolean | undefined;
mappedBy?: string | undefined;
inversedBy?: string | undefined;
targetCardinality?: number | undefined;
} | undefined, {
required?: boolean | undefined;
mappedBy?: string | undefined;
inversedBy?: string | undefined;
targetCardinality?: number | undefined;
} | undefined>);
}, s.Merge<{
readonly title: string;
} & {
additionalProperties: false;
}>>[];
}>;
} & s.Schema<s.ISchemaOptions, {
[x: string]: {
config?: {
required?: boolean | undefined;
sourceCardinality?: number | undefined;
with_limit?: number | undefined;
fieldConfig?: {
[x: string]: unknown;
label: string;
} | undefined;
mappedBy?: string | undefined;
inversedBy?: string | undefined;
} | {
required?: boolean | undefined;
mappedBy?: string | undefined;
inversedBy?: string | undefined;
connectionTable?: string | undefined;
connectionTableMappedName?: string | undefined;
} | {
required?: boolean | undefined;
mappedBy?: string | undefined;
inversedBy?: string | undefined;
targetCardinality?: number | undefined;
} | undefined;
type: string;
target: string;
source: string;
};
} | undefined, {
[x: string]: never;
} | undefined>;
readonly indices: {
additionalProperties: s.ObjectSchema<{
readonly entity: s.StringSchema<s.IStringOptions> & s.IStringOptions;
readonly fields: s.ArraySchema<s.StringSchema<s.IStringOptions> & s.IStringOptions, {
readonly minItems: 1;
}> & {
readonly minItems: 1;
};
readonly unique: {
readonly default: false;
} & s.Schema<s.ISchemaOptions, boolean | undefined, boolean | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
} & s.Schema<s.ISchemaOptions, {
[x: string]: {
unique?: boolean | undefined;
fields: string[];
entity: string;
};
} | undefined, {
[x: string]: {
unique?: boolean | undefined;
fields: string[];
entity: string;
};
} | undefined>;
}, s.Merge<s.IObjectOptions & {
additionalProperties: false;
}>>;
export type AppDataConfig = s.Static<typeof dataConfigSchema>;