Variable ResourceConfigSchemaConst
ResourceConfigSchema: 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";
}>]> = ...
The schema for a resource configuration.