UNPKG

arela

Version:

AI-powered CTO with multi-agent orchestration, code summarization, visual testing (web + mobile) for blazing fast development.

54 lines 1.65 kB
import { z } from "zod"; export declare const RuleSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodString; version: z.ZodDefault<z.ZodString>; priority: z.ZodOptional<z.ZodEnum<["highest", "high", "normal", "low"]>>; appliesTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; body: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; title: string; version: string; body: string; priority?: "low" | "high" | "highest" | "normal" | undefined; appliesTo?: string[] | undefined; tags?: string[] | undefined; }, { id: string; title: string; body: string; version?: string | undefined; priority?: "low" | "high" | "highest" | "normal" | undefined; appliesTo?: string[] | undefined; tags?: string[] | undefined; }>; export type ArelaRule = z.infer<typeof RuleSchema>; export declare const WorkflowSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodString; placeholders: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; body: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; title: string; body: string; placeholders?: string[] | undefined; }, { id: string; title: string; body: string; placeholders?: string[] | undefined; }>; export type ArelaWorkflow = z.infer<typeof WorkflowSchema>; export type LoadResult<T> = { items: T[]; errors: string[]; }; export type FrontMatterResult = { data: Record<string, unknown>; content: string; }; export declare function parseFrontMatter(md: string): FrontMatterResult; //# sourceMappingURL=schema.d.ts.map