bknd
Version:
Lightweight Firebase/Supabase alternative built to run anywhere — incl. Next.js, React Router, Astro, Cloudflare, Bun, Node, AWS Lambda & more.
1,605 lines • 136 kB
TypeScript
import { Module } from "../modules/Module";
import { type AppDataConfig } from "./data-schema";
import type { EntityManager } from "../data/entities";
export declare class AppData extends Module<AppDataConfig> {
build(): Promise<void>;
onBeforeUpdate(from: AppDataConfig, to: AppDataConfig): Promise<AppDataConfig>;
getSchema(): import("jsonv-ts").ObjectSchema<{
readonly basepath: {
readonly default: "/api/data";
} & import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly default_primary_format: {
readonly default: "integer";
readonly enum: readonly ["integer", "uuid"];
} & import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, "integer" | "uuid" | undefined, "integer" | "uuid" | undefined>;
readonly entities: {
additionalProperties: import("jsonv-ts").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;
} & import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly type: import("jsonv-ts").StringSchema<{
readonly enum: readonly ["regular", "system", "generated"];
readonly default: "regular";
}> & {
readonly enum: readonly ["regular", "system", "generated"];
readonly default: "regular";
};
readonly config: import("jsonv-ts").ObjectSchema<{
readonly name: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly name_singular: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly description: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly sort_field: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly sort_dir: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, "asc" | "desc" | undefined, "asc" | "desc" | undefined>;
readonly primary_format: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, "integer" | "uuid" | undefined, "integer" | "uuid" | undefined>;
}, import("jsonv-ts").Merge<import("jsonv-ts").IObjectOptions & {
additionalProperties: false;
}>>;
readonly fields: import("jsonv-ts").RecordSchema<import("jsonv-ts").Schema<import("jsonv-ts").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> & import("jsonv-ts").Merge<import("jsonv-ts").IUnionOptions & {
anyOf: import("jsonv-ts").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;
} & import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly type: import("jsonv-ts").Schema<import("jsonv-ts").ILiteralOptions, "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema", "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema"> & import("jsonv-ts").Merge<import("jsonv-ts").ILiteralOptions & {
const: "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema";
}>;
readonly config: ({
strict: () => import("jsonv-ts").ObjectSchema<{
readonly description: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly required: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly minLength: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, number | undefined, number | undefined>;
readonly maxLength: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, number | undefined, number | undefined>;
readonly pattern: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly html_config: import("jsonv-ts").Schema<import("jsonv-ts").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>;
}, import("jsonv-ts").Merge<import("jsonv-ts").Merge<import("jsonv-ts").IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly required: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly minLength: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, number | undefined, number | undefined>;
readonly maxLength: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, number | undefined, number | undefined>;
readonly pattern: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly html_config: import("jsonv-ts").Schema<import("jsonv-ts").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: () => import("jsonv-ts").ObjectSchema<{
readonly description: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly required: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly minLength: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, number | undefined, number | undefined>;
readonly maxLength: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, number | undefined, number | undefined>;
readonly pattern: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly html_config: import("jsonv-ts").Schema<import("jsonv-ts").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>;
}, import("jsonv-ts").Merge<import("jsonv-ts").IObjectOptions & {
additionalProperties: false;
}>>;
} & import("jsonv-ts").Schema<import("jsonv-ts").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: () => import("jsonv-ts").ObjectSchema<{
readonly description: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly default_value: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, any, any>;
readonly label: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly format: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, "integer" | "uuid" | undefined, "integer" | "uuid" | undefined>;
readonly required: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
}, import("jsonv-ts").Merge<import("jsonv-ts").Merge<import("jsonv-ts").IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly default_value: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, any, any>;
readonly label: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly format: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, "integer" | "uuid" | undefined, "integer" | "uuid" | undefined>;
readonly required: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
};
required: string[] | undefined;
partial: () => import("jsonv-ts").ObjectSchema<{
readonly description: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly default_value: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, any, any>;
readonly label: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly format: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, "integer" | "uuid" | undefined, "integer" | "uuid" | undefined>;
readonly required: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
}, import("jsonv-ts").Merge<import("jsonv-ts").IObjectOptions & {
additionalProperties: false;
}>>;
} & import("jsonv-ts").Schema<import("jsonv-ts").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: () => import("jsonv-ts").ObjectSchema<{
readonly description: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly required: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, number | undefined, number | undefined>;
readonly minimum: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, number | undefined, number | undefined>;
readonly maximum: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMinimum: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMaximum: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, number | undefined, number | undefined>;
readonly multipleOf: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, number | undefined, number | undefined>;
}, import("jsonv-ts").Merge<import("jsonv-ts").Merge<import("jsonv-ts").IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly required: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, number | undefined, number | undefined>;
readonly minimum: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, number | undefined, number | undefined>;
readonly maximum: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMinimum: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMaximum: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, number | undefined, number | undefined>;
readonly multipleOf: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, number | undefined, number | undefined>;
};
required: string[] | undefined;
partial: () => import("jsonv-ts").ObjectSchema<{
readonly description: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly required: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, number | undefined, number | undefined>;
readonly minimum: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, number | undefined, number | undefined>;
readonly maximum: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMinimum: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, number | undefined, number | undefined>;
readonly exclusiveMaximum: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, number | undefined, number | undefined>;
readonly multipleOf: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, number | undefined, number | undefined>;
}, import("jsonv-ts").Merge<import("jsonv-ts").IObjectOptions & {
additionalProperties: false;
}>>;
} & import("jsonv-ts").Schema<import("jsonv-ts").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: () => import("jsonv-ts").ObjectSchema<{
readonly description: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly required: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
}, import("jsonv-ts").Merge<import("jsonv-ts").Merge<import("jsonv-ts").IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly required: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
};
required: string[] | undefined;
partial: () => import("jsonv-ts").ObjectSchema<{
readonly description: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly required: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
}, import("jsonv-ts").Merge<import("jsonv-ts").IObjectOptions & {
additionalProperties: false;
}>>;
} & import("jsonv-ts").Schema<import("jsonv-ts").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: () => import("jsonv-ts").ObjectSchema<{
readonly label: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly description: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly required: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, any, any>;
readonly type: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, "date" | "week" | "datetime" | undefined, "date" | "week" | "datetime" | undefined>;
readonly timezone: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly min_date: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly max_date: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
}, import("jsonv-ts").Merge<import("jsonv-ts").Merge<import("jsonv-ts").IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly description: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly required: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, any, any>;
readonly type: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, "date" | "week" | "datetime" | undefined, "date" | "week" | "datetime" | undefined>;
readonly timezone: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly min_date: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly max_date: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
};
required: string[] | undefined;
partial: () => import("jsonv-ts").ObjectSchema<{
readonly label: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly description: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly required: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, any, any>;
readonly type: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, "date" | "week" | "datetime" | undefined, "date" | "week" | "datetime" | undefined>;
readonly timezone: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly min_date: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly max_date: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
}, import("jsonv-ts").Merge<import("jsonv-ts").IObjectOptions & {
additionalProperties: false;
}>>;
} & import("jsonv-ts").Schema<import("jsonv-ts").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: () => import("jsonv-ts").ObjectSchema<{
readonly description: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly required: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly options: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined, any>;
}, import("jsonv-ts").Merge<import("jsonv-ts").Merge<import("jsonv-ts").IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly required: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly options: import("jsonv-ts").Schema<import("jsonv-ts").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: () => import("jsonv-ts").ObjectSchema<{
readonly description: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly required: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly options: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, {
[x: string]: unknown;
values: string[];
type: "strings";
} | {
[x: string]: unknown;
values: {
[x: string]: unknown;
value: string;
label: string;
}[];
type: "objects";
} | undefined, any>;
}, import("jsonv-ts").Merge<import("jsonv-ts").IObjectOptions & {
additionalProperties: false;
}>>;
} & import("jsonv-ts").Schema<import("jsonv-ts").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: () => import("jsonv-ts").ObjectSchema<{
readonly description: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly required: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, any, any>;
}, import("jsonv-ts").Merge<import("jsonv-ts").Merge<import("jsonv-ts").IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly description: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly required: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, any, any>;
};
required: string[] | undefined;
partial: () => import("jsonv-ts").ObjectSchema<{
readonly description: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly required: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly label: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly fillable: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, any, any>;
}, import("jsonv-ts").Merge<import("jsonv-ts").IObjectOptions & {
additionalProperties: false;
}>>;
} & import("jsonv-ts").Schema<import("jsonv-ts").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: () => import("jsonv-ts").ObjectSchema<{
readonly label: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly description: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly required: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, any, any>;
readonly schema: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, any, any>;
readonly ui_schema: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, any, any>;
readonly default_from_schema: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
}, import("jsonv-ts").Merge<import("jsonv-ts").Merge<import("jsonv-ts").IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly description: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly required: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, any, any>;
readonly schema: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, any, any>;
readonly ui_schema: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, any, any>;
readonly default_from_schema: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
};
required: string[] | undefined;
partial: () => import("jsonv-ts").ObjectSchema<{
readonly label: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly description: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly required: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, any, any>;
readonly schema: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, any, any>;
readonly ui_schema: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, any, any>;
readonly default_from_schema: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
}, import("jsonv-ts").Merge<import("jsonv-ts").IObjectOptions & {
additionalProperties: false;
}>>;
} & import("jsonv-ts").Schema<import("jsonv-ts").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: () => import("jsonv-ts").ObjectSchema<{
readonly label: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly description: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly required: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, any, any>;
readonly reference: import("jsonv-ts").StringSchema<import("jsonv-ts").IStringOptions> & import("jsonv-ts").IStringOptions;
readonly target: import("jsonv-ts").StringSchema<import("jsonv-ts").IStringOptions> & import("jsonv-ts").IStringOptions;
readonly target_field: {
readonly default: "id";
} & import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly target_field_type: {
readonly default: "integer";
readonly enum: ["text", "integer"];
} & import("jsonv-ts").Schema<import("jsonv-ts").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"];
} & import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined>;
}, import("jsonv-ts").Merge<import("jsonv-ts").Merge<import("jsonv-ts").IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly description: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly required: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, any, any>;
readonly reference: import("jsonv-ts").StringSchema<import("jsonv-ts").IStringOptions> & import("jsonv-ts").IStringOptions;
readonly target: import("jsonv-ts").StringSchema<import("jsonv-ts").IStringOptions> & import("jsonv-ts").IStringOptions;
readonly target_field: {
readonly default: "id";
} & import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly target_field_type: {
readonly default: "integer";
readonly enum: ["text", "integer"];
} & import("jsonv-ts").Schema<import("jsonv-ts").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"];
} & import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined>;
};
required: string[] | undefined;
partial: () => import("jsonv-ts").ObjectSchema<{
readonly label: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly description: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly required: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, any, any>;
readonly reference: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly target: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly target_field: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly target_field_type: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, "text" | "integer" | undefined, "text" | "integer" | undefined>;
readonly on_delete: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined, "cascade" | "set null" | "set default" | "restrict" | "no action" | undefined>;
}, import("jsonv-ts").Merge<import("jsonv-ts").IObjectOptions & {
additionalProperties: false;
}>>;
} & import("jsonv-ts").Schema<import("jsonv-ts").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: () => import("jsonv-ts").ObjectSchema<{
readonly label: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly description: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly required: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, any, any>;
readonly entity: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly min_items: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, number | undefined, number | undefined>;
readonly max_items: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, number | undefined, number | undefined>;
readonly mime_types: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string[] | undefined, string[] | undefined>;
}, import("jsonv-ts").Merge<import("jsonv-ts").Merge<import("jsonv-ts").IObjectOptions & {
additionalProperties: false;
}> & {
additionalProperties: false;
}>>;
properties: {
readonly label: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly description: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly required: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, any, any>;
readonly entity: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly min_items: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, number | undefined, number | undefined>;
readonly max_items: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, number | undefined, number | undefined>;
readonly mime_types: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string[] | undefined, string[] | undefined>;
};
required: string[] | undefined;
partial: () => import("jsonv-ts").ObjectSchema<{
readonly label: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly description: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly required: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly fillable: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("create" | "read" | "update" | "delete")[] | undefined, boolean | ("create" | "read" | "update" | "delete")[] | undefined>;
readonly hidden: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined, boolean | ("table" | "form" | "create" | "read" | "update" | "delete" | "submit")[] | undefined>;
readonly virtual: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly default_value: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, any, any>;
readonly entity: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly min_items: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, number | undefined, number | undefined>;
readonly max_items: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, number | undefined, number | undefined>;
readonly mime_types: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string[] | undefined, string[] | undefined>;
}, import("jsonv-ts").Merge<import("jsonv-ts").IObjectOptions & {
additionalProperties: false;
}>>;
} & import("jsonv-ts").Schema<import("jsonv-ts").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>);
}, import("jsonv-ts").Merge<{
readonly title: "number" | "boolean" | "json" | "text" | "enum" | "date" | "media" | "relation" | "primary" | "jsonschema";
} & {
additionalProperties: false;
}>>[];
}>, import("jsonv-ts").IRecordOptions>;
}, import("jsonv-ts").Merge<import("jsonv-ts").IObjectOptions & {
additionalProperties: false;
}>>;
} & import("jsonv-ts").Schema<import("jsonv-ts").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: import("jsonv-ts").Schema<import("jsonv-ts").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> & import("jsonv-ts").Merge<import("jsonv-ts").IUnionOptions & {
anyOf: import("jsonv-ts").ObjectSchema<{
readonly type: import("jsonv-ts").Schema<import("jsonv-ts").ILiteralOptions, string, string> & import("jsonv-ts").Merge<import("jsonv-ts").ILiteralOptions & {
const: string;
}>;
readonly source: import("jsonv-ts").StringSchema<import("jsonv-ts").IStringOptions> & import("jsonv-ts").IStringOptions;
readonly target: import("jsonv-ts").StringSchema<import("jsonv-ts").IStringOptions> & import("jsonv-ts").IStringOptions;
readonly config: ({
strict: () => import("jsonv-ts").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;
} & import("jsonv-ts").Schema<import("jsonv-ts").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;
} & import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly required: {
default?: any;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & import("jsonv-ts").Schema<import("jsonv-ts").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;
} & import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, number | undefined, number | undefined>;
readonly with_limit: {
readonly default: number;
} & import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, number | undefined, number | undefined>;
readonly fieldConfig: {
default?: any;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
$defs?: Record<string, import("jsonv-ts").Schema> | undefined;
patternProperties?: Record<string, import("jsonv-ts").Schema> | undefined;
additionalProperties?: (import("jsonv-ts").Schema | false) | undefined;
minProperties?: number | undefined;
maxProperties?: number | undefined;
propertyNames?: import("jsonv-ts").Schema | undefined;
strict: () => import("jsonv-ts").ObjectSchema<{
readonly label: import("jsonv-ts").StringSchema<import("jsonv-ts").IStringOptions> & import("jsonv-ts").IStringOptions;
}, import("jsonv-ts").Merge<import("jsonv-ts").IObjectOptions & {
additionalProperties: false;
}>>;
properties: {
readonly label: import("jsonv-ts").StringSchema<import("jsonv-ts").IStringOptions> & import("jsonv-ts").IStringOptions;
};
required: string[] | undefined;
partial: () => import("jsonv-ts").ObjectSchema<{
readonly label: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
}, import("jsonv-ts").IObjectOptions>;
} & import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, {
[x: string]: unknown;
label: string;
} | undefined, {
[x: string]: unknown;
label: string;
} | undefined>;
}, import("jsonv-ts").Merge<import("jsonv-ts").Merge<import("jsonv-ts").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;
} & import("jsonv-ts").Schema<import("jsonv-ts").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;
} & import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly required: {
default?: any;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & import("jsonv-ts").Schema<import("jsonv-ts").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;
} & import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, number | undefined, number | undefined>;
readonly with_limit: {
readonly default: number;
} & import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, number | undefined, number | undefined>;
readonly fieldConfig: {
default?: any;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
$defs?: Record<string, import("jsonv-ts").Schema> | undefined;
patternProperties?: Record<string, import("jsonv-ts").Schema> | undefined;
additionalProperties?: (import("jsonv-ts").Schema | false) | undefined;
minProperties?: number | undefined;
maxProperties?: number | undefined;
propertyNames?: import("jsonv-ts").Schema | undefined;
strict: () => import("jsonv-ts").ObjectSchema<{
readonly label: import("jsonv-ts").StringSchema<import("jsonv-ts").IStringOptions> & import("jsonv-ts").IStringOptions;
}, import("jsonv-ts").Merge<import("jsonv-ts").IObjectOptions & {
additionalProperties: false;
}>>;
properties: {
readonly label: import("jsonv-ts").StringSchema<import("jsonv-ts").IStringOptions> & import("jsonv-ts").IStringOptions;
};
required: string[] | undefined;
partial: () => import("jsonv-ts").ObjectSchema<{
readonly label: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
}, import("jsonv-ts").IObjectOptions>;
} & import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, {
[x: string]: unknown;
label: string;
} | undefined, {
[x: string]: unknown;
label: string;
} | undefined>;
};
required: string[] | undefined;
partial: () => import("jsonv-ts").ObjectSchema<{
readonly mappedBy: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly inversedBy: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly required: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly sourceCardinality: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, number | undefined, number | undefined>;
readonly with_limit: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, number | undefined, number | undefined>;
readonly fieldConfig: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, {
[x: string]: unknown;
label: string;
} | undefined, {
[x: string]: unknown;
label: string;
} | undefined>;
}, import("jsonv-ts").Merge<import("jsonv-ts").IObjectOptions & {
additionalProperties: false;
}>>;
} & import("jsonv-ts").Schema<import("jsonv-ts").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: () => import("jsonv-ts").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;
} & import("jsonv-ts").Schema<import("jsonv-ts").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;
} & import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly required: {
default?: any;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & import("jsonv-ts").Schema<import("jsonv-ts").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;
} & import("jsonv-ts").Schema<import("jsonv-ts").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;
} & import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
}, import("jsonv-ts").Merge<import("jsonv-ts").Merge<import("jsonv-ts").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;
} & import("jsonv-ts").Schema<import("jsonv-ts").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;
} & import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly required: {
default?: any;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & import("jsonv-ts").Schema<import("jsonv-ts").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;
} & import("jsonv-ts").Schema<import("jsonv-ts").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;
} & import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
};
required: string[] | undefined;
partial: () => import("jsonv-ts").ObjectSchema<{
readonly mappedBy: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly inversedBy: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly required: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly connectionTable: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly connectionTableMappedName: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
}, import("jsonv-ts").Merge<import("jsonv-ts").IObjectOptions & {
additionalProperties: false;
}>>;
} & import("jsonv-ts").Schema<import("jsonv-ts").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: () => import("jsonv-ts").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;
} & import("jsonv-ts").Schema<import("jsonv-ts").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;
} & import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly required: {
default?: any;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & import("jsonv-ts").Schema<import("jsonv-ts").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;
} & import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, number | undefined, number | undefined>;
}, import("jsonv-ts").Merge<import("jsonv-ts").Merge<import("jsonv-ts").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;
} & import("jsonv-ts").Schema<import("jsonv-ts").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;
} & import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly required: {
default?: any;
enum?: (readonly any[] | any[]) | undefined;
const?: any;
} & import("jsonv-ts").Schema<import("jsonv-ts").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;
} & import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, number | undefined, number | undefined>;
};
required: string[] | undefined;
partial: () => import("jsonv-ts").ObjectSchema<{
readonly mappedBy: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly inversedBy: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, string | undefined, string | undefined>;
readonly required: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
readonly targetCardinality: import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, number | undefined, number | undefined>;
}, import("jsonv-ts").Merge<import("jsonv-ts").IObjectOptions & {
additionalProperties: false;
}>>;
} & import("jsonv-ts").Schema<import("jsonv-ts").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>);
}, import("jsonv-ts").Merge<{
readonly title: string;
} & {
additionalProperties: false;
}>>[];
}>;
} & import("jsonv-ts").Schema<import("jsonv-ts").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: import("jsonv-ts").ObjectSchema<{
readonly entity: import("jsonv-ts").StringSchema<import("jsonv-ts").IStringOptions> & import("jsonv-ts").IStringOptions;
readonly fields: import("jsonv-ts").ArraySchema<import("jsonv-ts").StringSchema<import("jsonv-ts").IStringOptions> & import("jsonv-ts").IStringOptions, {
readonly minItems: 1;
}> & {
readonly minItems: 1;
};
readonly unique: {
readonly default: false;
} & import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, boolean | undefined, boolean | undefined>;
}, import("jsonv-ts").Merge<import("jsonv-ts").IObjectOptions & {
additionalProperties: false;
}>>;
} & import("jsonv-ts").Schema<import("jsonv-ts").ISchemaOptions, {
[x: string]: {
unique?: boolean | undefined;
fields: string[];
entity: string;
};
} | undefined, {
[x: string]: {
unique?: boolean | undefined;
fields: string[];
entity: string;
};
} | undefined>;
}, import("jsonv-ts").Merge<import("jsonv-ts").IObjectOptions & {
additionalProperties: false;
}>>;
get em(): EntityManager;
private get basepath();
getOverwritePaths(): RegExp[];
toJSON(secrets?: boolean): AppDataConfig;
}