UNPKG

camstreamerlib

Version:

Helper library for CamStreamer ACAP applications.

13 lines (12 loc) 554 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ptzSchema = void 0; const zod_1 = require("zod"); const serviceCommonTypes_1 = require("./serviceCommonTypes"); exports.ptzSchema = serviceCommonTypes_1.serviceCommonSchema.extend({ name: zod_1.z.literal(serviceCommonTypes_1.serviceNames.ptz), ptz_positions: zod_1.z.record(zod_1.z.string(), zod_1.z.object({ overlayList: zod_1.z.array(serviceCommonTypes_1.overlaySchema.omit({ active: true, fps: true })), loop: zod_1.z.boolean(), })), });