Variable SolutionConfigSchemaConst
SolutionConfigSchema: ZodObject<{
resources: ZodArray<ZodUnion<[ZodObject<{
description: ZodOptional<ZodString>;
id: ZodOptional<ZodString>;
name: ZodString;
properties: ZodObject<{
backstory: ZodOptional<ZodString>;
datasetId: ZodOptional<ZodString>;
model: ZodOptional<ZodString>;
moderation: ZodOptional<ZodBoolean>;
privacy: ZodOptional<ZodBoolean>;
skillsetId: ZodOptional<ZodString>;
}, "strip", ZodTypeAny, {
backstory?: string;
datasetId?: string;
model?: string;
moderation?: boolean;
privacy?: boolean;
skillsetId?: string;
}, {
backstory?: string;
datasetId?: string;
model?: string;
moderation?: boolean;
privacy?: boolean;
skillsetId?: string;
}>;
slug: ZodOptional<ZodString>;
type: ZodLiteral<"bot">;
}, "strip", ZodTypeAny, {
description?: string;
id?: string;
name?: string;
properties?: {
backstory?: string;
datasetId?: string;
model?: string;
moderation?: boolean;
privacy?: boolean;
skillsetId?: string;
};
slug?: string;
type?: "bot";
}, {
description?: string;
id?: string;
name?: string;
properties?: {
backstory?: string;
datasetId?: string;
model?: string;
moderation?: boolean;
privacy?: boolean;
skillsetId?: string;
};
slug?: string;
type?: "bot";
}>, ZodObject<{
description: ZodOptional<ZodString>;
id: ZodOptional<ZodString>;
name: ZodString;
properties: ZodObject<{}, "strip", ZodTypeAny, {}, {}>;
slug: ZodOptional<ZodString>;
type: ZodLiteral<"dataset">;
}, "strip", ZodTypeAny, {
description?: string;
id?: string;
name?: string;
properties?: {};
slug?: string;
type?: "dataset";
}, {
description?: string;
id?: string;
name?: string;
properties?: {};
slug?: string;
type?: "dataset";
}>, ZodObject<{
description: ZodOptional<ZodString>;
id: ZodOptional<ZodString>;
name: ZodString;
properties: ZodObject<{}, "strip", ZodTypeAny, {}, {}>;
slug: ZodOptional<ZodString>;
type: ZodLiteral<"skillset">;
}, "strip", ZodTypeAny, {
description?: string;
id?: string;
name?: string;
properties?: {};
slug?: string;
type?: "skillset";
}, {
description?: string;
id?: string;
name?: string;
properties?: {};
slug?: string;
type?: "skillset";
}>, ZodObject<{
description: ZodOptional<ZodString>;
id: ZodOptional<ZodString>;
name: ZodString;
properties: ZodObject<{}, "strip", ZodTypeAny, {}, {}>;
slug: ZodOptional<ZodString>;
type: ZodLiteral<"widgetIntegration">;
}, "strip", ZodTypeAny, {
description?: string;
id?: string;
name?: string;
properties?: {};
slug?: string;
type?: "widgetIntegration";
}, {
description?: string;
id?: string;
name?: string;
properties?: {};
slug?: string;
type?: "widgetIntegration";
}>, ZodObject<{
description: ZodOptional<ZodString>;
id: ZodOptional<ZodString>;
name: ZodString;
properties: ZodObject<{
datasetId: ZodString;
url: ZodString;
}, "strip", ZodTypeAny, {
datasetId?: string;
url?: string;
}, {
datasetId?: string;
url?: string;
}>;
slug: ZodOptional<ZodString>;
type: ZodLiteral<"sitemapIntegration">;
}, "strip", ZodTypeAny, {
description?: string;
id?: string;
name?: string;
properties?: {
datasetId?: string;
url?: string;
};
slug?: string;
type?: "sitemapIntegration";
}, {
description?: string;
id?: string;
name?: string;
properties?: {
datasetId?: string;
url?: string;
};
slug?: string;
type?: "sitemapIntegration";
}>]>, "many">;
version: ZodLiteral<1>;
}, "strip", ZodTypeAny, {
resources?: ({
description?: string;
id?: string;
name?: string;
properties?: { model?: string; backstory?: string; datasetId?: string; skillsetId?: string; moderation?: boolean; privacy?: boolean; };
slug?: string;
type?: "bot";
} | {
description?: string;
id?: string;
name?: string;
properties?: {};
slug?: string;
type?: "dataset";
} | {
description?: string;
id?: string;
name?: string;
properties?: {};
slug?: string;
type?: "skillset";
} | {
description?: string;
id?: string;
name?: string;
properties?: {};
slug?: string;
type?: "widgetIntegration";
} | {
description?: string;
id?: string;
name?: string;
properties?: { url?: string; datasetId?: string; };
slug?: string;
type?: "sitemapIntegration";
})[];
version?: 1;
}, {
resources?: ({
description?: string;
id?: string;
name?: string;
properties?: { model?: string; backstory?: string; datasetId?: string; skillsetId?: string; moderation?: boolean; privacy?: boolean; };
slug?: string;
type?: "bot";
} | {
description?: string;
id?: string;
name?: string;
properties?: {};
slug?: string;
type?: "dataset";
} | {
description?: string;
id?: string;
name?: string;
properties?: {};
slug?: string;
type?: "skillset";
} | {
description?: string;
id?: string;
name?: string;
properties?: {};
slug?: string;
type?: "widgetIntegration";
} | {
description?: string;
id?: string;
name?: string;
properties?: { url?: string; datasetId?: string; };
slug?: string;
type?: "sitemapIntegration";
})[];
version?: 1;
}> = ...
Type declaration
resources: ZodArray<ZodUnion<[ZodObject<{
description: ZodOptional<ZodString>;
id: ZodOptional<ZodString>;
name: ZodString;
properties: ZodObject<{
backstory: ZodOptional<ZodString>;
datasetId: ZodOptional<ZodString>;
model: ZodOptional<ZodString>;
moderation: ZodOptional<ZodBoolean>;
privacy: ZodOptional<ZodBoolean>;
skillsetId: ZodOptional<ZodString>;
}, "strip", ZodTypeAny, {
backstory?: string;
datasetId?: string;
model?: string;
moderation?: boolean;
privacy?: boolean;
skillsetId?: string;
}, {
backstory?: string;
datasetId?: string;
model?: string;
moderation?: boolean;
privacy?: boolean;
skillsetId?: string;
}>;
slug: ZodOptional<ZodString>;
type: ZodLiteral<"bot">;
}, "strip", ZodTypeAny, {
description?: string;
id?: string;
name?: string;
properties?: {
backstory?: string;
datasetId?: string;
model?: string;
moderation?: boolean;
privacy?: boolean;
skillsetId?: string;
};
slug?: string;
type?: "bot";
}, {
description?: string;
id?: string;
name?: string;
properties?: {
backstory?: string;
datasetId?: string;
model?: string;
moderation?: boolean;
privacy?: boolean;
skillsetId?: string;
};
slug?: string;
type?: "bot";
}>, ZodObject<{
description: ZodOptional<ZodString>;
id: ZodOptional<ZodString>;
name: ZodString;
properties: ZodObject<{}, "strip", ZodTypeAny, {}, {}>;
slug: ZodOptional<ZodString>;
type: ZodLiteral<"dataset">;
}, "strip", ZodTypeAny, {
description?: string;
id?: string;
name?: string;
properties?: {};
slug?: string;
type?: "dataset";
}, {
description?: string;
id?: string;
name?: string;
properties?: {};
slug?: string;
type?: "dataset";
}>, ZodObject<{
description: ZodOptional<ZodString>;
id: ZodOptional<ZodString>;
name: ZodString;
properties: ZodObject<{}, "strip", ZodTypeAny, {}, {}>;
slug: ZodOptional<ZodString>;
type: ZodLiteral<"skillset">;
}, "strip", ZodTypeAny, {
description?: string;
id?: string;
name?: string;
properties?: {};
slug?: string;
type?: "skillset";
}, {
description?: string;
id?: string;
name?: string;
properties?: {};
slug?: string;
type?: "skillset";
}>, ZodObject<{
description: ZodOptional<ZodString>;
id: ZodOptional<ZodString>;
name: ZodString;
properties: ZodObject<{}, "strip", ZodTypeAny, {}, {}>;
slug: ZodOptional<ZodString>;
type: ZodLiteral<"widgetIntegration">;
}, "strip", ZodTypeAny, {
description?: string;
id?: string;
name?: string;
properties?: {};
slug?: string;
type?: "widgetIntegration";
}, {
description?: string;
id?: string;
name?: string;
properties?: {};
slug?: string;
type?: "widgetIntegration";
}>, ZodObject<{
description: ZodOptional<ZodString>;
id: ZodOptional<ZodString>;
name: ZodString;
properties: ZodObject<{
datasetId: ZodString;
url: ZodString;
}, "strip", ZodTypeAny, {
datasetId?: string;
url?: string;
}, {
datasetId?: string;
url?: string;
}>;
slug: ZodOptional<ZodString>;
type: ZodLiteral<"sitemapIntegration">;
}, "strip", ZodTypeAny, {
description?: string;
id?: string;
name?: string;
properties?: {
datasetId?: string;
url?: string;
};
slug?: string;
type?: "sitemapIntegration";
}, {
description?: string;
id?: string;
name?: string;
properties?: {
datasetId?: string;
url?: string;
};
slug?: string;
type?: "sitemapIntegration";
}>]>, "many">
version: ZodLiteral<1>
Type declaration
Optional
resources?: ({
description?: string;
id?: string;
name?: string;
properties?: { model?: string; backstory?: string; datasetId?: string; skillsetId?: string; moderation?: boolean; privacy?: boolean; };
slug?: string;
type?: "bot";
} | {
description?: string;
id?: string;
name?: string;
properties?: {};
slug?: string;
type?: "dataset";
} | {
description?: string;
id?: string;
name?: string;
properties?: {};
slug?: string;
type?: "skillset";
} | {
description?: string;
id?: string;
name?: string;
properties?: {};
slug?: string;
type?: "widgetIntegration";
} | {
description?: string;
id?: string;
name?: string;
properties?: { url?: string; datasetId?: string; };
slug?: string;
type?: "sitemapIntegration";
})[]
Optional
version?: 1
Type declaration
Optional
resources?: ({
description?: string;
id?: string;
name?: string;
properties?: { model?: string; backstory?: string; datasetId?: string; skillsetId?: string; moderation?: boolean; privacy?: boolean; };
slug?: string;
type?: "bot";
} | {
description?: string;
id?: string;
name?: string;
properties?: {};
slug?: string;
type?: "dataset";
} | {
description?: string;
id?: string;
name?: string;
properties?: {};
slug?: string;
type?: "skillset";
} | {
description?: string;
id?: string;
name?: string;
properties?: {};
slug?: string;
type?: "widgetIntegration";
} | {
description?: string;
id?: string;
name?: string;
properties?: { url?: string; datasetId?: string; };
slug?: string;
type?: "sitemapIntegration";
})[]
Optional
version?: 1
The schema for a solution configuration.