Files
NapCatQQ/.pnpm-store/v3/files/27/8c6cd291d83f5204a506daf371ce3a8729669e51f01025d12c2a924d27c153b24de8b741bc8688668149f1395e50e8487c0faba23126f94aa1fc7f17107fe8
TanTan e311ca3275
Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

23 lines
672 B
Plaintext

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.OptionalFromMappedResult = OptionalFromMappedResult;
const index_1 = require("../mapped/index");
const optional_1 = require("./optional");
// prettier-ignore
function FromProperties(P, F) {
const Acc = {};
for (const K2 of globalThis.Object.getOwnPropertyNames(P))
Acc[K2] = (0, optional_1.Optional)(P[K2], F);
return Acc;
}
// prettier-ignore
function FromMappedResult(R, F) {
return FromProperties(R.properties, F);
}
// prettier-ignore
function OptionalFromMappedResult(R, F) {
const P = FromMappedResult(R, F);
return (0, index_1.MappedResult)(P);
}