Variable StatGroupApiConst
StatGroupApi: {
name: string;
schema: z.ZodObject<
{
items: z.ZodArray<
z.ZodObject<
{
aggregate: z.ZodOptional<
z.ZodEnum<["count", "sum", "avg", "min", "max"]>,
>;
label: z.ZodUnion<
[
z.ZodString,
z.ZodEffects<
z.ZodObject<
{ "@path": ...; path: ... },
"strip",
z.ZodTypeAny,
{ "@path"?: ...; path?: ... },
{ "@path"?: ...; path?: ... },
>,
{ "@path"?: (...) | (...); path?: (...) | (...) },
{ "@path"?: (...) | (...); path?: (...) | (...) },
>,
z.ZodIntersection<
z.ZodRecord<z.ZodString, z.ZodAny>,
z.ZodIntersection<z.ZodEffects<(...), (...), (...)>, z.ZodAny>,
>,
],
>;
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<(...)>>;
types: z.ZodOptional<z.ZodUnion<(...)>>;
where: z.ZodOptional<z.ZodArray<(...), (...)>>;
},
"strip",
z.ZodTypeAny,
{
limit?: number;
modelId?: string;
storey?: any;
types?: any;
where?: (...)[];
},
{
limit?: number;
modelId?: string;
storey?: any;
types?: any;
where?: (...)[];
},
>,
>;
tone: z.ZodOptional<
z.ZodEnum<["neutral", "info", "success", "warn", "error"]>,
>;
unit: z.ZodOptional<z.ZodString>;
value: z.ZodOptional<
z.ZodUnion<
[
z.ZodNumber,
z.ZodEffects<
z.ZodObject<(...), (...), (...), (...), (...)>,
{ "@path"?: ...; path?: ... },
{ "@path"?: ...; path?: ... },
>,
z.ZodIntersection<
z.ZodRecord<(...), (...)>,
z.ZodIntersection<(...), (...)>,
>,
],
>,
>;
},
"strip",
z.ZodTypeAny,
{
aggregate?: "count"
| "sum"
| "avg"
| "min"
| "max";
label?: any;
path?: string;
query?: {
limit?: number;
modelId?: string;
storey?: any;
types?: any;
where?: { op: ...; path: ...; value?: ... }[];
};
tone?: "neutral"
| "info"
| "success"
| "warn"
| "error";
unit?: string;
value?: any;
},
{
aggregate?: "count"
| "sum"
| "avg"
| "min"
| "max";
label?: any;
path?: string;
query?: {
limit?: number;
modelId?: string;
storey?: any;
types?: any;
where?: { op: ...; path: ...; value?: ... }[];
};
tone?: "neutral"
| "info"
| "success"
| "warn"
| "error";
unit?: string;
value?: any;
},
>,
"many",
>;
weight: z.ZodOptional<z.ZodNumber>;
},
"strip",
z.ZodTypeAny,
{
items: {
aggregate?: "count"
| "sum"
| "avg"
| "min"
| "max";
label?: any;
path?: string;
query?: {
limit?: number;
modelId?: string;
storey?: any;
types?: any;
where?: {
op:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
path: string;
value?: any;
}[];
};
tone?: "neutral"
| "info"
| "success"
| "warn"
| "error";
unit?: string;
value?: any;
}[];
weight?: number;
},
{
items: {
aggregate?: "count"
| "sum"
| "avg"
| "min"
| "max";
label?: any;
path?: string;
query?: {
limit?: number;
modelId?: string;
storey?: any;
types?: any;
where?: {
op:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
path: string;
value?: any;
}[];
};
tone?: "neutral"
| "info"
| "success"
| "warn"
| "error";
unit?: string;
value?: any;
}[];
weight?: number;
},
>;
}
Type Declaration
-
name: string
-
schema: z.ZodObject<
{
items: z.ZodArray<
z.ZodObject<
{
aggregate: z.ZodOptional<
z.ZodEnum<["count", "sum", "avg", "min", "max"]>,
>;
label: z.ZodUnion<
[
z.ZodString,
z.ZodEffects<
z.ZodObject<
{ "@path": ...; path: ... },
"strip",
z.ZodTypeAny,
{ "@path"?: ...; path?: ... },
{ "@path"?: ...; path?: ... },
>,
{ "@path"?: (...) | (...); path?: (...) | (...) },
{ "@path"?: (...) | (...); path?: (...) | (...) },
>,
z.ZodIntersection<
z.ZodRecord<z.ZodString, z.ZodAny>,
z.ZodIntersection<z.ZodEffects<(...), (...), (...)>, z.ZodAny>,
>,
],
>;
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<(...)>>;
types: z.ZodOptional<z.ZodUnion<(...)>>;
where: z.ZodOptional<z.ZodArray<(...), (...)>>;
},
"strip",
z.ZodTypeAny,
{
limit?: number;
modelId?: string;
storey?: any;
types?: any;
where?: (...)[];
},
{
limit?: number;
modelId?: string;
storey?: any;
types?: any;
where?: (...)[];
},
>,
>;
tone: z.ZodOptional<
z.ZodEnum<["neutral", "info", "success", "warn", "error"]>,
>;
unit: z.ZodOptional<z.ZodString>;
value: z.ZodOptional<
z.ZodUnion<
[
z.ZodNumber,
z.ZodEffects<
z.ZodObject<(...), (...), (...), (...), (...)>,
{ "@path"?: ...; path?: ... },
{ "@path"?: ...; path?: ... },
>,
z.ZodIntersection<
z.ZodRecord<(...), (...)>,
z.ZodIntersection<(...), (...)>,
>,
],
>,
>;
},
"strip",
z.ZodTypeAny,
{
aggregate?: "count"
| "sum"
| "avg"
| "min"
| "max";
label?: any;
path?: string;
query?: {
limit?: number;
modelId?: string;
storey?: any;
types?: any;
where?: { op: ...; path: ...; value?: ... }[];
};
tone?: "neutral"
| "info"
| "success"
| "warn"
| "error";
unit?: string;
value?: any;
},
{
aggregate?: "count"
| "sum"
| "avg"
| "min"
| "max";
label?: any;
path?: string;
query?: {
limit?: number;
modelId?: string;
storey?: any;
types?: any;
where?: { op: ...; path: ...; value?: ... }[];
};
tone?: "neutral"
| "info"
| "success"
| "warn"
| "error";
unit?: string;
value?: any;
},
>,
"many",
>;
weight: z.ZodOptional<z.ZodNumber>;
},
"strip",
z.ZodTypeAny,
{
items: {
aggregate?: "count"
| "sum"
| "avg"
| "min"
| "max";
label?: any;
path?: string;
query?: {
limit?: number;
modelId?: string;
storey?: any;
types?: any;
where?: {
op:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
path: string;
value?: any;
}[];
};
tone?: "neutral"
| "info"
| "success"
| "warn"
| "error";
unit?: string;
value?: any;
}[];
weight?: number;
},
{
items: {
aggregate?: "count"
| "sum"
| "avg"
| "min"
| "max";
label?: any;
path?: string;
query?: {
limit?: number;
modelId?: string;
storey?: any;
types?: any;
where?: {
op:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
path: string;
value?: any;
}[];
};
tone?: "neutral"
| "info"
| "success"
| "warn"
| "error";
unit?: string;
value?: any;
}[];
weight?: number;
},
>