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) • 564 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.ByteSchema = void 0;
const v4_1 = __importDefault(require("zod/v4"));
const BytePropertyValue_1 = require("./BytePropertyValue");
exports.ByteSchema = v4_1.default
.instanceof(BytePropertyValue_1.BytePropertyValue)
.check(v4_1.default.property('value', v4_1.default.string()), v4_1.default.property('type', v4_1.default.string()));