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
23 lines
708 B
Plaintext
23 lines
708 B
Plaintext
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.RequiredFromMappedResult = RequiredFromMappedResult;
|
|
const index_1 = require("../mapped/index");
|
|
const required_1 = require("./required");
|
|
// prettier-ignore
|
|
function FromProperties(P, options) {
|
|
const Acc = {};
|
|
for (const K2 of globalThis.Object.getOwnPropertyNames(P))
|
|
Acc[K2] = (0, required_1.Required)(P[K2], options);
|
|
return Acc;
|
|
}
|
|
// prettier-ignore
|
|
function FromMappedResult(R, options) {
|
|
return FromProperties(R.properties, options);
|
|
}
|
|
// prettier-ignore
|
|
function RequiredFromMappedResult(R, options) {
|
|
const P = FromMappedResult(R, options);
|
|
return (0, index_1.MappedResult)(P);
|
|
}
|