build: include production build artifacts in repo

This commit is contained in:
S. Esmaeili
2026-10-24 10:11:05 +03:30
parent dfd8a82809
commit 7399812d0e
213 changed files with 65702 additions and 2 deletions
+27
View File
@@ -0,0 +1,27 @@
import { z } from "zod";
/** Required, trimmed text */
export declare const req: (max?: number) => z.ZodString;
/** Optional, trimmed text (empty string when missing) */
export declare const text: (max?: number) => z.ZodDefault<z.ZodString>;
export declare const idSchema: z.ZodCoercedNumber<unknown>;
export declare const slugSchema: z.ZodString;
export declare const iconNameSchema: z.ZodString;
/** Image stored by URL inside section content */
export declare const imageRefSchema: z.ZodObject<{
url: z.ZodString;
alt: z.ZodDefault<z.ZodString>;
}, z.core.$strip>;
export type ImageRef = z.infer<typeof imageRefSchema>;
export declare const linkSchema: z.ZodObject<{
label: z.ZodString;
href: z.ZodString;
}, z.core.$strip>;
/** Field validation issue as returned by the API (`path` is dot-joined) */
export interface ValidationIssue {
path: string;
message: string;
}
export declare const toIssues: (error: z.ZodError) => ValidationIssue[];
/** Convert latin digits to Persian digits */
export declare const faNum: (v: number | string) => string;
//# sourceMappingURL=common.d.ts.map