UNPKG

@gleif-it/did-webs-ts

Version:
18 lines (17 loc) 463 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.XIPSchema = void 0; const zod_1 = require("zod"); exports.XIPSchema = zod_1.z.object({ v: zod_1.z.string(), t: zod_1.z.literal('xip'), d: zod_1.z.string(), i: zod_1.z.string(), ri: zod_1.z.string(), dt: zod_1.z.string(), r: zod_1.z.string(), q: zod_1.z.object({}).passthrough(), a: zod_1.z.object({ msg: zod_1.z.string(), }), });