UNPKG

camstreamerlib

Version:

Helper library for CamStreamer ACAP applications.

68 lines (67 loc) 2.33 kB
import { HttpOptions } from '../internal/types'; import { z } from 'zod'; export type CamScripterOptions = HttpOptions; export type TStorageType = 'INTERNAL' | 'SD_CARD'; export type TNodeState = 'OK' | 'NOT_INSTALLED' | 'NOT_FOUND'; export declare const packageInfoListSchema: z.ZodArray<z.ZodObject<{ storage: z.ZodUnion<[z.ZodLiteral<"SD_CARD">, z.ZodLiteral<"INTERNAL">]>; manifest: z.ZodObject<{ package_name: z.ZodString; package_menu_name: z.ZodString; package_version: z.ZodString; vendor: z.ZodString; required_camscripter_version: z.ZodString; required_camscripter_rbi_version: z.ZodString; ui_link: z.ZodString; }, "strip", z.ZodTypeAny, { package_name: string; package_menu_name: string; package_version: string; vendor: string; required_camscripter_version: string; required_camscripter_rbi_version: string; ui_link: string; }, { package_name: string; package_menu_name: string; package_version: string; vendor: string; required_camscripter_version: string; required_camscripter_rbi_version: string; ui_link: string; }>; }, "strip", z.ZodTypeAny, { storage: "INTERNAL" | "SD_CARD"; manifest: { package_name: string; package_menu_name: string; package_version: string; vendor: string; required_camscripter_version: string; required_camscripter_rbi_version: string; ui_link: string; }; }, { storage: "INTERNAL" | "SD_CARD"; manifest: { package_name: string; package_menu_name: string; package_version: string; vendor: string; required_camscripter_version: string; required_camscripter_rbi_version: string; ui_link: string; }; }>, "many">; export type TPackageInfoList = z.infer<typeof packageInfoListSchema>; export declare const storageSchema: z.ZodArray<z.ZodObject<{ type: z.ZodUnion<[z.ZodLiteral<"INTERNAL">, z.ZodLiteral<"SD_CARD">]>; capacity_mb: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "INTERNAL" | "SD_CARD"; capacity_mb: number; }, { type: "INTERNAL" | "SD_CARD"; capacity_mb: number; }>, "many">; export type TStorage = z.infer<typeof storageSchema>;