UNPKG

@broadcom/endevor-bridge-for-git-for-zowe-cli

Version:

Endevor Bridge for Git plug-in for Zowe CLI

17 lines (13 loc) 425 B
'use strict'; var zod = require('zod'); const addElementSchema = zod.z .array(zod.z.object({ fullElmName: zod.z .string() .min(1, { message: "Element name must not be empty" }), typeName: zod.z .string() .min(1, { message: "Element type must not be empty" }), })) .min(1, { message: "Array must contain at least one element" }); exports.addElementSchema = addElementSchema;