@compas/code-gen
Version:
Generate various boring parts of your server
1,664 lines • 59.8 kB
TypeScript
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<"anyOf">}
*/
export function anonymousValidator1403126410(
value: any,
propertyPath: string,
): EitherN<"anyOf">;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<string>}
*/
export function anonymousValidator650450947(
value: any,
propertyPath: string,
): EitherN<string>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<boolean>}
*/
export function anonymousValidator897743470(
value: any,
propertyPath: string,
): EitherN<boolean>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<string>}
*/
export function anonymousValidator1051394131(
value: any,
propertyPath: string,
): EitherN<string>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<boolean>}
*/
export function anonymousValidator2029691740(
value: any,
propertyPath: string,
): EitherN<boolean>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<number>}
*/
export function anonymousValidator1415318131(
value: any,
propertyPath: string,
): EitherN<number>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<undefined|string|boolean|number>}
*/
export function anonymousValidator1783921317(
value: any,
propertyPath: string,
): EitherN<undefined | string | boolean | number>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<undefined|string>}
*/
export function anonymousValidator714133621(
value: any,
propertyPath: string,
): EitherN<undefined | string>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<undefined|{"primary": boolean, "searchable": boolean, "hasDefaultValue": boolean, }>}
*/
export function anonymousValidator1598336448(
value: any,
propertyPath: string,
): EitherN<
| undefined
| {
primary: boolean;
searchable: boolean;
hasDefaultValue: boolean;
}
>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<{}>}
*/
export function anonymousValidator579880416(
value: any,
propertyPath: string,
): EitherN<{}>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<"any">}
*/
export function anonymousValidator1619378803(
value: any,
propertyPath: string,
): EitherN<"any">;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<{"allowNull": boolean, }>}
*/
export function anonymousValidator122717361(
value: any,
propertyPath: string,
): EitherN<{
allowNull: boolean;
}>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<{"javaScript"?: undefined|string, "typeScript"?: undefined|string, }>}
*/
export function anonymousValidator937994972(
value: any,
propertyPath: string,
): EitherN<{
javaScript?: undefined | string;
typeScript?: undefined | string;
}>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<{"type": "any", "docString": string, "isOptional": boolean, "defaultValue"?: undefined|string|boolean|number, "uniqueName"?: undefined|string, "group"?: undefined|string, "name"?: undefined|string, "sql"?: undefined|{"primary": boolean, "searchable": boolean, "hasDefaultValue": boolean, }, "validator": {"allowNull": boolean, }, "internalSettings": {}, "rawValue"?: undefined|string, "rawValueImport": {"javaScript"?: undefined|string, "typeScript"?: undefined|string, }, "rawValidator"?: undefined|string, "rawValidatorImport": {"javaScript"?: undefined|string, "typeScript"?: undefined|string, }, }>}
*/
export function anonymousValidator1519740867(
value: any,
propertyPath: string,
): EitherN<{
type: "any";
docString: string;
isOptional: boolean;
defaultValue?: undefined | string | boolean | number;
uniqueName?: undefined | string;
group?: undefined | string;
name?: undefined | string;
sql?:
| undefined
| {
primary: boolean;
searchable: boolean;
hasDefaultValue: boolean;
};
validator: {
allowNull: boolean;
};
internalSettings: {};
rawValue?: undefined | string;
rawValueImport: {
javaScript?: undefined | string;
typeScript?: undefined | string;
};
rawValidator?: undefined | string;
rawValidatorImport: {
javaScript?: undefined | string;
typeScript?: undefined | string;
};
}>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<"array">}
*/
export function anonymousValidator1963673664(
value: any,
propertyPath: string,
): EitherN<"array">;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<undefined|number>}
*/
export function anonymousValidator233585750(
value: any,
propertyPath: string,
): EitherN<undefined | number>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<{"convert": boolean, "min"?: undefined|number, "max"?: undefined|number, }>}
*/
export function anonymousValidator369441652(
value: any,
propertyPath: string,
): EitherN<{
convert: boolean;
min?: undefined | number;
max?: undefined | number;
}>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<import("./types").CodeGenType>}
*/
export function anonymousValidator169184843(
value: any,
propertyPath: string,
): EitherN<import("./types").CodeGenType>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<{"type": "array", "docString": string, "isOptional": boolean, "defaultValue"?: undefined|string|boolean|number, "uniqueName"?: undefined|string, "group"?: undefined|string, "name"?: undefined|string, "sql"?: undefined|{"primary": boolean, "searchable": boolean, "hasDefaultValue": boolean, }, "validator": {"convert": boolean, "min"?: undefined|number, "max"?: undefined|number, }, "internalSettings": {}, "values": import("./types").CodeGenType, }>}
*/
export function anonymousValidator1312175728(
value: any,
propertyPath: string,
): EitherN<{
type: "array";
docString: string;
isOptional: boolean;
defaultValue?: undefined | string | boolean | number;
uniqueName?: undefined | string;
group?: undefined | string;
name?: undefined | string;
sql?:
| undefined
| {
primary: boolean;
searchable: boolean;
hasDefaultValue: boolean;
};
validator: {
convert: boolean;
min?: undefined | number;
max?: undefined | number;
};
internalSettings: {};
values: import("./types").CodeGenType;
}>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<"boolean">}
*/
export function anonymousValidator2039173551(
value: any,
propertyPath: string,
): EitherN<"boolean">;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<{"convert": boolean, "allowNull": boolean, }>}
*/
export function anonymousValidator1589927592(
value: any,
propertyPath: string,
): EitherN<{
convert: boolean;
allowNull: boolean;
}>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<undefined|boolean>}
*/
export function anonymousValidator510366599(
value: any,
propertyPath: string,
): EitherN<undefined | boolean>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<{"type": "boolean", "docString": string, "isOptional": boolean, "defaultValue"?: undefined|string|boolean|number, "uniqueName"?: undefined|string, "group"?: undefined|string, "name"?: undefined|string, "sql"?: undefined|{"primary": boolean, "searchable": boolean, "hasDefaultValue": boolean, }, "validator": {"convert": boolean, "allowNull": boolean, }, "internalSettings": {}, "oneOf"?: undefined|boolean, }>}
*/
export function anonymousValidator17476225(
value: any,
propertyPath: string,
): EitherN<{
type: "boolean";
docString: string;
isOptional: boolean;
defaultValue?: undefined | string | boolean | number;
uniqueName?: undefined | string;
group?: undefined | string;
name?: undefined | string;
sql?:
| undefined
| {
primary: boolean;
searchable: boolean;
hasDefaultValue: boolean;
};
validator: {
convert: boolean;
allowNull: boolean;
};
internalSettings: {};
oneOf?: undefined | boolean;
}>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<"date">}
*/
export function anonymousValidator668449731(
value: any,
propertyPath: string,
): EitherN<"date">;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<undefined|Date>}
*/
export function anonymousValidator685440859(
value: any,
propertyPath: string,
): EitherN<undefined | Date>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<{"allowNull": boolean, "min"?: undefined|Date, "max"?: undefined|Date, "inFuture"?: undefined|boolean, "inPast"?: undefined|boolean, }>}
*/
export function anonymousValidator1911770642(
value: any,
propertyPath: string,
): EitherN<{
allowNull: boolean;
min?: undefined | Date;
max?: undefined | Date;
inFuture?: undefined | boolean;
inPast?: undefined | boolean;
}>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<undefined|"dateOnly"|"timeOnly">}
*/
export function anonymousValidator1020934975(
value: any,
propertyPath: string,
): EitherN<undefined | "dateOnly" | "timeOnly">;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<{"type": "date", "docString": string, "isOptional": boolean, "defaultValue"?: undefined|string|boolean|number, "uniqueName"?: undefined|string, "group"?: undefined|string, "name"?: undefined|string, "sql"?: undefined|{"primary": boolean, "searchable": boolean, "hasDefaultValue": boolean, }, "validator": {"allowNull": boolean, "min"?: undefined|Date, "max"?: undefined|Date, "inFuture"?: undefined|boolean, "inPast"?: undefined|boolean, }, "internalSettings": {}, "specifier"?: undefined|"dateOnly"|"timeOnly", }>}
*/
export function anonymousValidator2019605291(
value: any,
propertyPath: string,
): EitherN<{
type: "date";
docString: string;
isOptional: boolean;
defaultValue?: undefined | string | boolean | number;
uniqueName?: undefined | string;
group?: undefined | string;
name?: undefined | string;
sql?:
| undefined
| {
primary: boolean;
searchable: boolean;
hasDefaultValue: boolean;
};
validator: {
allowNull: boolean;
min?: undefined | Date;
max?: undefined | Date;
inFuture?: undefined | boolean;
inPast?: undefined | boolean;
};
internalSettings: {};
specifier?: undefined | "dateOnly" | "timeOnly";
}>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<"file">}
*/
export function anonymousValidator1328202671(
value: any,
propertyPath: string,
): EitherN<"file">;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<string>}
*/
export function anonymousValidator1895866002(
value: any,
propertyPath: string,
): EitherN<string>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<undefined|(string)[]>}
*/
export function anonymousValidator1749769805(
value: any,
propertyPath: string,
): EitherN<undefined | string[]>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<{"mimeTypes"?: undefined|(string)[], }>}
*/
export function anonymousValidator916804786(
value: any,
propertyPath: string,
): EitherN<{
mimeTypes?: undefined | string[];
}>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<{"type": "file", "docString": string, "isOptional": boolean, "defaultValue"?: undefined|string|boolean|number, "uniqueName"?: undefined|string, "group"?: undefined|string, "name"?: undefined|string, "sql"?: undefined|{"primary": boolean, "searchable": boolean, "hasDefaultValue": boolean, }, "validator": {"mimeTypes"?: undefined|(string)[], }, "internalSettings": {}, }>}
*/
export function anonymousValidator508679687(
value: any,
propertyPath: string,
): EitherN<{
type: "file";
docString: string;
isOptional: boolean;
defaultValue?: undefined | string | boolean | number;
uniqueName?: undefined | string;
group?: undefined | string;
name?: undefined | string;
sql?:
| undefined
| {
primary: boolean;
searchable: boolean;
hasDefaultValue: boolean;
};
validator: {
mimeTypes?: undefined | string[];
};
internalSettings: {};
}>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<"generic">}
*/
export function anonymousValidator1113227710(
value: any,
propertyPath: string,
): EitherN<"generic">;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<{"type": "generic", "docString": string, "isOptional": boolean, "defaultValue"?: undefined|string|boolean|number, "uniqueName"?: undefined|string, "group"?: undefined|string, "name"?: undefined|string, "sql"?: undefined|{"primary": boolean, "searchable": boolean, "hasDefaultValue": boolean, }, "validator": {}, "internalSettings": {}, "keys": import("./types").CodeGenType, "values": import("./types").CodeGenType, }>}
*/
export function anonymousValidator1377926226(
value: any,
propertyPath: string,
): EitherN<{
type: "generic";
docString: string;
isOptional: boolean;
defaultValue?: undefined | string | boolean | number;
uniqueName?: undefined | string;
group?: undefined | string;
name?: undefined | string;
sql?:
| undefined
| {
primary: boolean;
searchable: boolean;
hasDefaultValue: boolean;
};
validator: {};
internalSettings: {};
keys: import("./types").CodeGenType;
values: import("./types").CodeGenType;
}>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<"number">}
*/
export function anonymousValidator474333054(
value: any,
propertyPath: string,
): EitherN<"number">;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<{"convert": boolean, "floatingPoint": boolean, "min"?: undefined|number, "max"?: undefined|number, "allowNull": boolean, }>}
*/
export function anonymousValidator37664054(
value: any,
propertyPath: string,
): EitherN<{
convert: boolean;
floatingPoint: boolean;
min?: undefined | number;
max?: undefined | number;
allowNull: boolean;
}>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<undefined|(number)[]>}
*/
export function anonymousValidator1269221934(
value: any,
propertyPath: string,
): EitherN<undefined | number[]>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<{"type": "number", "docString": string, "isOptional": boolean, "defaultValue"?: undefined|string|boolean|number, "uniqueName"?: undefined|string, "group"?: undefined|string, "name"?: undefined|string, "sql"?: undefined|{"primary": boolean, "searchable": boolean, "hasDefaultValue": boolean, }, "validator": {"convert": boolean, "floatingPoint": boolean, "min"?: undefined|number, "max"?: undefined|number, "allowNull": boolean, }, "internalSettings": {}, "oneOf"?: undefined|(number)[], }>}
*/
export function anonymousValidator1441913722(
value: any,
propertyPath: string,
): EitherN<{
type: "number";
docString: string;
isOptional: boolean;
defaultValue?: undefined | string | boolean | number;
uniqueName?: undefined | string;
group?: undefined | string;
name?: undefined | string;
sql?:
| undefined
| {
primary: boolean;
searchable: boolean;
hasDefaultValue: boolean;
};
validator: {
convert: boolean;
floatingPoint: boolean;
min?: undefined | number;
max?: undefined | number;
allowNull: boolean;
};
internalSettings: {};
oneOf?: undefined | number[];
}>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<"object">}
*/
export function anonymousValidator681110732(
value: any,
propertyPath: string,
): EitherN<"object">;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<boolean>}
*/
export function anonymousValidator1040528169(
value: any,
propertyPath: string,
): EitherN<boolean>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<{"allowNull": boolean, "strict": boolean, }>}
*/
export function anonymousValidator1729588903(
value: any,
propertyPath: string,
): EitherN<{
allowNull: boolean;
strict: boolean;
}>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<{ [ key: string]:import("./types").CodeGenType}>}
*/
export function anonymousValidator289849285(
value: any,
propertyPath: string,
): EitherN<{
[key: string]: import("./types").CodeGenType;
}>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<undefined|{"withSoftDeletes": boolean, "withDates": boolean, "withPrimaryKey": boolean, "isView": boolean, "schema": string, }>}
*/
export function anonymousValidator47115168(
value: any,
propertyPath: string,
): EitherN<
| undefined
| {
withSoftDeletes: boolean;
withDates: boolean;
withPrimaryKey: boolean;
isView: boolean;
schema: string;
}
>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<"relation">}
*/
export function anonymousValidator9985361(
value: any,
propertyPath: string,
): EitherN<"relation">;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<"manyToOne"|"oneToMany"|"oneToOne"|"oneToOneReverse">}
*/
export function anonymousValidator1470278403(
value: any,
propertyPath: string,
): EitherN<"manyToOne" | "oneToMany" | "oneToOne" | "oneToOneReverse">;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<"reference">}
*/
export function anonymousValidator547865970(
value: any,
propertyPath: string,
): EitherN<"reference">;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<{"group"?: undefined|string, "name"?: undefined|string, "uniqueName"?: undefined|string, }>}
*/
export function anonymousValidator1083503971(
value: any,
propertyPath: string,
): EitherN<{
group?: undefined | string;
name?: undefined | string;
uniqueName?: undefined | string;
}>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<import("./types").CodeGenType|{"group"?: undefined|string, "name"?: undefined|string, "uniqueName"?: undefined|string, }>}
*/
export function anonymousValidator1792840236(
value: any,
propertyPath: string,
): EitherN<
| import("./types").CodeGenType
| {
group?: undefined | string;
name?: undefined | string;
uniqueName?: undefined | string;
}
>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<{"type": "reference", "docString": string, "isOptional": boolean, "defaultValue"?: undefined|string|boolean|number, "uniqueName"?: undefined|string, "group"?: undefined|string, "name"?: undefined|string, "sql"?: undefined|{"primary": boolean, "searchable": boolean, "hasDefaultValue": boolean, }, "validator": {}, "internalSettings": {}, "reference": import("./types").CodeGenType|{"group"?: undefined|string, "name"?: undefined|string, "uniqueName"?: undefined|string, }, }>}
*/
export function anonymousValidator127554530(
value: any,
propertyPath: string,
): EitherN<{
type: "reference";
docString: string;
isOptional: boolean;
defaultValue?: undefined | string | boolean | number;
uniqueName?: undefined | string;
group?: undefined | string;
name?: undefined | string;
sql?:
| undefined
| {
primary: boolean;
searchable: boolean;
hasDefaultValue: boolean;
};
validator: {};
internalSettings: {};
reference:
| import("./types").CodeGenType
| {
group?: undefined | string;
name?: undefined | string;
uniqueName?: undefined | string;
};
}>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<import("./types").CodeGenReferenceType>}
*/
export function anonymousValidator1480613130(
value: any,
propertyPath: string,
): EitherN<import("./types").CodeGenReferenceType>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<{"type": "relation", "subType": "manyToOne"|"oneToMany"|"oneToOne"|"oneToOneReverse", "reference": import("./types").CodeGenReferenceType, "ownKey": string, "referencedKey"?: undefined|string, "isOptional": boolean, }>}
*/
export function anonymousValidator243901689(
value: any,
propertyPath: string,
): EitherN<{
type: "relation";
subType: "manyToOne" | "oneToMany" | "oneToOne" | "oneToOneReverse";
reference: import("./types").CodeGenReferenceType;
ownKey: string;
referencedKey?: undefined | string;
isOptional: boolean;
}>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<(import("./types").CodeGenRelationType)[]>}
*/
export function anonymousValidator1064092154(
value: any,
propertyPath: string,
): EitherN<import("./types").CodeGenRelationType[]>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<import("./types").CodeGenObjectType>}
*/
export function anonymousValidator1913140908(
value: any,
propertyPath: string,
): EitherN<import("./types").CodeGenObjectType>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<"equal"|"notEqual"|"in"|"notIn"|"greaterThan"|"lowerThan"|"isNull"|"isNotNull"|"includeNotNull"|"like"|"iLike"|"notLike"|"exists"|"notExists">}
*/
export function anonymousValidator981432201(
value: any,
propertyPath: string,
): EitherN<
| "equal"
| "notEqual"
| "in"
| "notIn"
| "greaterThan"
| "lowerThan"
| "isNull"
| "isNotNull"
| "includeNotNull"
| "like"
| "iLike"
| "notLike"
| "exists"
| "notExists"
>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<{"key": string, "name": string, "isRelation": boolean, "variant": "equal"|"notEqual"|"in"|"notIn"|"greaterThan"|"lowerThan"|"isNull"|"isNotNull"|"includeNotNull"|"like"|"iLike"|"notLike"|"exists"|"notExists", }>}
*/
export function anonymousValidator1662921799(
value: any,
propertyPath: string,
): EitherN<{
key: string;
name: string;
isRelation: boolean;
variant:
| "equal"
| "notEqual"
| "in"
| "notIn"
| "greaterThan"
| "lowerThan"
| "isNull"
| "isNotNull"
| "includeNotNull"
| "like"
| "iLike"
| "notLike"
| "exists"
| "notExists";
}>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<({"key": string, "name": string, "isRelation": boolean, "variant": "equal"|"notEqual"|"in"|"notIn"|"greaterThan"|"lowerThan"|"isNull"|"isNotNull"|"includeNotNull"|"like"|"iLike"|"notLike"|"exists"|"notExists", })[]>}
*/
export function anonymousValidator1508768837(
value: any,
propertyPath: string,
): EitherN<
{
key: string;
name: string;
isRelation: boolean;
variant:
| "equal"
| "notEqual"
| "in"
| "notIn"
| "greaterThan"
| "lowerThan"
| "isNull"
| "isNotNull"
| "includeNotNull"
| "like"
| "iLike"
| "notLike"
| "exists"
| "notExists";
}[]
>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<undefined|{"type": string, "rawType": import("./types").CodeGenObjectType, "fields": ({"key": string, "name": string, "isRelation": boolean, "variant": "equal"|"notEqual"|"in"|"notIn"|"greaterThan"|"lowerThan"|"isNull"|"isNotNull"|"includeNotNull"|"like"|"iLike"|"notLike"|"exists"|"notExists", })[], }>}
*/
export function anonymousValidator512632782(
value: any,
propertyPath: string,
): EitherN<
| undefined
| {
type: string;
rawType: import("./types").CodeGenObjectType;
fields: {
key: string;
name: string;
isRelation: boolean;
variant:
| "equal"
| "notEqual"
| "in"
| "notIn"
| "greaterThan"
| "lowerThan"
| "isNull"
| "isNotNull"
| "includeNotNull"
| "like"
| "iLike"
| "notLike"
| "exists"
| "notExists";
}[];
}
>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<{"key": string, "optional": boolean, }>}
*/
export function anonymousValidator1089316378(
value: any,
propertyPath: string,
): EitherN<{
key: string;
optional: boolean;
}>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<({"key": string, "optional": boolean, })[]>}
*/
export function anonymousValidator1744478120(
value: any,
propertyPath: string,
): EitherN<
{
key: string;
optional: boolean;
}[]
>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<undefined|{"type": string, "specType": string, "fields": ({"key": string, "optional": boolean, })[], }>}
*/
export function anonymousValidator1432458416(
value: any,
propertyPath: string,
): EitherN<
| undefined
| {
type: string;
specType: string;
fields: {
key: string;
optional: boolean;
}[];
}
>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<{"key": string, "defaultValue"?: undefined|string, "hasSqlDefault": boolean, "isJsonb": boolean, }>}
*/
export function anonymousValidator1424029970(
value: any,
propertyPath: string,
): EitherN<{
key: string;
defaultValue?: undefined | string;
hasSqlDefault: boolean;
isJsonb: boolean;
}>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<({"key": string, "defaultValue"?: undefined|string, "hasSqlDefault": boolean, "isJsonb": boolean, })[]>}
*/
export function anonymousValidator1235752212(
value: any,
propertyPath: string,
): EitherN<
{
key: string;
defaultValue?: undefined | string;
hasSqlDefault: boolean;
isJsonb: boolean;
}[]
>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<undefined|{"insertType": string, "updateType": string, "fields": ({"key": string, "defaultValue"?: undefined|string, "hasSqlDefault": boolean, "isJsonb": boolean, })[], }>}
*/
export function anonymousValidator1355135267(
value: any,
propertyPath: string,
): EitherN<
| undefined
| {
insertType: string;
updateType: string;
fields: {
key: string;
defaultValue?: undefined | string;
hasSqlDefault: boolean;
isJsonb: boolean;
}[];
}
>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<{"type": "object", "docString": string, "isOptional": boolean, "defaultValue"?: undefined|string|boolean|number, "uniqueName"?: undefined|string, "group"?: undefined|string, "name"?: undefined|string, "sql"?: undefined|{"primary": boolean, "searchable": boolean, "hasDefaultValue": boolean, }, "validator": {"allowNull": boolean, "strict": boolean, }, "internalSettings": {}, "shortName"?: undefined|string, "keys": { [ key: string]:import("./types").CodeGenType}, "enableQueries": boolean, "queryOptions"?: undefined|{"withSoftDeletes": boolean, "withDates": boolean, "withPrimaryKey": boolean, "isView": boolean, "schema": string, }, "relations": (import("./types").CodeGenRelationType)[], "where"?: undefined|{"type": string, "rawType": import("./types").CodeGenObjectType, "fields": ({"key": string, "name": string, "isRelation": boolean, "variant": "equal"|"notEqual"|"in"|"notIn"|"greaterThan"|"lowerThan"|"isNull"|"isNotNull"|"includeNotNull"|"like"|"iLike"|"notLike"|"exists"|"notExists", })[], }, "orderBy"?: undefined|{"type": string, "specType": string, "fields": ({"key": string, "optional": boolean, })[], }, "partial"?: undefined|{"insertType": string, "updateType": string, "fields": ({"key": string, "defaultValue"?: undefined|string, "hasSqlDefault": boolean, "isJsonb": boolean, })[], }, }>}
*/
export function anonymousValidator17105276(
value: any,
propertyPath: string,
): EitherN<{
type: "object";
docString: string;
isOptional: boolean;
defaultValue?: undefined | string | boolean | number;
uniqueName?: undefined | string;
group?: undefined | string;
name?: undefined | string;
sql?:
| undefined
| {
primary: boolean;
searchable: boolean;
hasDefaultValue: boolean;
};
validator: {
allowNull: boolean;
strict: boolean;
};
internalSettings: {};
shortName?: undefined | string;
keys: {
[key: string]: import("./types").CodeGenType;
};
enableQueries: boolean;
queryOptions?:
| undefined
| {
withSoftDeletes: boolean;
withDates: boolean;
withPrimaryKey: boolean;
isView: boolean;
schema: string;
};
relations: import("./types").CodeGenRelationType[];
where?:
| undefined
| {
type: string;
rawType: import("./types").CodeGenObjectType;
fields: {
key: string;
name: string;
isRelation: boolean;
variant:
| "equal"
| "notEqual"
| "in"
| "notIn"
| "greaterThan"
| "lowerThan"
| "isNull"
| "isNotNull"
| "includeNotNull"
| "like"
| "iLike"
| "notLike"
| "exists"
| "notExists";
}[];
};
orderBy?:
| undefined
| {
type: string;
specType: string;
fields: {
key: string;
optional: boolean;
}[];
};
partial?:
| undefined
| {
insertType: string;
updateType: string;
fields: {
key: string;
defaultValue?: undefined | string;
hasSqlDefault: boolean;
isJsonb: boolean;
}[];
};
}>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<"string">}
*/
export function anonymousValidator1981425338(
value: any,
propertyPath: string,
): EitherN<"string">;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<number>}
*/
export function anonymousValidator1293129041(
value: any,
propertyPath: string,
): EitherN<number>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<string>}
*/
export function anonymousValidator249951578(
value: any,
propertyPath: string,
): EitherN<string>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<undefined|(string)[]>}
*/
export function anonymousValidator1530060641(
value: any,
propertyPath: string,
): EitherN<undefined | string[]>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<{"convert": boolean, "trim": boolean, "lowerCase": boolean, "upperCase": boolean, "min": number, "max"?: undefined|number, "pattern"?: undefined|string, "allowNull": boolean, "disallowedCharacters"?: undefined|(string)[], }>}
*/
export function anonymousValidator1342585922(
value: any,
propertyPath: string,
): EitherN<{
convert: boolean;
trim: boolean;
lowerCase: boolean;
upperCase: boolean;
min: number;
max?: undefined | number;
pattern?: undefined | string;
allowNull: boolean;
disallowedCharacters?: undefined | string[];
}>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<{"type": "string", "docString": string, "isOptional": boolean, "defaultValue"?: undefined|string|boolean|number, "uniqueName"?: undefined|string, "group"?: undefined|string, "name"?: undefined|string, "sql"?: undefined|{"primary": boolean, "searchable": boolean, "hasDefaultValue": boolean, }, "validator": {"convert": boolean, "trim": boolean, "lowerCase": boolean, "upperCase": boolean, "min": number, "max"?: undefined|number, "pattern"?: undefined|string, "allowNull": boolean, "disallowedCharacters"?: undefined|(string)[], }, "internalSettings": {}, "oneOf"?: undefined|(string)[], }>}
*/
export function anonymousValidator1672152398(
value: any,
propertyPath: string,
): EitherN<{
type: "string";
docString: string;
isOptional: boolean;
defaultValue?: undefined | string | boolean | number;
uniqueName?: undefined | string;
group?: undefined | string;
name?: undefined | string;
sql?:
| undefined
| {
primary: boolean;
searchable: boolean;
hasDefaultValue: boolean;
};
validator: {
convert: boolean;
trim: boolean;
lowerCase: boolean;
upperCase: boolean;
min: number;
max?: undefined | number;
pattern?: undefined | string;
allowNull: boolean;
disallowedCharacters?: undefined | string[];
};
internalSettings: {};
oneOf?: undefined | string[];
}>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<"uuid">}
*/
export function anonymousValidator2096605456(
value: any,
propertyPath: string,
): EitherN<"uuid">;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<{"type": "uuid", "docString": string, "isOptional": boolean, "defaultValue"?: undefined|string|boolean|number, "uniqueName"?: undefined|string, "group"?: undefined|string, "name"?: undefined|string, "sql"?: undefined|{"primary": boolean, "searchable": boolean, "hasDefaultValue": boolean, }, "validator": {"allowNull": boolean, }, "internalSettings": {}, }>}
*/
export function anonymousValidator1836970168(
value: any,
propertyPath: string,
): EitherN<{
type: "uuid";
docString: string;
isOptional: boolean;
defaultValue?: undefined | string | boolean | number;
uniqueName?: undefined | string;
group?: undefined | string;
name?: undefined | string;
sql?:
| undefined
| {
primary: boolean;
searchable: boolean;
hasDefaultValue: boolean;
};
validator: {
allowNull: boolean;
};
internalSettings: {};
}>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<"route">}
*/
export function anonymousValidator1032994224(
value: any,
propertyPath: string,
): EitherN<"route">;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<undefined|"json"|"form-data">}
*/
export function anonymousValidator2044697749(
value: any,
propertyPath: string,
): EitherN<undefined | "json" | "form-data">;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<{"stripTrailingSlash"?: undefined|boolean, "requestBodyType"?: undefined|"json"|"form-data", }>}
*/
export function anonymousValidator1912693261(
value: any,
propertyPath: string,
): EitherN<{
stripTrailingSlash?: undefined | boolean;
requestBodyType?: undefined | "json" | "form-data";
}>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<"GET"|"POST"|"PUT"|"DELETE"|"HEAD"|"PATCH">}
*/
export function anonymousValidator522526867(
value: any,
propertyPath: string,
): EitherN<"GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "PATCH">;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<(string)[]>}
*/
export function anonymousValidator782744528(
value: any,
propertyPath: string,
): EitherN<string[]>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<undefined|import("./types").CodeGenType>}
*/
export function anonymousValidator708039854(
value: any,
propertyPath: string,
): EitherN<undefined | import("./types").CodeGenType>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<"routeInvalidation">}
*/
export function anonymousValidator1797616914(
value: any,
propertyPath: string,
): EitherN<"routeInvalidation">;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<{"group": string, "name"?: undefined|string, }>}
*/
export function anonymousValidator8310092(
value: any,
propertyPath: string,
): EitherN<{
group: string;
name?: undefined | string;
}>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<{ [ key: string]:(string)[]}>}
*/
export function anonymousValidator178275229(
value: any,
propertyPath: string,
): EitherN<{
[key: string]: string[];
}>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<{"params": { [ key: string]:(string)[]}, "query": { [ key: string]:(string)[]}, }>}
*/
export function anonymousValidator36432106(
value: any,
propertyPath: string,
): EitherN<{
params: {
[key: string]: string[];
};
query: {
[key: string]: string[];
};
}>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<{"useSharedParams": boolean, "useSharedQuery": boolean, "specification": {"params": { [ key: string]:(string)[]}, "query": { [ key: string]:(string)[]}, }, }>}
*/
export function anonymousValidator84980554(
value: any,
propertyPath: string,
): EitherN<{
useSharedParams: boolean;
useSharedQuery: boolean;
specification: {
params: {
[key: string]: string[];
};
query: {
[key: string]: string[];
};
};
}>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<{"type": "routeInvalidation", "target": {"group": string, "name"?: undefined|string, }, "properties": {"useSharedParams": boolean, "useSharedQuery": boolean, "specification": {"params": { [ key: string]:(string)[]}, "query": { [ key: string]:(string)[]}, }, }, }>}
*/
export function anonymousValidator224332322(
value: any,
propertyPath: string,
): EitherN<{
type: "routeInvalidation";
target: {
group: string;
name?: undefined | string;
};
properties: {
useSharedParams: boolean;
useSharedQuery: boolean;
specification: {
params: {
[key: string]: string[];
};
query: {
[key: string]: string[];
};
};
};
}>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<(import("./types").CodeGenRouteInvalidationType)[]>}
*/
export function anonymousValidator1463282173(
value: any,
propertyPath: string,
): EitherN<import("./types").CodeGenRouteInvalidationType[]>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<{"type": "route", "docString": string, "isOptional": boolean, "defaultValue"?: undefined|string|boolean|number, "uniqueName"?: undefined|string, "group"?: undefined|string, "name"?: undefined|string, "sql"?: undefined|{"primary": boolean, "searchable": boolean, "hasDefaultValue": boolean, }, "validator": {}, "internalSettings": {"stripTrailingSlash"?: undefined|boolean, "requestBodyType"?: undefined|"json"|"form-data", }, "method": "GET"|"POST"|"PUT"|"DELETE"|"HEAD"|"PATCH", "idempotent": boolean, "path": string, "tags": (string)[], "query"?: undefined|import("./types").CodeGenType, "params"?: undefined|import("./types").CodeGenType, "body"?: undefined|import("./types").CodeGenType, "files"?: undefined|import("./types").CodeGenType, "response"?: undefined|import("./types").CodeGenType, "invalidations": (import("./types").CodeGenRouteInvalidationType)[], }>}
*/
export function anonymousValidator1390215584(
value: any,
propertyPath: string,
): EitherN<{
type: "route";
docString: string;
isOptional: boolean;
defaultValue?: undefined | string | boolean | number;
uniqueName?: undefined | string;
group?: undefined | string;
name?: undefined | string;
sql?:
| undefined
| {
primary: boolean;
searchable: boolean;
hasDefaultValue: boolean;
};
validator: {};
internalSettings: {
stripTrailingSlash?: undefined | boolean;
requestBodyType?: undefined | "json" | "form-data";
};
method: "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "PATCH";
idempotent: boolean;
path: string;
tags: string[];
query?: undefined | import("./types").CodeGenType;
params?: undefined | import("./types").CodeGenType;
body?: undefined | import("./types").CodeGenType;
files?: undefined | import("./types").CodeGenType;
response?: undefined | import("./types").CodeGenType;
invalidations: import("./types").CodeGenRouteInvalidationType[];
}>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<"extend">}
*/
export function anonymousValidator1557692177(
value: any,
propertyPath: string,
): EitherN<"extend">;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<undefined|(import("./types").CodeGenRelationType)[]>}
*/
export function anonymousValidator337947030(
value: any,
propertyPath: string,
): EitherN<undefined | import("./types").CodeGenRelationType[]>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<{"type": "extend", "docString": string, "isOptional": boolean, "defaultValue"?: undefined|string|boolean|number, "uniqueName"?: undefined|string, "group"?: undefined|string, "name"?: undefined|string, "sql"?: undefined|{"primary": boolean, "searchable": boolean, "hasDefaultValue": boolean, }, "validator": {}, "internalSettings": {}, "keys": { [ key: string]:import("./types").CodeGenType}, "relations"?: undefined|(import("./types").CodeGenRelationType)[], "reference": import("./types").CodeGenReferenceType, }>}
*/
export function anonymousValidator1421326295(
value: any,
propertyPath: string,
): EitherN<{
type: "extend";
docString: string;
isOptional: boolean;
defaultValue?: undefined | string | boolean | number;
uniqueName?: undefined | string;
group?: undefined | string;
name?: undefined | string;
sql?:
| undefined
| {
primary: boolean;
searchable: boolean;
hasDefaultValue: boolean;
};
validator: {};
internalSettings: {};
keys: {
[key: string]: import("./types").CodeGenType;
};
relations?: undefined | import("./types").CodeGenRelationType[];
reference: import("./types").CodeGenReferenceType;
}>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<"omit">}
*/
export function anonymousValidator837994114(
value: any,
propertyPath: string,
): EitherN<"omit">;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<{"allowNull": boolean, }>}
*/
export function anonymousValidator166957019(
value: any,
propertyPath: string,
): EitherN<{
allowNull: boolean;
}>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<{"type": "omit", "docString": string, "isOptional": boolean, "defaultValue"?: undefined|string|boolean|number, "uniqueName"?: undefined|string, "group"?: undefined|string, "name"?: undefined|string, "sql"?: undefined|{"primary": boolean, "searchable": boolean, "hasDefaultValue": boolean, }, "validator": {"allowNull": boolean, }, "internalSettings": {}, "keys": (string)[], "reference": import("./types").CodeGenType, }>}
*/
export function anonymousValidator1474724230(
value: any,
propertyPath: string,
): EitherN<{
type: "omit";
docString: string;
isOptional: boolean;
defaultValue?: undefined | string | boolean | number;
uniqueName?: undefined | string;
group?: undefined | string;
name?: undefined | string;
sql?:
| undefined
| {
primary: boolean;
searchable: boolean;
hasDefaultValue: boolean;
};
validator: {
allowNull: boolean;
};
internalSettings: {};
keys: string[];
reference: import("./types").CodeGenType;
}>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<"pick">}
*/
export function anonymousValidator1605171946(
value: any,
propertyPath: string,
): EitherN<"pick">;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<{"type": "pick", "docString": string, "isOptional": boolean, "defaultValue"?: undefined|string|boolean|number, "uniqueName"?: undefined|string, "group"?: undefined|string, "name"?: undefined|string, "sql"?: undefined|{"primary": boolean, "searchable": boolean, "hasDefaultValue": boolean, }, "validator": {"allowNull": boolean, }, "internalSettings": {}, "keys": (string)[], "reference": import("./types").CodeGenType, }>}
*/
export function anonymousValidator512566754(
value: any,
propertyPath: string,
): EitherN<{
type: "pick";
docString: string;
isOptional: boolean;
defaultValue?: undefined | string | boolean | number;
uniqueName?: undefined | string;
group?: undefined | string;
name?: undefined | string;
sql?:
| undefined
| {
primary: boolean;
searchable: boolean;
hasDefaultValue: boolean;
};
validator: {
allowNull: boolean;
};
internalSettings: {};
keys: string[];
reference: import("./types").CodeGenType;
}>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<"crud">}
*/
export function anonymousValidator1068364115(
value: any,
propertyPath: string,
): EitherN<"crud">;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<undefined|import("./types").CodeGenRelationType>}
*/
export function anonymousValidator84237458(
value: any,
propertyPath: string,
): EitherN<undefined | import("./types").CodeGenRelationType>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<undefined|import("./types").CodeGenCrudType>}
*/
export function anonymousValidator581222320(
value: any,
propertyPath: string,
): EitherN<undefined | import("./types").CodeGenCrudType>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<undefined|{"key": string, "field": import("./types").CodeGenType, }>}
*/
export function anonymousValidator360864099(
value: any,
propertyPath: string,
): EitherN<
| undefined
| {
key: string;
field: import("./types").CodeGenType;
}
>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<{"usedRelation"?: undefined|import("./types").CodeGenRelationType, "parent"?: undefined|import("./types").CodeGenCrudType, "writeableTypeName"?: undefined|string, "primaryKey"?: undefined|{"key": string, "field": import("./types").CodeGenType, }, }>}
*/
export function anonymousValidator644045270(
value: any,
propertyPath: string,
): EitherN<{
usedRelation?: undefined | import("./types").CodeGenRelationType;
parent?: undefined | import("./types").CodeGenCrudType;
writeableTypeName?: undefined | string;
primaryKey?:
| undefined
| {
key: string;
field: import("./types").CodeGenType;
};
}>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<undefined|{"name"?: undefined|string, }>}
*/
export function anonymousValidator362217574(
value: any,
propertyPath: string,
): EitherN<
| undefined
| {
name?: undefined | string;
}
>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<undefined|{"field": string, "options"?: undefined|{"name"?: undefined|string, }, }>}
*/
export function anonymousValidator1156268604(
value: any,
propertyPath: string,
): EitherN<
| undefined
| {
field: string;
options?:
| undefined
| {
name?: undefined | string;
};
}
>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<{"listRoute"?: undefined|boolean, "singleRoute"?: undefined|boolean, "createRoute"?: undefined|boolean, "updateRoute"?: undefined|boolean, "deleteRoute"?: undefined|boolean, }>}
*/
export function anonymousValidator1364866531(
value: any,
propertyPath: string,
): EitherN<{
listRoute?: undefined | boolean;
singleRoute?: undefined | boolean;
createRoute?: undefined | boolean;
updateRoute?: undefined | boolean;
deleteRoute?: undefined | boolean;
}>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<undefined|{"$omit"?: undefined|(string)[], "$pick"?: undefined|(string)[], }>}
*/
export function anonymousValidator2012926384(
value: any,
propertyPath: string,
): EitherN<
| undefined
| {
$omit?: undefined | string[];
$pick?: undefined | string[];
}
>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<{"readable"?: undefined|{"$omit"?: undefined|(string)[], "$pick"?: undefined|(string)[], }, "writable"?: undefined|{"$omit"?: undefined|(string)[], "$pick"?: undefined|(string)[], }, }>}
*/
export function anonymousValidator1430631133(
value: any,
propertyPath: string,
): EitherN<{
readable?:
| undefined
| {
$omit?: undefined | string[];
$pick?: undefined | string[];
};
writable?:
| undefined
| {
$omit?: undefined | string[];
$pick?: undefined | string[];
};
}>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<(import("./types").CodeGenCrudType)[]>}
*/
export function anonymousValidator581628245(
value: any,
propertyPath: string,
): EitherN<import("./types").CodeGenCrudType[]>;
/**
* @param {*} value
* @param {string} propertyPath
* @returns {EitherN<{"type": "crud", "docString": string, "isOptional": boolean, "defaultValue"?: undefined|string|boolean|number, "uniqueName"?: undefined|string, "group"?: undefined|string, "name"?: undefined|string, "sql"?: undefined|{"primary": boolean, "searchable": boolean, "hasDefaultValue": boolean, }, "validator": {}, "internalSettings": {"usedRelation"?: undefined|import("./types").CodeGenRelationType, "parent"?: undefined|import("./types").CodeGenCrudType, "writeableTypeName"?: undefined|string, "primaryKey"?: undefined|{"key": string, "field": import("./types").CodeGenType, }, }, "basePath"?: undefined|string, "entity"?: undefined|import("./types").CodeGenType, "fromParent"?: undefined|{"field": string, "options"?: undefined|{"name"?: undefined|string, }, }, "routeOptions": {"listRoute"?: undefined|boolean, "singleRoute"?: undefined|boolean, "createRoute"?: undefined|boolean, "updateRoute"?: undefined|boolean, "deleteRoute"?: undefined|boolean, }, "