camstreamerlib
Version:
Helper library for CamStreamer ACAP applications.
29 lines (28 loc) • 1.11 kB
TypeScript
import { z } from 'zod';
export declare const storageSchema: z.ZodUnion<[z.ZodLiteral<"flash">, z.ZodLiteral<"SD0">, z.ZodLiteral<"ftp">, z.ZodLiteral<"samba">, z.ZodLiteral<"url">]>;
export declare const fileSchema: z.ZodObject<{
name: z.ZodString;
path: z.ZodString;
storage: z.ZodUnion<[z.ZodLiteral<"flash">, z.ZodLiteral<"SD0">, z.ZodLiteral<"ftp">, z.ZodLiteral<"samba">, z.ZodLiteral<"url">]>;
}, "strip", z.ZodTypeAny, {
path: string;
name: string;
storage: "url" | "flash" | "SD0" | "ftp" | "samba";
}, {
path: string;
name: string;
storage: "url" | "flash" | "SD0" | "ftp" | "samba";
}>;
export declare const fileListSchema: z.ZodArray<z.ZodObject<{
name: z.ZodString;
path: z.ZodString;
storage: z.ZodUnion<[z.ZodLiteral<"flash">, z.ZodLiteral<"SD0">, z.ZodLiteral<"ftp">, z.ZodLiteral<"samba">, z.ZodLiteral<"url">]>;
}, "strip", z.ZodTypeAny, {
path: string;
name: string;
storage: "url" | "flash" | "SD0" | "ftp" | "samba";
}, {
path: string;
name: string;
storage: "url" | "flash" | "SD0" | "ftp" | "samba";
}>, "many">;