UNPKG

xcom2charpool

Version:

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

14 lines (13 loc) 759 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.CharacterPoolSchema = void 0; const v4_1 = __importDefault(require("zod/v4")); const ArrayOfStructSchema_1 = require("../Properties/Array/ArrayOfStructSchema"); const CharacterPoolDataItemSchema_1 = require("./CharacterPoolDataItemSchema"); exports.CharacterPoolSchema = v4_1.default.looseObject({ Props: v4_1.default.record(v4_1.default.string(), v4_1.default.unknown()), CharacterPool: (0, ArrayOfStructSchema_1.ArrayOfStructSchema)('CharacterPoolDataElement', CharacterPoolDataItemSchema_1.CharacterPoolDataItemSchema), });