Files
NapCatQQ/.pnpm-store/v3/files/4f/aa56d0bdb283e28f43ae64600b39b84320891ca3e52dc5d0924f46ad99ea4fbd5fe24dfbc30f91fb2e8973f255e2f61f86680351e6378bd67776e53f99c8f6
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

25 lines
934 B
Plaintext

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.IndexFromMappedResult = IndexFromMappedResult;
const index_1 = require("../mapped/index");
const indexed_property_keys_1 = require("./indexed-property-keys");
const index_2 = require("./index");
// prettier-ignore
function FromProperties(type, properties, options) {
const result = {};
for (const K2 of Object.getOwnPropertyNames(properties)) {
result[K2] = (0, index_2.Index)(type, (0, indexed_property_keys_1.IndexPropertyKeys)(properties[K2]), options);
}
return result;
}
// prettier-ignore
function FromMappedResult(type, mappedResult, options) {
return FromProperties(type, mappedResult.properties, options);
}
// prettier-ignore
function IndexFromMappedResult(type, mappedResult, options) {
const properties = FromMappedResult(type, mappedResult, options);
return (0, index_1.MappedResult)(properties);
}