Variable IFC_COMPONENT_APISConst
IFC_COMPONENT_APIS: (
| {
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<(...)>>;
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?: (...)[];
},
>,
>;
rows: z.ZodOptional<
z.ZodUnion<
[
z.ZodString,
z.ZodNumber,
z.ZodBoolean,
z.ZodArray<z.ZodAny, "many">,
z.ZodEffects<
z.ZodRecord<(...), (...)>,
Record<(...), (...)>,
Record<(...), (...)>,
>,
z.ZodEffects<
z.ZodObject<(...), (...), (...), (...), (...)>,
{ "@path"?: ...; path?: ... },
{ "@path"?: ...; path?: ... },
>,
z.ZodIntersection<
z.ZodRecord<(...), (...)>,
z.ZodIntersection<(...), (...)>,
>,
],
>,
>;
sort: z.ZodOptional<
z.ZodObject<
{ dir: z.ZodOptional<z.ZodEnum<(...)>>; 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"?: ...; path?: ... },
{ "@path"?: ...; path?: ... },
>,
z.ZodIntersection<
z.ZodRecord<(...), (...)>,
z.ZodIntersection<(...), (...)>,
>,
],
>,
>;
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: ...; path: ...; value?: ... }[];
};
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: ...; path: ...; value?: ... }[];
};
rows?: any;
sort?: { dir?: "asc"
| "desc"; path: string };
title?: any;
weight?: number;
},
>;
}
| {
name: string;
schema: z.ZodObject<
{
label: 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?: (...)[];
},
>,
>;
refs: z.ZodOptional<
z.ZodUnion<
[
z.ZodArray<z.ZodString, "many">,
z.ZodEffects<
z.ZodObject<(...), (...), (...), (...), (...)>,
{ "@path"?: ...; path?: ... },
{ "@path"?: ...; path?: ... },
>,
z.ZodIntersection<
z.ZodRecord<(...), (...)>,
z.ZodIntersection<(...), (...)>,
>,
],
>,
>;
title: z.ZodOptional<
z.ZodUnion<
[
z.ZodString,
z.ZodEffects<
z.ZodObject<(...), (...), (...), (...), (...)>,
{ "@path"?: ...; path?: ... },
{ "@path"?: ...; path?: ... },
>,
z.ZodIntersection<
z.ZodRecord<(...), (...)>,
z.ZodIntersection<(...), (...)>,
>,
],
>,
>;
weight: z.ZodOptional<z.ZodNumber>;
},
"strip",
z.ZodTypeAny,
{
label?: string;
query?: {
limit?: number;
modelId?: string;
storey?: any;
types?: any;
where?: { op: ...; path: ...; value?: ... }[];
};
refs?: any;
title?: any;
weight?: number;
},
{
label?: string;
query?: {
limit?: number;
modelId?: string;
storey?: any;
types?: any;
where?: { op: ...; path: ...; value?: ... }[];
};
refs?: any;
title?: any;
weight?: number;
},
>;
}
| {
name: string;
schema: z.ZodObject<
{
entity: 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>,
>,
],
>;
sections: z.ZodOptional<
z.ZodArray<
z.ZodEnum<
[
"attributes",
"properties",
"quantities",
"materials",
"classifications",
"spatial",
],
>,
"many",
>,
>;
weight: z.ZodOptional<z.ZodNumber>;
},
"strip",
z.ZodTypeAny,
{
entity?: any;
sections?: (
| "attributes"
| "properties"
| "quantities"
| "materials"
| "classifications"
| "spatial"
)[];
weight?: number;
},
{
entity?: any;
sections?: (
| "attributes"
| "properties"
| "quantities"
| "materials"
| "classifications"
| "spatial"
)[];
weight?: number;
},
>;
}
| {
name: string;
schema: z.ZodObject<
{
items: z.ZodArray<
z.ZodObject<
{
aggregate: z.ZodOptional<z.ZodEnum<(...)>>;
label: z.ZodUnion<[(...), (...), (...)]>;
path: z.ZodOptional<z.ZodString>;
query: z.ZodOptional<z.ZodObject<(...), (...), (...), (...), (...)>>;
tone: z.ZodOptional<z.ZodEnum<(...)>>;
unit: z.ZodOptional<z.ZodString>;
value: z.ZodOptional<z.ZodUnion<(...)>>;
},
"strip",
z.ZodTypeAny,
{
aggregate?: "count"
| "sum"
| "avg"
| "min"
| "max";
label?: any;
path?: string;
query?: {
limit?: ...;
modelId?: ...;
storey?: ...;
types?: ...;
where?: ...;
};
tone?: "neutral"
| "info"
| "success"
| "warn"
| "error";
unit?: string;
value?: any;
},
{
aggregate?: "count"
| "sum"
| "avg"
| "min"
| "max";
label?: any;
path?: string;
query?: {
limit?: ...;
modelId?: ...;
storey?: ...;
types?: ...;
where?: ...;
};
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?: (...) | (...);
modelId?: (...) | (...);
storey?: any;
types?: any;
where?: (...) | (...);
};
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?: (...) | (...);
modelId?: (...) | (...);
storey?: any;
types?: any;
where?: (...) | (...);
};
tone?: "neutral"
| "info"
| "success"
| "warn"
| "error";
unit?: string;
value?: any;
}[];
weight?: number;
},
>;
}
| {
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<(...), (...)>,
Record<(...), (...)>,
Record<(...), (...)>,
>,
z.ZodEffects<
z.ZodObject<(...), (...), (...), (...), (...)>,
{ "@path"?: ...; path?: ... },
{ "@path"?: ...; path?: ... },
>,
z.ZodIntersection<
z.ZodRecord<(...), (...)>,
z.ZodIntersection<(...), (...)>,
>,
],
>,
>;
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<(...)>>;
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?: (...)[];
},
>,
>;
title: z.ZodOptional<
z.ZodUnion<
[
z.ZodString,
z.ZodEffects<
z.ZodObject<(...), (...), (...), (...), (...)>,
{ "@path"?: ...; path?: ... },
{ "@path"?: ...; path?: ... },
>,
z.ZodIntersection<
z.ZodRecord<(...), (...)>,
z.ZodIntersection<(...), (...)>,
>,
],
>,
>;
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: ...; path: ...; value?: ... }[];
};
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: ...; path: ...; value?: ... }[];
};
title?: any;
weight?: number;
},
>;
}
| {
name: string;
schema: z.ZodObject<
{
apply: z.ZodOptional<z.ZodEnum<["manual", "onShow"]>>;
by: z.ZodString;
data: z.ZodOptional<
z.ZodUnion<
[
z.ZodString,
z.ZodNumber,
z.ZodBoolean,
z.ZodArray<z.ZodAny, "many">,
z.ZodEffects<
z.ZodRecord<(...), (...)>,
Record<(...), (...)>,
Record<(...), (...)>,
>,
z.ZodEffects<
z.ZodObject<(...), (...), (...), (...), (...)>,
{ "@path"?: ...; path?: ... },
{ "@path"?: ...; path?: ... },
>,
z.ZodIntersection<
z.ZodRecord<(...), (...)>,
z.ZodIntersection<(...), (...)>,
>,
],
>,
>;
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?: (...)[];
},
>,
>;
title: z.ZodOptional<
z.ZodUnion<
[
z.ZodString,
z.ZodEffects<
z.ZodObject<(...), (...), (...), (...), (...)>,
{ "@path"?: ...; path?: ... },
{ "@path"?: ...; path?: ... },
>,
z.ZodIntersection<
z.ZodRecord<(...), (...)>,
z.ZodIntersection<(...), (...)>,
>,
],
>,
>;
weight: z.ZodOptional<z.ZodNumber>;
},
"strip",
z.ZodTypeAny,
{
apply?: "manual"
| "onShow";
by: string;
data?: any;
query?: {
limit?: number;
modelId?: string;
storey?: any;
types?: any;
where?: { op: ...; path: ...; value?: ... }[];
};
title?: any;
weight?: number;
},
{
apply?: "manual"
| "onShow";
by: string;
data?: any;
query?: {
limit?: number;
modelId?: string;
storey?: any;
types?: any;
where?: { op: ...; path: ...; value?: ... }[];
};
title?: any;
weight?: number;
},
>;
}
| {
name: string;
schema: z.ZodObject<
{
actions: z.ZodArray<
z.ZodEnum<
[
"select",
"isolate",
"hide",
"show",
"colorize",
"flyTo",
"resetView",
"exportCsv",
],
>,
"many",
>;
color: z.ZodOptional<z.ZodString>;
followUps: z.ZodOptional<
z.ZodArray<
z.ZodObject<
{ label: z.ZodString; prompt: z.ZodString },
"strip",
z.ZodTypeAny,
{ label: string; prompt: string },
{ label: string; prompt: string },
>,
"many",
>,
>;
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?: (...)[];
},
>,
>;
refs: z.ZodOptional<
z.ZodUnion<
[
z.ZodArray<z.ZodString, "many">,
z.ZodEffects<
z.ZodObject<(...), (...), (...), (...), (...)>,
{ "@path"?: ...; path?: ... },
{ "@path"?: ...; path?: ... },
>,
z.ZodIntersection<
z.ZodRecord<(...), (...)>,
z.ZodIntersection<(...), (...)>,
>,
],
>,
>;
weight: z.ZodOptional<z.ZodNumber>;
},
"strip",
z.ZodTypeAny,
{
actions: (
| "select"
| "isolate"
| "hide"
| "show"
| "colorize"
| "flyTo"
| "resetView"
| "exportCsv"
)[];
color?: string;
followUps?: { label: string; prompt: string }[];
query?: {
limit?: number;
modelId?: string;
storey?: any;
types?: any;
where?: { op: ...; path: ...; value?: ... }[];
};
refs?: any;
weight?: number;
},
{
actions: (
| "select"
| "isolate"
| "hide"
| "show"
| "colorize"
| "flyTo"
| "resetView"
| "exportCsv"
)[];
color?: string;
followUps?: { label: string; prompt: string }[];
query?: {
limit?: number;
modelId?: string;
storey?: any;
types?: any;
where?: { op: ...; path: ...; value?: ... }[];
};
refs?: any;
weight?: number;
},
>;
}
| {
name: string;
schema: z.ZodObject<
{
text: 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>,
>,
],
>;
title: z.ZodOptional<
z.ZodUnion<
[
z.ZodString,
z.ZodEffects<
z.ZodObject<(...), (...), (...), (...), (...)>,
{ "@path"?: ...; path?: ... },
{ "@path"?: ...; path?: ... },
>,
z.ZodIntersection<
z.ZodRecord<(...), (...)>,
z.ZodIntersection<(...), (...)>,
>,
],
>,
>;
tone: z.ZodOptional<
z.ZodEnum<["neutral", "info", "success", "warn", "error"]>,
>;
weight: z.ZodOptional<z.ZodNumber>;
},
"strip",
z.ZodTypeAny,
{
text?: any;
title?: any;
tone?: "neutral"
| "info"
| "success"
| "warn"
| "error";
weight?: number;
},
{
text?: any;
title?: any;
tone?: "neutral"
| "info"
| "success"
| "warn"
| "error";
weight?: number;
},
>;
}
)[]