Variable GroupChartApiConst
GroupChartApi: {
name: string;
schema: z.ZodObject<
{
aggregate: z.ZodOptional<z.ZodEnum<["count", "sum"]>>;
data: 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,
>,
>,
],
>,
>;
groupBy: z.ZodString;
kind: z.ZodOptional<z.ZodEnum<["bar", "pie"]>>;
maxGroups: z.ZodOptional<z.ZodNumber>;
path: z.ZodOptional<z.ZodString>;
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;
}[];
},
>,
>;
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,
{
aggregate?: "count"
| "sum";
data?: any;
groupBy: string;
kind?: "bar" | "pie";
maxGroups?: number;
path?: string;
query?: {
limit?: number;
modelId?: string;
storey?: any;
types?: any;
where?: {
op:
| "eq"
| "neq"
| "contains"
| "gt"
| "gte"
| "lt"
| "lte"
| "exists"
| "missing";
path: string;
value?: any;
}[];
};
title?: any;
weight?: number;
},
{
aggregate?: "count"
| "sum";
data?: any;
groupBy: string;
kind?: "bar" | "pie";
maxGroups?: number;
path?: string;
query?: {
limit?: number;
modelId?: string;
storey?: any;
types?: any;
where?: {
op:
| "eq"
| "neq"
| "contains"
| "gt"
| "gte"
| "lt"
| "lte"
| "exists"
| "missing";
path: string;
value?: any;
}[];
};
title?: any;
weight?: number;
},
>;
}
Type Declaration
-
name: string
-
schema: z.ZodObject<
{
aggregate: z.ZodOptional<z.ZodEnum<["count", "sum"]>>;
data: 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,
>,
>,
],
>,
>;
groupBy: z.ZodString;
kind: z.ZodOptional<z.ZodEnum<["bar", "pie"]>>;
maxGroups: z.ZodOptional<z.ZodNumber>;
path: z.ZodOptional<z.ZodString>;
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;
}[];
},
>,
>;
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,
{
aggregate?: "count"
| "sum";
data?: any;
groupBy: string;
kind?: "bar" | "pie";
maxGroups?: number;
path?: string;
query?: {
limit?: number;
modelId?: string;
storey?: any;
types?: any;
where?: {
op:
| "eq"
| "neq"
| "contains"
| "gt"
| "gte"
| "lt"
| "lte"
| "exists"
| "missing";
path: string;
value?: any;
}[];
};
title?: any;
weight?: number;
},
{
aggregate?: "count"
| "sum";
data?: any;
groupBy: string;
kind?: "bar" | "pie";
maxGroups?: number;
path?: string;
query?: {
limit?: number;
modelId?: string;
storey?: any;
types?: any;
where?: {
op:
| "eq"
| "neq"
| "contains"
| "gt"
| "gte"
| "lt"
| "lte"
| "exists"
| "missing";
path: string;
value?: any;
}[];
};
title?: any;
weight?: number;
},
>