UNPKG

xcom2charpool

Version:

Library for reading, manipulating, and managing XCOM 2 character pool binary files, supporting both browser and Node.js environments.

12 lines (11 loc) 574 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.NameSchema = void 0; const v4_1 = __importDefault(require("zod/v4")); const NamePropertyValue_1 = require("./NamePropertyValue"); exports.NameSchema = v4_1.default .instanceof(NamePropertyValue_1.NamePropertyValue) .check(v4_1.default.property('value', v4_1.default.string()), v4_1.default.property('instanceId', v4_1.default.int().min(0)));