Variable createSourceSchemaConst
createSourceSchema: ZodObject<
{
name: ZodString;
adapterKey: ZodString;
mechanism: ZodEnum<["api", "ical", "rss", "jsonld", "html"]>;
url: ZodOptional<ZodEffects<ZodString, string, string>>;
city: ZodString;
enabled: ZodOptional<ZodBoolean>;
},
"strip",
ZodTypeAny,
{
name: string;
adapterKey: string;
mechanism: "api"
| "ical"
| "rss"
| "jsonld"
| "html";
url?: string;
city: string;
enabled?: boolean;
},
{
name: string;
adapterKey: string;
mechanism: "api"
| "ical"
| "rss"
| "jsonld"
| "html";
url?: string;
city: string;
enabled?: boolean;
},
> = ...