@mpgd/cli 0.46.1 → 0.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/capacitor-shell-starter.d.ts +57 -1
- package/dist/capacitor-shell-starter.js +311 -34
- package/dist/index.js +23 -5
- package/dist/native-build-info.json +2 -2
- package/dist/native-build-target.js +613 -316
- package/package.json +11 -9
- package/templates/phaser-game/apps/target-ait/src/main.ts +17 -0
- package/templates/phaser-game/apps/target-ait/src/runtime-config.types.ts +2 -0
- package/templates/phaser-game/apps/target-ait/vite.config.ts +27 -0
- package/templates/phaser-game/apps/target-devvit/package.json +2 -1
- package/templates/phaser-game/apps/target-devvit/src/server/index.ts +35 -1
- package/templates/phaser-game/package.json +2 -0
- package/templates/phaser-game/src/main.ts +8 -1
- package/templates/phaser-game/src/platform/buildGateways/ait.ts +9 -0
- package/templates/phaser-game/src/platform/buildGateways/aitSandbox.ts +7 -0
- package/templates/phaser-game/src/platform/buildGateways/capacitorAndroid.ts +51 -2
- package/templates/phaser-game/src/platform/buildGateways/capacitorIos.ts +51 -2
- package/templates/phaser-game/src/platform/buildGateways/microsoftStore.ts +62 -26
- package/templates/phaser-game/src/platform/buildGateways/reddit.ts +36 -1
- package/templates/phaser-game/src/platform/buildGateways/verse8.ts +40 -2
- package/templates/phaser-game/src/platform/commerceAccountBinding.ts +79 -0
- package/templates/phaser-game/src/platform/commerceProducts.ts +69 -0
- package/templates/phaser-game/src/platform/gameServices.ts +22 -2
- package/templates/phaser-game/src/platform/monetizationJournal.ts +286 -0
- package/templates/phaser-game/src/platform/verse8Agent8Client.ts +23 -0
|
@@ -1882,7 +1882,7 @@ async function verifyAssetPackDelivery(options) {
|
|
|
1882
1882
|
positiveIntegerOption(failures, "maxEntryBytes", maxEntryBytes),
|
|
1883
1883
|
positiveIntegerOption(failures, "maxExpandedBytes", maxExpandedBytes),
|
|
1884
1884
|
...Object.entries(hostLimits ?? {}).map(([name, value]) => positiveIntegerOption(failures, `--${name.replace(/[A-Z]/gu, (letter) => `-${letter.toLowerCase()}`)}`, value))
|
|
1885
|
-
].every((
|
|
1885
|
+
].every((valid2) => valid2);
|
|
1886
1886
|
const startedAt = performance.now();
|
|
1887
1887
|
const deadlineBreached = () => {
|
|
1888
1888
|
if (performance.now() - startedAt <= verifyTimeoutMs) {
|
|
@@ -4959,9 +4959,230 @@ import { createHash as createHash7 } from "node:crypto";
|
|
|
4959
4959
|
import { existsSync as existsSync8, mkdirSync as mkdirSync5, readFileSync as readFileSync12, writeFileSync as writeFileSync6 } from "node:fs";
|
|
4960
4960
|
import { dirname as dirname7, join as join10 } from "node:path";
|
|
4961
4961
|
|
|
4962
|
+
// node_modules/.cache/mpgd-native-build/adapters/ait/src/iap-config.js
|
|
4963
|
+
var defaultAitCatalogTarget = "ait";
|
|
4964
|
+
function extractAitIapProductConfig(input, options = {}) {
|
|
4965
|
+
const target2 = options.target ?? defaultAitCatalogTarget;
|
|
4966
|
+
const sourceLabel = options.sourceLabel ?? "product catalog";
|
|
4967
|
+
if (!isRecord2(input) || !Array.isArray(input.products)) {
|
|
4968
|
+
throw new Error(`AIT product catalog is invalid: ${sourceLabel}`);
|
|
4969
|
+
}
|
|
4970
|
+
const products = input.products;
|
|
4971
|
+
const productIds = /* @__PURE__ */ new Set();
|
|
4972
|
+
const skus = /* @__PURE__ */ new Set();
|
|
4973
|
+
const iapProducts = [];
|
|
4974
|
+
for (const [index, product] of products.entries()) {
|
|
4975
|
+
if (!isRecord2(product) || typeof product.id !== "string" || product.id.trim().length === 0) {
|
|
4976
|
+
throw new Error(`AIT product catalog entry at index ${index} is invalid: ${sourceLabel}`);
|
|
4977
|
+
}
|
|
4978
|
+
if (productIds.has(product.id)) {
|
|
4979
|
+
throw new Error(`Duplicate AIT product ID "${product.id}" at index ${index}: ${sourceLabel}`);
|
|
4980
|
+
}
|
|
4981
|
+
productIds.add(product.id);
|
|
4982
|
+
if (product.type === "subscription") {
|
|
4983
|
+
continue;
|
|
4984
|
+
}
|
|
4985
|
+
const identifiers = product.platformProductIds;
|
|
4986
|
+
if (!isRecord2(identifiers) || !Object.prototype.hasOwnProperty.call(identifiers, target2)) {
|
|
4987
|
+
continue;
|
|
4988
|
+
}
|
|
4989
|
+
const value = identifiers[target2];
|
|
4990
|
+
if (typeof value !== "string") {
|
|
4991
|
+
continue;
|
|
4992
|
+
}
|
|
4993
|
+
const sku = value.trim();
|
|
4994
|
+
if (sku.length === 0) {
|
|
4995
|
+
continue;
|
|
4996
|
+
}
|
|
4997
|
+
if (skus.has(sku)) {
|
|
4998
|
+
throw new Error(`Duplicate AIT SKU "${sku}" for ${target2}: ${sourceLabel}`);
|
|
4999
|
+
}
|
|
5000
|
+
skus.add(sku);
|
|
5001
|
+
iapProducts.push({ productId: product.id, sku });
|
|
5002
|
+
}
|
|
5003
|
+
return iapProducts;
|
|
5004
|
+
}
|
|
5005
|
+
function isRecord2(value) {
|
|
5006
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
5007
|
+
}
|
|
5008
|
+
|
|
5009
|
+
// node_modules/.cache/mpgd-native-build/packages/bridge/src/index.js
|
|
5010
|
+
import * as _isTypeUint32_12 from "typia/lib/internal/_isTypeUint32";
|
|
5011
|
+
import * as _isFormatDateTime_12 from "typia/lib/internal/_isFormatDateTime";
|
|
5012
|
+
import * as _assertGuard_14 from "typia/lib/internal/_assertGuard";
|
|
5013
|
+
import * as _accessExpressionAsString_14 from "typia/lib/internal/_accessExpressionAsString";
|
|
5014
|
+
import typia4 from "typia";
|
|
5015
|
+
|
|
5016
|
+
// node_modules/.cache/mpgd-native-build/packages/platform/src/commerce.js
|
|
5017
|
+
import * as _isTypeInt64_1 from "typia/lib/internal/_isTypeInt64";
|
|
5018
|
+
import * as _isTypeUint32_1 from "typia/lib/internal/_isTypeUint32";
|
|
5019
|
+
import * as _isFormatDateTime_1 from "typia/lib/internal/_isFormatDateTime";
|
|
5020
|
+
import * as _assertGuard_13 from "typia/lib/internal/_assertGuard";
|
|
5021
|
+
import * as _accessExpressionAsString_13 from "typia/lib/internal/_accessExpressionAsString";
|
|
5022
|
+
import typia3 from "typia";
|
|
5023
|
+
var commerceErrorCodes = Object.freeze([
|
|
5024
|
+
"USER_CANCELLED",
|
|
5025
|
+
"OUTCOME_UNKNOWN",
|
|
5026
|
+
"ALREADY_OWNED",
|
|
5027
|
+
"IN_PROGRESS",
|
|
5028
|
+
"ITEM_UNAVAILABLE",
|
|
5029
|
+
"NOT_PREPARED",
|
|
5030
|
+
"NETWORK",
|
|
5031
|
+
"STORE_UNAVAILABLE",
|
|
5032
|
+
"CONFIGURATION_REQUIRED",
|
|
5033
|
+
"ACTION_REQUIRED",
|
|
5034
|
+
"ACCOUNT_BINDING_REQUIRED",
|
|
5035
|
+
"INSUFFICIENT_BALANCE",
|
|
5036
|
+
"INVALID_RESPONSE",
|
|
5037
|
+
"UNKNOWN"
|
|
5038
|
+
]);
|
|
5039
|
+
var commerceBridgeMethods = Object.freeze([
|
|
5040
|
+
"commerce.v2.getCapabilities",
|
|
5041
|
+
"commerce.v2.fetchProducts",
|
|
5042
|
+
"commerce.v2.requestPurchase",
|
|
5043
|
+
"commerce.v2.getAvailablePurchases",
|
|
5044
|
+
"commerce.v2.finishTransaction",
|
|
5045
|
+
"commerce.v2.restorePurchases"
|
|
5046
|
+
]);
|
|
5047
|
+
var commercePurchaseStates = Object.freeze([
|
|
5048
|
+
"requested",
|
|
5049
|
+
"launched",
|
|
5050
|
+
"pending",
|
|
5051
|
+
"purchased",
|
|
5052
|
+
"verifying",
|
|
5053
|
+
"granted",
|
|
5054
|
+
"finishing",
|
|
5055
|
+
"finished",
|
|
5056
|
+
"cancelled",
|
|
5057
|
+
"failed",
|
|
5058
|
+
"rejected",
|
|
5059
|
+
"revoked"
|
|
5060
|
+
]);
|
|
5061
|
+
var commercePurchaseTransitions = Object.freeze({
|
|
5062
|
+
requested: Object.freeze(["launched", "cancelled", "failed"]),
|
|
5063
|
+
launched: Object.freeze(["pending", "purchased", "cancelled", "failed"]),
|
|
5064
|
+
pending: Object.freeze(["purchased", "verifying", "cancelled", "failed"]),
|
|
5065
|
+
purchased: Object.freeze(["verifying"]),
|
|
5066
|
+
verifying: Object.freeze(["granted", "pending", "rejected"]),
|
|
5067
|
+
granted: Object.freeze(["finishing", "finished", "revoked"]),
|
|
5068
|
+
finishing: Object.freeze(["finished", "revoked"]),
|
|
5069
|
+
finished: Object.freeze(["revoked"]),
|
|
5070
|
+
cancelled: Object.freeze([]),
|
|
5071
|
+
failed: Object.freeze([]),
|
|
5072
|
+
rejected: Object.freeze([]),
|
|
5073
|
+
revoked: Object.freeze([])
|
|
5074
|
+
});
|
|
5075
|
+
var terminalCommercePurchaseStates = Object.freeze([
|
|
5076
|
+
"finished",
|
|
5077
|
+
"cancelled",
|
|
5078
|
+
"failed",
|
|
5079
|
+
"rejected",
|
|
5080
|
+
"revoked"
|
|
5081
|
+
]);
|
|
5082
|
+
var purchaseKindToProductType = Object.freeze({
|
|
5083
|
+
consumable: "consumable",
|
|
5084
|
+
durable: "non_consumable",
|
|
5085
|
+
subscription: "subscription"
|
|
5086
|
+
});
|
|
5087
|
+
|
|
5088
|
+
// node_modules/.cache/mpgd-native-build/packages/bridge/src/index.js
|
|
5089
|
+
var bridgeCommerceV2Methods = commerceBridgeMethods;
|
|
5090
|
+
var bridgeCommerceV2MethodSet = new Set(bridgeCommerceV2Methods);
|
|
5091
|
+
|
|
5092
|
+
// node_modules/.cache/mpgd-native-build/adapters/devvit/src/catalog-products.js
|
|
5093
|
+
var defaultDevvitCatalogTarget = "reddit";
|
|
5094
|
+
function createDevvitCommerceBridgeProducts(catalog, target2 = defaultDevvitCatalogTarget) {
|
|
5095
|
+
const skus = /* @__PURE__ */ new Set();
|
|
5096
|
+
const productIds = /* @__PURE__ */ new Set();
|
|
5097
|
+
const products = [];
|
|
5098
|
+
for (const product of catalog.products) {
|
|
5099
|
+
const sku = readSku(product, target2);
|
|
5100
|
+
if (sku === void 0 || product.type === "subscription") {
|
|
5101
|
+
continue;
|
|
5102
|
+
}
|
|
5103
|
+
if (productIds.has(product.id)) {
|
|
5104
|
+
throw new TypeError(`Duplicate Devvit logical product ID: ${product.id}`);
|
|
5105
|
+
}
|
|
5106
|
+
if (skus.has(sku)) {
|
|
5107
|
+
throw new TypeError(`Duplicate Devvit product SKU: ${sku}`);
|
|
5108
|
+
}
|
|
5109
|
+
productIds.add(product.id);
|
|
5110
|
+
skus.add(sku);
|
|
5111
|
+
products.push(Object.freeze({ productId: product.id, sku }));
|
|
5112
|
+
}
|
|
5113
|
+
return Object.freeze(products);
|
|
5114
|
+
}
|
|
5115
|
+
function readSku(product, target2) {
|
|
5116
|
+
const identifiers = product.platformProductIds;
|
|
5117
|
+
if (!Object.prototype.hasOwnProperty.call(identifiers, target2)) {
|
|
5118
|
+
return void 0;
|
|
5119
|
+
}
|
|
5120
|
+
const value = identifiers[target2];
|
|
5121
|
+
if (typeof value !== "string") {
|
|
5122
|
+
return void 0;
|
|
5123
|
+
}
|
|
5124
|
+
const sku = value.trim();
|
|
5125
|
+
return sku.length === 0 ? void 0 : sku;
|
|
5126
|
+
}
|
|
5127
|
+
|
|
5128
|
+
// node_modules/.cache/mpgd-native-build/packages/game-services/src/validation.js
|
|
5129
|
+
var gameServicesRequestLimits = {
|
|
5130
|
+
/** Maximum length of any identifier or timestamp string in a client request. */
|
|
5131
|
+
maxStringLength: 256,
|
|
5132
|
+
/** Maximum number of entries accepted inside a platform evidence payload. */
|
|
5133
|
+
maxEvidencePayloadEntries: 64,
|
|
5134
|
+
/** Maximum request body size accepted by the HTTP and oRPC fetch handlers. */
|
|
5135
|
+
maxBodyBytes: 64 * 1024
|
|
5136
|
+
};
|
|
5137
|
+
|
|
5138
|
+
// node_modules/.cache/mpgd-native-build/packages/game-services/src/types.js
|
|
5139
|
+
var reservedDeploymentTargetNames = /* @__PURE__ */ new Set([
|
|
5140
|
+
"aux",
|
|
5141
|
+
"browser",
|
|
5142
|
+
"con",
|
|
5143
|
+
"devvit",
|
|
5144
|
+
"index",
|
|
5145
|
+
"msstore",
|
|
5146
|
+
"nul",
|
|
5147
|
+
"prn",
|
|
5148
|
+
"constructor",
|
|
5149
|
+
"prototype",
|
|
5150
|
+
...Array.from({ length: 9 }, (_, index) => `com${String(index + 1)}`),
|
|
5151
|
+
...Array.from({ length: 9 }, (_, index) => `lpt${String(index + 1)}`)
|
|
5152
|
+
]);
|
|
5153
|
+
|
|
5154
|
+
// node_modules/.cache/mpgd-native-build/packages/game-services/src/commerce-evidence-registry.js
|
|
5155
|
+
var defaultPurchaseCapabilities = Object.freeze({
|
|
5156
|
+
consumable: true,
|
|
5157
|
+
durable: true,
|
|
5158
|
+
subscription: false
|
|
5159
|
+
});
|
|
5160
|
+
var referenceCommerceLedgerTargets = Object.freeze({
|
|
5161
|
+
"google-play": Object.freeze(["android"]),
|
|
5162
|
+
"app-store": Object.freeze(["ios"]),
|
|
5163
|
+
"microsoft-store": Object.freeze(["microsoft-store"]),
|
|
5164
|
+
"apps-in-toss": Object.freeze(["ait"]),
|
|
5165
|
+
devvit: Object.freeze(["reddit"]),
|
|
5166
|
+
verse8: Object.freeze(["verse8"])
|
|
5167
|
+
});
|
|
5168
|
+
var referenceCommercePurchaseCapabilities = Object.freeze({
|
|
5169
|
+
"google-play": Object.freeze({ consumable: true, durable: true, subscription: false }),
|
|
5170
|
+
"app-store": Object.freeze({ consumable: true, durable: true, subscription: false }),
|
|
5171
|
+
"microsoft-store": Object.freeze({ consumable: true, durable: false, subscription: false }),
|
|
5172
|
+
"apps-in-toss": Object.freeze({ consumable: true, durable: true, subscription: false }),
|
|
5173
|
+
devvit: Object.freeze({ consumable: true, durable: true, subscription: false }),
|
|
5174
|
+
verse8: Object.freeze({ consumable: true, durable: true, subscription: false })
|
|
5175
|
+
});
|
|
5176
|
+
|
|
5177
|
+
// node_modules/.cache/mpgd-native-build/adapters/devvit/src/server/post-operation.js
|
|
5178
|
+
var maximumLeaseTtlMs = 60 * 60 * 1e3;
|
|
5179
|
+
|
|
5180
|
+
// node_modules/.cache/mpgd-native-build/packages/game-services/src/verified-leaderboard.js
|
|
5181
|
+
var timestampPattern = new RegExp("^(\\d{4})-(\\d{2})-(\\d{2})T(\\d{2}):(\\d{2}):(\\d{2})(?:\\.(\\d{1,3}))?(Z|([+-])(\\d{2}):(\\d{2}))$");
|
|
5182
|
+
|
|
4962
5183
|
// node_modules/.cache/mpgd-native-build/packages/cli/src/target-name.js
|
|
4963
5184
|
var deploymentTargetNamePattern = /^[a-z0-9]+(?:-[a-z0-9]+)*$/u;
|
|
4964
|
-
var
|
|
5185
|
+
var reservedDeploymentTargetNames2 = /* @__PURE__ */ new Set([
|
|
4965
5186
|
"aux",
|
|
4966
5187
|
"browser",
|
|
4967
5188
|
"con",
|
|
@@ -4977,7 +5198,7 @@ var reservedDeploymentTargetNames = /* @__PURE__ */ new Set([
|
|
|
4977
5198
|
]);
|
|
4978
5199
|
var maximumDeploymentTargetNameLength = 64;
|
|
4979
5200
|
function assertDeploymentTargetName(target2) {
|
|
4980
|
-
if (!deploymentTargetNamePattern.test(target2) || target2.length > maximumDeploymentTargetNameLength ||
|
|
5201
|
+
if (!deploymentTargetNamePattern.test(target2) || target2.length > maximumDeploymentTargetNameLength || reservedDeploymentTargetNames2.has(target2)) {
|
|
4981
5202
|
throw new Error(`Invalid deployment target name: ${target2}. Use lowercase kebab-case and avoid reserved names.`);
|
|
4982
5203
|
}
|
|
4983
5204
|
}
|
|
@@ -5214,7 +5435,7 @@ function assertMiniGameArtifactPathsPortable(paths) {
|
|
|
5214
5435
|
}
|
|
5215
5436
|
}
|
|
5216
5437
|
function readMiniGameSubpackages(gameConfig) {
|
|
5217
|
-
if (!
|
|
5438
|
+
if (!isRecord3(gameConfig)) {
|
|
5218
5439
|
throw new Error("Mini-game game.json must contain a JSON object.");
|
|
5219
5440
|
}
|
|
5220
5441
|
if (gameConfig.subpackages === void 0) {
|
|
@@ -5224,7 +5445,7 @@ function readMiniGameSubpackages(gameConfig) {
|
|
|
5224
5445
|
throw new Error("Mini-game game.json subpackages must be an array.");
|
|
5225
5446
|
}
|
|
5226
5447
|
return gameConfig.subpackages.map((input, index) => {
|
|
5227
|
-
if (!
|
|
5448
|
+
if (!isRecord3(input) || typeof input.root !== "string") {
|
|
5228
5449
|
throw new Error(`Mini-game subpackage ${String(index)} must define a string root.`);
|
|
5229
5450
|
}
|
|
5230
5451
|
if (input.independent !== void 0 && typeof input.independent !== "boolean") {
|
|
@@ -5306,7 +5527,7 @@ function assertMiniGameArtifactPathAllowed(path10) {
|
|
|
5306
5527
|
throw new Error(`Mini-game Canvas MVP does not support audio assets yet: ${path10}`);
|
|
5307
5528
|
}
|
|
5308
5529
|
}
|
|
5309
|
-
function
|
|
5530
|
+
function isRecord3(input) {
|
|
5310
5531
|
return typeof input === "object" && input !== null && !Array.isArray(input);
|
|
5311
5532
|
}
|
|
5312
5533
|
function formatError4(error) {
|
|
@@ -5314,10 +5535,10 @@ function formatError4(error) {
|
|
|
5314
5535
|
}
|
|
5315
5536
|
|
|
5316
5537
|
// node_modules/.cache/mpgd-native-build/tools/target/schemas.js
|
|
5317
|
-
import * as
|
|
5318
|
-
import * as
|
|
5319
|
-
import
|
|
5320
|
-
var __typia_transform__accessExpressionAsString =
|
|
5538
|
+
import * as _assertGuard_15 from "typia/lib/internal/_assertGuard";
|
|
5539
|
+
import * as _accessExpressionAsString_15 from "typia/lib/internal/_accessExpressionAsString";
|
|
5540
|
+
import typia5 from "typia";
|
|
5541
|
+
var __typia_transform__accessExpressionAsString = _accessExpressionAsString_15._accessExpressionAsString;
|
|
5321
5542
|
var assertPlatformTargetsConfig = /* @__PURE__ */ (() => {
|
|
5322
5543
|
const _ip0 = (input) => void 0 === input["assetPacks"] || "object" === typeof input["assetPacks"] && null !== input["assetPacks"] && _io3(input["assetPacks"]);
|
|
5323
5544
|
const _ip1 = (input) => "string" === typeof input["gameApp"];
|
|
@@ -5329,75 +5550,75 @@ var assertPlatformTargetsConfig = /* @__PURE__ */ (() => {
|
|
|
5329
5550
|
const _ip7 = (input) => "string" === typeof input["wrapperApp"];
|
|
5330
5551
|
const _ip8 = (input) => "string" === typeof input["webDir"];
|
|
5331
5552
|
const _ip9 = (input) => "string" === typeof input["output"];
|
|
5332
|
-
const _ap0 = (input, _path, _exceptionable = true) => void 0 === input["assetPacks"] || ("object" === typeof input["assetPacks"] && null !== input["assetPacks"] ||
|
|
5553
|
+
const _ap0 = (input, _path, _exceptionable = true) => void 0 === input["assetPacks"] || ("object" === typeof input["assetPacks"] && null !== input["assetPacks"] || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5333
5554
|
method: "typia.createAssert",
|
|
5334
5555
|
path: _path + ".assetPacks",
|
|
5335
5556
|
expected: "(AssetPackTargetPolicy | undefined)",
|
|
5336
5557
|
value: input["assetPacks"]
|
|
5337
|
-
}, _errorFactory)) && _ao3(input["assetPacks"], _path + ".assetPacks", _exceptionable) ||
|
|
5558
|
+
}, _errorFactory)) && _ao3(input["assetPacks"], _path + ".assetPacks", _exceptionable) || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5338
5559
|
method: "typia.createAssert",
|
|
5339
5560
|
path: _path + ".assetPacks",
|
|
5340
5561
|
expected: "(AssetPackTargetPolicy | undefined)",
|
|
5341
5562
|
value: input["assetPacks"]
|
|
5342
5563
|
}, _errorFactory);
|
|
5343
|
-
const _ap1 = (input, _path, _exceptionable = true) => "string" === typeof input["gameApp"] ||
|
|
5564
|
+
const _ap1 = (input, _path, _exceptionable = true) => "string" === typeof input["gameApp"] || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5344
5565
|
method: "typia.createAssert",
|
|
5345
5566
|
path: _path + ".gameApp",
|
|
5346
5567
|
expected: "string",
|
|
5347
5568
|
value: input["gameApp"]
|
|
5348
5569
|
}, _errorFactory);
|
|
5349
|
-
const _ap2 = (input, _path, _exceptionable = true) => "string" === typeof input["adapter"] ||
|
|
5570
|
+
const _ap2 = (input, _path, _exceptionable = true) => "string" === typeof input["adapter"] || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5350
5571
|
method: "typia.createAssert",
|
|
5351
5572
|
path: _path + ".adapter",
|
|
5352
5573
|
expected: "string",
|
|
5353
5574
|
value: input["adapter"]
|
|
5354
5575
|
}, _errorFactory);
|
|
5355
|
-
const _ap3 = (input, _path, _exceptionable = true) => void 0 === input["metadata"] || ("object" === typeof input["metadata"] && null !== input["metadata"] && false === Array.isArray(input["metadata"]) ||
|
|
5576
|
+
const _ap3 = (input, _path, _exceptionable = true) => void 0 === input["metadata"] || ("object" === typeof input["metadata"] && null !== input["metadata"] && false === Array.isArray(input["metadata"]) || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5356
5577
|
method: "typia.createAssert",
|
|
5357
5578
|
path: _path + ".metadata",
|
|
5358
5579
|
expected: "(TargetReleaseMetadata | undefined)",
|
|
5359
5580
|
value: input["metadata"]
|
|
5360
|
-
}, _errorFactory)) && _ao5(input["metadata"], _path + ".metadata", _exceptionable) ||
|
|
5581
|
+
}, _errorFactory)) && _ao5(input["metadata"], _path + ".metadata", _exceptionable) || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5361
5582
|
method: "typia.createAssert",
|
|
5362
5583
|
path: _path + ".metadata",
|
|
5363
5584
|
expected: "(TargetReleaseMetadata | undefined)",
|
|
5364
5585
|
value: input["metadata"]
|
|
5365
5586
|
}, _errorFactory);
|
|
5366
|
-
const _ap4 = (input, _path, _exceptionable = true) => void 0 === input["authoritativeGameServices"] || "boolean" === typeof input["authoritativeGameServices"] ||
|
|
5587
|
+
const _ap4 = (input, _path, _exceptionable = true) => void 0 === input["authoritativeGameServices"] || "boolean" === typeof input["authoritativeGameServices"] || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5367
5588
|
method: "typia.createAssert",
|
|
5368
5589
|
path: _path + ".authoritativeGameServices",
|
|
5369
5590
|
expected: "(boolean | undefined)",
|
|
5370
5591
|
value: input["authoritativeGameServices"]
|
|
5371
5592
|
}, _errorFactory);
|
|
5372
|
-
const _ap5 = (input, _path, _exceptionable = true) => void 0 === input["integrations"] || ("object" === typeof input["integrations"] && null !== input["integrations"] && false === Array.isArray(input["integrations"]) ||
|
|
5593
|
+
const _ap5 = (input, _path, _exceptionable = true) => void 0 === input["integrations"] || ("object" === typeof input["integrations"] && null !== input["integrations"] && false === Array.isArray(input["integrations"]) || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5373
5594
|
method: "typia.createAssert",
|
|
5374
5595
|
path: _path + ".integrations",
|
|
5375
5596
|
expected: "(Partial<TargetIntegrationConfig> | undefined)",
|
|
5376
5597
|
value: input["integrations"]
|
|
5377
|
-
}, _errorFactory)) && _ao6(input["integrations"], _path + ".integrations", _exceptionable) ||
|
|
5598
|
+
}, _errorFactory)) && _ao6(input["integrations"], _path + ".integrations", _exceptionable) || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5378
5599
|
method: "typia.createAssert",
|
|
5379
5600
|
path: _path + ".integrations",
|
|
5380
5601
|
expected: "(Partial<TargetIntegrationConfig> | undefined)",
|
|
5381
5602
|
value: input["integrations"]
|
|
5382
5603
|
}, _errorFactory);
|
|
5383
|
-
const _ap6 = (input, _path, _exceptionable = true) => void 0 === input["icon"] || ("object" === typeof input["icon"] && null !== input["icon"] && false === Array.isArray(input["icon"]) ||
|
|
5604
|
+
const _ap6 = (input, _path, _exceptionable = true) => void 0 === input["icon"] || ("object" === typeof input["icon"] && null !== input["icon"] && false === Array.isArray(input["icon"]) || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5384
5605
|
method: "typia.createAssert",
|
|
5385
5606
|
path: _path + ".icon",
|
|
5386
5607
|
expected: "(TargetIconConfig | undefined)",
|
|
5387
5608
|
value: input["icon"]
|
|
5388
|
-
}, _errorFactory)) && _ao7(input["icon"], _path + ".icon", _exceptionable) ||
|
|
5609
|
+
}, _errorFactory)) && _ao7(input["icon"], _path + ".icon", _exceptionable) || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5389
5610
|
method: "typia.createAssert",
|
|
5390
5611
|
path: _path + ".icon",
|
|
5391
5612
|
expected: "(TargetIconConfig | undefined)",
|
|
5392
5613
|
value: input["icon"]
|
|
5393
5614
|
}, _errorFactory);
|
|
5394
|
-
const _ap7 = (input, _path, _exceptionable = true) => "string" === typeof input["wrapperApp"] ||
|
|
5615
|
+
const _ap7 = (input, _path, _exceptionable = true) => "string" === typeof input["wrapperApp"] || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5395
5616
|
method: "typia.createAssert",
|
|
5396
5617
|
path: _path + ".wrapperApp",
|
|
5397
5618
|
expected: "string",
|
|
5398
5619
|
value: input["wrapperApp"]
|
|
5399
5620
|
}, _errorFactory);
|
|
5400
|
-
const _ap8 = (input, _path, _exceptionable = true) => "string" === typeof input["webDir"] ||
|
|
5621
|
+
const _ap8 = (input, _path, _exceptionable = true) => "string" === typeof input["webDir"] || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5401
5622
|
method: "typia.createAssert",
|
|
5402
5623
|
path: _path + ".webDir",
|
|
5403
5624
|
expected: "string",
|
|
@@ -5405,18 +5626,18 @@ var assertPlatformTargetsConfig = /* @__PURE__ */ (() => {
|
|
|
5405
5626
|
}, _errorFactory);
|
|
5406
5627
|
const _ae0 = '("action-required" | "approval-required" | "available" | "configuration-required" | "disabled" | "temporarily-unavailable" | "unsupported" | undefined)';
|
|
5407
5628
|
const _ae1 = "(undefined | { readonly maskable?: string; readonly androidForeground?: string; readonly monochrome?: string; readonly background?: string; })";
|
|
5408
|
-
const _ap9 = (input, _path, _exceptionable = true) => "string" === typeof input["output"] ||
|
|
5629
|
+
const _ap9 = (input, _path, _exceptionable = true) => "string" === typeof input["output"] || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5409
5630
|
method: "typia.createAssert",
|
|
5410
5631
|
path: _path + ".output",
|
|
5411
5632
|
expected: "string",
|
|
5412
5633
|
value: input["output"]
|
|
5413
5634
|
}, _errorFactory);
|
|
5414
|
-
const _ao0 = (input, _path, _exceptionable = true) => ("object" === typeof input.targets && null !== input.targets && false === Array.isArray(input.targets) ||
|
|
5635
|
+
const _ao0 = (input, _path, _exceptionable = true) => ("object" === typeof input.targets && null !== input.targets && false === Array.isArray(input.targets) || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5415
5636
|
method: "typia.createAssert",
|
|
5416
5637
|
path: _path + ".targets",
|
|
5417
5638
|
expected: "Record<string, PlatformTargetConfig>",
|
|
5418
5639
|
value: input.targets
|
|
5419
|
-
}, _errorFactory)) && _ao1(input.targets, _path + ".targets", _exceptionable) ||
|
|
5640
|
+
}, _errorFactory)) && _ao1(input.targets, _path + ".targets", _exceptionable) || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5420
5641
|
method: "typia.createAssert",
|
|
5421
5642
|
path: _path + ".targets",
|
|
5422
5643
|
expected: "Record<string, PlatformTargetConfig>",
|
|
@@ -5426,190 +5647,190 @@ var assertPlatformTargetsConfig = /* @__PURE__ */ (() => {
|
|
|
5426
5647
|
const value = input[key];
|
|
5427
5648
|
if (void 0 === value)
|
|
5428
5649
|
return true;
|
|
5429
|
-
return ("object" === typeof value && null !== value ||
|
|
5650
|
+
return ("object" === typeof value && null !== value || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5430
5651
|
method: "typia.createAssert",
|
|
5431
5652
|
path: _path + __typia_transform__accessExpressionAsString(key),
|
|
5432
5653
|
expected: "(AppsInTossTargetConfig | CapacitorTargetConfig | DevvitTargetConfig | MiniGameTargetConfig | WebTargetConfig)",
|
|
5433
5654
|
value
|
|
5434
|
-
}, _errorFactory)) && _au0(value, _path + __typia_transform__accessExpressionAsString(key), _exceptionable) ||
|
|
5655
|
+
}, _errorFactory)) && _au0(value, _path + __typia_transform__accessExpressionAsString(key), _exceptionable) || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5435
5656
|
method: "typia.createAssert",
|
|
5436
5657
|
path: _path + __typia_transform__accessExpressionAsString(key),
|
|
5437
5658
|
expected: "(AppsInTossTargetConfig | CapacitorTargetConfig | DevvitTargetConfig | MiniGameTargetConfig | WebTargetConfig)",
|
|
5438
5659
|
value
|
|
5439
5660
|
}, _errorFactory);
|
|
5440
5661
|
});
|
|
5441
|
-
const _ao10 = (input, _path, _exceptionable = true) => _ap0(input, _path, _exceptionable) && _ap1(input, _path, _exceptionable) && _ap2(input, _path, _exceptionable) && _ap3(input, _path, _exceptionable) && _ap4(input, _path, _exceptionable) && _ap5(input, _path, _exceptionable) && _ap6(input, _path, _exceptionable) && ("capacitor-android" === input.kind || "capacitor-ios" === input.kind ||
|
|
5662
|
+
const _ao10 = (input, _path, _exceptionable = true) => _ap0(input, _path, _exceptionable) && _ap1(input, _path, _exceptionable) && _ap2(input, _path, _exceptionable) && _ap3(input, _path, _exceptionable) && _ap4(input, _path, _exceptionable) && _ap5(input, _path, _exceptionable) && _ap6(input, _path, _exceptionable) && ("capacitor-android" === input.kind || "capacitor-ios" === input.kind || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5442
5663
|
method: "typia.createAssert",
|
|
5443
5664
|
path: _path + ".kind",
|
|
5444
5665
|
expected: '("capacitor-android" | "capacitor-ios")',
|
|
5445
5666
|
value: input.kind
|
|
5446
|
-
}, _errorFactory)) && ("string" === typeof input.shellApp ||
|
|
5667
|
+
}, _errorFactory)) && ("string" === typeof input.shellApp || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5447
5668
|
method: "typia.createAssert",
|
|
5448
5669
|
path: _path + ".shellApp",
|
|
5449
5670
|
expected: "string",
|
|
5450
5671
|
value: input.shellApp
|
|
5451
|
-
}, _errorFactory)) && _ap8(input, _path, _exceptionable) && ("aab" === input.artifact || "apk" === input.artifact || "ipa" === input.artifact ||
|
|
5672
|
+
}, _errorFactory)) && _ap8(input, _path, _exceptionable) && ("aab" === input.artifact || "apk" === input.artifact || "ipa" === input.artifact || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5452
5673
|
method: "typia.createAssert",
|
|
5453
5674
|
path: _path + ".artifact",
|
|
5454
5675
|
expected: '("aab" | "apk" | "ipa")',
|
|
5455
5676
|
value: input.artifact
|
|
5456
5677
|
}, _errorFactory));
|
|
5457
|
-
const _ao11 = (input, _path, _exceptionable = true) => _ap0(input, _path, _exceptionable) && _ap1(input, _path, _exceptionable) && _ap2(input, _path, _exceptionable) && _ap3(input, _path, _exceptionable) && _ap4(input, _path, _exceptionable) && _ap5(input, _path, _exceptionable) && _ap6(input, _path, _exceptionable) && ("devvit-web" === input.kind ||
|
|
5678
|
+
const _ao11 = (input, _path, _exceptionable = true) => _ap0(input, _path, _exceptionable) && _ap1(input, _path, _exceptionable) && _ap2(input, _path, _exceptionable) && _ap3(input, _path, _exceptionable) && _ap4(input, _path, _exceptionable) && _ap5(input, _path, _exceptionable) && _ap6(input, _path, _exceptionable) && ("devvit-web" === input.kind || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5458
5679
|
method: "typia.createAssert",
|
|
5459
5680
|
path: _path + ".kind",
|
|
5460
5681
|
expected: '"devvit-web"',
|
|
5461
5682
|
value: input.kind
|
|
5462
|
-
}, _errorFactory)) && _ap7(input, _path, _exceptionable) && _ap8(input, _path, _exceptionable) && ("devvit" === input.artifact ||
|
|
5683
|
+
}, _errorFactory)) && _ap7(input, _path, _exceptionable) && _ap8(input, _path, _exceptionable) && ("devvit" === input.artifact || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5463
5684
|
method: "typia.createAssert",
|
|
5464
5685
|
path: _path + ".artifact",
|
|
5465
5686
|
expected: '"devvit"',
|
|
5466
5687
|
value: input.artifact
|
|
5467
5688
|
}, _errorFactory));
|
|
5468
|
-
const _ao12 = (input, _path, _exceptionable = true) => _ap0(input, _path, _exceptionable) && _ap1(input, _path, _exceptionable) && _ap2(input, _path, _exceptionable) && _ap3(input, _path, _exceptionable) && _ap4(input, _path, _exceptionable) && _ap5(input, _path, _exceptionable) && _ap6(input, _path, _exceptionable) && ("tiktok-minigame" === input.kind || "wechat-minigame" === input.kind ||
|
|
5689
|
+
const _ao12 = (input, _path, _exceptionable = true) => _ap0(input, _path, _exceptionable) && _ap1(input, _path, _exceptionable) && _ap2(input, _path, _exceptionable) && _ap3(input, _path, _exceptionable) && _ap4(input, _path, _exceptionable) && _ap5(input, _path, _exceptionable) && _ap6(input, _path, _exceptionable) && ("tiktok-minigame" === input.kind || "wechat-minigame" === input.kind || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5469
5690
|
method: "typia.createAssert",
|
|
5470
5691
|
path: _path + ".kind",
|
|
5471
5692
|
expected: '("tiktok-minigame" | "wechat-minigame")',
|
|
5472
5693
|
value: input.kind
|
|
5473
|
-
}, _errorFactory)) && _ap9(input, _path, _exceptionable) && ("canvas" === input.renderer ||
|
|
5694
|
+
}, _errorFactory)) && _ap9(input, _path, _exceptionable) && ("canvas" === input.renderer || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5474
5695
|
method: "typia.createAssert",
|
|
5475
5696
|
path: _path + ".renderer",
|
|
5476
5697
|
expected: '"canvas"',
|
|
5477
5698
|
value: input.renderer
|
|
5478
|
-
}, _errorFactory)) && ("landscape" === input.orientation || "portrait" === input.orientation ||
|
|
5699
|
+
}, _errorFactory)) && ("landscape" === input.orientation || "portrait" === input.orientation || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5479
5700
|
method: "typia.createAssert",
|
|
5480
5701
|
path: _path + ".orientation",
|
|
5481
5702
|
expected: '("landscape" | "portrait")',
|
|
5482
5703
|
value: input.orientation
|
|
5483
|
-
}, _errorFactory)) && (true === input.experimental ||
|
|
5704
|
+
}, _errorFactory)) && (true === input.experimental || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5484
5705
|
method: "typia.createAssert",
|
|
5485
5706
|
path: _path + ".experimental",
|
|
5486
5707
|
expected: "true",
|
|
5487
5708
|
value: input.experimental
|
|
5488
|
-
}, _errorFactory)) && (void 0 === input.remoteAssetOrigins || (Array.isArray(input.remoteAssetOrigins) ||
|
|
5709
|
+
}, _errorFactory)) && (void 0 === input.remoteAssetOrigins || (Array.isArray(input.remoteAssetOrigins) || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5489
5710
|
method: "typia.createAssert",
|
|
5490
5711
|
path: _path + ".remoteAssetOrigins",
|
|
5491
5712
|
expected: "(ReadonlyArray<string> | undefined)",
|
|
5492
5713
|
value: input.remoteAssetOrigins
|
|
5493
|
-
}, _errorFactory)) && input.remoteAssetOrigins.every((elem, _index4) => "string" === typeof elem ||
|
|
5714
|
+
}, _errorFactory)) && input.remoteAssetOrigins.every((elem, _index4) => "string" === typeof elem || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5494
5715
|
method: "typia.createAssert",
|
|
5495
5716
|
path: _path + ".remoteAssetOrigins[" + _index4 + "]",
|
|
5496
5717
|
expected: "string",
|
|
5497
5718
|
value: elem
|
|
5498
|
-
}, _errorFactory)) ||
|
|
5719
|
+
}, _errorFactory)) || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5499
5720
|
method: "typia.createAssert",
|
|
5500
5721
|
path: _path + ".remoteAssetOrigins",
|
|
5501
5722
|
expected: "(ReadonlyArray<string> | undefined)",
|
|
5502
5723
|
value: input.remoteAssetOrigins
|
|
5503
|
-
}, _errorFactory)) && (("object" === typeof input.packageBudget && null !== input.packageBudget ||
|
|
5724
|
+
}, _errorFactory)) && (("object" === typeof input.packageBudget && null !== input.packageBudget || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5504
5725
|
method: "typia.createAssert",
|
|
5505
5726
|
path: _path + ".packageBudget",
|
|
5506
5727
|
expected: "MiniGamePackageBudget",
|
|
5507
5728
|
value: input.packageBudget
|
|
5508
|
-
}, _errorFactory)) && _ao13(input.packageBudget, _path + ".packageBudget", _exceptionable) ||
|
|
5729
|
+
}, _errorFactory)) && _ao13(input.packageBudget, _path + ".packageBudget", _exceptionable) || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5509
5730
|
method: "typia.createAssert",
|
|
5510
5731
|
path: _path + ".packageBudget",
|
|
5511
5732
|
expected: "MiniGamePackageBudget",
|
|
5512
5733
|
value: input.packageBudget
|
|
5513
5734
|
}, _errorFactory));
|
|
5514
|
-
const _ao13 = (input, _path, _exceptionable = true) => ("number" === typeof input.mainBytes ||
|
|
5735
|
+
const _ao13 = (input, _path, _exceptionable = true) => ("number" === typeof input.mainBytes || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5515
5736
|
method: "typia.createAssert",
|
|
5516
5737
|
path: _path + ".mainBytes",
|
|
5517
5738
|
expected: "number",
|
|
5518
5739
|
value: input.mainBytes
|
|
5519
|
-
}, _errorFactory)) && ("number" === typeof input.totalBytes ||
|
|
5740
|
+
}, _errorFactory)) && ("number" === typeof input.totalBytes || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5520
5741
|
method: "typia.createAssert",
|
|
5521
5742
|
path: _path + ".totalBytes",
|
|
5522
5743
|
expected: "number",
|
|
5523
5744
|
value: input.totalBytes
|
|
5524
|
-
}, _errorFactory)) && (void 0 === input.independentSubpackageBytes || "number" === typeof input.independentSubpackageBytes ||
|
|
5745
|
+
}, _errorFactory)) && (void 0 === input.independentSubpackageBytes || "number" === typeof input.independentSubpackageBytes || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5525
5746
|
method: "typia.createAssert",
|
|
5526
5747
|
path: _path + ".independentSubpackageBytes",
|
|
5527
5748
|
expected: "(number | undefined)",
|
|
5528
5749
|
value: input.independentSubpackageBytes
|
|
5529
5750
|
}, _errorFactory));
|
|
5530
|
-
const _ao14 = (input, _path, _exceptionable = true) => _ap0(input, _path, _exceptionable) && _ap1(input, _path, _exceptionable) && _ap2(input, _path, _exceptionable) && _ap3(input, _path, _exceptionable) && _ap4(input, _path, _exceptionable) && _ap5(input, _path, _exceptionable) && _ap6(input, _path, _exceptionable) && ("web" === input.kind ||
|
|
5751
|
+
const _ao14 = (input, _path, _exceptionable = true) => _ap0(input, _path, _exceptionable) && _ap1(input, _path, _exceptionable) && _ap2(input, _path, _exceptionable) && _ap3(input, _path, _exceptionable) && _ap4(input, _path, _exceptionable) && _ap5(input, _path, _exceptionable) && _ap6(input, _path, _exceptionable) && ("web" === input.kind || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5531
5752
|
method: "typia.createAssert",
|
|
5532
5753
|
path: _path + ".kind",
|
|
5533
5754
|
expected: '"web"',
|
|
5534
5755
|
value: input.kind
|
|
5535
|
-
}, _errorFactory)) && _ap9(input, _path, _exceptionable) && (void 0 === input.installable || "boolean" === typeof input.installable ||
|
|
5756
|
+
}, _errorFactory)) && _ap9(input, _path, _exceptionable) && (void 0 === input.installable || "boolean" === typeof input.installable || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5536
5757
|
method: "typia.createAssert",
|
|
5537
5758
|
path: _path + ".installable",
|
|
5538
5759
|
expected: "(boolean | undefined)",
|
|
5539
5760
|
value: input.installable
|
|
5540
|
-
}, _errorFactory)) && (void 0 === input.crazyGamesLaunch || "basic" === input.crazyGamesLaunch || "full" === input.crazyGamesLaunch ||
|
|
5761
|
+
}, _errorFactory)) && (void 0 === input.crazyGamesLaunch || "basic" === input.crazyGamesLaunch || "full" === input.crazyGamesLaunch || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5541
5762
|
method: "typia.createAssert",
|
|
5542
5763
|
path: _path + ".crazyGamesLaunch",
|
|
5543
5764
|
expected: '("basic" | "full" | undefined)',
|
|
5544
5765
|
value: input.crazyGamesLaunch
|
|
5545
|
-
}, _errorFactory)) && (void 0 === input.staticDir || "string" === typeof input.staticDir ||
|
|
5766
|
+
}, _errorFactory)) && (void 0 === input.staticDir || "string" === typeof input.staticDir || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5546
5767
|
method: "typia.createAssert",
|
|
5547
5768
|
path: _path + ".staticDir",
|
|
5548
5769
|
expected: "(string | undefined)",
|
|
5549
5770
|
value: input.staticDir
|
|
5550
5771
|
}, _errorFactory));
|
|
5551
|
-
const _ao2 = (input, _path, _exceptionable = true) => _ap0(input, _path, _exceptionable) && _ap1(input, _path, _exceptionable) && _ap2(input, _path, _exceptionable) && _ap3(input, _path, _exceptionable) && _ap4(input, _path, _exceptionable) && _ap5(input, _path, _exceptionable) && _ap6(input, _path, _exceptionable) && ("apps-in-toss" === input.kind ||
|
|
5772
|
+
const _ao2 = (input, _path, _exceptionable = true) => _ap0(input, _path, _exceptionable) && _ap1(input, _path, _exceptionable) && _ap2(input, _path, _exceptionable) && _ap3(input, _path, _exceptionable) && _ap4(input, _path, _exceptionable) && _ap5(input, _path, _exceptionable) && _ap6(input, _path, _exceptionable) && ("apps-in-toss" === input.kind || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5552
5773
|
method: "typia.createAssert",
|
|
5553
5774
|
path: _path + ".kind",
|
|
5554
5775
|
expected: '"apps-in-toss"',
|
|
5555
5776
|
value: input.kind
|
|
5556
|
-
}, _errorFactory)) && _ap7(input, _path, _exceptionable) && _ap8(input, _path, _exceptionable) && (".ait" === input.artifact ||
|
|
5777
|
+
}, _errorFactory)) && _ap7(input, _path, _exceptionable) && _ap8(input, _path, _exceptionable) && (".ait" === input.artifact || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5557
5778
|
method: "typia.createAssert",
|
|
5558
5779
|
path: _path + ".artifact",
|
|
5559
5780
|
expected: '".ait"',
|
|
5560
5781
|
value: input.artifact
|
|
5561
|
-
}, _errorFactory)) && (void 0 === input.navigationBar || ("object" === typeof input.navigationBar && null !== input.navigationBar && false === Array.isArray(input.navigationBar) ||
|
|
5782
|
+
}, _errorFactory)) && (void 0 === input.navigationBar || ("object" === typeof input.navigationBar && null !== input.navigationBar && false === Array.isArray(input.navigationBar) || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5562
5783
|
method: "typia.createAssert",
|
|
5563
5784
|
path: _path + ".navigationBar",
|
|
5564
5785
|
expected: "(AppsInTossNavigationBarConfig | undefined)",
|
|
5565
5786
|
value: input.navigationBar
|
|
5566
|
-
}, _errorFactory)) && _ao9(input.navigationBar, _path + ".navigationBar", _exceptionable) ||
|
|
5787
|
+
}, _errorFactory)) && _ao9(input.navigationBar, _path + ".navigationBar", _exceptionable) || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5567
5788
|
method: "typia.createAssert",
|
|
5568
5789
|
path: _path + ".navigationBar",
|
|
5569
5790
|
expected: "(AppsInTossNavigationBarConfig | undefined)",
|
|
5570
5791
|
value: input.navigationBar
|
|
5571
5792
|
}, _errorFactory));
|
|
5572
|
-
const _ao3 = (input, _path, _exceptionable = true) => ("packaged" === input.defaultLocation || "remote" === input.defaultLocation ||
|
|
5793
|
+
const _ao3 = (input, _path, _exceptionable = true) => ("packaged" === input.defaultLocation || "remote" === input.defaultLocation || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5573
5794
|
method: "typia.createAssert",
|
|
5574
5795
|
path: _path + ".defaultLocation",
|
|
5575
5796
|
expected: '("packaged" | "remote")',
|
|
5576
5797
|
value: input.defaultLocation
|
|
5577
|
-
}, _errorFactory)) && (void 0 === input.packs || ("object" === typeof input.packs && null !== input.packs && false === Array.isArray(input.packs) ||
|
|
5798
|
+
}, _errorFactory)) && (void 0 === input.packs || ("object" === typeof input.packs && null !== input.packs && false === Array.isArray(input.packs) || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5578
5799
|
method: "typia.createAssert",
|
|
5579
5800
|
path: _path + ".packs",
|
|
5580
5801
|
expected: "(Readonly<Record<string, AssetPackLocation>> | undefined)",
|
|
5581
5802
|
value: input.packs
|
|
5582
|
-
}, _errorFactory)) && _ao4(input.packs, _path + ".packs", _exceptionable) ||
|
|
5803
|
+
}, _errorFactory)) && _ao4(input.packs, _path + ".packs", _exceptionable) || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5583
5804
|
method: "typia.createAssert",
|
|
5584
5805
|
path: _path + ".packs",
|
|
5585
5806
|
expected: "(Readonly<Record<string, AssetPackLocation>> | undefined)",
|
|
5586
5807
|
value: input.packs
|
|
5587
|
-
}, _errorFactory)) && (void 0 === input.offlineRequired || (Array.isArray(input.offlineRequired) ||
|
|
5808
|
+
}, _errorFactory)) && (void 0 === input.offlineRequired || (Array.isArray(input.offlineRequired) || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5588
5809
|
method: "typia.createAssert",
|
|
5589
5810
|
path: _path + ".offlineRequired",
|
|
5590
5811
|
expected: "(ReadonlyArray<string> | undefined)",
|
|
5591
5812
|
value: input.offlineRequired
|
|
5592
|
-
}, _errorFactory)) && input.offlineRequired.every((elem, _index3) => "string" === typeof elem ||
|
|
5813
|
+
}, _errorFactory)) && input.offlineRequired.every((elem, _index3) => "string" === typeof elem || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5593
5814
|
method: "typia.createAssert",
|
|
5594
5815
|
path: _path + ".offlineRequired[" + _index3 + "]",
|
|
5595
5816
|
expected: "string",
|
|
5596
5817
|
value: elem
|
|
5597
|
-
}, _errorFactory)) ||
|
|
5818
|
+
}, _errorFactory)) || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5598
5819
|
method: "typia.createAssert",
|
|
5599
5820
|
path: _path + ".offlineRequired",
|
|
5600
5821
|
expected: "(ReadonlyArray<string> | undefined)",
|
|
5601
5822
|
value: input.offlineRequired
|
|
5602
|
-
}, _errorFactory)) && (void 0 === input.remoteBaseUrl || "string" === typeof input.remoteBaseUrl ||
|
|
5823
|
+
}, _errorFactory)) && (void 0 === input.remoteBaseUrl || "string" === typeof input.remoteBaseUrl || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5603
5824
|
method: "typia.createAssert",
|
|
5604
5825
|
path: _path + ".remoteBaseUrl",
|
|
5605
5826
|
expected: "(string | undefined)",
|
|
5606
5827
|
value: input.remoteBaseUrl
|
|
5607
|
-
}, _errorFactory)) && (void 0 === input.maxPackagedBytes || "number" === typeof input.maxPackagedBytes ||
|
|
5828
|
+
}, _errorFactory)) && (void 0 === input.maxPackagedBytes || "number" === typeof input.maxPackagedBytes || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5608
5829
|
method: "typia.createAssert",
|
|
5609
5830
|
path: _path + ".maxPackagedBytes",
|
|
5610
5831
|
expected: "(number | undefined)",
|
|
5611
5832
|
value: input.maxPackagedBytes
|
|
5612
|
-
}, _errorFactory)) && ("string" === typeof input.buildConfig ||
|
|
5833
|
+
}, _errorFactory)) && ("string" === typeof input.buildConfig || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5613
5834
|
method: "typia.createAssert",
|
|
5614
5835
|
path: _path + ".buildConfig",
|
|
5615
5836
|
expected: "string",
|
|
@@ -5619,148 +5840,148 @@ var assertPlatformTargetsConfig = /* @__PURE__ */ (() => {
|
|
|
5619
5840
|
const value = input[key];
|
|
5620
5841
|
if (void 0 === value)
|
|
5621
5842
|
return true;
|
|
5622
|
-
return "packaged" === value || "remote" === value ||
|
|
5843
|
+
return "packaged" === value || "remote" === value || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5623
5844
|
method: "typia.createAssert",
|
|
5624
5845
|
path: _path + __typia_transform__accessExpressionAsString(key),
|
|
5625
5846
|
expected: '("packaged" | "remote")',
|
|
5626
5847
|
value
|
|
5627
5848
|
}, _errorFactory);
|
|
5628
5849
|
});
|
|
5629
|
-
const _ao5 = (input, _path, _exceptionable = true) => (void 0 === input.appName || "string" === typeof input.appName ||
|
|
5850
|
+
const _ao5 = (input, _path, _exceptionable = true) => (void 0 === input.appName || "string" === typeof input.appName || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5630
5851
|
method: "typia.createAssert",
|
|
5631
5852
|
path: _path + ".appName",
|
|
5632
5853
|
expected: "(string | undefined)",
|
|
5633
5854
|
value: input.appName
|
|
5634
|
-
}, _errorFactory)) && (void 0 === input.displayName || "string" === typeof input.displayName ||
|
|
5855
|
+
}, _errorFactory)) && (void 0 === input.displayName || "string" === typeof input.displayName || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5635
5856
|
method: "typia.createAssert",
|
|
5636
5857
|
path: _path + ".displayName",
|
|
5637
5858
|
expected: "(string | undefined)",
|
|
5638
5859
|
value: input.displayName
|
|
5639
|
-
}, _errorFactory)) && (void 0 === input.primaryColor || "string" === typeof input.primaryColor ||
|
|
5860
|
+
}, _errorFactory)) && (void 0 === input.primaryColor || "string" === typeof input.primaryColor || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5640
5861
|
method: "typia.createAssert",
|
|
5641
5862
|
path: _path + ".primaryColor",
|
|
5642
5863
|
expected: "(string | undefined)",
|
|
5643
5864
|
value: input.primaryColor
|
|
5644
|
-
}, _errorFactory)) && (void 0 === input.packageId || "string" === typeof input.packageId ||
|
|
5865
|
+
}, _errorFactory)) && (void 0 === input.packageId || "string" === typeof input.packageId || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5645
5866
|
method: "typia.createAssert",
|
|
5646
5867
|
path: _path + ".packageId",
|
|
5647
5868
|
expected: "(string | undefined)",
|
|
5648
5869
|
value: input.packageId
|
|
5649
|
-
}, _errorFactory)) && (void 0 === input.bundleId || "string" === typeof input.bundleId ||
|
|
5870
|
+
}, _errorFactory)) && (void 0 === input.bundleId || "string" === typeof input.bundleId || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5650
5871
|
method: "typia.createAssert",
|
|
5651
5872
|
path: _path + ".bundleId",
|
|
5652
5873
|
expected: "(string | undefined)",
|
|
5653
5874
|
value: input.bundleId
|
|
5654
|
-
}, _errorFactory)) && (void 0 === input.sdkMajor || "number" === typeof input.sdkMajor ||
|
|
5875
|
+
}, _errorFactory)) && (void 0 === input.sdkMajor || "number" === typeof input.sdkMajor || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5655
5876
|
method: "typia.createAssert",
|
|
5656
5877
|
path: _path + ".sdkMajor",
|
|
5657
5878
|
expected: "(number | undefined)",
|
|
5658
5879
|
value: input.sdkMajor
|
|
5659
5880
|
}, _errorFactory));
|
|
5660
|
-
const _ao6 = (input, _path, _exceptionable = true) => (void 0 === input.identityUpgrade || "action-required" === input.identityUpgrade || "approval-required" === input.identityUpgrade || "available" === input.identityUpgrade || "configuration-required" === input.identityUpgrade || "disabled" === input.identityUpgrade || "temporarily-unavailable" === input.identityUpgrade || "unsupported" === input.identityUpgrade ||
|
|
5881
|
+
const _ao6 = (input, _path, _exceptionable = true) => (void 0 === input.identityUpgrade || "action-required" === input.identityUpgrade || "approval-required" === input.identityUpgrade || "available" === input.identityUpgrade || "configuration-required" === input.identityUpgrade || "disabled" === input.identityUpgrade || "temporarily-unavailable" === input.identityUpgrade || "unsupported" === input.identityUpgrade || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5661
5882
|
method: "typia.createAssert",
|
|
5662
5883
|
path: _path + ".identityUpgrade",
|
|
5663
5884
|
expected: _ae0,
|
|
5664
5885
|
value: input.identityUpgrade
|
|
5665
|
-
}, _errorFactory)) && (void 0 === input.presentation || "action-required" === input.presentation || "approval-required" === input.presentation || "available" === input.presentation || "configuration-required" === input.presentation || "disabled" === input.presentation || "temporarily-unavailable" === input.presentation || "unsupported" === input.presentation ||
|
|
5886
|
+
}, _errorFactory)) && (void 0 === input.presentation || "action-required" === input.presentation || "approval-required" === input.presentation || "available" === input.presentation || "configuration-required" === input.presentation || "disabled" === input.presentation || "temporarily-unavailable" === input.presentation || "unsupported" === input.presentation || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5666
5887
|
method: "typia.createAssert",
|
|
5667
5888
|
path: _path + ".presentation",
|
|
5668
5889
|
expected: _ae0,
|
|
5669
5890
|
value: input.presentation
|
|
5670
|
-
}, _errorFactory)) && (void 0 === input.sharing || "action-required" === input.sharing || "approval-required" === input.sharing || "available" === input.sharing || "configuration-required" === input.sharing || "disabled" === input.sharing || "temporarily-unavailable" === input.sharing || "unsupported" === input.sharing ||
|
|
5891
|
+
}, _errorFactory)) && (void 0 === input.sharing || "action-required" === input.sharing || "approval-required" === input.sharing || "available" === input.sharing || "configuration-required" === input.sharing || "disabled" === input.sharing || "temporarily-unavailable" === input.sharing || "unsupported" === input.sharing || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5671
5892
|
method: "typia.createAssert",
|
|
5672
5893
|
path: _path + ".sharing",
|
|
5673
5894
|
expected: _ae0,
|
|
5674
5895
|
value: input.sharing
|
|
5675
|
-
}, _errorFactory)) && (void 0 === input.inboundShare || "action-required" === input.inboundShare || "approval-required" === input.inboundShare || "available" === input.inboundShare || "configuration-required" === input.inboundShare || "disabled" === input.inboundShare || "temporarily-unavailable" === input.inboundShare || "unsupported" === input.inboundShare ||
|
|
5896
|
+
}, _errorFactory)) && (void 0 === input.inboundShare || "action-required" === input.inboundShare || "approval-required" === input.inboundShare || "available" === input.inboundShare || "configuration-required" === input.inboundShare || "disabled" === input.inboundShare || "temporarily-unavailable" === input.inboundShare || "unsupported" === input.inboundShare || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5676
5897
|
method: "typia.createAssert",
|
|
5677
5898
|
path: _path + ".inboundShare",
|
|
5678
5899
|
expected: _ae0,
|
|
5679
5900
|
value: input.inboundShare
|
|
5680
|
-
}, _errorFactory)) && (void 0 === input.notifications || "action-required" === input.notifications || "approval-required" === input.notifications || "available" === input.notifications || "configuration-required" === input.notifications || "disabled" === input.notifications || "temporarily-unavailable" === input.notifications || "unsupported" === input.notifications ||
|
|
5901
|
+
}, _errorFactory)) && (void 0 === input.notifications || "action-required" === input.notifications || "approval-required" === input.notifications || "available" === input.notifications || "configuration-required" === input.notifications || "disabled" === input.notifications || "temporarily-unavailable" === input.notifications || "unsupported" === input.notifications || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5681
5902
|
method: "typia.createAssert",
|
|
5682
5903
|
path: _path + ".notifications",
|
|
5683
5904
|
expected: _ae0,
|
|
5684
5905
|
value: input.notifications
|
|
5685
|
-
}, _errorFactory)) && (void 0 === input.presentationMode || "fullscreen" === input.presentationMode || "inline-expanded" === input.presentationMode ||
|
|
5906
|
+
}, _errorFactory)) && (void 0 === input.presentationMode || "fullscreen" === input.presentationMode || "inline-expanded" === input.presentationMode || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5686
5907
|
method: "typia.createAssert",
|
|
5687
5908
|
path: _path + ".presentationMode",
|
|
5688
5909
|
expected: '("fullscreen" | "inline-expanded" | undefined)',
|
|
5689
5910
|
value: input.presentationMode
|
|
5690
5911
|
}, _errorFactory));
|
|
5691
|
-
const _ao7 = (input, _path, _exceptionable = true) => (void 0 === input.profile || "string" === typeof input.profile ||
|
|
5912
|
+
const _ao7 = (input, _path, _exceptionable = true) => (void 0 === input.profile || "string" === typeof input.profile || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5692
5913
|
method: "typia.createAssert",
|
|
5693
5914
|
path: _path + ".profile",
|
|
5694
5915
|
expected: "(string | undefined)",
|
|
5695
5916
|
value: input.profile
|
|
5696
|
-
}, _errorFactory)) && (void 0 === input.source || "string" === typeof input.source ||
|
|
5917
|
+
}, _errorFactory)) && (void 0 === input.source || "string" === typeof input.source || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5697
5918
|
method: "typia.createAssert",
|
|
5698
5919
|
path: _path + ".source",
|
|
5699
5920
|
expected: "(string | undefined)",
|
|
5700
5921
|
value: input.source
|
|
5701
|
-
}, _errorFactory)) && (void 0 === input.backgroundColor || "string" === typeof input.backgroundColor ||
|
|
5922
|
+
}, _errorFactory)) && (void 0 === input.backgroundColor || "string" === typeof input.backgroundColor || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5702
5923
|
method: "typia.createAssert",
|
|
5703
5924
|
path: _path + ".backgroundColor",
|
|
5704
5925
|
expected: "(string | undefined)",
|
|
5705
5926
|
value: input.backgroundColor
|
|
5706
|
-
}, _errorFactory)) && (void 0 === input.externalUrl || "string" === typeof input.externalUrl ||
|
|
5927
|
+
}, _errorFactory)) && (void 0 === input.externalUrl || "string" === typeof input.externalUrl || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5707
5928
|
method: "typia.createAssert",
|
|
5708
5929
|
path: _path + ".externalUrl",
|
|
5709
5930
|
expected: "(string | undefined)",
|
|
5710
5931
|
value: input.externalUrl
|
|
5711
|
-
}, _errorFactory)) && (void 0 === input.variants || ("object" === typeof input.variants && null !== input.variants && false === Array.isArray(input.variants) ||
|
|
5932
|
+
}, _errorFactory)) && (void 0 === input.variants || ("object" === typeof input.variants && null !== input.variants && false === Array.isArray(input.variants) || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5712
5933
|
method: "typia.createAssert",
|
|
5713
5934
|
path: _path + ".variants",
|
|
5714
5935
|
expected: _ae1,
|
|
5715
5936
|
value: input.variants
|
|
5716
|
-
}, _errorFactory)) && _ao8(input.variants, _path + ".variants", _exceptionable) ||
|
|
5937
|
+
}, _errorFactory)) && _ao8(input.variants, _path + ".variants", _exceptionable) || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5717
5938
|
method: "typia.createAssert",
|
|
5718
5939
|
path: _path + ".variants",
|
|
5719
5940
|
expected: _ae1,
|
|
5720
5941
|
value: input.variants
|
|
5721
5942
|
}, _errorFactory));
|
|
5722
|
-
const _ao8 = (input, _path, _exceptionable = true) => (void 0 === input.maskable || "string" === typeof input.maskable ||
|
|
5943
|
+
const _ao8 = (input, _path, _exceptionable = true) => (void 0 === input.maskable || "string" === typeof input.maskable || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5723
5944
|
method: "typia.createAssert",
|
|
5724
5945
|
path: _path + ".maskable",
|
|
5725
5946
|
expected: "(string | undefined)",
|
|
5726
5947
|
value: input.maskable
|
|
5727
|
-
}, _errorFactory)) && (void 0 === input.androidForeground || "string" === typeof input.androidForeground ||
|
|
5948
|
+
}, _errorFactory)) && (void 0 === input.androidForeground || "string" === typeof input.androidForeground || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5728
5949
|
method: "typia.createAssert",
|
|
5729
5950
|
path: _path + ".androidForeground",
|
|
5730
5951
|
expected: "(string | undefined)",
|
|
5731
5952
|
value: input.androidForeground
|
|
5732
|
-
}, _errorFactory)) && (void 0 === input.monochrome || "string" === typeof input.monochrome ||
|
|
5953
|
+
}, _errorFactory)) && (void 0 === input.monochrome || "string" === typeof input.monochrome || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5733
5954
|
method: "typia.createAssert",
|
|
5734
5955
|
path: _path + ".monochrome",
|
|
5735
5956
|
expected: "(string | undefined)",
|
|
5736
5957
|
value: input.monochrome
|
|
5737
|
-
}, _errorFactory)) && (void 0 === input.background || "string" === typeof input.background ||
|
|
5958
|
+
}, _errorFactory)) && (void 0 === input.background || "string" === typeof input.background || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5738
5959
|
method: "typia.createAssert",
|
|
5739
5960
|
path: _path + ".background",
|
|
5740
5961
|
expected: "(string | undefined)",
|
|
5741
5962
|
value: input.background
|
|
5742
5963
|
}, _errorFactory));
|
|
5743
|
-
const _ao9 = (input, _path, _exceptionable = true) => (void 0 === input.withBackButton || "boolean" === typeof input.withBackButton ||
|
|
5964
|
+
const _ao9 = (input, _path, _exceptionable = true) => (void 0 === input.withBackButton || "boolean" === typeof input.withBackButton || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5744
5965
|
method: "typia.createAssert",
|
|
5745
5966
|
path: _path + ".withBackButton",
|
|
5746
5967
|
expected: "(boolean | undefined)",
|
|
5747
5968
|
value: input.withBackButton
|
|
5748
|
-
}, _errorFactory)) && (void 0 === input.withHomeButton || "boolean" === typeof input.withHomeButton ||
|
|
5969
|
+
}, _errorFactory)) && (void 0 === input.withHomeButton || "boolean" === typeof input.withHomeButton || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5749
5970
|
method: "typia.createAssert",
|
|
5750
5971
|
path: _path + ".withHomeButton",
|
|
5751
5972
|
expected: "(boolean | undefined)",
|
|
5752
5973
|
value: input.withHomeButton
|
|
5753
|
-
}, _errorFactory)) && (void 0 === input.withTitle || "boolean" === typeof input.withTitle ||
|
|
5974
|
+
}, _errorFactory)) && (void 0 === input.withTitle || "boolean" === typeof input.withTitle || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5754
5975
|
method: "typia.createAssert",
|
|
5755
5976
|
path: _path + ".withTitle",
|
|
5756
5977
|
expected: "(boolean | undefined)",
|
|
5757
5978
|
value: input.withTitle
|
|
5758
|
-
}, _errorFactory)) && (void 0 === input.transparentBackground || "boolean" === typeof input.transparentBackground ||
|
|
5979
|
+
}, _errorFactory)) && (void 0 === input.transparentBackground || "boolean" === typeof input.transparentBackground || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5759
5980
|
method: "typia.createAssert",
|
|
5760
5981
|
path: _path + ".transparentBackground",
|
|
5761
5982
|
expected: "(boolean | undefined)",
|
|
5762
5983
|
value: input.transparentBackground
|
|
5763
|
-
}, _errorFactory)) && (void 0 === input.theme || "dark" === input.theme || "light" === input.theme ||
|
|
5984
|
+
}, _errorFactory)) && (void 0 === input.theme || "dark" === input.theme || "light" === input.theme || _assertGuard_15._assertGuard(_exceptionable, {
|
|
5764
5985
|
method: "typia.createAssert",
|
|
5765
5986
|
path: _path + ".theme",
|
|
5766
5987
|
expected: '("dark" | "light" | undefined)',
|
|
@@ -5778,7 +5999,7 @@ var assertPlatformTargetsConfig = /* @__PURE__ */ (() => {
|
|
|
5778
5999
|
else if ("web" === input.kind)
|
|
5779
6000
|
return _ao14(input, _path, _exceptionable);
|
|
5780
6001
|
else
|
|
5781
|
-
return
|
|
6002
|
+
return _assertGuard_15._assertGuard(_exceptionable, {
|
|
5782
6003
|
method: "typia.createAssert",
|
|
5783
6004
|
path: _path,
|
|
5784
6005
|
expected: "(AppsInTossTargetConfig | CapacitorTargetConfig | DevvitTargetConfig | MiniGameTargetConfig | WebTargetConfig)",
|
|
@@ -5829,12 +6050,12 @@ var assertPlatformTargetsConfig = /* @__PURE__ */ (() => {
|
|
|
5829
6050
|
return (input, errorFactory) => {
|
|
5830
6051
|
if (false === __is(input)) {
|
|
5831
6052
|
_errorFactory = errorFactory;
|
|
5832
|
-
((input2, _path, _exceptionable = true) => ("object" === typeof input2 && null !== input2 ||
|
|
6053
|
+
((input2, _path, _exceptionable = true) => ("object" === typeof input2 && null !== input2 || _assertGuard_15._assertGuard(true, {
|
|
5833
6054
|
method: "typia.createAssert",
|
|
5834
6055
|
path: _path + "",
|
|
5835
6056
|
expected: "PlatformTargetsConfig",
|
|
5836
6057
|
value: input2
|
|
5837
|
-
}, _errorFactory)) && _ao0(input2, _path + "", true) ||
|
|
6058
|
+
}, _errorFactory)) && _ao0(input2, _path + "", true) || _assertGuard_15._assertGuard(true, {
|
|
5838
6059
|
method: "typia.createAssert",
|
|
5839
6060
|
path: _path + "",
|
|
5840
6061
|
expected: "PlatformTargetsConfig",
|
|
@@ -6133,12 +6354,12 @@ function assertTargetKind(input, target2) {
|
|
|
6133
6354
|
}
|
|
6134
6355
|
|
|
6135
6356
|
// node_modules/.cache/mpgd-native-build/tools/target/target-config-matrix.js
|
|
6136
|
-
import * as
|
|
6137
|
-
import * as
|
|
6357
|
+
import * as _assertGuard_16 from "typia/lib/internal/_assertGuard";
|
|
6358
|
+
import * as _accessExpressionAsString_16 from "typia/lib/internal/_accessExpressionAsString";
|
|
6138
6359
|
import { createHash as createHash6 } from "node:crypto";
|
|
6139
6360
|
import { readFileSync as readFileSync11 } from "node:fs";
|
|
6140
|
-
import
|
|
6141
|
-
var __typia_transform__accessExpressionAsString2 =
|
|
6361
|
+
import typia6 from "typia";
|
|
6362
|
+
var __typia_transform__accessExpressionAsString2 = _accessExpressionAsString_16._accessExpressionAsString;
|
|
6142
6363
|
var defaultTargetConfigMatrixFile = "packages/target-config/targets.json";
|
|
6143
6364
|
var assertTargetConfigMatrix = /* @__PURE__ */ (() => {
|
|
6144
6365
|
const _iv0 = /* @__PURE__ */ new Set(["apps-in-toss", "capacitor-android", "capacitor-ios", "crazygames-web", "devvit-web", "microsoft-store-pwa", "oneplay-web", "tiktok-minigame", "verse8-web", "web", "web-preview", "wechat-minigame"]);
|
|
@@ -6150,31 +6371,31 @@ var assertTargetConfigMatrix = /* @__PURE__ */ (() => {
|
|
|
6150
6371
|
const _iv1 = /* @__PURE__ */ new Set(["app-store", "apps-in-toss", "crazygames", "devvit", "google-play", "microsoft-store", "oneplay", "tiktok-minigame", "verse8", "web", "web-preview", "wechat-minigame"]);
|
|
6151
6372
|
const _av0 = /* @__PURE__ */ new Set(["apps-in-toss", "capacitor-android", "capacitor-ios", "crazygames-web", "devvit-web", "microsoft-store-pwa", "oneplay-web", "tiktok-minigame", "verse8-web", "web", "web-preview", "wechat-minigame"]);
|
|
6152
6373
|
const _ae0 = '("apps-in-toss" | "capacitor-android" | "capacitor-ios" | "crazygames-web" | "devvit-web" | "microsoft-store-pwa" | "oneplay-web" | "tiktok-minigame" | "verse8-web" | "web" | "web-preview" | "wechat-minigame")';
|
|
6153
|
-
const _ap0 = (input, _path, _exceptionable = true) => "boolean" === typeof input["iap"] ||
|
|
6374
|
+
const _ap0 = (input, _path, _exceptionable = true) => "boolean" === typeof input["iap"] || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6154
6375
|
method: "typia.createAssert",
|
|
6155
6376
|
path: _path + ".iap",
|
|
6156
6377
|
expected: "boolean",
|
|
6157
6378
|
value: input["iap"]
|
|
6158
6379
|
}, _errorFactory);
|
|
6159
|
-
const _ap1 = (input, _path, _exceptionable = true) => void 0 === input["bannerAds"] || "boolean" === typeof input["bannerAds"] ||
|
|
6380
|
+
const _ap1 = (input, _path, _exceptionable = true) => void 0 === input["bannerAds"] || "boolean" === typeof input["bannerAds"] || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6160
6381
|
method: "typia.createAssert",
|
|
6161
6382
|
path: _path + ".bannerAds",
|
|
6162
6383
|
expected: "(boolean | undefined)",
|
|
6163
6384
|
value: input["bannerAds"]
|
|
6164
6385
|
}, _errorFactory);
|
|
6165
|
-
const _ap2 = (input, _path, _exceptionable = true) => "boolean" === typeof input["rewardedAds"] ||
|
|
6386
|
+
const _ap2 = (input, _path, _exceptionable = true) => "boolean" === typeof input["rewardedAds"] || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6166
6387
|
method: "typia.createAssert",
|
|
6167
6388
|
path: _path + ".rewardedAds",
|
|
6168
6389
|
expected: "boolean",
|
|
6169
6390
|
value: input["rewardedAds"]
|
|
6170
6391
|
}, _errorFactory);
|
|
6171
|
-
const _ap3 = (input, _path, _exceptionable = true) => "boolean" === typeof input["interstitialAds"] ||
|
|
6392
|
+
const _ap3 = (input, _path, _exceptionable = true) => "boolean" === typeof input["interstitialAds"] || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6172
6393
|
method: "typia.createAssert",
|
|
6173
6394
|
path: _path + ".interstitialAds",
|
|
6174
6395
|
expected: "boolean",
|
|
6175
6396
|
value: input["interstitialAds"]
|
|
6176
6397
|
}, _errorFactory);
|
|
6177
|
-
const _ap4 = (input, _path, _exceptionable = true) => "boolean" === typeof input["localization"] ||
|
|
6398
|
+
const _ap4 = (input, _path, _exceptionable = true) => "boolean" === typeof input["localization"] || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6178
6399
|
method: "typia.createAssert",
|
|
6179
6400
|
path: _path + ".localization",
|
|
6180
6401
|
expected: "boolean",
|
|
@@ -6183,17 +6404,17 @@ var assertTargetConfigMatrix = /* @__PURE__ */ (() => {
|
|
|
6183
6404
|
const _av1 = /* @__PURE__ */ new Set(["app-store", "apps-in-toss", "crazygames", "devvit", "google-play", "microsoft-store", "oneplay", "tiktok-minigame", "verse8", "web", "web-preview", "wechat-minigame"]);
|
|
6184
6405
|
const _ae1 = '("app-store" | "apps-in-toss" | "crazygames" | "devvit" | "google-play" | "microsoft-store" | "oneplay" | "tiktok-minigame" | "verse8" | "web" | "web-preview" | "wechat-minigame")';
|
|
6185
6406
|
const _ae2 = '("action-required" | "approval-required" | "available" | "configuration-required" | "disabled" | "temporarily-unavailable" | "unsupported")';
|
|
6186
|
-
const _ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.version ||
|
|
6407
|
+
const _ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.version || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6187
6408
|
method: "typia.createAssert",
|
|
6188
6409
|
path: _path + ".version",
|
|
6189
6410
|
expected: "string",
|
|
6190
6411
|
value: input.version
|
|
6191
|
-
}, _errorFactory)) && (("object" === typeof input.targets && null !== input.targets && false === Array.isArray(input.targets) ||
|
|
6412
|
+
}, _errorFactory)) && (("object" === typeof input.targets && null !== input.targets && false === Array.isArray(input.targets) || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6192
6413
|
method: "typia.createAssert",
|
|
6193
6414
|
path: _path + ".targets",
|
|
6194
6415
|
expected: "Record<string, TargetConfig>",
|
|
6195
6416
|
value: input.targets
|
|
6196
|
-
}, _errorFactory)) && _ao1(input.targets, _path + ".targets", _exceptionable) ||
|
|
6417
|
+
}, _errorFactory)) && _ao1(input.targets, _path + ".targets", _exceptionable) || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6197
6418
|
method: "typia.createAssert",
|
|
6198
6419
|
path: _path + ".targets",
|
|
6199
6420
|
expected: "Record<string, TargetConfig>",
|
|
@@ -6203,207 +6424,207 @@ var assertTargetConfigMatrix = /* @__PURE__ */ (() => {
|
|
|
6203
6424
|
const value = input[key];
|
|
6204
6425
|
if (void 0 === value)
|
|
6205
6426
|
return true;
|
|
6206
|
-
return ("object" === typeof value && null !== value ||
|
|
6427
|
+
return ("object" === typeof value && null !== value || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6207
6428
|
method: "typia.createAssert",
|
|
6208
6429
|
path: _path + __typia_transform__accessExpressionAsString2(key),
|
|
6209
6430
|
expected: "TargetConfig",
|
|
6210
6431
|
value
|
|
6211
|
-
}, _errorFactory)) && _ao2(value, _path + __typia_transform__accessExpressionAsString2(key), _exceptionable) ||
|
|
6432
|
+
}, _errorFactory)) && _ao2(value, _path + __typia_transform__accessExpressionAsString2(key), _exceptionable) || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6212
6433
|
method: "typia.createAssert",
|
|
6213
6434
|
path: _path + __typia_transform__accessExpressionAsString2(key),
|
|
6214
6435
|
expected: "TargetConfig",
|
|
6215
6436
|
value
|
|
6216
6437
|
}, _errorFactory);
|
|
6217
6438
|
});
|
|
6218
|
-
const _ao10 = (input, _path, _exceptionable = true) => ("action-required" === input.identityUpgrade || "approval-required" === input.identityUpgrade || "available" === input.identityUpgrade || "configuration-required" === input.identityUpgrade || "disabled" === input.identityUpgrade || "temporarily-unavailable" === input.identityUpgrade || "unsupported" === input.identityUpgrade ||
|
|
6439
|
+
const _ao10 = (input, _path, _exceptionable = true) => ("action-required" === input.identityUpgrade || "approval-required" === input.identityUpgrade || "available" === input.identityUpgrade || "configuration-required" === input.identityUpgrade || "disabled" === input.identityUpgrade || "temporarily-unavailable" === input.identityUpgrade || "unsupported" === input.identityUpgrade || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6219
6440
|
method: "typia.createAssert",
|
|
6220
6441
|
path: _path + ".identityUpgrade",
|
|
6221
6442
|
expected: _ae2,
|
|
6222
6443
|
value: input.identityUpgrade
|
|
6223
|
-
}, _errorFactory)) && ("action-required" === input.presentation || "approval-required" === input.presentation || "available" === input.presentation || "configuration-required" === input.presentation || "disabled" === input.presentation || "temporarily-unavailable" === input.presentation || "unsupported" === input.presentation ||
|
|
6444
|
+
}, _errorFactory)) && ("action-required" === input.presentation || "approval-required" === input.presentation || "available" === input.presentation || "configuration-required" === input.presentation || "disabled" === input.presentation || "temporarily-unavailable" === input.presentation || "unsupported" === input.presentation || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6224
6445
|
method: "typia.createAssert",
|
|
6225
6446
|
path: _path + ".presentation",
|
|
6226
6447
|
expected: _ae2,
|
|
6227
6448
|
value: input.presentation
|
|
6228
|
-
}, _errorFactory)) && ("action-required" === input.sharing || "approval-required" === input.sharing || "available" === input.sharing || "configuration-required" === input.sharing || "disabled" === input.sharing || "temporarily-unavailable" === input.sharing || "unsupported" === input.sharing ||
|
|
6449
|
+
}, _errorFactory)) && ("action-required" === input.sharing || "approval-required" === input.sharing || "available" === input.sharing || "configuration-required" === input.sharing || "disabled" === input.sharing || "temporarily-unavailable" === input.sharing || "unsupported" === input.sharing || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6229
6450
|
method: "typia.createAssert",
|
|
6230
6451
|
path: _path + ".sharing",
|
|
6231
6452
|
expected: _ae2,
|
|
6232
6453
|
value: input.sharing
|
|
6233
|
-
}, _errorFactory)) && ("action-required" === input.inboundShare || "approval-required" === input.inboundShare || "available" === input.inboundShare || "configuration-required" === input.inboundShare || "disabled" === input.inboundShare || "temporarily-unavailable" === input.inboundShare || "unsupported" === input.inboundShare ||
|
|
6454
|
+
}, _errorFactory)) && ("action-required" === input.inboundShare || "approval-required" === input.inboundShare || "available" === input.inboundShare || "configuration-required" === input.inboundShare || "disabled" === input.inboundShare || "temporarily-unavailable" === input.inboundShare || "unsupported" === input.inboundShare || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6234
6455
|
method: "typia.createAssert",
|
|
6235
6456
|
path: _path + ".inboundShare",
|
|
6236
6457
|
expected: _ae2,
|
|
6237
6458
|
value: input.inboundShare
|
|
6238
|
-
}, _errorFactory)) && ("action-required" === input.notifications || "approval-required" === input.notifications || "available" === input.notifications || "configuration-required" === input.notifications || "disabled" === input.notifications || "temporarily-unavailable" === input.notifications || "unsupported" === input.notifications ||
|
|
6459
|
+
}, _errorFactory)) && ("action-required" === input.notifications || "approval-required" === input.notifications || "available" === input.notifications || "configuration-required" === input.notifications || "disabled" === input.notifications || "temporarily-unavailable" === input.notifications || "unsupported" === input.notifications || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6239
6460
|
method: "typia.createAssert",
|
|
6240
6461
|
path: _path + ".notifications",
|
|
6241
6462
|
expected: _ae2,
|
|
6242
6463
|
value: input.notifications
|
|
6243
|
-
}, _errorFactory)) && ("fullscreen" === input.presentationMode || "inline-expanded" === input.presentationMode ||
|
|
6464
|
+
}, _errorFactory)) && ("fullscreen" === input.presentationMode || "inline-expanded" === input.presentationMode || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6244
6465
|
method: "typia.createAssert",
|
|
6245
6466
|
path: _path + ".presentationMode",
|
|
6246
6467
|
expected: '("fullscreen" | "inline-expanded")',
|
|
6247
6468
|
value: input.presentationMode
|
|
6248
6469
|
}, _errorFactory));
|
|
6249
|
-
const _ao2 = (input, _path, _exceptionable = true) => (true === _av0.has(input.runtime) ||
|
|
6470
|
+
const _ao2 = (input, _path, _exceptionable = true) => (true === _av0.has(input.runtime) || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6250
6471
|
method: "typia.createAssert",
|
|
6251
6472
|
path: _path + ".runtime",
|
|
6252
6473
|
expected: _ae0,
|
|
6253
6474
|
value: input.runtime
|
|
6254
|
-
}, _errorFactory)) && (("object" === typeof input.features && null !== input.features ||
|
|
6475
|
+
}, _errorFactory)) && (("object" === typeof input.features && null !== input.features || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6255
6476
|
method: "typia.createAssert",
|
|
6256
6477
|
path: _path + ".features",
|
|
6257
6478
|
expected: "TargetFeatureConfig",
|
|
6258
6479
|
value: input.features
|
|
6259
|
-
}, _errorFactory)) && _ao3(input.features, _path + ".features", _exceptionable) ||
|
|
6480
|
+
}, _errorFactory)) && _ao3(input.features, _path + ".features", _exceptionable) || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6260
6481
|
method: "typia.createAssert",
|
|
6261
6482
|
path: _path + ".features",
|
|
6262
6483
|
expected: "TargetFeatureConfig",
|
|
6263
6484
|
value: input.features
|
|
6264
|
-
}, _errorFactory)) && (("object" === typeof input.capabilities && null !== input.capabilities ||
|
|
6485
|
+
}, _errorFactory)) && (("object" === typeof input.capabilities && null !== input.capabilities || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6265
6486
|
method: "typia.createAssert",
|
|
6266
6487
|
path: _path + ".capabilities",
|
|
6267
6488
|
expected: "TargetCapabilityConfig",
|
|
6268
6489
|
value: input.capabilities
|
|
6269
|
-
}, _errorFactory)) && _ao4(input.capabilities, _path + ".capabilities", _exceptionable) ||
|
|
6490
|
+
}, _errorFactory)) && _ao4(input.capabilities, _path + ".capabilities", _exceptionable) || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6270
6491
|
method: "typia.createAssert",
|
|
6271
6492
|
path: _path + ".capabilities",
|
|
6272
6493
|
expected: "TargetCapabilityConfig",
|
|
6273
6494
|
value: input.capabilities
|
|
6274
|
-
}, _errorFactory)) && (("object" === typeof input.localization && null !== input.localization ||
|
|
6495
|
+
}, _errorFactory)) && (("object" === typeof input.localization && null !== input.localization || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6275
6496
|
method: "typia.createAssert",
|
|
6276
6497
|
path: _path + ".localization",
|
|
6277
6498
|
expected: "TargetLocalizationConfig",
|
|
6278
6499
|
value: input.localization
|
|
6279
|
-
}, _errorFactory)) && _ao5(input.localization, _path + ".localization", _exceptionable) ||
|
|
6500
|
+
}, _errorFactory)) && _ao5(input.localization, _path + ".localization", _exceptionable) || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6280
6501
|
method: "typia.createAssert",
|
|
6281
6502
|
path: _path + ".localization",
|
|
6282
6503
|
expected: "TargetLocalizationConfig",
|
|
6283
6504
|
value: input.localization
|
|
6284
|
-
}, _errorFactory)) && (("object" === typeof input.monetization && null !== input.monetization ||
|
|
6505
|
+
}, _errorFactory)) && (("object" === typeof input.monetization && null !== input.monetization || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6285
6506
|
method: "typia.createAssert",
|
|
6286
6507
|
path: _path + ".monetization",
|
|
6287
6508
|
expected: "TargetMonetizationConfig",
|
|
6288
6509
|
value: input.monetization
|
|
6289
|
-
}, _errorFactory)) && _ao6(input.monetization, _path + ".monetization", _exceptionable) ||
|
|
6510
|
+
}, _errorFactory)) && _ao6(input.monetization, _path + ".monetization", _exceptionable) || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6290
6511
|
method: "typia.createAssert",
|
|
6291
6512
|
path: _path + ".monetization",
|
|
6292
6513
|
expected: "TargetMonetizationConfig",
|
|
6293
6514
|
value: input.monetization
|
|
6294
|
-
}, _errorFactory)) && (("object" === typeof input.leaderboard && null !== input.leaderboard ||
|
|
6515
|
+
}, _errorFactory)) && (("object" === typeof input.leaderboard && null !== input.leaderboard || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6295
6516
|
method: "typia.createAssert",
|
|
6296
6517
|
path: _path + ".leaderboard",
|
|
6297
6518
|
expected: "TargetLeaderboardConfig",
|
|
6298
6519
|
value: input.leaderboard
|
|
6299
|
-
}, _errorFactory)) && _ao7(input.leaderboard, _path + ".leaderboard", _exceptionable) ||
|
|
6520
|
+
}, _errorFactory)) && _ao7(input.leaderboard, _path + ".leaderboard", _exceptionable) || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6300
6521
|
method: "typia.createAssert",
|
|
6301
6522
|
path: _path + ".leaderboard",
|
|
6302
6523
|
expected: "TargetLeaderboardConfig",
|
|
6303
6524
|
value: input.leaderboard
|
|
6304
|
-
}, _errorFactory)) && (("object" === typeof input.release && null !== input.release ||
|
|
6525
|
+
}, _errorFactory)) && (("object" === typeof input.release && null !== input.release || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6305
6526
|
method: "typia.createAssert",
|
|
6306
6527
|
path: _path + ".release",
|
|
6307
6528
|
expected: "TargetReleaseConfig",
|
|
6308
6529
|
value: input.release
|
|
6309
|
-
}, _errorFactory)) && _ao8(input.release, _path + ".release", _exceptionable) ||
|
|
6530
|
+
}, _errorFactory)) && _ao8(input.release, _path + ".release", _exceptionable) || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6310
6531
|
method: "typia.createAssert",
|
|
6311
6532
|
path: _path + ".release",
|
|
6312
6533
|
expected: "TargetReleaseConfig",
|
|
6313
6534
|
value: input.release
|
|
6314
|
-
}, _errorFactory)) && (("object" === typeof input.policy && null !== input.policy ||
|
|
6535
|
+
}, _errorFactory)) && (("object" === typeof input.policy && null !== input.policy || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6315
6536
|
method: "typia.createAssert",
|
|
6316
6537
|
path: _path + ".policy",
|
|
6317
6538
|
expected: "TargetPolicyRestrictions",
|
|
6318
6539
|
value: input.policy
|
|
6319
|
-
}, _errorFactory)) && _ao9(input.policy, _path + ".policy", _exceptionable) ||
|
|
6540
|
+
}, _errorFactory)) && _ao9(input.policy, _path + ".policy", _exceptionable) || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6320
6541
|
method: "typia.createAssert",
|
|
6321
6542
|
path: _path + ".policy",
|
|
6322
6543
|
expected: "TargetPolicyRestrictions",
|
|
6323
6544
|
value: input.policy
|
|
6324
|
-
}, _errorFactory)) && (void 0 === input.integrations || ("object" === typeof input.integrations && null !== input.integrations ||
|
|
6545
|
+
}, _errorFactory)) && (void 0 === input.integrations || ("object" === typeof input.integrations && null !== input.integrations || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6325
6546
|
method: "typia.createAssert",
|
|
6326
6547
|
path: _path + ".integrations",
|
|
6327
6548
|
expected: "(TargetIntegrationConfig | undefined)",
|
|
6328
6549
|
value: input.integrations
|
|
6329
|
-
}, _errorFactory)) && _ao10(input.integrations, _path + ".integrations", _exceptionable) ||
|
|
6550
|
+
}, _errorFactory)) && _ao10(input.integrations, _path + ".integrations", _exceptionable) || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6330
6551
|
method: "typia.createAssert",
|
|
6331
6552
|
path: _path + ".integrations",
|
|
6332
6553
|
expected: "(TargetIntegrationConfig | undefined)",
|
|
6333
6554
|
value: input.integrations
|
|
6334
6555
|
}, _errorFactory));
|
|
6335
|
-
const _ao3 = (input, _path, _exceptionable = true) => _ap0(input, _path, _exceptionable) && (void 0 === input.subscriptions || "boolean" === typeof input.subscriptions ||
|
|
6556
|
+
const _ao3 = (input, _path, _exceptionable = true) => _ap0(input, _path, _exceptionable) && (void 0 === input.subscriptions || "boolean" === typeof input.subscriptions || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6336
6557
|
method: "typia.createAssert",
|
|
6337
6558
|
path: _path + ".subscriptions",
|
|
6338
6559
|
expected: "(boolean | undefined)",
|
|
6339
6560
|
value: input.subscriptions
|
|
6340
|
-
}, _errorFactory)) && _ap1(input, _path, _exceptionable) && _ap2(input, _path, _exceptionable) && _ap3(input, _path, _exceptionable) && ("boolean" === typeof input.leaderboard ||
|
|
6561
|
+
}, _errorFactory)) && _ap1(input, _path, _exceptionable) && _ap2(input, _path, _exceptionable) && _ap3(input, _path, _exceptionable) && ("boolean" === typeof input.leaderboard || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6341
6562
|
method: "typia.createAssert",
|
|
6342
6563
|
path: _path + ".leaderboard",
|
|
6343
6564
|
expected: "boolean",
|
|
6344
6565
|
value: input.leaderboard
|
|
6345
|
-
}, _errorFactory)) && (void 0 === input.nativeLeaderboard || "boolean" === typeof input.nativeLeaderboard ||
|
|
6566
|
+
}, _errorFactory)) && (void 0 === input.nativeLeaderboard || "boolean" === typeof input.nativeLeaderboard || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6346
6567
|
method: "typia.createAssert",
|
|
6347
6568
|
path: _path + ".nativeLeaderboard",
|
|
6348
6569
|
expected: "(boolean | undefined)",
|
|
6349
6570
|
value: input.nativeLeaderboard
|
|
6350
|
-
}, _errorFactory)) && (void 0 === input.remoteLeaderboard || "boolean" === typeof input.remoteLeaderboard ||
|
|
6571
|
+
}, _errorFactory)) && (void 0 === input.remoteLeaderboard || "boolean" === typeof input.remoteLeaderboard || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6351
6572
|
method: "typia.createAssert",
|
|
6352
6573
|
path: _path + ".remoteLeaderboard",
|
|
6353
6574
|
expected: "(boolean | undefined)",
|
|
6354
6575
|
value: input.remoteLeaderboard
|
|
6355
6576
|
}, _errorFactory)) && _ap4(input, _path, _exceptionable);
|
|
6356
|
-
const _ao4 = (input, _path, _exceptionable = true) => ("local" === input.storage || "native" === input.storage || "none" === input.storage ||
|
|
6577
|
+
const _ao4 = (input, _path, _exceptionable = true) => ("local" === input.storage || "native" === input.storage || "none" === input.storage || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6357
6578
|
method: "typia.createAssert",
|
|
6358
6579
|
path: _path + ".storage",
|
|
6359
6580
|
expected: '("local" | "native" | "none")',
|
|
6360
6581
|
value: input.storage
|
|
6361
6582
|
}, _errorFactory)) && _ap4(input, _path, _exceptionable);
|
|
6362
|
-
const _ao5 = (input, _path, _exceptionable = true) => "en" === input.fallbackLocale || "ko" === input.fallbackLocale ||
|
|
6583
|
+
const _ao5 = (input, _path, _exceptionable = true) => "en" === input.fallbackLocale || "ko" === input.fallbackLocale || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6363
6584
|
method: "typia.createAssert",
|
|
6364
6585
|
path: _path + ".fallbackLocale",
|
|
6365
6586
|
expected: '("en" | "ko")',
|
|
6366
6587
|
value: input.fallbackLocale
|
|
6367
6588
|
}, _errorFactory);
|
|
6368
6589
|
const _ao6 = (input, _path, _exceptionable = true) => _ap0(input, _path, _exceptionable) && _ap1(input, _path, _exceptionable) && _ap2(input, _path, _exceptionable) && _ap3(input, _path, _exceptionable);
|
|
6369
|
-
const _ao7 = (input, _path, _exceptionable = true) => "boolean" === typeof input.native ||
|
|
6590
|
+
const _ao7 = (input, _path, _exceptionable = true) => "boolean" === typeof input.native || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6370
6591
|
method: "typia.createAssert",
|
|
6371
6592
|
path: _path + ".native",
|
|
6372
6593
|
expected: "boolean",
|
|
6373
6594
|
value: input.native
|
|
6374
6595
|
}, _errorFactory);
|
|
6375
|
-
const _ao8 = (input, _path, _exceptionable = true) => (true === _av1.has(input.profile) ||
|
|
6596
|
+
const _ao8 = (input, _path, _exceptionable = true) => (true === _av1.has(input.profile) || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6376
6597
|
method: "typia.createAssert",
|
|
6377
6598
|
path: _path + ".profile",
|
|
6378
6599
|
expected: _ae1,
|
|
6379
6600
|
value: input.profile
|
|
6380
|
-
}, _errorFactory)) && (void 0 === input.billingAuthority || "host" === input.billingAuthority || "store" === input.billingAuthority ||
|
|
6601
|
+
}, _errorFactory)) && (void 0 === input.billingAuthority || "host" === input.billingAuthority || "store" === input.billingAuthority || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6381
6602
|
method: "typia.createAssert",
|
|
6382
6603
|
path: _path + ".billingAuthority",
|
|
6383
6604
|
expected: '("host" | "store" | undefined)',
|
|
6384
6605
|
value: input.billingAuthority
|
|
6385
6606
|
}, _errorFactory));
|
|
6386
|
-
const _ao9 = (input, _path, _exceptionable = true) => ("boolean" === typeof input.externalPaymentAllowed ||
|
|
6607
|
+
const _ao9 = (input, _path, _exceptionable = true) => ("boolean" === typeof input.externalPaymentAllowed || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6387
6608
|
method: "typia.createAssert",
|
|
6388
6609
|
path: _path + ".externalPaymentAllowed",
|
|
6389
6610
|
expected: "boolean",
|
|
6390
6611
|
value: input.externalPaymentAllowed
|
|
6391
|
-
}, _errorFactory)) && ("boolean" === typeof input.remoteExecutableCodeAllowed ||
|
|
6612
|
+
}, _errorFactory)) && ("boolean" === typeof input.remoteExecutableCodeAllowed || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6392
6613
|
method: "typia.createAssert",
|
|
6393
6614
|
path: _path + ".remoteExecutableCodeAllowed",
|
|
6394
6615
|
expected: "boolean",
|
|
6395
6616
|
value: input.remoteExecutableCodeAllowed
|
|
6396
|
-
}, _errorFactory)) && ("boolean" === typeof input.installOtherAppCTAAllowed ||
|
|
6617
|
+
}, _errorFactory)) && ("boolean" === typeof input.installOtherAppCTAAllowed || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6397
6618
|
method: "typia.createAssert",
|
|
6398
6619
|
path: _path + ".installOtherAppCTAAllowed",
|
|
6399
6620
|
expected: "boolean",
|
|
6400
6621
|
value: input.installOtherAppCTAAllowed
|
|
6401
|
-
}, _errorFactory)) && ("boolean" === typeof input.requiresStoreReview ||
|
|
6622
|
+
}, _errorFactory)) && ("boolean" === typeof input.requiresStoreReview || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6402
6623
|
method: "typia.createAssert",
|
|
6403
6624
|
path: _path + ".requiresStoreReview",
|
|
6404
6625
|
expected: "boolean",
|
|
6405
6626
|
value: input.requiresStoreReview
|
|
6406
|
-
}, _errorFactory)) && ("boolean" === typeof input.requiresAitReview ||
|
|
6627
|
+
}, _errorFactory)) && ("boolean" === typeof input.requiresAitReview || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6407
6628
|
method: "typia.createAssert",
|
|
6408
6629
|
path: _path + ".requiresAitReview",
|
|
6409
6630
|
expected: "boolean",
|
|
@@ -6430,12 +6651,12 @@ var assertTargetConfigMatrix = /* @__PURE__ */ (() => {
|
|
|
6430
6651
|
return (input, errorFactory) => {
|
|
6431
6652
|
if (false === __is(input)) {
|
|
6432
6653
|
_errorFactory = errorFactory;
|
|
6433
|
-
((input2, _path, _exceptionable = true) => ("object" === typeof input2 && null !== input2 ||
|
|
6654
|
+
((input2, _path, _exceptionable = true) => ("object" === typeof input2 && null !== input2 || _assertGuard_16._assertGuard(true, {
|
|
6434
6655
|
method: "typia.createAssert",
|
|
6435
6656
|
path: _path + "",
|
|
6436
6657
|
expected: "TargetConfigMatrix",
|
|
6437
6658
|
value: input2
|
|
6438
|
-
}, _errorFactory)) && _ao0(input2, _path + "", true) ||
|
|
6659
|
+
}, _errorFactory)) && _ao0(input2, _path + "", true) || _assertGuard_16._assertGuard(true, {
|
|
6439
6660
|
method: "typia.createAssert",
|
|
6440
6661
|
path: _path + "",
|
|
6441
6662
|
expected: "TargetConfigMatrix",
|
|
@@ -6455,31 +6676,31 @@ var assertTargetConfigExtensions = /* @__PURE__ */ (() => {
|
|
|
6455
6676
|
const _iv1 = /* @__PURE__ */ new Set(["app-store", "apps-in-toss", "crazygames", "devvit", "google-play", "microsoft-store", "oneplay", "tiktok-minigame", "verse8", "web", "web-preview", "wechat-minigame"]);
|
|
6456
6677
|
const _av0 = /* @__PURE__ */ new Set(["apps-in-toss", "capacitor-android", "capacitor-ios", "crazygames-web", "devvit-web", "microsoft-store-pwa", "oneplay-web", "tiktok-minigame", "verse8-web", "web", "web-preview", "wechat-minigame"]);
|
|
6457
6678
|
const _ae0 = '("apps-in-toss" | "capacitor-android" | "capacitor-ios" | "crazygames-web" | "devvit-web" | "microsoft-store-pwa" | "oneplay-web" | "tiktok-minigame" | "verse8-web" | "web" | "web-preview" | "wechat-minigame")';
|
|
6458
|
-
const _ap0 = (input, _path, _exceptionable = true) => "boolean" === typeof input["iap"] ||
|
|
6679
|
+
const _ap0 = (input, _path, _exceptionable = true) => "boolean" === typeof input["iap"] || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6459
6680
|
method: "typia.createAssert",
|
|
6460
6681
|
path: _path + ".iap",
|
|
6461
6682
|
expected: "boolean",
|
|
6462
6683
|
value: input["iap"]
|
|
6463
6684
|
}, _errorFactory);
|
|
6464
|
-
const _ap1 = (input, _path, _exceptionable = true) => void 0 === input["bannerAds"] || "boolean" === typeof input["bannerAds"] ||
|
|
6685
|
+
const _ap1 = (input, _path, _exceptionable = true) => void 0 === input["bannerAds"] || "boolean" === typeof input["bannerAds"] || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6465
6686
|
method: "typia.createAssert",
|
|
6466
6687
|
path: _path + ".bannerAds",
|
|
6467
6688
|
expected: "(boolean | undefined)",
|
|
6468
6689
|
value: input["bannerAds"]
|
|
6469
6690
|
}, _errorFactory);
|
|
6470
|
-
const _ap2 = (input, _path, _exceptionable = true) => "boolean" === typeof input["rewardedAds"] ||
|
|
6691
|
+
const _ap2 = (input, _path, _exceptionable = true) => "boolean" === typeof input["rewardedAds"] || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6471
6692
|
method: "typia.createAssert",
|
|
6472
6693
|
path: _path + ".rewardedAds",
|
|
6473
6694
|
expected: "boolean",
|
|
6474
6695
|
value: input["rewardedAds"]
|
|
6475
6696
|
}, _errorFactory);
|
|
6476
|
-
const _ap3 = (input, _path, _exceptionable = true) => "boolean" === typeof input["interstitialAds"] ||
|
|
6697
|
+
const _ap3 = (input, _path, _exceptionable = true) => "boolean" === typeof input["interstitialAds"] || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6477
6698
|
method: "typia.createAssert",
|
|
6478
6699
|
path: _path + ".interstitialAds",
|
|
6479
6700
|
expected: "boolean",
|
|
6480
6701
|
value: input["interstitialAds"]
|
|
6481
6702
|
}, _errorFactory);
|
|
6482
|
-
const _ap4 = (input, _path, _exceptionable = true) => "boolean" === typeof input["localization"] ||
|
|
6703
|
+
const _ap4 = (input, _path, _exceptionable = true) => "boolean" === typeof input["localization"] || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6483
6704
|
method: "typia.createAssert",
|
|
6484
6705
|
path: _path + ".localization",
|
|
6485
6706
|
expected: "boolean",
|
|
@@ -6488,17 +6709,17 @@ var assertTargetConfigExtensions = /* @__PURE__ */ (() => {
|
|
|
6488
6709
|
const _av1 = /* @__PURE__ */ new Set(["app-store", "apps-in-toss", "crazygames", "devvit", "google-play", "microsoft-store", "oneplay", "tiktok-minigame", "verse8", "web", "web-preview", "wechat-minigame"]);
|
|
6489
6710
|
const _ae1 = '("app-store" | "apps-in-toss" | "crazygames" | "devvit" | "google-play" | "microsoft-store" | "oneplay" | "tiktok-minigame" | "verse8" | "web" | "web-preview" | "wechat-minigame")';
|
|
6490
6711
|
const _ae2 = '("action-required" | "approval-required" | "available" | "configuration-required" | "disabled" | "temporarily-unavailable" | "unsupported")';
|
|
6491
|
-
const _ao0 = (input, _path, _exceptionable = true) => (1 === input.schemaVersion ||
|
|
6712
|
+
const _ao0 = (input, _path, _exceptionable = true) => (1 === input.schemaVersion || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6492
6713
|
method: "typia.createAssert",
|
|
6493
6714
|
path: _path + ".schemaVersion",
|
|
6494
6715
|
expected: "1",
|
|
6495
6716
|
value: input.schemaVersion
|
|
6496
|
-
}, _errorFactory)) && (("object" === typeof input.targets && null !== input.targets && false === Array.isArray(input.targets) ||
|
|
6717
|
+
}, _errorFactory)) && (("object" === typeof input.targets && null !== input.targets && false === Array.isArray(input.targets) || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6497
6718
|
method: "typia.createAssert",
|
|
6498
6719
|
path: _path + ".targets",
|
|
6499
6720
|
expected: "Readonly<Record<string, TargetConfig>>",
|
|
6500
6721
|
value: input.targets
|
|
6501
|
-
}, _errorFactory)) && _ao1(input.targets, _path + ".targets", _exceptionable) ||
|
|
6722
|
+
}, _errorFactory)) && _ao1(input.targets, _path + ".targets", _exceptionable) || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6502
6723
|
method: "typia.createAssert",
|
|
6503
6724
|
path: _path + ".targets",
|
|
6504
6725
|
expected: "Readonly<Record<string, TargetConfig>>",
|
|
@@ -6508,207 +6729,207 @@ var assertTargetConfigExtensions = /* @__PURE__ */ (() => {
|
|
|
6508
6729
|
const value = input[key];
|
|
6509
6730
|
if (void 0 === value)
|
|
6510
6731
|
return true;
|
|
6511
|
-
return ("object" === typeof value && null !== value ||
|
|
6732
|
+
return ("object" === typeof value && null !== value || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6512
6733
|
method: "typia.createAssert",
|
|
6513
6734
|
path: _path + __typia_transform__accessExpressionAsString2(key),
|
|
6514
6735
|
expected: "TargetConfig",
|
|
6515
6736
|
value
|
|
6516
|
-
}, _errorFactory)) && _ao2(value, _path + __typia_transform__accessExpressionAsString2(key), _exceptionable) ||
|
|
6737
|
+
}, _errorFactory)) && _ao2(value, _path + __typia_transform__accessExpressionAsString2(key), _exceptionable) || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6517
6738
|
method: "typia.createAssert",
|
|
6518
6739
|
path: _path + __typia_transform__accessExpressionAsString2(key),
|
|
6519
6740
|
expected: "TargetConfig",
|
|
6520
6741
|
value
|
|
6521
6742
|
}, _errorFactory);
|
|
6522
6743
|
});
|
|
6523
|
-
const _ao10 = (input, _path, _exceptionable = true) => ("action-required" === input.identityUpgrade || "approval-required" === input.identityUpgrade || "available" === input.identityUpgrade || "configuration-required" === input.identityUpgrade || "disabled" === input.identityUpgrade || "temporarily-unavailable" === input.identityUpgrade || "unsupported" === input.identityUpgrade ||
|
|
6744
|
+
const _ao10 = (input, _path, _exceptionable = true) => ("action-required" === input.identityUpgrade || "approval-required" === input.identityUpgrade || "available" === input.identityUpgrade || "configuration-required" === input.identityUpgrade || "disabled" === input.identityUpgrade || "temporarily-unavailable" === input.identityUpgrade || "unsupported" === input.identityUpgrade || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6524
6745
|
method: "typia.createAssert",
|
|
6525
6746
|
path: _path + ".identityUpgrade",
|
|
6526
6747
|
expected: _ae2,
|
|
6527
6748
|
value: input.identityUpgrade
|
|
6528
|
-
}, _errorFactory)) && ("action-required" === input.presentation || "approval-required" === input.presentation || "available" === input.presentation || "configuration-required" === input.presentation || "disabled" === input.presentation || "temporarily-unavailable" === input.presentation || "unsupported" === input.presentation ||
|
|
6749
|
+
}, _errorFactory)) && ("action-required" === input.presentation || "approval-required" === input.presentation || "available" === input.presentation || "configuration-required" === input.presentation || "disabled" === input.presentation || "temporarily-unavailable" === input.presentation || "unsupported" === input.presentation || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6529
6750
|
method: "typia.createAssert",
|
|
6530
6751
|
path: _path + ".presentation",
|
|
6531
6752
|
expected: _ae2,
|
|
6532
6753
|
value: input.presentation
|
|
6533
|
-
}, _errorFactory)) && ("action-required" === input.sharing || "approval-required" === input.sharing || "available" === input.sharing || "configuration-required" === input.sharing || "disabled" === input.sharing || "temporarily-unavailable" === input.sharing || "unsupported" === input.sharing ||
|
|
6754
|
+
}, _errorFactory)) && ("action-required" === input.sharing || "approval-required" === input.sharing || "available" === input.sharing || "configuration-required" === input.sharing || "disabled" === input.sharing || "temporarily-unavailable" === input.sharing || "unsupported" === input.sharing || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6534
6755
|
method: "typia.createAssert",
|
|
6535
6756
|
path: _path + ".sharing",
|
|
6536
6757
|
expected: _ae2,
|
|
6537
6758
|
value: input.sharing
|
|
6538
|
-
}, _errorFactory)) && ("action-required" === input.inboundShare || "approval-required" === input.inboundShare || "available" === input.inboundShare || "configuration-required" === input.inboundShare || "disabled" === input.inboundShare || "temporarily-unavailable" === input.inboundShare || "unsupported" === input.inboundShare ||
|
|
6759
|
+
}, _errorFactory)) && ("action-required" === input.inboundShare || "approval-required" === input.inboundShare || "available" === input.inboundShare || "configuration-required" === input.inboundShare || "disabled" === input.inboundShare || "temporarily-unavailable" === input.inboundShare || "unsupported" === input.inboundShare || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6539
6760
|
method: "typia.createAssert",
|
|
6540
6761
|
path: _path + ".inboundShare",
|
|
6541
6762
|
expected: _ae2,
|
|
6542
6763
|
value: input.inboundShare
|
|
6543
|
-
}, _errorFactory)) && ("action-required" === input.notifications || "approval-required" === input.notifications || "available" === input.notifications || "configuration-required" === input.notifications || "disabled" === input.notifications || "temporarily-unavailable" === input.notifications || "unsupported" === input.notifications ||
|
|
6764
|
+
}, _errorFactory)) && ("action-required" === input.notifications || "approval-required" === input.notifications || "available" === input.notifications || "configuration-required" === input.notifications || "disabled" === input.notifications || "temporarily-unavailable" === input.notifications || "unsupported" === input.notifications || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6544
6765
|
method: "typia.createAssert",
|
|
6545
6766
|
path: _path + ".notifications",
|
|
6546
6767
|
expected: _ae2,
|
|
6547
6768
|
value: input.notifications
|
|
6548
|
-
}, _errorFactory)) && ("fullscreen" === input.presentationMode || "inline-expanded" === input.presentationMode ||
|
|
6769
|
+
}, _errorFactory)) && ("fullscreen" === input.presentationMode || "inline-expanded" === input.presentationMode || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6549
6770
|
method: "typia.createAssert",
|
|
6550
6771
|
path: _path + ".presentationMode",
|
|
6551
6772
|
expected: '("fullscreen" | "inline-expanded")',
|
|
6552
6773
|
value: input.presentationMode
|
|
6553
6774
|
}, _errorFactory));
|
|
6554
|
-
const _ao2 = (input, _path, _exceptionable = true) => (true === _av0.has(input.runtime) ||
|
|
6775
|
+
const _ao2 = (input, _path, _exceptionable = true) => (true === _av0.has(input.runtime) || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6555
6776
|
method: "typia.createAssert",
|
|
6556
6777
|
path: _path + ".runtime",
|
|
6557
6778
|
expected: _ae0,
|
|
6558
6779
|
value: input.runtime
|
|
6559
|
-
}, _errorFactory)) && (("object" === typeof input.features && null !== input.features ||
|
|
6780
|
+
}, _errorFactory)) && (("object" === typeof input.features && null !== input.features || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6560
6781
|
method: "typia.createAssert",
|
|
6561
6782
|
path: _path + ".features",
|
|
6562
6783
|
expected: "TargetFeatureConfig",
|
|
6563
6784
|
value: input.features
|
|
6564
|
-
}, _errorFactory)) && _ao3(input.features, _path + ".features", _exceptionable) ||
|
|
6785
|
+
}, _errorFactory)) && _ao3(input.features, _path + ".features", _exceptionable) || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6565
6786
|
method: "typia.createAssert",
|
|
6566
6787
|
path: _path + ".features",
|
|
6567
6788
|
expected: "TargetFeatureConfig",
|
|
6568
6789
|
value: input.features
|
|
6569
|
-
}, _errorFactory)) && (("object" === typeof input.capabilities && null !== input.capabilities ||
|
|
6790
|
+
}, _errorFactory)) && (("object" === typeof input.capabilities && null !== input.capabilities || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6570
6791
|
method: "typia.createAssert",
|
|
6571
6792
|
path: _path + ".capabilities",
|
|
6572
6793
|
expected: "TargetCapabilityConfig",
|
|
6573
6794
|
value: input.capabilities
|
|
6574
|
-
}, _errorFactory)) && _ao4(input.capabilities, _path + ".capabilities", _exceptionable) ||
|
|
6795
|
+
}, _errorFactory)) && _ao4(input.capabilities, _path + ".capabilities", _exceptionable) || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6575
6796
|
method: "typia.createAssert",
|
|
6576
6797
|
path: _path + ".capabilities",
|
|
6577
6798
|
expected: "TargetCapabilityConfig",
|
|
6578
6799
|
value: input.capabilities
|
|
6579
|
-
}, _errorFactory)) && (("object" === typeof input.localization && null !== input.localization ||
|
|
6800
|
+
}, _errorFactory)) && (("object" === typeof input.localization && null !== input.localization || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6580
6801
|
method: "typia.createAssert",
|
|
6581
6802
|
path: _path + ".localization",
|
|
6582
6803
|
expected: "TargetLocalizationConfig",
|
|
6583
6804
|
value: input.localization
|
|
6584
|
-
}, _errorFactory)) && _ao5(input.localization, _path + ".localization", _exceptionable) ||
|
|
6805
|
+
}, _errorFactory)) && _ao5(input.localization, _path + ".localization", _exceptionable) || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6585
6806
|
method: "typia.createAssert",
|
|
6586
6807
|
path: _path + ".localization",
|
|
6587
6808
|
expected: "TargetLocalizationConfig",
|
|
6588
6809
|
value: input.localization
|
|
6589
|
-
}, _errorFactory)) && (("object" === typeof input.monetization && null !== input.monetization ||
|
|
6810
|
+
}, _errorFactory)) && (("object" === typeof input.monetization && null !== input.monetization || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6590
6811
|
method: "typia.createAssert",
|
|
6591
6812
|
path: _path + ".monetization",
|
|
6592
6813
|
expected: "TargetMonetizationConfig",
|
|
6593
6814
|
value: input.monetization
|
|
6594
|
-
}, _errorFactory)) && _ao6(input.monetization, _path + ".monetization", _exceptionable) ||
|
|
6815
|
+
}, _errorFactory)) && _ao6(input.monetization, _path + ".monetization", _exceptionable) || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6595
6816
|
method: "typia.createAssert",
|
|
6596
6817
|
path: _path + ".monetization",
|
|
6597
6818
|
expected: "TargetMonetizationConfig",
|
|
6598
6819
|
value: input.monetization
|
|
6599
|
-
}, _errorFactory)) && (("object" === typeof input.leaderboard && null !== input.leaderboard ||
|
|
6820
|
+
}, _errorFactory)) && (("object" === typeof input.leaderboard && null !== input.leaderboard || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6600
6821
|
method: "typia.createAssert",
|
|
6601
6822
|
path: _path + ".leaderboard",
|
|
6602
6823
|
expected: "TargetLeaderboardConfig",
|
|
6603
6824
|
value: input.leaderboard
|
|
6604
|
-
}, _errorFactory)) && _ao7(input.leaderboard, _path + ".leaderboard", _exceptionable) ||
|
|
6825
|
+
}, _errorFactory)) && _ao7(input.leaderboard, _path + ".leaderboard", _exceptionable) || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6605
6826
|
method: "typia.createAssert",
|
|
6606
6827
|
path: _path + ".leaderboard",
|
|
6607
6828
|
expected: "TargetLeaderboardConfig",
|
|
6608
6829
|
value: input.leaderboard
|
|
6609
|
-
}, _errorFactory)) && (("object" === typeof input.release && null !== input.release ||
|
|
6830
|
+
}, _errorFactory)) && (("object" === typeof input.release && null !== input.release || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6610
6831
|
method: "typia.createAssert",
|
|
6611
6832
|
path: _path + ".release",
|
|
6612
6833
|
expected: "TargetReleaseConfig",
|
|
6613
6834
|
value: input.release
|
|
6614
|
-
}, _errorFactory)) && _ao8(input.release, _path + ".release", _exceptionable) ||
|
|
6835
|
+
}, _errorFactory)) && _ao8(input.release, _path + ".release", _exceptionable) || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6615
6836
|
method: "typia.createAssert",
|
|
6616
6837
|
path: _path + ".release",
|
|
6617
6838
|
expected: "TargetReleaseConfig",
|
|
6618
6839
|
value: input.release
|
|
6619
|
-
}, _errorFactory)) && (("object" === typeof input.policy && null !== input.policy ||
|
|
6840
|
+
}, _errorFactory)) && (("object" === typeof input.policy && null !== input.policy || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6620
6841
|
method: "typia.createAssert",
|
|
6621
6842
|
path: _path + ".policy",
|
|
6622
6843
|
expected: "TargetPolicyRestrictions",
|
|
6623
6844
|
value: input.policy
|
|
6624
|
-
}, _errorFactory)) && _ao9(input.policy, _path + ".policy", _exceptionable) ||
|
|
6845
|
+
}, _errorFactory)) && _ao9(input.policy, _path + ".policy", _exceptionable) || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6625
6846
|
method: "typia.createAssert",
|
|
6626
6847
|
path: _path + ".policy",
|
|
6627
6848
|
expected: "TargetPolicyRestrictions",
|
|
6628
6849
|
value: input.policy
|
|
6629
|
-
}, _errorFactory)) && (void 0 === input.integrations || ("object" === typeof input.integrations && null !== input.integrations ||
|
|
6850
|
+
}, _errorFactory)) && (void 0 === input.integrations || ("object" === typeof input.integrations && null !== input.integrations || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6630
6851
|
method: "typia.createAssert",
|
|
6631
6852
|
path: _path + ".integrations",
|
|
6632
6853
|
expected: "(TargetIntegrationConfig | undefined)",
|
|
6633
6854
|
value: input.integrations
|
|
6634
|
-
}, _errorFactory)) && _ao10(input.integrations, _path + ".integrations", _exceptionable) ||
|
|
6855
|
+
}, _errorFactory)) && _ao10(input.integrations, _path + ".integrations", _exceptionable) || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6635
6856
|
method: "typia.createAssert",
|
|
6636
6857
|
path: _path + ".integrations",
|
|
6637
6858
|
expected: "(TargetIntegrationConfig | undefined)",
|
|
6638
6859
|
value: input.integrations
|
|
6639
6860
|
}, _errorFactory));
|
|
6640
|
-
const _ao3 = (input, _path, _exceptionable = true) => _ap0(input, _path, _exceptionable) && (void 0 === input.subscriptions || "boolean" === typeof input.subscriptions ||
|
|
6861
|
+
const _ao3 = (input, _path, _exceptionable = true) => _ap0(input, _path, _exceptionable) && (void 0 === input.subscriptions || "boolean" === typeof input.subscriptions || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6641
6862
|
method: "typia.createAssert",
|
|
6642
6863
|
path: _path + ".subscriptions",
|
|
6643
6864
|
expected: "(boolean | undefined)",
|
|
6644
6865
|
value: input.subscriptions
|
|
6645
|
-
}, _errorFactory)) && _ap1(input, _path, _exceptionable) && _ap2(input, _path, _exceptionable) && _ap3(input, _path, _exceptionable) && ("boolean" === typeof input.leaderboard ||
|
|
6866
|
+
}, _errorFactory)) && _ap1(input, _path, _exceptionable) && _ap2(input, _path, _exceptionable) && _ap3(input, _path, _exceptionable) && ("boolean" === typeof input.leaderboard || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6646
6867
|
method: "typia.createAssert",
|
|
6647
6868
|
path: _path + ".leaderboard",
|
|
6648
6869
|
expected: "boolean",
|
|
6649
6870
|
value: input.leaderboard
|
|
6650
|
-
}, _errorFactory)) && (void 0 === input.nativeLeaderboard || "boolean" === typeof input.nativeLeaderboard ||
|
|
6871
|
+
}, _errorFactory)) && (void 0 === input.nativeLeaderboard || "boolean" === typeof input.nativeLeaderboard || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6651
6872
|
method: "typia.createAssert",
|
|
6652
6873
|
path: _path + ".nativeLeaderboard",
|
|
6653
6874
|
expected: "(boolean | undefined)",
|
|
6654
6875
|
value: input.nativeLeaderboard
|
|
6655
|
-
}, _errorFactory)) && (void 0 === input.remoteLeaderboard || "boolean" === typeof input.remoteLeaderboard ||
|
|
6876
|
+
}, _errorFactory)) && (void 0 === input.remoteLeaderboard || "boolean" === typeof input.remoteLeaderboard || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6656
6877
|
method: "typia.createAssert",
|
|
6657
6878
|
path: _path + ".remoteLeaderboard",
|
|
6658
6879
|
expected: "(boolean | undefined)",
|
|
6659
6880
|
value: input.remoteLeaderboard
|
|
6660
6881
|
}, _errorFactory)) && _ap4(input, _path, _exceptionable);
|
|
6661
|
-
const _ao4 = (input, _path, _exceptionable = true) => ("local" === input.storage || "native" === input.storage || "none" === input.storage ||
|
|
6882
|
+
const _ao4 = (input, _path, _exceptionable = true) => ("local" === input.storage || "native" === input.storage || "none" === input.storage || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6662
6883
|
method: "typia.createAssert",
|
|
6663
6884
|
path: _path + ".storage",
|
|
6664
6885
|
expected: '("local" | "native" | "none")',
|
|
6665
6886
|
value: input.storage
|
|
6666
6887
|
}, _errorFactory)) && _ap4(input, _path, _exceptionable);
|
|
6667
|
-
const _ao5 = (input, _path, _exceptionable = true) => "en" === input.fallbackLocale || "ko" === input.fallbackLocale ||
|
|
6888
|
+
const _ao5 = (input, _path, _exceptionable = true) => "en" === input.fallbackLocale || "ko" === input.fallbackLocale || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6668
6889
|
method: "typia.createAssert",
|
|
6669
6890
|
path: _path + ".fallbackLocale",
|
|
6670
6891
|
expected: '("en" | "ko")',
|
|
6671
6892
|
value: input.fallbackLocale
|
|
6672
6893
|
}, _errorFactory);
|
|
6673
6894
|
const _ao6 = (input, _path, _exceptionable = true) => _ap0(input, _path, _exceptionable) && _ap1(input, _path, _exceptionable) && _ap2(input, _path, _exceptionable) && _ap3(input, _path, _exceptionable);
|
|
6674
|
-
const _ao7 = (input, _path, _exceptionable = true) => "boolean" === typeof input.native ||
|
|
6895
|
+
const _ao7 = (input, _path, _exceptionable = true) => "boolean" === typeof input.native || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6675
6896
|
method: "typia.createAssert",
|
|
6676
6897
|
path: _path + ".native",
|
|
6677
6898
|
expected: "boolean",
|
|
6678
6899
|
value: input.native
|
|
6679
6900
|
}, _errorFactory);
|
|
6680
|
-
const _ao8 = (input, _path, _exceptionable = true) => (true === _av1.has(input.profile) ||
|
|
6901
|
+
const _ao8 = (input, _path, _exceptionable = true) => (true === _av1.has(input.profile) || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6681
6902
|
method: "typia.createAssert",
|
|
6682
6903
|
path: _path + ".profile",
|
|
6683
6904
|
expected: _ae1,
|
|
6684
6905
|
value: input.profile
|
|
6685
|
-
}, _errorFactory)) && (void 0 === input.billingAuthority || "host" === input.billingAuthority || "store" === input.billingAuthority ||
|
|
6906
|
+
}, _errorFactory)) && (void 0 === input.billingAuthority || "host" === input.billingAuthority || "store" === input.billingAuthority || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6686
6907
|
method: "typia.createAssert",
|
|
6687
6908
|
path: _path + ".billingAuthority",
|
|
6688
6909
|
expected: '("host" | "store" | undefined)',
|
|
6689
6910
|
value: input.billingAuthority
|
|
6690
6911
|
}, _errorFactory));
|
|
6691
|
-
const _ao9 = (input, _path, _exceptionable = true) => ("boolean" === typeof input.externalPaymentAllowed ||
|
|
6912
|
+
const _ao9 = (input, _path, _exceptionable = true) => ("boolean" === typeof input.externalPaymentAllowed || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6692
6913
|
method: "typia.createAssert",
|
|
6693
6914
|
path: _path + ".externalPaymentAllowed",
|
|
6694
6915
|
expected: "boolean",
|
|
6695
6916
|
value: input.externalPaymentAllowed
|
|
6696
|
-
}, _errorFactory)) && ("boolean" === typeof input.remoteExecutableCodeAllowed ||
|
|
6917
|
+
}, _errorFactory)) && ("boolean" === typeof input.remoteExecutableCodeAllowed || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6697
6918
|
method: "typia.createAssert",
|
|
6698
6919
|
path: _path + ".remoteExecutableCodeAllowed",
|
|
6699
6920
|
expected: "boolean",
|
|
6700
6921
|
value: input.remoteExecutableCodeAllowed
|
|
6701
|
-
}, _errorFactory)) && ("boolean" === typeof input.installOtherAppCTAAllowed ||
|
|
6922
|
+
}, _errorFactory)) && ("boolean" === typeof input.installOtherAppCTAAllowed || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6702
6923
|
method: "typia.createAssert",
|
|
6703
6924
|
path: _path + ".installOtherAppCTAAllowed",
|
|
6704
6925
|
expected: "boolean",
|
|
6705
6926
|
value: input.installOtherAppCTAAllowed
|
|
6706
|
-
}, _errorFactory)) && ("boolean" === typeof input.requiresStoreReview ||
|
|
6927
|
+
}, _errorFactory)) && ("boolean" === typeof input.requiresStoreReview || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6707
6928
|
method: "typia.createAssert",
|
|
6708
6929
|
path: _path + ".requiresStoreReview",
|
|
6709
6930
|
expected: "boolean",
|
|
6710
6931
|
value: input.requiresStoreReview
|
|
6711
|
-
}, _errorFactory)) && ("boolean" === typeof input.requiresAitReview ||
|
|
6932
|
+
}, _errorFactory)) && ("boolean" === typeof input.requiresAitReview || _assertGuard_16._assertGuard(_exceptionable, {
|
|
6712
6933
|
method: "typia.createAssert",
|
|
6713
6934
|
path: _path + ".requiresAitReview",
|
|
6714
6935
|
expected: "boolean",
|
|
@@ -6735,12 +6956,12 @@ var assertTargetConfigExtensions = /* @__PURE__ */ (() => {
|
|
|
6735
6956
|
return (input, errorFactory) => {
|
|
6736
6957
|
if (false === __is(input)) {
|
|
6737
6958
|
_errorFactory = errorFactory;
|
|
6738
|
-
((input2, _path, _exceptionable = true) => ("object" === typeof input2 && null !== input2 ||
|
|
6959
|
+
((input2, _path, _exceptionable = true) => ("object" === typeof input2 && null !== input2 || _assertGuard_16._assertGuard(true, {
|
|
6739
6960
|
method: "typia.createAssert",
|
|
6740
6961
|
path: _path + "",
|
|
6741
6962
|
expected: "TargetConfigExtensions",
|
|
6742
6963
|
value: input2
|
|
6743
|
-
}, _errorFactory)) && _ao0(input2, _path + "", true) ||
|
|
6964
|
+
}, _errorFactory)) && _ao0(input2, _path + "", true) || _assertGuard_16._assertGuard(true, {
|
|
6744
6965
|
method: "typia.createAssert",
|
|
6745
6966
|
path: _path + "",
|
|
6746
6967
|
expected: "TargetConfigExtensions",
|
|
@@ -6876,8 +7097,43 @@ function validateEffectiveTargetConfigMatrix(matrix = loadEffectiveTargetConfigM
|
|
|
6876
7097
|
}
|
|
6877
7098
|
validateEffectiveTargetConfig(config2);
|
|
6878
7099
|
}
|
|
7100
|
+
const hostTargets = targets.filter((target2) => {
|
|
7101
|
+
const adapter = matrix.targets[target2]?.sources.platformAdapter;
|
|
7102
|
+
return adapter === "ait" || adapter === "devvit";
|
|
7103
|
+
});
|
|
7104
|
+
if (hostTargets.length > 0) {
|
|
7105
|
+
const catalog = readJsonFile(productCatalogFilePath());
|
|
7106
|
+
for (const target2 of hostTargets) {
|
|
7107
|
+
const config2 = matrix.targets[target2];
|
|
7108
|
+
if (config2 !== void 0) {
|
|
7109
|
+
validateHostProductList(config2, catalog);
|
|
7110
|
+
}
|
|
7111
|
+
}
|
|
7112
|
+
}
|
|
6879
7113
|
return matrix;
|
|
6880
7114
|
}
|
|
7115
|
+
function validateHostProductList(config2, catalog) {
|
|
7116
|
+
if (!config2.features.iap) {
|
|
7117
|
+
return;
|
|
7118
|
+
}
|
|
7119
|
+
const ait = config2.sources.platformAdapter === "ait";
|
|
7120
|
+
const hostLabel = ait ? "the Apps in Toss wrapper (platformProductIds.ait)" : "the Devvit server (platformProductIds.reddit)";
|
|
7121
|
+
const hostProducts = new Map(ait ? extractAitIapProductConfig(catalog).map((product) => [product.productId, product.sku]) : createDevvitCommerceBridgeProducts(catalog).map((product) => [
|
|
7122
|
+
product.productId,
|
|
7123
|
+
product.sku
|
|
7124
|
+
]));
|
|
7125
|
+
const sold = new Map(config2.monetization.products.flatMap((product) => product.enabled && product.platformProductId !== void 0 ? [[product.id, product.platformProductId]] : []));
|
|
7126
|
+
for (const [productId, sku] of sold) {
|
|
7127
|
+
if (hostProducts.get(productId) !== sku) {
|
|
7128
|
+
throw new Error(`Effective target ${config2.target} sells ${productId} as ${sku}, but ${hostLabel} ${hostProducts.has(productId) ? `lists it as ${String(hostProducts.get(productId))}` : "does not list it"}.`);
|
|
7129
|
+
}
|
|
7130
|
+
}
|
|
7131
|
+
for (const productId of hostProducts.keys()) {
|
|
7132
|
+
if (!sold.has(productId)) {
|
|
7133
|
+
throw new Error(`Effective target ${config2.target} does not sell ${productId}, but ${hostLabel} lists it.`);
|
|
7134
|
+
}
|
|
7135
|
+
}
|
|
7136
|
+
}
|
|
6881
7137
|
function writeEffectiveTargetConfigs(options = {}) {
|
|
6882
7138
|
const matrix = loadEffectiveTargetConfigMatrix();
|
|
6883
7139
|
const outputDir = options.outputDir ?? "artifacts/target-config";
|
|
@@ -6945,11 +7201,12 @@ function validateEffectiveTargetConfig(config2) {
|
|
|
6945
7201
|
if (config2.sources.platformAdapter !== expectedPlatformAdapter) {
|
|
6946
7202
|
throw new Error(`Effective target ${config2.target} runtime ${config2.runtime} does not match platform adapter ${config2.sources.platformAdapter ?? "undefined"}; expected ${expectedPlatformAdapter}.`);
|
|
6947
7203
|
}
|
|
7204
|
+
const catalogNamesTarget = config2.monetization.products.some((product) => product.platformProductId !== void 0);
|
|
6948
7205
|
for (const product of config2.monetization.products) {
|
|
6949
7206
|
if (!config2.features.iap && product.enabled) {
|
|
6950
7207
|
throw new Error(`Effective target ${config2.target} enables product ${product.id} while IAP is disabled.`);
|
|
6951
7208
|
}
|
|
6952
|
-
if (config2.features.iap && product.reason === "missing-platform-id" && config2.target !== "reddit") {
|
|
7209
|
+
if (config2.features.iap && product.reason === "missing-platform-id" && (config2.target !== "reddit" || catalogNamesTarget)) {
|
|
6953
7210
|
throw new Error(`Effective target ${config2.target} is missing a platform product id for ${product.id}.`);
|
|
6954
7211
|
}
|
|
6955
7212
|
}
|
|
@@ -7061,104 +7318,104 @@ function sha2562(content) {
|
|
|
7061
7318
|
}
|
|
7062
7319
|
|
|
7063
7320
|
// node_modules/.cache/mpgd-native-build/tools/target/generate-release-manifest.js
|
|
7064
|
-
import * as
|
|
7065
|
-
import * as
|
|
7321
|
+
import * as _assertGuard_18 from "typia/lib/internal/_assertGuard";
|
|
7322
|
+
import * as _accessExpressionAsString_18 from "typia/lib/internal/_accessExpressionAsString";
|
|
7066
7323
|
import { execFileSync } from "node:child_process";
|
|
7067
7324
|
import { createHash as createHash8, randomUUID as randomUUID2 } from "node:crypto";
|
|
7068
7325
|
import { existsSync as existsSync10, readFileSync as readFileSync14, realpathSync as realpathSync6, renameSync as renameSync2, rmSync as rmSync5, writeFileSync as writeFileSync8 } from "node:fs";
|
|
7069
7326
|
import { isAbsolute as isAbsolute8, relative as relative9, resolve as resolve12 } from "node:path";
|
|
7070
|
-
import
|
|
7327
|
+
import typia8 from "typia";
|
|
7071
7328
|
|
|
7072
7329
|
// node_modules/.cache/mpgd-native-build/packages/release-manifest/src/index.js
|
|
7073
|
-
import * as
|
|
7074
|
-
import * as
|
|
7075
|
-
import
|
|
7076
|
-
var __typia_transform__accessExpressionAsString3 =
|
|
7330
|
+
import * as _assertGuard_17 from "typia/lib/internal/_assertGuard";
|
|
7331
|
+
import * as _accessExpressionAsString_17 from "typia/lib/internal/_accessExpressionAsString";
|
|
7332
|
+
import typia7 from "typia";
|
|
7333
|
+
var __typia_transform__accessExpressionAsString3 = _accessExpressionAsString_17._accessExpressionAsString;
|
|
7077
7334
|
var assertReleaseManifestStructure = /* @__PURE__ */ (() => {
|
|
7078
7335
|
const _ip0 = (input) => "string" === typeof input["gameVersion"];
|
|
7079
7336
|
const _ip1 = (input) => "string" === typeof input["path"];
|
|
7080
7337
|
const _ip2 = (input) => "string" === typeof input["digest"];
|
|
7081
|
-
const _ap0 = (input, _path, _exceptionable = true) => "string" === typeof input["gameVersion"] ||
|
|
7338
|
+
const _ap0 = (input, _path, _exceptionable = true) => "string" === typeof input["gameVersion"] || _assertGuard_17._assertGuard(_exceptionable, {
|
|
7082
7339
|
method: "typia.createAssert",
|
|
7083
7340
|
path: _path + ".gameVersion",
|
|
7084
7341
|
expected: "string",
|
|
7085
7342
|
value: input["gameVersion"]
|
|
7086
7343
|
}, _errorFactory);
|
|
7087
7344
|
const _ae0 = "{ readonly path: string; readonly digest: string; readonly sourceSha256: string; readonly sharedConfigSha256: string; readonly renderConfigSha256: string; readonly generatorVersion: string; readonly targetProfile: string; readonly targetProfileVersion: string; }";
|
|
7088
|
-
const _ap1 = (input, _path, _exceptionable = true) => "string" === typeof input["path"] ||
|
|
7345
|
+
const _ap1 = (input, _path, _exceptionable = true) => "string" === typeof input["path"] || _assertGuard_17._assertGuard(_exceptionable, {
|
|
7089
7346
|
method: "typia.createAssert",
|
|
7090
7347
|
path: _path + ".path",
|
|
7091
7348
|
expected: "string",
|
|
7092
7349
|
value: input["path"]
|
|
7093
7350
|
}, _errorFactory);
|
|
7094
|
-
const _ap2 = (input, _path, _exceptionable = true) => "string" === typeof input["digest"] ||
|
|
7351
|
+
const _ap2 = (input, _path, _exceptionable = true) => "string" === typeof input["digest"] || _assertGuard_17._assertGuard(_exceptionable, {
|
|
7095
7352
|
method: "typia.createAssert",
|
|
7096
7353
|
path: _path + ".digest",
|
|
7097
7354
|
expected: "string",
|
|
7098
7355
|
value: input["digest"]
|
|
7099
7356
|
}, _errorFactory);
|
|
7100
|
-
const _ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.releaseId ||
|
|
7357
|
+
const _ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.releaseId || _assertGuard_17._assertGuard(_exceptionable, {
|
|
7101
7358
|
method: "typia.createAssert",
|
|
7102
7359
|
path: _path + ".releaseId",
|
|
7103
7360
|
expected: "string",
|
|
7104
7361
|
value: input.releaseId
|
|
7105
|
-
}, _errorFactory)) && ("string" === typeof input.gitSha ||
|
|
7362
|
+
}, _errorFactory)) && ("string" === typeof input.gitSha || _assertGuard_17._assertGuard(_exceptionable, {
|
|
7106
7363
|
method: "typia.createAssert",
|
|
7107
7364
|
path: _path + ".gitSha",
|
|
7108
7365
|
expected: "string",
|
|
7109
7366
|
value: input.gitSha
|
|
7110
|
-
}, _errorFactory)) && ("string" === typeof input.kitGitSha ||
|
|
7367
|
+
}, _errorFactory)) && ("string" === typeof input.kitGitSha || _assertGuard_17._assertGuard(_exceptionable, {
|
|
7111
7368
|
method: "typia.createAssert",
|
|
7112
7369
|
path: _path + ".kitGitSha",
|
|
7113
7370
|
expected: "string",
|
|
7114
7371
|
value: input.kitGitSha
|
|
7115
|
-
}, _errorFactory)) && _ap0(input, _path, _exceptionable) && (void 0 === input.releaseIdentity || ("object" === typeof input.releaseIdentity && null !== input.releaseIdentity ||
|
|
7372
|
+
}, _errorFactory)) && _ap0(input, _path, _exceptionable) && (void 0 === input.releaseIdentity || ("object" === typeof input.releaseIdentity && null !== input.releaseIdentity || _assertGuard_17._assertGuard(_exceptionable, {
|
|
7116
7373
|
method: "typia.createAssert",
|
|
7117
7374
|
path: _path + ".releaseIdentity",
|
|
7118
7375
|
expected: "(MpgdReleaseIdentity | undefined)",
|
|
7119
7376
|
value: input.releaseIdentity
|
|
7120
|
-
}, _errorFactory)) && _ao1(input.releaseIdentity, _path + ".releaseIdentity", _exceptionable) ||
|
|
7377
|
+
}, _errorFactory)) && _ao1(input.releaseIdentity, _path + ".releaseIdentity", _exceptionable) || _assertGuard_17._assertGuard(_exceptionable, {
|
|
7121
7378
|
method: "typia.createAssert",
|
|
7122
7379
|
path: _path + ".releaseIdentity",
|
|
7123
7380
|
expected: "(MpgdReleaseIdentity | undefined)",
|
|
7124
7381
|
value: input.releaseIdentity
|
|
7125
|
-
}, _errorFactory)) && ("string" === typeof input.buildId ||
|
|
7382
|
+
}, _errorFactory)) && ("string" === typeof input.buildId || _assertGuard_17._assertGuard(_exceptionable, {
|
|
7126
7383
|
method: "typia.createAssert",
|
|
7127
7384
|
path: _path + ".buildId",
|
|
7128
7385
|
expected: "string",
|
|
7129
7386
|
value: input.buildId
|
|
7130
|
-
}, _errorFactory)) && ("string" === typeof input.targetConfigVersion ||
|
|
7387
|
+
}, _errorFactory)) && ("string" === typeof input.targetConfigVersion || _assertGuard_17._assertGuard(_exceptionable, {
|
|
7131
7388
|
method: "typia.createAssert",
|
|
7132
7389
|
path: _path + ".targetConfigVersion",
|
|
7133
7390
|
expected: "string",
|
|
7134
7391
|
value: input.targetConfigVersion
|
|
7135
|
-
}, _errorFactory)) && ("string" === typeof input.catalogVersion ||
|
|
7392
|
+
}, _errorFactory)) && ("string" === typeof input.catalogVersion || _assertGuard_17._assertGuard(_exceptionable, {
|
|
7136
7393
|
method: "typia.createAssert",
|
|
7137
7394
|
path: _path + ".catalogVersion",
|
|
7138
7395
|
expected: "string",
|
|
7139
7396
|
value: input.catalogVersion
|
|
7140
|
-
}, _errorFactory)) && ("string" === typeof input.adPlacementVersion ||
|
|
7397
|
+
}, _errorFactory)) && ("string" === typeof input.adPlacementVersion || _assertGuard_17._assertGuard(_exceptionable, {
|
|
7141
7398
|
method: "typia.createAssert",
|
|
7142
7399
|
path: _path + ".adPlacementVersion",
|
|
7143
7400
|
expected: "string",
|
|
7144
7401
|
value: input.adPlacementVersion
|
|
7145
|
-
}, _errorFactory)) && (("object" === typeof input.targets && null !== input.targets && false === Array.isArray(input.targets) ||
|
|
7402
|
+
}, _errorFactory)) && (("object" === typeof input.targets && null !== input.targets && false === Array.isArray(input.targets) || _assertGuard_17._assertGuard(_exceptionable, {
|
|
7146
7403
|
method: "typia.createAssert",
|
|
7147
7404
|
path: _path + ".targets",
|
|
7148
7405
|
expected: "Record<string, ReleaseTargetManifest>",
|
|
7149
7406
|
value: input.targets
|
|
7150
|
-
}, _errorFactory)) && _ao2(input.targets, _path + ".targets", _exceptionable) ||
|
|
7407
|
+
}, _errorFactory)) && _ao2(input.targets, _path + ".targets", _exceptionable) || _assertGuard_17._assertGuard(_exceptionable, {
|
|
7151
7408
|
method: "typia.createAssert",
|
|
7152
7409
|
path: _path + ".targets",
|
|
7153
7410
|
expected: "Record<string, ReleaseTargetManifest>",
|
|
7154
7411
|
value: input.targets
|
|
7155
7412
|
}, _errorFactory));
|
|
7156
|
-
const _ao1 = (input, _path, _exceptionable = true) => _ap0(input, _path, _exceptionable) && (void 0 === input.releaseRevision || "number" === typeof input.releaseRevision ||
|
|
7413
|
+
const _ao1 = (input, _path, _exceptionable = true) => _ap0(input, _path, _exceptionable) && (void 0 === input.releaseRevision || "number" === typeof input.releaseRevision || _assertGuard_17._assertGuard(_exceptionable, {
|
|
7157
7414
|
method: "typia.createAssert",
|
|
7158
7415
|
path: _path + ".releaseRevision",
|
|
7159
7416
|
expected: "(number | undefined)",
|
|
7160
7417
|
value: input.releaseRevision
|
|
7161
|
-
}, _errorFactory)) && ("string" === typeof input.label ||
|
|
7418
|
+
}, _errorFactory)) && ("string" === typeof input.label || _assertGuard_17._assertGuard(_exceptionable, {
|
|
7162
7419
|
method: "typia.createAssert",
|
|
7163
7420
|
path: _path + ".label",
|
|
7164
7421
|
expected: "string",
|
|
@@ -7168,142 +7425,142 @@ var assertReleaseManifestStructure = /* @__PURE__ */ (() => {
|
|
|
7168
7425
|
const value = input[key];
|
|
7169
7426
|
if (void 0 === value)
|
|
7170
7427
|
return true;
|
|
7171
|
-
return ("object" === typeof value && null !== value ||
|
|
7428
|
+
return ("object" === typeof value && null !== value || _assertGuard_17._assertGuard(_exceptionable, {
|
|
7172
7429
|
method: "typia.createAssert",
|
|
7173
7430
|
path: _path + __typia_transform__accessExpressionAsString3(key),
|
|
7174
7431
|
expected: "ReleaseTargetManifest",
|
|
7175
7432
|
value
|
|
7176
|
-
}, _errorFactory)) && _ao3(value, _path + __typia_transform__accessExpressionAsString3(key), _exceptionable) ||
|
|
7433
|
+
}, _errorFactory)) && _ao3(value, _path + __typia_transform__accessExpressionAsString3(key), _exceptionable) || _assertGuard_17._assertGuard(_exceptionable, {
|
|
7177
7434
|
method: "typia.createAssert",
|
|
7178
7435
|
path: _path + __typia_transform__accessExpressionAsString3(key),
|
|
7179
7436
|
expected: "ReleaseTargetManifest",
|
|
7180
7437
|
value
|
|
7181
7438
|
}, _errorFactory);
|
|
7182
7439
|
});
|
|
7183
|
-
const _ao3 = (input, _path, _exceptionable = true) => ("string" === typeof input.artifact ||
|
|
7440
|
+
const _ao3 = (input, _path, _exceptionable = true) => ("string" === typeof input.artifact || _assertGuard_17._assertGuard(_exceptionable, {
|
|
7184
7441
|
method: "typia.createAssert",
|
|
7185
7442
|
path: _path + ".artifact",
|
|
7186
7443
|
expected: "string",
|
|
7187
7444
|
value: input.artifact
|
|
7188
|
-
}, _errorFactory)) && (void 0 === input.profile || "string" === typeof input.profile ||
|
|
7445
|
+
}, _errorFactory)) && (void 0 === input.profile || "string" === typeof input.profile || _assertGuard_17._assertGuard(_exceptionable, {
|
|
7189
7446
|
method: "typia.createAssert",
|
|
7190
7447
|
path: _path + ".profile",
|
|
7191
7448
|
expected: "(string | undefined)",
|
|
7192
7449
|
value: input.profile
|
|
7193
|
-
}, _errorFactory)) && (("object" === typeof input.effectiveConfig && null !== input.effectiveConfig ||
|
|
7450
|
+
}, _errorFactory)) && (("object" === typeof input.effectiveConfig && null !== input.effectiveConfig || _assertGuard_17._assertGuard(_exceptionable, {
|
|
7194
7451
|
method: "typia.createAssert",
|
|
7195
7452
|
path: _path + ".effectiveConfig",
|
|
7196
7453
|
expected: "{ readonly path: string; readonly version: string; readonly digest: string; }",
|
|
7197
7454
|
value: input.effectiveConfig
|
|
7198
|
-
}, _errorFactory)) && _ao4(input.effectiveConfig, _path + ".effectiveConfig", _exceptionable) ||
|
|
7455
|
+
}, _errorFactory)) && _ao4(input.effectiveConfig, _path + ".effectiveConfig", _exceptionable) || _assertGuard_17._assertGuard(_exceptionable, {
|
|
7199
7456
|
method: "typia.createAssert",
|
|
7200
7457
|
path: _path + ".effectiveConfig",
|
|
7201
7458
|
expected: "{ readonly path: string; readonly version: string; readonly digest: string; }",
|
|
7202
7459
|
value: input.effectiveConfig
|
|
7203
|
-
}, _errorFactory)) && (("object" === typeof input.iconManifest && null !== input.iconManifest ||
|
|
7460
|
+
}, _errorFactory)) && (("object" === typeof input.iconManifest && null !== input.iconManifest || _assertGuard_17._assertGuard(_exceptionable, {
|
|
7204
7461
|
method: "typia.createAssert",
|
|
7205
7462
|
path: _path + ".iconManifest",
|
|
7206
7463
|
expected: _ae0,
|
|
7207
7464
|
value: input.iconManifest
|
|
7208
|
-
}, _errorFactory)) && _ao5(input.iconManifest, _path + ".iconManifest", _exceptionable) ||
|
|
7465
|
+
}, _errorFactory)) && _ao5(input.iconManifest, _path + ".iconManifest", _exceptionable) || _assertGuard_17._assertGuard(_exceptionable, {
|
|
7209
7466
|
method: "typia.createAssert",
|
|
7210
7467
|
path: _path + ".iconManifest",
|
|
7211
7468
|
expected: _ae0,
|
|
7212
7469
|
value: input.iconManifest
|
|
7213
|
-
}, _errorFactory)) && (void 0 === input.versionName || "string" === typeof input.versionName ||
|
|
7470
|
+
}, _errorFactory)) && (void 0 === input.versionName || "string" === typeof input.versionName || _assertGuard_17._assertGuard(_exceptionable, {
|
|
7214
7471
|
method: "typia.createAssert",
|
|
7215
7472
|
path: _path + ".versionName",
|
|
7216
7473
|
expected: "(string | undefined)",
|
|
7217
7474
|
value: input.versionName
|
|
7218
|
-
}, _errorFactory)) && (void 0 === input.versionCode || "number" === typeof input.versionCode ||
|
|
7475
|
+
}, _errorFactory)) && (void 0 === input.versionCode || "number" === typeof input.versionCode || _assertGuard_17._assertGuard(_exceptionable, {
|
|
7219
7476
|
method: "typia.createAssert",
|
|
7220
7477
|
path: _path + ".versionCode",
|
|
7221
7478
|
expected: "(number | undefined)",
|
|
7222
7479
|
value: input.versionCode
|
|
7223
|
-
}, _errorFactory)) && (void 0 === input.marketingVersion || "string" === typeof input.marketingVersion ||
|
|
7480
|
+
}, _errorFactory)) && (void 0 === input.marketingVersion || "string" === typeof input.marketingVersion || _assertGuard_17._assertGuard(_exceptionable, {
|
|
7224
7481
|
method: "typia.createAssert",
|
|
7225
7482
|
path: _path + ".marketingVersion",
|
|
7226
7483
|
expected: "(string | undefined)",
|
|
7227
7484
|
value: input.marketingVersion
|
|
7228
|
-
}, _errorFactory)) && (void 0 === input.buildNumber || "string" === typeof input.buildNumber ||
|
|
7485
|
+
}, _errorFactory)) && (void 0 === input.buildNumber || "string" === typeof input.buildNumber || _assertGuard_17._assertGuard(_exceptionable, {
|
|
7229
7486
|
method: "typia.createAssert",
|
|
7230
7487
|
path: _path + ".buildNumber",
|
|
7231
7488
|
expected: "(string | undefined)",
|
|
7232
7489
|
value: input.buildNumber
|
|
7233
|
-
}, _errorFactory)) && (void 0 === input.nativeDelivery || ("object" === typeof input.nativeDelivery && null !== input.nativeDelivery ||
|
|
7490
|
+
}, _errorFactory)) && (void 0 === input.nativeDelivery || ("object" === typeof input.nativeDelivery && null !== input.nativeDelivery || _assertGuard_17._assertGuard(_exceptionable, {
|
|
7234
7491
|
method: "typia.createAssert",
|
|
7235
7492
|
path: _path + ".nativeDelivery",
|
|
7236
7493
|
expected: "(ReleaseNativeDelivery | undefined)",
|
|
7237
7494
|
value: input.nativeDelivery
|
|
7238
|
-
}, _errorFactory)) && _ao6(input.nativeDelivery, _path + ".nativeDelivery", _exceptionable) ||
|
|
7495
|
+
}, _errorFactory)) && _ao6(input.nativeDelivery, _path + ".nativeDelivery", _exceptionable) || _assertGuard_17._assertGuard(_exceptionable, {
|
|
7239
7496
|
method: "typia.createAssert",
|
|
7240
7497
|
path: _path + ".nativeDelivery",
|
|
7241
7498
|
expected: "(ReleaseNativeDelivery | undefined)",
|
|
7242
7499
|
value: input.nativeDelivery
|
|
7243
|
-
}, _errorFactory)) && (void 0 === input.appName || "string" === typeof input.appName ||
|
|
7500
|
+
}, _errorFactory)) && (void 0 === input.appName || "string" === typeof input.appName || _assertGuard_17._assertGuard(_exceptionable, {
|
|
7244
7501
|
method: "typia.createAssert",
|
|
7245
7502
|
path: _path + ".appName",
|
|
7246
7503
|
expected: "(string | undefined)",
|
|
7247
7504
|
value: input.appName
|
|
7248
|
-
}, _errorFactory)) && (void 0 === input.sdkMajor || "number" === typeof input.sdkMajor ||
|
|
7505
|
+
}, _errorFactory)) && (void 0 === input.sdkMajor || "number" === typeof input.sdkMajor || _assertGuard_17._assertGuard(_exceptionable, {
|
|
7249
7506
|
method: "typia.createAssert",
|
|
7250
7507
|
path: _path + ".sdkMajor",
|
|
7251
7508
|
expected: "(number | undefined)",
|
|
7252
7509
|
value: input.sdkMajor
|
|
7253
7510
|
}, _errorFactory));
|
|
7254
|
-
const _ao4 = (input, _path, _exceptionable = true) => _ap1(input, _path, _exceptionable) && ("string" === typeof input.version ||
|
|
7511
|
+
const _ao4 = (input, _path, _exceptionable = true) => _ap1(input, _path, _exceptionable) && ("string" === typeof input.version || _assertGuard_17._assertGuard(_exceptionable, {
|
|
7255
7512
|
method: "typia.createAssert",
|
|
7256
7513
|
path: _path + ".version",
|
|
7257
7514
|
expected: "string",
|
|
7258
7515
|
value: input.version
|
|
7259
7516
|
}, _errorFactory)) && _ap2(input, _path, _exceptionable);
|
|
7260
|
-
const _ao5 = (input, _path, _exceptionable = true) => _ap1(input, _path, _exceptionable) && _ap2(input, _path, _exceptionable) && ("string" === typeof input.sourceSha256 ||
|
|
7517
|
+
const _ao5 = (input, _path, _exceptionable = true) => _ap1(input, _path, _exceptionable) && _ap2(input, _path, _exceptionable) && ("string" === typeof input.sourceSha256 || _assertGuard_17._assertGuard(_exceptionable, {
|
|
7261
7518
|
method: "typia.createAssert",
|
|
7262
7519
|
path: _path + ".sourceSha256",
|
|
7263
7520
|
expected: "string",
|
|
7264
7521
|
value: input.sourceSha256
|
|
7265
|
-
}, _errorFactory)) && ("string" === typeof input.sharedConfigSha256 ||
|
|
7522
|
+
}, _errorFactory)) && ("string" === typeof input.sharedConfigSha256 || _assertGuard_17._assertGuard(_exceptionable, {
|
|
7266
7523
|
method: "typia.createAssert",
|
|
7267
7524
|
path: _path + ".sharedConfigSha256",
|
|
7268
7525
|
expected: "string",
|
|
7269
7526
|
value: input.sharedConfigSha256
|
|
7270
|
-
}, _errorFactory)) && ("string" === typeof input.renderConfigSha256 ||
|
|
7527
|
+
}, _errorFactory)) && ("string" === typeof input.renderConfigSha256 || _assertGuard_17._assertGuard(_exceptionable, {
|
|
7271
7528
|
method: "typia.createAssert",
|
|
7272
7529
|
path: _path + ".renderConfigSha256",
|
|
7273
7530
|
expected: "string",
|
|
7274
7531
|
value: input.renderConfigSha256
|
|
7275
|
-
}, _errorFactory)) && ("string" === typeof input.generatorVersion ||
|
|
7532
|
+
}, _errorFactory)) && ("string" === typeof input.generatorVersion || _assertGuard_17._assertGuard(_exceptionable, {
|
|
7276
7533
|
method: "typia.createAssert",
|
|
7277
7534
|
path: _path + ".generatorVersion",
|
|
7278
7535
|
expected: "string",
|
|
7279
7536
|
value: input.generatorVersion
|
|
7280
|
-
}, _errorFactory)) && ("string" === typeof input.targetProfile ||
|
|
7537
|
+
}, _errorFactory)) && ("string" === typeof input.targetProfile || _assertGuard_17._assertGuard(_exceptionable, {
|
|
7281
7538
|
method: "typia.createAssert",
|
|
7282
7539
|
path: _path + ".targetProfile",
|
|
7283
7540
|
expected: "string",
|
|
7284
7541
|
value: input.targetProfile
|
|
7285
|
-
}, _errorFactory)) && ("string" === typeof input.targetProfileVersion ||
|
|
7542
|
+
}, _errorFactory)) && ("string" === typeof input.targetProfileVersion || _assertGuard_17._assertGuard(_exceptionable, {
|
|
7286
7543
|
method: "typia.createAssert",
|
|
7287
7544
|
path: _path + ".targetProfileVersion",
|
|
7288
7545
|
expected: "string",
|
|
7289
7546
|
value: input.targetProfileVersion
|
|
7290
7547
|
}, _errorFactory));
|
|
7291
|
-
const _ao6 = (input, _path, _exceptionable = true) => ("android" === input.platform || "ios" === input.platform ||
|
|
7548
|
+
const _ao6 = (input, _path, _exceptionable = true) => ("android" === input.platform || "ios" === input.platform || _assertGuard_17._assertGuard(_exceptionable, {
|
|
7292
7549
|
method: "typia.createAssert",
|
|
7293
7550
|
path: _path + ".platform",
|
|
7294
7551
|
expected: '("android" | "ios")',
|
|
7295
7552
|
value: input.platform
|
|
7296
|
-
}, _errorFactory)) && ("debug" === input.mode || "signed-archive" === input.mode || "simulator" === input.mode || "store-export" === input.mode || "sync" === input.mode || "unsigned-archive" === input.mode ||
|
|
7553
|
+
}, _errorFactory)) && ("debug" === input.mode || "signed-archive" === input.mode || "simulator" === input.mode || "store-export" === input.mode || "sync" === input.mode || "unsigned-archive" === input.mode || _assertGuard_17._assertGuard(_exceptionable, {
|
|
7297
7554
|
method: "typia.createAssert",
|
|
7298
7555
|
path: _path + ".mode",
|
|
7299
7556
|
expected: '("debug" | "signed-archive" | "simulator" | "store-export" | "sync" | "unsigned-archive")',
|
|
7300
7557
|
value: input.mode
|
|
7301
|
-
}, _errorFactory)) && ("boolean" === typeof input.signed ||
|
|
7558
|
+
}, _errorFactory)) && ("boolean" === typeof input.signed || _assertGuard_17._assertGuard(_exceptionable, {
|
|
7302
7559
|
method: "typia.createAssert",
|
|
7303
7560
|
path: _path + ".signed",
|
|
7304
7561
|
expected: "boolean",
|
|
7305
7562
|
value: input.signed
|
|
7306
|
-
}, _errorFactory)) && ("boolean" === typeof input.submissionCandidate ||
|
|
7563
|
+
}, _errorFactory)) && ("boolean" === typeof input.submissionCandidate || _assertGuard_17._assertGuard(_exceptionable, {
|
|
7307
7564
|
method: "typia.createAssert",
|
|
7308
7565
|
path: _path + ".submissionCandidate",
|
|
7309
7566
|
expected: "boolean",
|
|
@@ -7326,12 +7583,12 @@ var assertReleaseManifestStructure = /* @__PURE__ */ (() => {
|
|
|
7326
7583
|
return (input, errorFactory) => {
|
|
7327
7584
|
if (false === __is(input)) {
|
|
7328
7585
|
_errorFactory = errorFactory;
|
|
7329
|
-
((input2, _path, _exceptionable = true) => ("object" === typeof input2 && null !== input2 ||
|
|
7586
|
+
((input2, _path, _exceptionable = true) => ("object" === typeof input2 && null !== input2 || _assertGuard_17._assertGuard(true, {
|
|
7330
7587
|
method: "typia.createAssert",
|
|
7331
7588
|
path: _path + "",
|
|
7332
7589
|
expected: "ReleaseManifest",
|
|
7333
7590
|
value: input2
|
|
7334
|
-
}, _errorFactory)) && _ao0(input2, _path + "", true) ||
|
|
7591
|
+
}, _errorFactory)) && _ao0(input2, _path + "", true) || _assertGuard_17._assertGuard(true, {
|
|
7335
7592
|
method: "typia.createAssert",
|
|
7336
7593
|
path: _path + "",
|
|
7337
7594
|
expected: "ReleaseManifest",
|
|
@@ -7479,149 +7736,149 @@ function canRecoverLock(lockFile) {
|
|
|
7479
7736
|
}
|
|
7480
7737
|
|
|
7481
7738
|
// node_modules/.cache/mpgd-native-build/tools/target/generate-release-manifest.js
|
|
7482
|
-
var __typia_transform__accessExpressionAsString4 =
|
|
7739
|
+
var __typia_transform__accessExpressionAsString4 = _accessExpressionAsString_18._accessExpressionAsString;
|
|
7483
7740
|
var assertProductCatalog = /* @__PURE__ */ (() => {
|
|
7484
7741
|
const _ae0 = '({ readonly type: "currency"; readonly currency: string & MinLength<1>; readonly amount: number; } | { readonly type: "entitlement"; readonly entitlement: string; } | { readonly type: "resource"; readonly resource: string & MinLength<1>; readonly amount: number & ExclusiveMinimum<0> & Maximum<1.7976931348623157e+308>; })';
|
|
7485
|
-
const _ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.version ||
|
|
7742
|
+
const _ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.version || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7486
7743
|
method: "typia.createAssert",
|
|
7487
7744
|
path: _path + ".version",
|
|
7488
7745
|
expected: "string",
|
|
7489
7746
|
value: input.version
|
|
7490
|
-
}, _errorFactory)) && (void 0 === input.currencies || (Array.isArray(input.currencies) ||
|
|
7747
|
+
}, _errorFactory)) && (void 0 === input.currencies || (Array.isArray(input.currencies) || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7491
7748
|
method: "typia.createAssert",
|
|
7492
7749
|
path: _path + ".currencies",
|
|
7493
7750
|
expected: "((ReadonlyArray<string & MinLength<1>> & MinItems<1>) | undefined)",
|
|
7494
7751
|
value: input.currencies
|
|
7495
|
-
}, _errorFactory)) && ((1 <= input.currencies.length ||
|
|
7752
|
+
}, _errorFactory)) && ((1 <= input.currencies.length || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7496
7753
|
method: "typia.createAssert",
|
|
7497
7754
|
path: _path + ".currencies",
|
|
7498
7755
|
expected: "Array<> & MinItems<1>",
|
|
7499
7756
|
value: input.currencies
|
|
7500
|
-
}, _errorFactory)) && input.currencies.every((elem, _index3) => "string" === typeof elem && (1 <= elem.length ||
|
|
7757
|
+
}, _errorFactory)) && input.currencies.every((elem, _index3) => "string" === typeof elem && (1 <= elem.length || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7501
7758
|
method: "typia.createAssert",
|
|
7502
7759
|
path: _path + ".currencies[" + _index3 + "]",
|
|
7503
7760
|
expected: "string & MinLength<1>",
|
|
7504
7761
|
value: elem
|
|
7505
|
-
}, _errorFactory)) ||
|
|
7762
|
+
}, _errorFactory)) || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7506
7763
|
method: "typia.createAssert",
|
|
7507
7764
|
path: _path + ".currencies[" + _index3 + "]",
|
|
7508
7765
|
expected: "(string & MinLength<1>)",
|
|
7509
7766
|
value: elem
|
|
7510
|
-
}, _errorFactory))) ||
|
|
7767
|
+
}, _errorFactory))) || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7511
7768
|
method: "typia.createAssert",
|
|
7512
7769
|
path: _path + ".currencies",
|
|
7513
7770
|
expected: "((ReadonlyArray<string & MinLength<1>> & MinItems<1>) | undefined)",
|
|
7514
7771
|
value: input.currencies
|
|
7515
|
-
}, _errorFactory)) && ((Array.isArray(input.products) ||
|
|
7772
|
+
}, _errorFactory)) && ((Array.isArray(input.products) || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7516
7773
|
method: "typia.createAssert",
|
|
7517
7774
|
path: _path + ".products",
|
|
7518
7775
|
expected: "ReadonlyArray<ProductCatalogEntry>",
|
|
7519
7776
|
value: input.products
|
|
7520
|
-
}, _errorFactory)) && input.products.every((elem, _index4) => ("object" === typeof elem && null !== elem ||
|
|
7777
|
+
}, _errorFactory)) && input.products.every((elem, _index4) => ("object" === typeof elem && null !== elem || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7521
7778
|
method: "typia.createAssert",
|
|
7522
7779
|
path: _path + ".products[" + _index4 + "]",
|
|
7523
7780
|
expected: "ProductCatalogEntry",
|
|
7524
7781
|
value: elem
|
|
7525
|
-
}, _errorFactory)) && _ao1(elem, _path + ".products[" + _index4 + "]", _exceptionable) ||
|
|
7782
|
+
}, _errorFactory)) && _ao1(elem, _path + ".products[" + _index4 + "]", _exceptionable) || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7526
7783
|
method: "typia.createAssert",
|
|
7527
7784
|
path: _path + ".products[" + _index4 + "]",
|
|
7528
7785
|
expected: "ProductCatalogEntry",
|
|
7529
7786
|
value: elem
|
|
7530
|
-
}, _errorFactory)) ||
|
|
7787
|
+
}, _errorFactory)) || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7531
7788
|
method: "typia.createAssert",
|
|
7532
7789
|
path: _path + ".products",
|
|
7533
7790
|
expected: "ReadonlyArray<ProductCatalogEntry>",
|
|
7534
7791
|
value: input.products
|
|
7535
7792
|
}, _errorFactory));
|
|
7536
|
-
const _ao1 = (input, _path, _exceptionable = true) => ("string" === typeof input.id ||
|
|
7793
|
+
const _ao1 = (input, _path, _exceptionable = true) => ("string" === typeof input.id || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7537
7794
|
method: "typia.createAssert",
|
|
7538
7795
|
path: _path + ".id",
|
|
7539
7796
|
expected: "string",
|
|
7540
7797
|
value: input.id
|
|
7541
|
-
}, _errorFactory)) && ("consumable" === input.type || "non_consumable" === input.type || "subscription" === input.type ||
|
|
7798
|
+
}, _errorFactory)) && ("consumable" === input.type || "non_consumable" === input.type || "subscription" === input.type || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7542
7799
|
method: "typia.createAssert",
|
|
7543
7800
|
path: _path + ".type",
|
|
7544
7801
|
expected: '("consumable" | "non_consumable" | "subscription")',
|
|
7545
7802
|
value: input.type
|
|
7546
|
-
}, _errorFactory)) && (("object" === typeof input.grant && null !== input.grant ||
|
|
7803
|
+
}, _errorFactory)) && (("object" === typeof input.grant && null !== input.grant || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7547
7804
|
method: "typia.createAssert",
|
|
7548
7805
|
path: _path + ".grant",
|
|
7549
7806
|
expected: _ae0,
|
|
7550
7807
|
value: input.grant
|
|
7551
|
-
}, _errorFactory)) && _au0(input.grant, _path + ".grant", _exceptionable) ||
|
|
7808
|
+
}, _errorFactory)) && _au0(input.grant, _path + ".grant", _exceptionable) || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7552
7809
|
method: "typia.createAssert",
|
|
7553
7810
|
path: _path + ".grant",
|
|
7554
7811
|
expected: _ae0,
|
|
7555
7812
|
value: input.grant
|
|
7556
|
-
}, _errorFactory)) && (("object" === typeof input.platformProductIds && null !== input.platformProductIds && false === Array.isArray(input.platformProductIds) ||
|
|
7813
|
+
}, _errorFactory)) && (("object" === typeof input.platformProductIds && null !== input.platformProductIds && false === Array.isArray(input.platformProductIds) || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7557
7814
|
method: "typia.createAssert",
|
|
7558
7815
|
path: _path + ".platformProductIds",
|
|
7559
7816
|
expected: "Partial<Record<string, string>>",
|
|
7560
7817
|
value: input.platformProductIds
|
|
7561
|
-
}, _errorFactory)) && _ao5(input.platformProductIds, _path + ".platformProductIds", _exceptionable) ||
|
|
7818
|
+
}, _errorFactory)) && _ao5(input.platformProductIds, _path + ".platformProductIds", _exceptionable) || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7562
7819
|
method: "typia.createAssert",
|
|
7563
7820
|
path: _path + ".platformProductIds",
|
|
7564
7821
|
expected: "Partial<Record<string, string>>",
|
|
7565
7822
|
value: input.platformProductIds
|
|
7566
7823
|
}, _errorFactory));
|
|
7567
|
-
const _ao2 = (input, _path, _exceptionable = true) => ("currency" === input.type ||
|
|
7824
|
+
const _ao2 = (input, _path, _exceptionable = true) => ("currency" === input.type || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7568
7825
|
method: "typia.createAssert",
|
|
7569
7826
|
path: _path + ".type",
|
|
7570
7827
|
expected: '"currency"',
|
|
7571
7828
|
value: input.type
|
|
7572
|
-
}, _errorFactory)) && ("string" === typeof input.currency && (1 <= input.currency.length ||
|
|
7829
|
+
}, _errorFactory)) && ("string" === typeof input.currency && (1 <= input.currency.length || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7573
7830
|
method: "typia.createAssert",
|
|
7574
7831
|
path: _path + ".currency",
|
|
7575
7832
|
expected: "string & MinLength<1>",
|
|
7576
7833
|
value: input.currency
|
|
7577
|
-
}, _errorFactory)) ||
|
|
7834
|
+
}, _errorFactory)) || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7578
7835
|
method: "typia.createAssert",
|
|
7579
7836
|
path: _path + ".currency",
|
|
7580
7837
|
expected: "(string & MinLength<1>)",
|
|
7581
7838
|
value: input.currency
|
|
7582
|
-
}, _errorFactory)) && ("number" === typeof input.amount ||
|
|
7839
|
+
}, _errorFactory)) && ("number" === typeof input.amount || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7583
7840
|
method: "typia.createAssert",
|
|
7584
7841
|
path: _path + ".amount",
|
|
7585
7842
|
expected: "number",
|
|
7586
7843
|
value: input.amount
|
|
7587
7844
|
}, _errorFactory));
|
|
7588
|
-
const _ao3 = (input, _path, _exceptionable = true) => ("entitlement" === input.type ||
|
|
7845
|
+
const _ao3 = (input, _path, _exceptionable = true) => ("entitlement" === input.type || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7589
7846
|
method: "typia.createAssert",
|
|
7590
7847
|
path: _path + ".type",
|
|
7591
7848
|
expected: '"entitlement"',
|
|
7592
7849
|
value: input.type
|
|
7593
|
-
}, _errorFactory)) && ("string" === typeof input.entitlement ||
|
|
7850
|
+
}, _errorFactory)) && ("string" === typeof input.entitlement || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7594
7851
|
method: "typia.createAssert",
|
|
7595
7852
|
path: _path + ".entitlement",
|
|
7596
7853
|
expected: "string",
|
|
7597
7854
|
value: input.entitlement
|
|
7598
7855
|
}, _errorFactory));
|
|
7599
|
-
const _ao4 = (input, _path, _exceptionable = true) => ("resource" === input.type ||
|
|
7856
|
+
const _ao4 = (input, _path, _exceptionable = true) => ("resource" === input.type || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7600
7857
|
method: "typia.createAssert",
|
|
7601
7858
|
path: _path + ".type",
|
|
7602
7859
|
expected: '"resource"',
|
|
7603
7860
|
value: input.type
|
|
7604
|
-
}, _errorFactory)) && ("string" === typeof input.resource && (1 <= input.resource.length ||
|
|
7861
|
+
}, _errorFactory)) && ("string" === typeof input.resource && (1 <= input.resource.length || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7605
7862
|
method: "typia.createAssert",
|
|
7606
7863
|
path: _path + ".resource",
|
|
7607
7864
|
expected: "string & MinLength<1>",
|
|
7608
7865
|
value: input.resource
|
|
7609
|
-
}, _errorFactory)) ||
|
|
7866
|
+
}, _errorFactory)) || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7610
7867
|
method: "typia.createAssert",
|
|
7611
7868
|
path: _path + ".resource",
|
|
7612
7869
|
expected: "(string & MinLength<1>)",
|
|
7613
7870
|
value: input.resource
|
|
7614
|
-
}, _errorFactory)) && ("number" === typeof input.amount && (0 < input.amount ||
|
|
7871
|
+
}, _errorFactory)) && ("number" === typeof input.amount && (0 < input.amount || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7615
7872
|
method: "typia.createAssert",
|
|
7616
7873
|
path: _path + ".amount",
|
|
7617
7874
|
expected: "number & ExclusiveMinimum<0>",
|
|
7618
7875
|
value: input.amount
|
|
7619
|
-
}, _errorFactory)) && (input.amount <= 17976931348623157e292 ||
|
|
7876
|
+
}, _errorFactory)) && (input.amount <= 17976931348623157e292 || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7620
7877
|
method: "typia.createAssert",
|
|
7621
7878
|
path: _path + ".amount",
|
|
7622
7879
|
expected: "number & Maximum<1.7976931348623157e+308>",
|
|
7623
7880
|
value: input.amount
|
|
7624
|
-
}, _errorFactory)) ||
|
|
7881
|
+
}, _errorFactory)) || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7625
7882
|
method: "typia.createAssert",
|
|
7626
7883
|
path: _path + ".amount",
|
|
7627
7884
|
expected: "(number & ExclusiveMinimum<0> & Maximum<1.7976931348623157e+308>)",
|
|
@@ -7631,7 +7888,7 @@ var assertProductCatalog = /* @__PURE__ */ (() => {
|
|
|
7631
7888
|
const value = input[key];
|
|
7632
7889
|
if (void 0 === value)
|
|
7633
7890
|
return true;
|
|
7634
|
-
return void 0 === value || "string" === typeof value ||
|
|
7891
|
+
return void 0 === value || "string" === typeof value || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7635
7892
|
method: "typia.createAssert",
|
|
7636
7893
|
path: _path + __typia_transform__accessExpressionAsString4(key),
|
|
7637
7894
|
expected: "(string | undefined)",
|
|
@@ -7646,7 +7903,7 @@ var assertProductCatalog = /* @__PURE__ */ (() => {
|
|
|
7646
7903
|
else if ("resource" === input.type)
|
|
7647
7904
|
return _ao4(input, _path, _exceptionable);
|
|
7648
7905
|
else
|
|
7649
|
-
return
|
|
7906
|
+
return _assertGuard_18._assertGuard(_exceptionable, {
|
|
7650
7907
|
method: "typia.createAssert",
|
|
7651
7908
|
path: _path,
|
|
7652
7909
|
expected: _ae0,
|
|
@@ -7679,12 +7936,12 @@ var assertProductCatalog = /* @__PURE__ */ (() => {
|
|
|
7679
7936
|
return (input, errorFactory) => {
|
|
7680
7937
|
if (false === __is(input)) {
|
|
7681
7938
|
_errorFactory = errorFactory;
|
|
7682
|
-
((input2, _path, _exceptionable = true) => ("object" === typeof input2 && null !== input2 ||
|
|
7939
|
+
((input2, _path, _exceptionable = true) => ("object" === typeof input2 && null !== input2 || _assertGuard_18._assertGuard(true, {
|
|
7683
7940
|
method: "typia.createAssert",
|
|
7684
7941
|
path: _path + "",
|
|
7685
7942
|
expected: "ProductCatalog",
|
|
7686
7943
|
value: input2
|
|
7687
|
-
}, _errorFactory)) && _ao0(input2, _path + "", true) ||
|
|
7944
|
+
}, _errorFactory)) && _ao0(input2, _path + "", true) || _assertGuard_18._assertGuard(true, {
|
|
7688
7945
|
method: "typia.createAssert",
|
|
7689
7946
|
path: _path + "",
|
|
7690
7947
|
expected: "ProductCatalog",
|
|
@@ -7698,107 +7955,107 @@ var assertAdPlacements = /* @__PURE__ */ (() => {
|
|
|
7698
7955
|
const _ip0 = (input) => "number" === typeof input["amount"];
|
|
7699
7956
|
const _ae0 = '(AdPlacementEntryBase & { readonly type: "banner" | "interstitial"; readonly reward?: never; } | AdPlacementEntryBase & { readonly type: "rewarded"; readonly reward?: AdReward; })';
|
|
7700
7957
|
const _ae1 = '(undefined | { readonly type: "continue"; readonly amount: number; } | { readonly type: "currency"; readonly amount: number; readonly currency: string & MinLength<1>; })';
|
|
7701
|
-
const _ap0 = (input, _path, _exceptionable = true) => "number" === typeof input["amount"] ||
|
|
7958
|
+
const _ap0 = (input, _path, _exceptionable = true) => "number" === typeof input["amount"] || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7702
7959
|
method: "typia.createAssert",
|
|
7703
7960
|
path: _path + ".amount",
|
|
7704
7961
|
expected: "number",
|
|
7705
7962
|
value: input["amount"]
|
|
7706
7963
|
}, _errorFactory);
|
|
7707
7964
|
const _ae2 = '({ readonly type: "continue"; readonly amount: number; } | { readonly type: "currency"; readonly amount: number; readonly currency: string & MinLength<1>; })';
|
|
7708
|
-
const _ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.version ||
|
|
7965
|
+
const _ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.version || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7709
7966
|
method: "typia.createAssert",
|
|
7710
7967
|
path: _path + ".version",
|
|
7711
7968
|
expected: "string",
|
|
7712
7969
|
value: input.version
|
|
7713
|
-
}, _errorFactory)) && ((Array.isArray(input.placements) ||
|
|
7970
|
+
}, _errorFactory)) && ((Array.isArray(input.placements) || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7714
7971
|
method: "typia.createAssert",
|
|
7715
7972
|
path: _path + ".placements",
|
|
7716
7973
|
expected: "ReadonlyArray<AdPlacementEntry>",
|
|
7717
7974
|
value: input.placements
|
|
7718
|
-
}, _errorFactory)) && input.placements.every((elem, _index3) => ("object" === typeof elem && null !== elem ||
|
|
7975
|
+
}, _errorFactory)) && input.placements.every((elem, _index3) => ("object" === typeof elem && null !== elem || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7719
7976
|
method: "typia.createAssert",
|
|
7720
7977
|
path: _path + ".placements[" + _index3 + "]",
|
|
7721
7978
|
expected: _ae0,
|
|
7722
7979
|
value: elem
|
|
7723
|
-
}, _errorFactory)) && _au0(elem, _path + ".placements[" + _index3 + "]", _exceptionable) ||
|
|
7980
|
+
}, _errorFactory)) && _au0(elem, _path + ".placements[" + _index3 + "]", _exceptionable) || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7724
7981
|
method: "typia.createAssert",
|
|
7725
7982
|
path: _path + ".placements[" + _index3 + "]",
|
|
7726
7983
|
expected: _ae0,
|
|
7727
7984
|
value: elem
|
|
7728
|
-
}, _errorFactory)) ||
|
|
7985
|
+
}, _errorFactory)) || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7729
7986
|
method: "typia.createAssert",
|
|
7730
7987
|
path: _path + ".placements",
|
|
7731
7988
|
expected: "ReadonlyArray<AdPlacementEntry>",
|
|
7732
7989
|
value: input.placements
|
|
7733
|
-
}, _errorFactory)) && (void 0 === input.sharedPlatformPlacementTargets || (Array.isArray(input.sharedPlatformPlacementTargets) ||
|
|
7990
|
+
}, _errorFactory)) && (void 0 === input.sharedPlatformPlacementTargets || (Array.isArray(input.sharedPlatformPlacementTargets) || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7734
7991
|
method: "typia.createAssert",
|
|
7735
7992
|
path: _path + ".sharedPlatformPlacementTargets",
|
|
7736
7993
|
expected: "(ReadonlyArray<string> | undefined)",
|
|
7737
7994
|
value: input.sharedPlatformPlacementTargets
|
|
7738
|
-
}, _errorFactory)) && input.sharedPlatformPlacementTargets.every((elem, _index4) => "string" === typeof elem ||
|
|
7995
|
+
}, _errorFactory)) && input.sharedPlatformPlacementTargets.every((elem, _index4) => "string" === typeof elem || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7739
7996
|
method: "typia.createAssert",
|
|
7740
7997
|
path: _path + ".sharedPlatformPlacementTargets[" + _index4 + "]",
|
|
7741
7998
|
expected: "string",
|
|
7742
7999
|
value: elem
|
|
7743
|
-
}, _errorFactory)) ||
|
|
8000
|
+
}, _errorFactory)) || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7744
8001
|
method: "typia.createAssert",
|
|
7745
8002
|
path: _path + ".sharedPlatformPlacementTargets",
|
|
7746
8003
|
expected: "(ReadonlyArray<string> | undefined)",
|
|
7747
8004
|
value: input.sharedPlatformPlacementTargets
|
|
7748
8005
|
}, _errorFactory));
|
|
7749
|
-
const _ao1 = (input, _path, _exceptionable = true) => _ao2(input, _path, _exceptionable) && (("rewarded" === input.type ||
|
|
8006
|
+
const _ao1 = (input, _path, _exceptionable = true) => _ao2(input, _path, _exceptionable) && (("rewarded" === input.type || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7750
8007
|
method: "typia.createAssert",
|
|
7751
8008
|
path: _path + ".type",
|
|
7752
8009
|
expected: '"rewarded"',
|
|
7753
8010
|
value: input.type
|
|
7754
|
-
}, _errorFactory)) && (void 0 === input.reward || ("object" === typeof input.reward && null !== input.reward ||
|
|
8011
|
+
}, _errorFactory)) && (void 0 === input.reward || ("object" === typeof input.reward && null !== input.reward || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7755
8012
|
method: "typia.createAssert",
|
|
7756
8013
|
path: _path + ".reward",
|
|
7757
8014
|
expected: _ae1,
|
|
7758
8015
|
value: input.reward
|
|
7759
|
-
}, _errorFactory)) && _au1(input.reward, _path + ".reward", _exceptionable) ||
|
|
8016
|
+
}, _errorFactory)) && _au1(input.reward, _path + ".reward", _exceptionable) || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7760
8017
|
method: "typia.createAssert",
|
|
7761
8018
|
path: _path + ".reward",
|
|
7762
8019
|
expected: _ae1,
|
|
7763
8020
|
value: input.reward
|
|
7764
8021
|
}, _errorFactory)));
|
|
7765
|
-
const _ao2 = (input, _path, _exceptionable = true) => ("string" === typeof input.id ||
|
|
8022
|
+
const _ao2 = (input, _path, _exceptionable = true) => ("string" === typeof input.id || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7766
8023
|
method: "typia.createAssert",
|
|
7767
8024
|
path: _path + ".id",
|
|
7768
8025
|
expected: "string",
|
|
7769
8026
|
value: input.id
|
|
7770
|
-
}, _errorFactory)) && (("object" === typeof input.frequencyCap && null !== input.frequencyCap ||
|
|
8027
|
+
}, _errorFactory)) && (("object" === typeof input.frequencyCap && null !== input.frequencyCap || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7771
8028
|
method: "typia.createAssert",
|
|
7772
8029
|
path: _path + ".frequencyCap",
|
|
7773
8030
|
expected: "FrequencyCap",
|
|
7774
8031
|
value: input.frequencyCap
|
|
7775
|
-
}, _errorFactory)) && _ao3(input.frequencyCap, _path + ".frequencyCap", _exceptionable) ||
|
|
8032
|
+
}, _errorFactory)) && _ao3(input.frequencyCap, _path + ".frequencyCap", _exceptionable) || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7776
8033
|
method: "typia.createAssert",
|
|
7777
8034
|
path: _path + ".frequencyCap",
|
|
7778
8035
|
expected: "FrequencyCap",
|
|
7779
8036
|
value: input.frequencyCap
|
|
7780
|
-
}, _errorFactory)) && (("object" === typeof input.platformPlacementIds && null !== input.platformPlacementIds && false === Array.isArray(input.platformPlacementIds) ||
|
|
8037
|
+
}, _errorFactory)) && (("object" === typeof input.platformPlacementIds && null !== input.platformPlacementIds && false === Array.isArray(input.platformPlacementIds) || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7781
8038
|
method: "typia.createAssert",
|
|
7782
8039
|
path: _path + ".platformPlacementIds",
|
|
7783
8040
|
expected: "Partial<Record<string, string>>",
|
|
7784
8041
|
value: input.platformPlacementIds
|
|
7785
|
-
}, _errorFactory)) && _ao4(input.platformPlacementIds, _path + ".platformPlacementIds", _exceptionable) ||
|
|
8042
|
+
}, _errorFactory)) && _ao4(input.platformPlacementIds, _path + ".platformPlacementIds", _exceptionable) || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7786
8043
|
method: "typia.createAssert",
|
|
7787
8044
|
path: _path + ".platformPlacementIds",
|
|
7788
8045
|
expected: "Partial<Record<string, string>>",
|
|
7789
8046
|
value: input.platformPlacementIds
|
|
7790
8047
|
}, _errorFactory));
|
|
7791
|
-
const _ao3 = (input, _path, _exceptionable = true) => ("number" === typeof input.cooldownSeconds ||
|
|
8048
|
+
const _ao3 = (input, _path, _exceptionable = true) => ("number" === typeof input.cooldownSeconds || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7792
8049
|
method: "typia.createAssert",
|
|
7793
8050
|
path: _path + ".cooldownSeconds",
|
|
7794
8051
|
expected: "number",
|
|
7795
8052
|
value: input.cooldownSeconds
|
|
7796
|
-
}, _errorFactory)) && (void 0 === input.maxPerSession || "number" === typeof input.maxPerSession ||
|
|
8053
|
+
}, _errorFactory)) && (void 0 === input.maxPerSession || "number" === typeof input.maxPerSession || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7797
8054
|
method: "typia.createAssert",
|
|
7798
8055
|
path: _path + ".maxPerSession",
|
|
7799
8056
|
expected: "(number | undefined)",
|
|
7800
8057
|
value: input.maxPerSession
|
|
7801
|
-
}, _errorFactory)) && (void 0 === input.minStageInterval || "number" === typeof input.minStageInterval ||
|
|
8058
|
+
}, _errorFactory)) && (void 0 === input.minStageInterval || "number" === typeof input.minStageInterval || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7802
8059
|
method: "typia.createAssert",
|
|
7803
8060
|
path: _path + ".minStageInterval",
|
|
7804
8061
|
expected: "(number | undefined)",
|
|
@@ -7808,46 +8065,46 @@ var assertAdPlacements = /* @__PURE__ */ (() => {
|
|
|
7808
8065
|
const value = input[key];
|
|
7809
8066
|
if (void 0 === value)
|
|
7810
8067
|
return true;
|
|
7811
|
-
return void 0 === value || "string" === typeof value ||
|
|
8068
|
+
return void 0 === value || "string" === typeof value || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7812
8069
|
method: "typia.createAssert",
|
|
7813
8070
|
path: _path + __typia_transform__accessExpressionAsString4(key),
|
|
7814
8071
|
expected: "(string | undefined)",
|
|
7815
8072
|
value
|
|
7816
8073
|
}, _errorFactory);
|
|
7817
8074
|
});
|
|
7818
|
-
const _ao5 = (input, _path, _exceptionable = true) => ("continue" === input.type ||
|
|
8075
|
+
const _ao5 = (input, _path, _exceptionable = true) => ("continue" === input.type || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7819
8076
|
method: "typia.createAssert",
|
|
7820
8077
|
path: _path + ".type",
|
|
7821
8078
|
expected: '"continue"',
|
|
7822
8079
|
value: input.type
|
|
7823
8080
|
}, _errorFactory)) && _ap0(input, _path, _exceptionable);
|
|
7824
|
-
const _ao6 = (input, _path, _exceptionable = true) => ("currency" === input.type ||
|
|
8081
|
+
const _ao6 = (input, _path, _exceptionable = true) => ("currency" === input.type || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7825
8082
|
method: "typia.createAssert",
|
|
7826
8083
|
path: _path + ".type",
|
|
7827
8084
|
expected: '"currency"',
|
|
7828
8085
|
value: input.type
|
|
7829
|
-
}, _errorFactory)) && _ap0(input, _path, _exceptionable) && ("string" === typeof input.currency && (1 <= input.currency.length ||
|
|
8086
|
+
}, _errorFactory)) && _ap0(input, _path, _exceptionable) && ("string" === typeof input.currency && (1 <= input.currency.length || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7830
8087
|
method: "typia.createAssert",
|
|
7831
8088
|
path: _path + ".currency",
|
|
7832
8089
|
expected: "string & MinLength<1>",
|
|
7833
8090
|
value: input.currency
|
|
7834
|
-
}, _errorFactory)) ||
|
|
8091
|
+
}, _errorFactory)) || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7835
8092
|
method: "typia.createAssert",
|
|
7836
8093
|
path: _path + ".currency",
|
|
7837
8094
|
expected: "(string & MinLength<1>)",
|
|
7838
8095
|
value: input.currency
|
|
7839
8096
|
}, _errorFactory));
|
|
7840
|
-
const _ao7 = (input, _path, _exceptionable = true) => _ao2(input, _path, _exceptionable) && (("banner" === input.type || "interstitial" === input.type ||
|
|
8097
|
+
const _ao7 = (input, _path, _exceptionable = true) => _ao2(input, _path, _exceptionable) && (("banner" === input.type || "interstitial" === input.type || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7841
8098
|
method: "typia.createAssert",
|
|
7842
8099
|
path: _path + ".type",
|
|
7843
8100
|
expected: '("banner" | "interstitial")',
|
|
7844
8101
|
value: input.type
|
|
7845
|
-
}, _errorFactory)) && ((null !== input.reward ||
|
|
8102
|
+
}, _errorFactory)) && ((null !== input.reward || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7846
8103
|
method: "typia.createAssert",
|
|
7847
8104
|
path: _path + ".reward",
|
|
7848
8105
|
expected: "undefined",
|
|
7849
8106
|
value: input.reward
|
|
7850
|
-
}, _errorFactory)) && (void 0 === input.reward ||
|
|
8107
|
+
}, _errorFactory)) && (void 0 === input.reward || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7851
8108
|
method: "typia.createAssert",
|
|
7852
8109
|
path: _path + ".reward",
|
|
7853
8110
|
expected: "undefined",
|
|
@@ -7859,7 +8116,7 @@ var assertAdPlacements = /* @__PURE__ */ (() => {
|
|
|
7859
8116
|
else if ("rewarded" === input.type)
|
|
7860
8117
|
return _ao1(input, _path, _exceptionable);
|
|
7861
8118
|
else
|
|
7862
|
-
return
|
|
8119
|
+
return _assertGuard_18._assertGuard(_exceptionable, {
|
|
7863
8120
|
method: "typia.createAssert",
|
|
7864
8121
|
path: _path,
|
|
7865
8122
|
expected: _ae0,
|
|
@@ -7872,7 +8129,7 @@ var assertAdPlacements = /* @__PURE__ */ (() => {
|
|
|
7872
8129
|
else if ("currency" === input.type)
|
|
7873
8130
|
return _ao6(input, _path, _exceptionable);
|
|
7874
8131
|
else
|
|
7875
|
-
return
|
|
8132
|
+
return _assertGuard_18._assertGuard(_exceptionable, {
|
|
7876
8133
|
method: "typia.createAssert",
|
|
7877
8134
|
path: _path,
|
|
7878
8135
|
expected: _ae2,
|
|
@@ -7913,12 +8170,12 @@ var assertAdPlacements = /* @__PURE__ */ (() => {
|
|
|
7913
8170
|
return (input, errorFactory) => {
|
|
7914
8171
|
if (false === __is(input)) {
|
|
7915
8172
|
_errorFactory = errorFactory;
|
|
7916
|
-
((input2, _path, _exceptionable = true) => ("object" === typeof input2 && null !== input2 ||
|
|
8173
|
+
((input2, _path, _exceptionable = true) => ("object" === typeof input2 && null !== input2 || _assertGuard_18._assertGuard(true, {
|
|
7917
8174
|
method: "typia.createAssert",
|
|
7918
8175
|
path: _path + "",
|
|
7919
8176
|
expected: "AdPlacements",
|
|
7920
8177
|
value: input2
|
|
7921
|
-
}, _errorFactory)) && _ao0(input2, _path + "", true) ||
|
|
8178
|
+
}, _errorFactory)) && _ao0(input2, _path + "", true) || _assertGuard_18._assertGuard(true, {
|
|
7922
8179
|
method: "typia.createAssert",
|
|
7923
8180
|
path: _path + "",
|
|
7924
8181
|
expected: "AdPlacements",
|
|
@@ -11601,7 +11858,7 @@ import { createHash as createHash11 } from "node:crypto";
|
|
|
11601
11858
|
var profileUuidPattern = /^[0-9A-F]{8}-(?:[0-9A-F]{4}-){3}[0-9A-F]{12}$/iu;
|
|
11602
11859
|
var certFingerprintPattern = /^[0-9A-F]{64}$/u;
|
|
11603
11860
|
function inspectIosDistributionProfile(value, input) {
|
|
11604
|
-
if (!
|
|
11861
|
+
if (!isRecord4(value)) {
|
|
11605
11862
|
throw new Error("iOS provisioning profile is malformed.");
|
|
11606
11863
|
}
|
|
11607
11864
|
const uuid = value.UUID;
|
|
@@ -11618,7 +11875,7 @@ function inspectIosDistributionProfile(value, input) {
|
|
|
11618
11875
|
if (!Array.isArray(appIdPrefixes) || appIdPrefixes.length !== 1 || typeof appIdPrefixes[0] !== "string" || !/^[A-Z0-9]{10}$/u.test(appIdPrefixes[0])) {
|
|
11619
11876
|
throw new Error("iOS provisioning profile has an invalid App ID prefix.");
|
|
11620
11877
|
}
|
|
11621
|
-
if (!
|
|
11878
|
+
if (!isRecord4(value.Entitlements) || value.Entitlements["application-identifier"] !== `${appIdPrefixes[0]}.${input.bundleId}` || value.Entitlements["get-task-allow"] === true || value.Entitlements["com.apple.developer.team-identifier"] !== void 0 && value.Entitlements["com.apple.developer.team-identifier"] !== input.teamId) {
|
|
11622
11879
|
throw new Error("iOS provisioning profile does not match the app ID or distribution rights.");
|
|
11623
11880
|
}
|
|
11624
11881
|
if (!Array.isArray(value.DeveloperCertificates) || !value.DeveloperCertificates.some((certificate) => {
|
|
@@ -11635,7 +11892,7 @@ function inspectIosDistributionProfile(value, input) {
|
|
|
11635
11892
|
}
|
|
11636
11893
|
return { uuid, name, expiresAt };
|
|
11637
11894
|
}
|
|
11638
|
-
function
|
|
11895
|
+
function isRecord4(value) {
|
|
11639
11896
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
11640
11897
|
}
|
|
11641
11898
|
|
|
@@ -12296,6 +12553,7 @@ import { dirname as dirname9, isAbsolute as isAbsolute11, join as join13, relati
|
|
|
12296
12553
|
import { chmodSync as chmodSync2, existsSync as existsSync21, lstatSync as lstatSync12, mkdirSync as mkdirSync11, readdirSync as readdirSync6, readFileSync as readFileSync21, realpathSync as realpathSync9, renameSync as renameSync5, unlinkSync as unlinkSync2, writeFileSync as writeFileSync15 } from "node:fs";
|
|
12297
12554
|
import path9 from "node:path";
|
|
12298
12555
|
import { DOMParser as DOMParser2 } from "@xmldom/xmldom";
|
|
12556
|
+
import { satisfies, valid } from "semver";
|
|
12299
12557
|
|
|
12300
12558
|
// node_modules/.cache/mpgd-native-build/packages/cli/src/native-shell-identity.js
|
|
12301
12559
|
function assertAndroidSettingsAppProject(source) {
|
|
@@ -12676,6 +12934,45 @@ var javaKeywords = new Set(`
|
|
|
12676
12934
|
synchronized this throw throws transient try void volatile while true false null record sealed
|
|
12677
12935
|
permits var yield
|
|
12678
12936
|
`.trim().split(/\s+/u));
|
|
12937
|
+
var unwiredCapacitorGateway = (target2) => [
|
|
12938
|
+
"import { createCapacitorPlatformGateway } from '@mpgd/adapter-capacitor';",
|
|
12939
|
+
"import type { PlatformGateway } from '@mpgd/platform';",
|
|
12940
|
+
"",
|
|
12941
|
+
"import type { RuntimeConfig } from '../runtimeDetector';",
|
|
12942
|
+
"",
|
|
12943
|
+
"export async function createBuildGateway(runtime: RuntimeConfig): Promise<PlatformGateway> {",
|
|
12944
|
+
" return createCapacitorPlatformGateway({",
|
|
12945
|
+
` target: '${target2}',`,
|
|
12946
|
+
" appVersion: runtime.appVersion,",
|
|
12947
|
+
" buildId: runtime.buildId,",
|
|
12948
|
+
" });",
|
|
12949
|
+
"}",
|
|
12950
|
+
""
|
|
12951
|
+
].join("\n");
|
|
12952
|
+
var capacitorShellProviderPlugins = Object.freeze([
|
|
12953
|
+
{
|
|
12954
|
+
id: "play-billing",
|
|
12955
|
+
packageName: "@mpgd/capacitor-play-billing",
|
|
12956
|
+
packageDir: "native-plugins/capacitor-play-billing",
|
|
12957
|
+
platform: "android",
|
|
12958
|
+
gatewayFile: "src/platform/buildGateways/capacitorAndroid.ts",
|
|
12959
|
+
gatewayFactory: "createCapacitorPlayBillingServiceProvider",
|
|
12960
|
+
legacyGatewaySources: [unwiredCapacitorGateway("android")]
|
|
12961
|
+
},
|
|
12962
|
+
{
|
|
12963
|
+
id: "storekit",
|
|
12964
|
+
packageName: "@mpgd/capacitor-storekit",
|
|
12965
|
+
packageDir: "native-plugins/capacitor-storekit",
|
|
12966
|
+
platform: "ios",
|
|
12967
|
+
gatewayFile: "src/platform/buildGateways/capacitorIos.ts",
|
|
12968
|
+
gatewayFactory: "createCapacitorStoreKitServiceProvider",
|
|
12969
|
+
legacyGatewaySources: [unwiredCapacitorGateway("ios")]
|
|
12970
|
+
}
|
|
12971
|
+
]);
|
|
12972
|
+
var capacitorShellProviderSupportFiles = Object.freeze([
|
|
12973
|
+
"src/platform/commerceProducts.ts",
|
|
12974
|
+
"src/platform/commerceAccountBinding.ts"
|
|
12975
|
+
]);
|
|
12679
12976
|
var androidBackupDomains = ["root", "file", "database", "sharedpref", "external"];
|
|
12680
12977
|
var androidBackupExcludes = androidBackupDomains.map((domain) => `<exclude domain="${domain}" path="." />`);
|
|
12681
12978
|
var androidBackupRulesXml = [
|