build: include production build artifacts in repo
This commit is contained in:
Vendored
+27
@@ -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
|
||||
Reference in New Issue
Block a user