Variable EntityTableApiConst
EntityTableApi: {
name: string;
schema: z.ZodObject<
{
columns: z.ZodArray<
z.ZodObject<
{ label: z.ZodOptional<z.ZodString>; path: z.ZodString },
"strip",
z.ZodTypeAny,
{ label?: string; path: string },
{ label?: string; path: string },
>,
"many",
>;
groupBy: z.ZodOptional<z.ZodString>;
maxRows: z.ZodOptional<z.ZodNumber>;
query: z.ZodOptional<
z.ZodObject<
{
limit: z.ZodOptional<z.ZodNumber>;
modelId: z.ZodOptional<z.ZodString>;
storey: z.ZodOptional<
z.ZodUnion<
[
z.ZodString,
z.ZodEffects<
z.ZodObject<(...), (...), (...), (...), (...)>,
{ "@path"?: ...; path?: ... },
{ "@path"?: ...; path?: ... },
>,
z.ZodIntersection<
z.ZodRecord<(...), (...)>,
z.ZodIntersection<(...), (...)>,
>,
],
>,
>;
types: z.ZodOptional<
z.ZodUnion<
[
z.ZodArray<z.ZodString, "many">,
z.ZodEffects<
z.ZodObject<(...), (...), (...), (...), (...)>,
{ "@path"?: ...; path?: ... },
{ "@path"?: ...; path?: ... },
>,
z.ZodIntersection<
z.ZodRecord<(...), (...)>,
z.ZodIntersection<(...), (...)>,
>,
],
>,
>;
where: z.ZodOptional<
z.ZodArray<
z.ZodObject<
{
op: z.ZodEnum<(...)>;
path: z.ZodString;
value: z.ZodOptional<(...)>;
},
"strip",
z.ZodTypeAny,
{
op: | (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
path: string;
value?: any;
},
{
op: | (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
path: string;
value?: any;
},
>,
"many",
>,
>;
},
"strip",
z.ZodTypeAny,
{
limit?: number;
modelId?: string;
storey?: any;
types?: any;
where?: {
op: | "eq"
| "neq"
| "contains"
| "gt"
| "gte"
| "lt"
| "lte"
| "exists"
| "missing";
path: string;
value?: any;
}[];
},
{
limit?: number;
modelId?: string;
storey?: any;
types?: any;
where?: {
op: | "eq"
| "neq"
| "contains"
| "gt"
| "gte"
| "lt"
| "lte"
| "exists"
| "missing";
path: string;
value?: any;
}[];
},
>,
>;
rows: z.ZodOptional<
z.ZodUnion<
[
z.ZodString,
z.ZodNumber,
z.ZodBoolean,
z.ZodArray<z.ZodAny, "many">,
z.ZodEffects<
z.ZodRecord<z.ZodString, z.ZodUnknown>,
Record<string, unknown>,
Record<string, unknown>,
>,
z.ZodEffects<
z.ZodObject<
{
"@path": z.ZodOptional<z.ZodString>;
path: z.ZodOptional<z.ZodString>;
},
"strip",
z.ZodTypeAny,
{ "@path"?: string; path?: string },
{ "@path"?: string; path?: string },
>,
{ "@path"?: string; path?: string },
{ "@path"?: string; path?: string },
>,
z.ZodIntersection<
z.ZodRecord<z.ZodString, z.ZodAny>,
z.ZodIntersection<
z.ZodEffects<
z.ZodObject<
{ "@call": ...; call: ...; catalogId: ... },
"strip",
z.ZodTypeAny,
{ "@call"?: ...; call?: ...; catalogId?: ... },
{ "@call"?: ...; call?: ...; catalogId?: ... },
>,
{
"@call"?: (...) | (...);
call?: (...) | (...);
catalogId?: (...) | (...);
},
{
"@call"?: (...)
| (...);
call?: (...) | (...);
catalogId?: (...) | (...);
},
>,
z.ZodAny,
>,
>,
],
>,
>;
sort: z.ZodOptional<
z.ZodObject<
{
dir: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
path: z.ZodString;
},
"strip",
z.ZodTypeAny,
{ dir?: "asc"
| "desc"; path: string },
{ dir?: "asc" | "desc"; path: string },
>,
>;
title: z.ZodOptional<
z.ZodUnion<
[
z.ZodString,
z.ZodEffects<
z.ZodObject<
{
"@path": z.ZodOptional<z.ZodString>;
path: z.ZodOptional<z.ZodString>;
},
"strip",
z.ZodTypeAny,
{ "@path"?: string; path?: string },
{ "@path"?: string; path?: string },
>,
{ "@path"?: string; path?: string },
{ "@path"?: string; path?: string },
>,
z.ZodIntersection<
z.ZodRecord<z.ZodString, z.ZodAny>,
z.ZodIntersection<
z.ZodEffects<
z.ZodObject<
{ "@call": ...; call: ...; catalogId: ... },
"strip",
z.ZodTypeAny,
{ "@call"?: ...; call?: ...; catalogId?: ... },
{ "@call"?: ...; call?: ...; catalogId?: ... },
>,
{
"@call"?: (...) | (...);
call?: (...) | (...);
catalogId?: (...) | (...);
},
{
"@call"?: (...)
| (...);
call?: (...) | (...);
catalogId?: (...) | (...);
},
>,
z.ZodAny,
>,
>,
],
>,
>;
weight: z.ZodOptional<z.ZodNumber>;
},
"strip",
z.ZodTypeAny,
{
columns: { label?: string; path: string }[];
groupBy?: string;
maxRows?: number;
query?: {
limit?: number;
modelId?: string;
storey?: any;
types?: any;
where?: {
op:
| "eq"
| "neq"
| "contains"
| "gt"
| "gte"
| "lt"
| "lte"
| "exists"
| "missing";
path: string;
value?: any;
}[];
};
rows?: any;
sort?: { dir?: "asc"
| "desc"; path: string };
title?: any;
weight?: number;
},
{
columns: { label?: string; path: string }[];
groupBy?: string;
maxRows?: number;
query?: {
limit?: number;
modelId?: string;
storey?: any;
types?: any;
where?: {
op:
| "eq"
| "neq"
| "contains"
| "gt"
| "gte"
| "lt"
| "lte"
| "exists"
| "missing";
path: string;
value?: any;
}[];
};
rows?: any;
sort?: { dir?: "asc"
| "desc"; path: string };
title?: any;
weight?: number;
},
>;
}
Type Declaration
-
name: string
-
schema: z.ZodObject<
{
columns: z.ZodArray<
z.ZodObject<
{ label: z.ZodOptional<z.ZodString>; path: z.ZodString },
"strip",
z.ZodTypeAny,
{ label?: string; path: string },
{ label?: string; path: string },
>,
"many",
>;
groupBy: z.ZodOptional<z.ZodString>;
maxRows: z.ZodOptional<z.ZodNumber>;
query: z.ZodOptional<
z.ZodObject<
{
limit: z.ZodOptional<z.ZodNumber>;
modelId: z.ZodOptional<z.ZodString>;
storey: z.ZodOptional<
z.ZodUnion<
[
z.ZodString,
z.ZodEffects<
z.ZodObject<(...), (...), (...), (...), (...)>,
{ "@path"?: ...; path?: ... },
{ "@path"?: ...; path?: ... },
>,
z.ZodIntersection<
z.ZodRecord<(...), (...)>,
z.ZodIntersection<(...), (...)>,
>,
],
>,
>;
types: z.ZodOptional<
z.ZodUnion<
[
z.ZodArray<z.ZodString, "many">,
z.ZodEffects<
z.ZodObject<(...), (...), (...), (...), (...)>,
{ "@path"?: ...; path?: ... },
{ "@path"?: ...; path?: ... },
>,
z.ZodIntersection<
z.ZodRecord<(...), (...)>,
z.ZodIntersection<(...), (...)>,
>,
],
>,
>;
where: z.ZodOptional<
z.ZodArray<
z.ZodObject<
{
op: z.ZodEnum<(...)>;
path: z.ZodString;
value: z.ZodOptional<(...)>;
},
"strip",
z.ZodTypeAny,
{
op: | (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
path: string;
value?: any;
},
{
op: | (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
path: string;
value?: any;
},
>,
"many",
>,
>;
},
"strip",
z.ZodTypeAny,
{
limit?: number;
modelId?: string;
storey?: any;
types?: any;
where?: {
op: | "eq"
| "neq"
| "contains"
| "gt"
| "gte"
| "lt"
| "lte"
| "exists"
| "missing";
path: string;
value?: any;
}[];
},
{
limit?: number;
modelId?: string;
storey?: any;
types?: any;
where?: {
op: | "eq"
| "neq"
| "contains"
| "gt"
| "gte"
| "lt"
| "lte"
| "exists"
| "missing";
path: string;
value?: any;
}[];
},
>,
>;
rows: z.ZodOptional<
z.ZodUnion<
[
z.ZodString,
z.ZodNumber,
z.ZodBoolean,
z.ZodArray<z.ZodAny, "many">,
z.ZodEffects<
z.ZodRecord<z.ZodString, z.ZodUnknown>,
Record<string, unknown>,
Record<string, unknown>,
>,
z.ZodEffects<
z.ZodObject<
{
"@path": z.ZodOptional<z.ZodString>;
path: z.ZodOptional<z.ZodString>;
},
"strip",
z.ZodTypeAny,
{ "@path"?: string; path?: string },
{ "@path"?: string; path?: string },
>,
{ "@path"?: string; path?: string },
{ "@path"?: string; path?: string },
>,
z.ZodIntersection<
z.ZodRecord<z.ZodString, z.ZodAny>,
z.ZodIntersection<
z.ZodEffects<
z.ZodObject<
{ "@call": ...; call: ...; catalogId: ... },
"strip",
z.ZodTypeAny,
{ "@call"?: ...; call?: ...; catalogId?: ... },
{ "@call"?: ...; call?: ...; catalogId?: ... },
>,
{
"@call"?: (...) | (...);
call?: (...) | (...);
catalogId?: (...) | (...);
},
{
"@call"?: (...)
| (...);
call?: (...) | (...);
catalogId?: (...) | (...);
},
>,
z.ZodAny,
>,
>,
],
>,
>;
sort: z.ZodOptional<
z.ZodObject<
{ dir: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>; path: z.ZodString },
"strip",
z.ZodTypeAny,
{ dir?: "asc" | "desc"; path: string },
{ dir?: "asc" | "desc"; path: string },
>,
>;
title: z.ZodOptional<
z.ZodUnion<
[
z.ZodString,
z.ZodEffects<
z.ZodObject<
{
"@path": z.ZodOptional<z.ZodString>;
path: z.ZodOptional<z.ZodString>;
},
"strip",
z.ZodTypeAny,
{ "@path"?: string; path?: string },
{ "@path"?: string; path?: string },
>,
{ "@path"?: string; path?: string },
{ "@path"?: string; path?: string },
>,
z.ZodIntersection<
z.ZodRecord<z.ZodString, z.ZodAny>,
z.ZodIntersection<
z.ZodEffects<
z.ZodObject<
{ "@call": ...; call: ...; catalogId: ... },
"strip",
z.ZodTypeAny,
{ "@call"?: ...; call?: ...; catalogId?: ... },
{ "@call"?: ...; call?: ...; catalogId?: ... },
>,
{
"@call"?: (...) | (...);
call?: (...) | (...);
catalogId?: (...) | (...);
},
{
"@call"?: (...)
| (...);
call?: (...) | (...);
catalogId?: (...) | (...);
},
>,
z.ZodAny,
>,
>,
],
>,
>;
weight: z.ZodOptional<z.ZodNumber>;
},
"strip",
z.ZodTypeAny,
{
columns: { label?: string; path: string }[];
groupBy?: string;
maxRows?: number;
query?: {
limit?: number;
modelId?: string;
storey?: any;
types?: any;
where?: {
op:
| "eq"
| "neq"
| "contains"
| "gt"
| "gte"
| "lt"
| "lte"
| "exists"
| "missing";
path: string;
value?: any;
}[];
};
rows?: any;
sort?: { dir?: "asc"
| "desc"; path: string };
title?: any;
weight?: number;
},
{
columns: { label?: string; path: string }[];
groupBy?: string;
maxRows?: number;
query?: {
limit?: number;
modelId?: string;
storey?: any;
types?: any;
where?: {
op:
| "eq"
| "neq"
| "contains"
| "gt"
| "gte"
| "lt"
| "lte"
| "exists"
| "missing";
path: string;
value?: any;
}[];
};
rows?: any;
sort?: { dir?: "asc"
| "desc"; path: string };
title?: any;
weight?: number;
},
>