UNPKG

@rnaga/wp-node

Version:

👉 **[View Full Documentation at rnaga.github.io/wp-node →](https://rnaga.github.io/wp-node/)**

10 lines (9 loc) • 325 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.roles = exports.role = void 0; const zod_1 = require("zod"); exports.role = zod_1.z.object({ name: zod_1.z.string(), capabilities: zod_1.z.array(zod_1.z.string()), }); exports.roles = zod_1.z.record(zod_1.z.string(), exports.role);