Project Files
dist / schemas.d.ts
import { z } from "zod";
export declare const TemplateTypeEnum: z.ZodEnum<["agent_rules", "rosetta_stone", "script_vision", "script_spec", "custom"]>;
export type TemplateType = z.infer<typeof TemplateTypeEnum>;
export declare const FrontmatterSchema: z.ZodObject<{
id: z.ZodOptional<z.ZodString>;
module: z.ZodOptional<z.ZodString>;
version: z.ZodOptional<z.ZodString>;
strict_mode: z.ZodOptional<z.ZodBoolean>;
dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
ai_behavior: z.ZodOptional<z.ZodEnum<["critical_honesty", "creative", "assistive"]>>;
}, "strip", z.ZodTypeAny, {
id?: string | undefined;
module?: string | undefined;
version?: string | undefined;
strict_mode?: boolean | undefined;
dependencies?: string[] | undefined;
ai_behavior?: "critical_honesty" | "creative" | "assistive" | undefined;
}, {
id?: string | undefined;
module?: string | undefined;
version?: string | undefined;
strict_mode?: boolean | undefined;
dependencies?: string[] | undefined;
ai_behavior?: "critical_honesty" | "creative" | "assistive" | undefined;
}>;
export type Frontmatter = z.infer<typeof FrontmatterSchema>;
export declare const CreateMarkdownFileParams: z.ZodObject<{
file_name: z.ZodString;
content: z.ZodString;
template_type: z.ZodOptional<z.ZodEnum<["agent_rules", "rosetta_stone", "script_vision", "script_spec", "custom"]>>;
frontmatter: z.ZodOptional<z.ZodObject<{
id: z.ZodOptional<z.ZodString>;
module: z.ZodOptional<z.ZodString>;
version: z.ZodOptional<z.ZodString>;
strict_mode: z.ZodOptional<z.ZodBoolean>;
dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
ai_behavior: z.ZodOptional<z.ZodEnum<["critical_honesty", "creative", "assistive"]>>;
}, "strip", z.ZodTypeAny, {
id?: string | undefined;
module?: string | undefined;
version?: string | undefined;
strict_mode?: boolean | undefined;
dependencies?: string[] | undefined;
ai_behavior?: "critical_honesty" | "creative" | "assistive" | undefined;
}, {
id?: string | undefined;
module?: string | undefined;
version?: string | undefined;
strict_mode?: boolean | undefined;
dependencies?: string[] | undefined;
ai_behavior?: "critical_honesty" | "creative" | "assistive" | undefined;
}>>;
force: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
file_name: string;
content: string;
template_type?: "agent_rules" | "rosetta_stone" | "script_vision" | "script_spec" | "custom" | undefined;
frontmatter?: {
id?: string | undefined;
module?: string | undefined;
version?: string | undefined;
strict_mode?: boolean | undefined;
dependencies?: string[] | undefined;
ai_behavior?: "critical_honesty" | "creative" | "assistive" | undefined;
} | undefined;
force?: boolean | undefined;
}, {
file_name: string;
content: string;
template_type?: "agent_rules" | "rosetta_stone" | "script_vision" | "script_spec" | "custom" | undefined;
frontmatter?: {
id?: string | undefined;
module?: string | undefined;
version?: string | undefined;
strict_mode?: boolean | undefined;
dependencies?: string[] | undefined;
ai_behavior?: "critical_honesty" | "creative" | "assistive" | undefined;
} | undefined;
force?: boolean | undefined;
}>;
export type CreateMarkdownFileParams = z.infer<typeof CreateMarkdownFileParams>;
export declare const ValidateMarkdownStructureParams: z.ZodObject<{
content: z.ZodString;
}, "strip", z.ZodTypeAny, {
content: string;
}, {
content: string;
}>;
export type ValidateMarkdownStructureParams = z.infer<typeof ValidateMarkdownStructureParams>;
export declare const ValidationResultSchema: z.ZodObject<{
valid: z.ZodBoolean;
hasFrontmatter: z.ZodBoolean;
hasInlineMetadata: z.ZodBoolean;
hasSectionIds: z.ZodBoolean;
errors: z.ZodArray<z.ZodString, "many">;
warnings: z.ZodArray<z.ZodString, "many">;
}, "strip", z.ZodTypeAny, {
valid: boolean;
hasFrontmatter: boolean;
hasInlineMetadata: boolean;
hasSectionIds: boolean;
errors: string[];
warnings: string[];
}, {
valid: boolean;
hasFrontmatter: boolean;
hasInlineMetadata: boolean;
hasSectionIds: boolean;
errors: string[];
warnings: string[];
}>;
export type ValidationResult = z.infer<typeof ValidationResultSchema>;
export declare const TEMPLATE_STRUCTURES: Record<TemplateType, string>;
//# sourceMappingURL=schemas.d.ts.map