@mpgd/cli 0.47.0 → 0.48.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/command-launcher.d.ts +13 -0
- package/dist/command-launcher.js +24 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +126 -7
- package/dist/microsoft-store-submission.js +11 -6
- package/dist/native-build-info.json +2 -2
- package/dist/native-build-target.js +2121 -350
- package/dist/windows-host/Core/BridgeCommand.cs +17 -0
- package/dist/windows-host/Core/Mpgd.MicrosoftStore.Host.csproj +9 -0
- package/dist/windows-host/Core/NativeBridgeContracts.cs +33 -0
- package/dist/windows-host/Core/NativeBridgeHost.cs +162 -0
- package/dist/windows-host/Core/NativeBridgeOrigin.cs +19 -0
- package/dist/windows-host/Core/NativeBridgeProtocol.cs +335 -0
- package/dist/windows-host/Core/NativeBridgeRequestGate.cs +76 -0
- package/dist/windows-host/Core/NativeBridgeResult.cs +65 -0
- package/dist/windows-host/README.md +118 -0
- package/dist/windows-host/WinUI/DispatcherQueueBridgeDispatcher.cs +39 -0
- package/dist/windows-host/WinUI/WebView2DocumentTransport.cs +46 -0
- package/dist/windows-host/WinUI/WebView2NativeBridge.cs +185 -0
- package/dist/windows-host/WinUI/WindowStoreContext.cs +20 -0
- package/dist/windows-native-tools.d.ts +4 -0
- package/dist/windows-native-tools.js +21 -0
- package/native-tools/windows-msix/WindowsMsixAcceptance.psm1 +333 -0
- package/package.json +24 -16
- package/templates/lite-overlay/.agents/skills/use-mpgd-kit/SKILL.md +22 -0
- package/templates/lite-overlay/AGENTS.md +27 -0
- package/templates/lite-overlay/README.md +37 -0
- package/templates/lite-overlay/agent/acceptance.md +27 -0
- package/templates/lite-overlay/agent/brief.md +17 -0
- package/templates/lite-overlay/apps/target-devvit/README.md +134 -0
- package/templates/lite-overlay/docs/MPGD_KIT_WORKFLOWS.md +37 -0
- package/templates/lite-overlay/src/lite/tapGame.ts +77 -0
- package/templates/lite-overlay/src/platform/devvitEntrypoint.ts +116 -0
- package/templates/lite-overlay/src/platform/devvitInlineMode.css +146 -0
- package/templates/lite-overlay/src/runtime/createGame.ts +57 -0
- package/templates/phaser-game/README.md +5 -3
- package/templates/phaser-game/apps/target-ait/package.json +2 -2
- package/templates/phaser-game/apps/target-ait/src/main.ts +5 -5
- package/templates/phaser-game/apps/target-devvit/src/server/bridge.ts +137 -18
- package/templates/phaser-game/package.json +1 -1
- package/templates/phaser-game/pnpm-workspace.yaml +2 -0
- package/templates/phaser-game/src/env.d.ts +2 -0
- package/templates/phaser-game/src/platform/buildGateways/ait.ts +1 -1
- package/templates/phaser-game/src/platform/buildGateways/aitSandbox.ts +9 -4
- package/templates/phaser-game/src/platform/buildGateways/microsoftStore.ts +2 -5
- package/templates/phaser-game/src/platform/buildGateways/reddit.ts +1 -1
- package/templates/phaser-game/src/platform/buildGateways/verse8.ts +1 -2
- package/templates/phaser-game/src/platform/verse8Agent8Client.ts +5 -6
- package/templates/phaser-game/vite.shared.ts +40 -1
|
@@ -4445,14 +4445,1719 @@ function requireOutput2(result, purpose, width) {
|
|
|
4445
4445
|
}
|
|
4446
4446
|
|
|
4447
4447
|
// node_modules/.cache/mpgd-native-build/packages/target-config/src/index.js
|
|
4448
|
+
import * as _assertGuard_13 from "typia/lib/internal/_assertGuard";
|
|
4449
|
+
import * as _accessExpressionAsString_14 from "typia/lib/internal/_accessExpressionAsString";
|
|
4450
|
+
import typia5 from "typia";
|
|
4451
|
+
|
|
4452
|
+
// node_modules/.cache/mpgd-native-build/packages/catalog/src/index.js
|
|
4448
4453
|
import * as _assertGuard_12 from "typia/lib/internal/_assertGuard";
|
|
4454
|
+
import * as _accessExpressionAsString_13 from "typia/lib/internal/_accessExpressionAsString";
|
|
4455
|
+
import typia3 from "typia";
|
|
4456
|
+
|
|
4457
|
+
// node_modules/.cache/mpgd-native-build/packages/platform/src/notifications.js
|
|
4458
|
+
import * as _isTypeUint32_1 from "typia/lib/internal/_isTypeUint32";
|
|
4459
|
+
import * as _isFormatDateTime_1 from "typia/lib/internal/_isFormatDateTime";
|
|
4460
|
+
import * as _isFormatDate_1 from "typia/lib/internal/_isFormatDate";
|
|
4461
|
+
import * as _assertGuard_1 from "typia/lib/internal/_assertGuard";
|
|
4462
|
+
import * as _accessExpressionAsString_1 from "typia/lib/internal/_accessExpressionAsString";
|
|
4463
|
+
import typia from "typia";
|
|
4464
|
+
|
|
4465
|
+
// node_modules/.cache/mpgd-native-build/packages/platform/src/notifications-policy.js
|
|
4466
|
+
var recordableNotificationPermissionStates = Object.freeze([
|
|
4467
|
+
"granted",
|
|
4468
|
+
"prompt-with-rationale",
|
|
4469
|
+
"denied",
|
|
4470
|
+
"blocked"
|
|
4471
|
+
]);
|
|
4472
|
+
var referenceNotificationProviders = deepFreeze({
|
|
4473
|
+
fcm: {
|
|
4474
|
+
provider: "fcm",
|
|
4475
|
+
purposes: ["service", "requested", "advertising"],
|
|
4476
|
+
addressing: "device",
|
|
4477
|
+
content: "free-form",
|
|
4478
|
+
permission: { scope: "app", serverReadable: false, allowance: "persistent" },
|
|
4479
|
+
expiry: true,
|
|
4480
|
+
actions: true,
|
|
4481
|
+
link: false,
|
|
4482
|
+
mappingFields: [],
|
|
4483
|
+
mapping: { channelId: { required: false } }
|
|
4484
|
+
},
|
|
4485
|
+
"apps-in-toss": {
|
|
4486
|
+
provider: "apps-in-toss",
|
|
4487
|
+
purposes: ["service", "requested"],
|
|
4488
|
+
addressing: "platform-user",
|
|
4489
|
+
content: "host-template",
|
|
4490
|
+
permission: { scope: "topic", serverReadable: false, allowance: "persistent" },
|
|
4491
|
+
limits: [{ count: 10, windowSeconds: 60 }],
|
|
4492
|
+
rate: { count: 15e3, windowSeconds: 60 },
|
|
4493
|
+
expiry: false,
|
|
4494
|
+
actions: false,
|
|
4495
|
+
link: false,
|
|
4496
|
+
mappingFields: ["templateSetCode", "agreement"],
|
|
4497
|
+
mapping: {
|
|
4498
|
+
templateSetCode: { required: true },
|
|
4499
|
+
agreement: { required: true, values: ["required", "none"] }
|
|
4500
|
+
}
|
|
4501
|
+
},
|
|
4502
|
+
devvit: {
|
|
4503
|
+
provider: "devvit",
|
|
4504
|
+
purposes: ["service", "requested"],
|
|
4505
|
+
addressing: "platform-user",
|
|
4506
|
+
content: "free-form",
|
|
4507
|
+
permission: { scope: "app", serverReadable: true, allowance: "persistent" },
|
|
4508
|
+
limits: [{ count: 2, windowSeconds: 86400 }],
|
|
4509
|
+
rate: { count: 25e3, windowSeconds: 86400 },
|
|
4510
|
+
expiry: false,
|
|
4511
|
+
actions: false,
|
|
4512
|
+
link: true,
|
|
4513
|
+
mappingFields: ["title", "body"],
|
|
4514
|
+
mapping: {
|
|
4515
|
+
title: { required: true, maxLength: 60 },
|
|
4516
|
+
body: { required: true, maxLength: 100 },
|
|
4517
|
+
link: { required: false, pattern: "^t[13]_[A-Za-z0-9]+$" }
|
|
4518
|
+
}
|
|
4519
|
+
}
|
|
4520
|
+
});
|
|
4521
|
+
var referenceNotificationTargetProviders = Object.freeze({
|
|
4522
|
+
android: "fcm",
|
|
4523
|
+
ios: "fcm",
|
|
4524
|
+
ait: "apps-in-toss",
|
|
4525
|
+
reddit: "devvit"
|
|
4526
|
+
});
|
|
4527
|
+
var notificationSuppressionReasons = Object.freeze([
|
|
4528
|
+
"topic-unknown",
|
|
4529
|
+
"channel-unsupported",
|
|
4530
|
+
"purpose-unsupported",
|
|
4531
|
+
"permission-denied",
|
|
4532
|
+
"agreement-missing",
|
|
4533
|
+
"allowance-exhausted",
|
|
4534
|
+
"request-missing",
|
|
4535
|
+
"preference-off",
|
|
4536
|
+
"advertising-consent-missing",
|
|
4537
|
+
"night-consent-missing",
|
|
4538
|
+
"quiet-hours",
|
|
4539
|
+
"frequency-capped",
|
|
4540
|
+
"provider-limit",
|
|
4541
|
+
"advertising-sender-missing"
|
|
4542
|
+
]);
|
|
4543
|
+
var notificationInputBounds = Object.freeze({
|
|
4544
|
+
keyLength: 2048,
|
|
4545
|
+
entries: 128,
|
|
4546
|
+
stringLength: 16384
|
|
4547
|
+
});
|
|
4548
|
+
var notificationReservedKeyPrefixes = Object.freeze(["reminder:", "notice:"]);
|
|
4549
|
+
var minuteMs = 6e4;
|
|
4550
|
+
var hourMs = 60 * minuteMs;
|
|
4551
|
+
var dayMs = 24 * hourMs;
|
|
4552
|
+
var seoulOffsetMs = 9 * hourMs;
|
|
4553
|
+
var notificationNightWindow = Object.freeze({
|
|
4554
|
+
timeZone: "Asia/Seoul",
|
|
4555
|
+
start: "21:00",
|
|
4556
|
+
end: "08:00"
|
|
4557
|
+
});
|
|
4558
|
+
var isoInstantPattern = /^(\d{4})-(\d{2})-(\d{2})[Tt](\d{2}):(\d{2}):(\d{2})(?:\.(\d{1,9}))?(?:[Zz]|([+-])(\d{2}):(\d{2}))$/u;
|
|
4559
|
+
function instantOrNaN(at) {
|
|
4560
|
+
const match = isoInstantPattern.exec(at);
|
|
4561
|
+
return match === null ? Number.NaN : instantOf(match);
|
|
4562
|
+
}
|
|
4563
|
+
function isNotificationTimestamp(at) {
|
|
4564
|
+
return !Number.isNaN(instantOrNaN(at));
|
|
4565
|
+
}
|
|
4566
|
+
function notificationTimeFieldIssue(value, fields, path10 = "") {
|
|
4567
|
+
if (Array.isArray(value)) {
|
|
4568
|
+
for (const [index, item] of value.entries()) {
|
|
4569
|
+
const issue = notificationTimeFieldIssue(item, fields, `${path10}[${index}]`);
|
|
4570
|
+
if (issue !== void 0) {
|
|
4571
|
+
return issue;
|
|
4572
|
+
}
|
|
4573
|
+
}
|
|
4574
|
+
return void 0;
|
|
4575
|
+
}
|
|
4576
|
+
if (typeof value !== "object" || value === null) {
|
|
4577
|
+
return void 0;
|
|
4578
|
+
}
|
|
4579
|
+
for (const [key, format] of Object.entries(fields)) {
|
|
4580
|
+
if (!Object.prototype.hasOwnProperty.call(value, key)) {
|
|
4581
|
+
continue;
|
|
4582
|
+
}
|
|
4583
|
+
const field = value[key];
|
|
4584
|
+
const at = path10 === "" ? key : `${path10}.${key}`;
|
|
4585
|
+
if (typeof format !== "string") {
|
|
4586
|
+
const issue = notificationTimeFieldIssue(field, format, at);
|
|
4587
|
+
if (issue !== void 0) {
|
|
4588
|
+
return issue;
|
|
4589
|
+
}
|
|
4590
|
+
} else if (typeof field === "string" && !(format === "date" ? isNotificationCalendarDate(field) : isNotificationTimestamp(field))) {
|
|
4591
|
+
return format === "date" ? `${at} must be a date that exists, YYYY-MM-DD; got ${JSON.stringify(field)}` : `${at} must be RFC 3339 with a date that exists, T, and an offset; got ${JSON.stringify(field)}`;
|
|
4592
|
+
}
|
|
4593
|
+
}
|
|
4594
|
+
return void 0;
|
|
4595
|
+
}
|
|
4596
|
+
var noticeTimeFields = { record: { at: "date-time" }, dueBy: "date" };
|
|
4597
|
+
var notificationTimeFields = {
|
|
4598
|
+
LocalNotificationRequest: { fireAt: "date-time" },
|
|
4599
|
+
LocalNotificationEntry: { fireAt: "date-time" },
|
|
4600
|
+
NotificationBridgeListLocalResult: { pending: { fireAt: "date-time" } },
|
|
4601
|
+
NotificationConsentRecord: { at: "date-time" },
|
|
4602
|
+
NotificationNotice: noticeTimeFields,
|
|
4603
|
+
RecordNotificationNoticeInput: noticeTimeFields,
|
|
4604
|
+
NotificationConformanceVector: {
|
|
4605
|
+
context: { now: "date-time" },
|
|
4606
|
+
steps: {
|
|
4607
|
+
at: "date-time",
|
|
4608
|
+
input: { fireAt: "date-time", ...noticeTimeFields },
|
|
4609
|
+
returns: { until: "date-time", ...noticeTimeFields }
|
|
4610
|
+
},
|
|
4611
|
+
expect: {
|
|
4612
|
+
deliveries: { until: "date-time" },
|
|
4613
|
+
providerCalls: { expiresAt: "date-time" },
|
|
4614
|
+
local: { operations: { fireAt: "date-time" }, pending: { fireAt: "date-time" } },
|
|
4615
|
+
reminders: { fireAt: "date-time" },
|
|
4616
|
+
notices: noticeTimeFields
|
|
4617
|
+
}
|
|
4618
|
+
}
|
|
4619
|
+
};
|
|
4620
|
+
function instantOf(match) {
|
|
4621
|
+
const [year, month, day, hour, minute, second] = match.slice(1, 7).map(Number);
|
|
4622
|
+
const offsetHours = Number(match[9] ?? 0);
|
|
4623
|
+
const offsetMinutes = Number(match[10] ?? 0);
|
|
4624
|
+
if (year === void 0 || month === void 0 || day === void 0 || hour === void 0 || minute === void 0 || second === void 0 || month < 1 || month > 12 || day < 1 || day > daysInMonth(year, month) || hour > 23 || minute > 59 || second > 59 || offsetHours > 23 || offsetMinutes > 59) {
|
|
4625
|
+
return Number.NaN;
|
|
4626
|
+
}
|
|
4627
|
+
const date = /* @__PURE__ */ new Date(0);
|
|
4628
|
+
date.setUTCFullYear(year, month - 1, day);
|
|
4629
|
+
date.setUTCHours(hour, minute, second, Number((match[7] ?? "0").slice(0, 3).padEnd(3, "0")));
|
|
4630
|
+
const offsetMs = (offsetHours * 60 + offsetMinutes) * minuteMs;
|
|
4631
|
+
return date.getTime() - (match[8] === "-" ? -offsetMs : offsetMs);
|
|
4632
|
+
}
|
|
4633
|
+
function daysInMonth(year, month) {
|
|
4634
|
+
const leap = year % 4 === 0 && year % 100 !== 0 || year % 400 === 0;
|
|
4635
|
+
return [31, leap ? 29 : 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31][month - 1] ?? 0;
|
|
4636
|
+
}
|
|
4637
|
+
function fixedOffsetZone(offsetMs) {
|
|
4638
|
+
return {
|
|
4639
|
+
wall(millis) {
|
|
4640
|
+
const local = new Date(millis + offsetMs);
|
|
4641
|
+
return {
|
|
4642
|
+
year: local.getUTCFullYear(),
|
|
4643
|
+
month: local.getUTCMonth() + 1,
|
|
4644
|
+
day: local.getUTCDate(),
|
|
4645
|
+
minute: local.getUTCHours() * 60 + local.getUTCMinutes()
|
|
4646
|
+
};
|
|
4647
|
+
},
|
|
4648
|
+
instants(year, month, day, minute) {
|
|
4649
|
+
return [Date.UTC(year, month - 1, day, 0, minute) - offsetMs];
|
|
4650
|
+
},
|
|
4651
|
+
shiftedInstant(year, month, day, minute) {
|
|
4652
|
+
return Date.UTC(year, month - 1, day, 0, minute) - offsetMs;
|
|
4653
|
+
}
|
|
4654
|
+
};
|
|
4655
|
+
}
|
|
4656
|
+
var seoulZone = fixedOffsetZone(seoulOffsetMs);
|
|
4657
|
+
var notificationNoticeVariants = Object.freeze([
|
|
4658
|
+
"consent-result.advertising.granted",
|
|
4659
|
+
"consent-result.advertising.refused",
|
|
4660
|
+
"consent-result.advertising.withdrawn",
|
|
4661
|
+
"consent-result.night.granted",
|
|
4662
|
+
"consent-result.night.refused",
|
|
4663
|
+
"consent-result.night.withdrawn",
|
|
4664
|
+
"reconfirmation.advertising",
|
|
4665
|
+
"reconfirmation.night"
|
|
4666
|
+
]);
|
|
4667
|
+
var notificationNoticeVariantFallbacks = Object.freeze({
|
|
4668
|
+
"consent-result.advertising.refused": "consent-result.advertising.withdrawn",
|
|
4669
|
+
"consent-result.night.refused": "consent-result.night.withdrawn"
|
|
4670
|
+
});
|
|
4671
|
+
function isNotificationCalendarDate(date) {
|
|
4672
|
+
return !Number.isNaN(calendarDateMillis(date));
|
|
4673
|
+
}
|
|
4674
|
+
function calendarDateMillis(date) {
|
|
4675
|
+
const match = /^(\d{4})-(\d{2})-(\d{2})$/u.exec(date);
|
|
4676
|
+
if (match === null) {
|
|
4677
|
+
return Number.NaN;
|
|
4678
|
+
}
|
|
4679
|
+
const [year, month, day] = match.slice(1, 4).map(Number);
|
|
4680
|
+
if (year === void 0 || month === void 0 || day === void 0 || month < 1 || month > 12 || day < 1 || day > daysInMonth(year, month)) {
|
|
4681
|
+
return Number.NaN;
|
|
4682
|
+
}
|
|
4683
|
+
const midnight = /* @__PURE__ */ new Date(0);
|
|
4684
|
+
midnight.setUTCFullYear(year, month - 1, day);
|
|
4685
|
+
return midnight.getTime();
|
|
4686
|
+
}
|
|
4687
|
+
function deepFreeze(value) {
|
|
4688
|
+
if (typeof value === "object" && value !== null) {
|
|
4689
|
+
for (const nested of Object.values(value)) {
|
|
4690
|
+
deepFreeze(nested);
|
|
4691
|
+
}
|
|
4692
|
+
Object.freeze(value);
|
|
4693
|
+
}
|
|
4694
|
+
return value;
|
|
4695
|
+
}
|
|
4696
|
+
|
|
4697
|
+
// node_modules/.cache/mpgd-native-build/packages/platform/src/notifications.js
|
|
4698
|
+
var __typia_transform__accessExpressionAsString = _accessExpressionAsString_1._accessExpressionAsString;
|
|
4699
|
+
var notificationErrorCodes = Object.freeze([
|
|
4700
|
+
"NOTIFICATIONS_UNSUPPORTED",
|
|
4701
|
+
"NOTIFICATIONS_CONFIGURATION_REQUIRED",
|
|
4702
|
+
"NOTIFICATIONS_USER_GESTURE_REQUIRED",
|
|
4703
|
+
"NOTIFICATIONS_HOST_VERSION_UNSUPPORTED",
|
|
4704
|
+
"NOTIFICATIONS_INVALID_INPUT",
|
|
4705
|
+
"NOTIFICATIONS_IDEMPOTENCY_CONFLICT",
|
|
4706
|
+
"NOTIFICATIONS_TEMPORARILY_UNAVAILABLE",
|
|
4707
|
+
"NOTIFICATIONS_V2_UNAVAILABLE"
|
|
4708
|
+
]);
|
|
4709
|
+
var notificationBridgeMethods = Object.freeze([
|
|
4710
|
+
"notifications.v2.getCapabilities",
|
|
4711
|
+
"notifications.v2.getPermission",
|
|
4712
|
+
"notifications.v2.requestPermission",
|
|
4713
|
+
"notifications.v2.revokePermission",
|
|
4714
|
+
"notifications.v2.register",
|
|
4715
|
+
"notifications.v2.scheduleLocal",
|
|
4716
|
+
"notifications.v2.cancelLocal",
|
|
4717
|
+
"notifications.v2.listLocal",
|
|
4718
|
+
"notifications.v2.openSettings"
|
|
4719
|
+
]);
|
|
4720
|
+
function withStrictTimes(what, assert, fields) {
|
|
4721
|
+
return (input) => {
|
|
4722
|
+
const value = assert(input);
|
|
4723
|
+
const issue = notificationTimeFieldIssue(value, fields);
|
|
4724
|
+
if (issue !== void 0) {
|
|
4725
|
+
throw new TypeError(`Invalid ${what}: ${issue}.`);
|
|
4726
|
+
}
|
|
4727
|
+
return value;
|
|
4728
|
+
};
|
|
4729
|
+
}
|
|
4730
|
+
var assertLocalNotificationRequestShape = withStrictTimes("local reminder request", /* @__PURE__ */ (() => {
|
|
4731
|
+
const _ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.key && (1 <= input.key.length || _assertGuard_1._assertGuard(_exceptionable, {
|
|
4732
|
+
method: "typia.createAssertEquals",
|
|
4733
|
+
path: _path + ".key",
|
|
4734
|
+
expected: "string & CommerceMinLength<1>",
|
|
4735
|
+
value: input.key
|
|
4736
|
+
}, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
4737
|
+
method: "typia.createAssertEquals",
|
|
4738
|
+
path: _path + ".key",
|
|
4739
|
+
expected: "(string & CommerceMinLength<1>)",
|
|
4740
|
+
value: input.key
|
|
4741
|
+
}, _errorFactory)) && ("string" === typeof input.topic || _assertGuard_1._assertGuard(_exceptionable, {
|
|
4742
|
+
method: "typia.createAssertEquals",
|
|
4743
|
+
path: _path + ".topic",
|
|
4744
|
+
expected: "string",
|
|
4745
|
+
value: input.topic
|
|
4746
|
+
}, _errorFactory)) && ("string" === typeof input.fireAt && (_isFormatDateTime_1._isFormatDateTime(input.fireAt) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
4747
|
+
method: "typia.createAssertEquals",
|
|
4748
|
+
path: _path + ".fireAt",
|
|
4749
|
+
expected: "string & CommerceDateTimeFormat",
|
|
4750
|
+
value: input.fireAt
|
|
4751
|
+
}, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
4752
|
+
method: "typia.createAssertEquals",
|
|
4753
|
+
path: _path + ".fireAt",
|
|
4754
|
+
expected: "(string & CommerceDateTimeFormat)",
|
|
4755
|
+
value: input.fireAt
|
|
4756
|
+
}, _errorFactory)) && ("string" === typeof input.title || _assertGuard_1._assertGuard(_exceptionable, {
|
|
4757
|
+
method: "typia.createAssertEquals",
|
|
4758
|
+
path: _path + ".title",
|
|
4759
|
+
expected: "string",
|
|
4760
|
+
value: input.title
|
|
4761
|
+
}, _errorFactory)) && ("string" === typeof input.body || _assertGuard_1._assertGuard(_exceptionable, {
|
|
4762
|
+
method: "typia.createAssertEquals",
|
|
4763
|
+
path: _path + ".body",
|
|
4764
|
+
expected: "string",
|
|
4765
|
+
value: input.body
|
|
4766
|
+
}, _errorFactory)) && (void 0 === input.route || "string" === typeof input.route || _assertGuard_1._assertGuard(_exceptionable, {
|
|
4767
|
+
method: "typia.createAssertEquals",
|
|
4768
|
+
path: _path + ".route",
|
|
4769
|
+
expected: "(string | undefined)",
|
|
4770
|
+
value: input.route
|
|
4771
|
+
}, _errorFactory)) && (5 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every((key) => {
|
|
4772
|
+
if (["key", "topic", "fireAt", "title", "body", "route"].some((prop) => key === prop))
|
|
4773
|
+
return true;
|
|
4774
|
+
const value = input[key];
|
|
4775
|
+
if (void 0 === value)
|
|
4776
|
+
return true;
|
|
4777
|
+
return _assertGuard_1._assertGuard(_exceptionable, {
|
|
4778
|
+
method: "typia.createAssertEquals",
|
|
4779
|
+
path: _path + _accessExpressionAsString_1._accessExpressionAsString(key),
|
|
4780
|
+
expected: "undefined",
|
|
4781
|
+
value
|
|
4782
|
+
}, _errorFactory);
|
|
4783
|
+
})));
|
|
4784
|
+
const _io0 = (input, _exceptionable = true) => "string" === typeof input.key && 1 <= input.key.length && "string" === typeof input.topic && ("string" === typeof input.fireAt && _isFormatDateTime_1._isFormatDateTime(input.fireAt)) && "string" === typeof input.title && "string" === typeof input.body && (void 0 === input.route || "string" === typeof input.route) && (5 === Object.keys(input).length || Object.keys(input).every((key) => {
|
|
4785
|
+
if (["key", "topic", "fireAt", "title", "body", "route"].some((prop) => key === prop))
|
|
4786
|
+
return true;
|
|
4787
|
+
const value = input[key];
|
|
4788
|
+
if (void 0 === value)
|
|
4789
|
+
return true;
|
|
4790
|
+
return false;
|
|
4791
|
+
}));
|
|
4792
|
+
const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && _io0(input, true);
|
|
4793
|
+
let _errorFactory;
|
|
4794
|
+
return (input, errorFactory) => {
|
|
4795
|
+
if (false === __is(input)) {
|
|
4796
|
+
_errorFactory = errorFactory;
|
|
4797
|
+
((input2, _path, _exceptionable = true) => ("object" === typeof input2 && null !== input2 || _assertGuard_1._assertGuard(true, {
|
|
4798
|
+
method: "typia.createAssertEquals",
|
|
4799
|
+
path: _path + "",
|
|
4800
|
+
expected: "LocalNotificationRequest",
|
|
4801
|
+
value: input2
|
|
4802
|
+
}, _errorFactory)) && _ao0(input2, _path + "", true) || _assertGuard_1._assertGuard(true, {
|
|
4803
|
+
method: "typia.createAssertEquals",
|
|
4804
|
+
path: _path + "",
|
|
4805
|
+
expected: "LocalNotificationRequest",
|
|
4806
|
+
value: input2
|
|
4807
|
+
}, _errorFactory))(input, "$input", true);
|
|
4808
|
+
}
|
|
4809
|
+
return input;
|
|
4810
|
+
};
|
|
4811
|
+
})(), notificationTimeFields.LocalNotificationRequest);
|
|
4812
|
+
var assertLocalNotificationEntry = withStrictTimes("local reminder entry", /* @__PURE__ */ (() => {
|
|
4813
|
+
const _ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.key && (1 <= input.key.length || _assertGuard_1._assertGuard(_exceptionable, {
|
|
4814
|
+
method: "typia.createAssertEquals",
|
|
4815
|
+
path: _path + ".key",
|
|
4816
|
+
expected: "string & CommerceMinLength<1>",
|
|
4817
|
+
value: input.key
|
|
4818
|
+
}, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
4819
|
+
method: "typia.createAssertEquals",
|
|
4820
|
+
path: _path + ".key",
|
|
4821
|
+
expected: "(string & CommerceMinLength<1>)",
|
|
4822
|
+
value: input.key
|
|
4823
|
+
}, _errorFactory)) && ("string" === typeof input.topic || _assertGuard_1._assertGuard(_exceptionable, {
|
|
4824
|
+
method: "typia.createAssertEquals",
|
|
4825
|
+
path: _path + ".topic",
|
|
4826
|
+
expected: "string",
|
|
4827
|
+
value: input.topic
|
|
4828
|
+
}, _errorFactory)) && ("string" === typeof input.fireAt && (_isFormatDateTime_1._isFormatDateTime(input.fireAt) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
4829
|
+
method: "typia.createAssertEquals",
|
|
4830
|
+
path: _path + ".fireAt",
|
|
4831
|
+
expected: "string & CommerceDateTimeFormat",
|
|
4832
|
+
value: input.fireAt
|
|
4833
|
+
}, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
4834
|
+
method: "typia.createAssertEquals",
|
|
4835
|
+
path: _path + ".fireAt",
|
|
4836
|
+
expected: "(string & CommerceDateTimeFormat)",
|
|
4837
|
+
value: input.fireAt
|
|
4838
|
+
}, _errorFactory)) && (3 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every((key) => {
|
|
4839
|
+
if (["key", "topic", "fireAt"].some((prop) => key === prop))
|
|
4840
|
+
return true;
|
|
4841
|
+
const value = input[key];
|
|
4842
|
+
if (void 0 === value)
|
|
4843
|
+
return true;
|
|
4844
|
+
return _assertGuard_1._assertGuard(_exceptionable, {
|
|
4845
|
+
method: "typia.createAssertEquals",
|
|
4846
|
+
path: _path + _accessExpressionAsString_1._accessExpressionAsString(key),
|
|
4847
|
+
expected: "undefined",
|
|
4848
|
+
value
|
|
4849
|
+
}, _errorFactory);
|
|
4850
|
+
})));
|
|
4851
|
+
const _io0 = (input, _exceptionable = true) => "string" === typeof input.key && 1 <= input.key.length && "string" === typeof input.topic && ("string" === typeof input.fireAt && _isFormatDateTime_1._isFormatDateTime(input.fireAt)) && (3 === Object.keys(input).length || Object.keys(input).every((key) => {
|
|
4852
|
+
if (["key", "topic", "fireAt"].some((prop) => key === prop))
|
|
4853
|
+
return true;
|
|
4854
|
+
const value = input[key];
|
|
4855
|
+
if (void 0 === value)
|
|
4856
|
+
return true;
|
|
4857
|
+
return false;
|
|
4858
|
+
}));
|
|
4859
|
+
const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && _io0(input, true);
|
|
4860
|
+
let _errorFactory;
|
|
4861
|
+
return (input, errorFactory) => {
|
|
4862
|
+
if (false === __is(input)) {
|
|
4863
|
+
_errorFactory = errorFactory;
|
|
4864
|
+
((input2, _path, _exceptionable = true) => ("object" === typeof input2 && null !== input2 || _assertGuard_1._assertGuard(true, {
|
|
4865
|
+
method: "typia.createAssertEquals",
|
|
4866
|
+
path: _path + "",
|
|
4867
|
+
expected: "LocalNotificationEntry",
|
|
4868
|
+
value: input2
|
|
4869
|
+
}, _errorFactory)) && _ao0(input2, _path + "", true) || _assertGuard_1._assertGuard(true, {
|
|
4870
|
+
method: "typia.createAssertEquals",
|
|
4871
|
+
path: _path + "",
|
|
4872
|
+
expected: "LocalNotificationEntry",
|
|
4873
|
+
value: input2
|
|
4874
|
+
}, _errorFactory))(input, "$input", true);
|
|
4875
|
+
}
|
|
4876
|
+
return input;
|
|
4877
|
+
};
|
|
4878
|
+
})(), notificationTimeFields.LocalNotificationEntry);
|
|
4879
|
+
var assertNotificationConsentRecord = withStrictTimes("consent record", /* @__PURE__ */ (() => {
|
|
4880
|
+
const _ae0 = '({ readonly kind: "advertising" | "night"; readonly topic?: never; readonly state: "granted" | "withdrawn"; readonly source: "player"; readonly at: IsoDateTime; readonly evidence?: never; readonly textVersion: NonEmptyString; } | { readonly kind: "delivery-permission"; readonly topic?: never; readonly state: NotificationRecordablePermissionState; readonly source: "client-report" | "player"; readonly at: IsoDateTime; readonly evidence?: PlatformEvidenceEnvelope; readonly textVersion?: never; } | { readonly kind: "host-agreement"; readonly topic: NonEmptyString; readonly state: NotificationRecordablePermissionState; readonly source: "client-report" | "provider"; readonly at: IsoDateTime; readonly evidence?: PlatformEvidenceEnvelope; readonly textVersion?: never; } | { readonly kind: "topic-preference"; readonly topic: NonEmptyString; readonly state: "granted" | "withdrawn"; readonly source: "player"; readonly at: IsoDateTime; readonly evidence?: never; readonly textVersion?: never; })';
|
|
4881
|
+
const _ae1 = '({ readonly kind: "advertising" | "night"; readonly topic?: never; readonly state: "granted" | "withdrawn"; readonly source: "player"; readonly at: IsoDateTime; readonly evidence?: never; readonly textVersion: NonEmptyString; } | { readonly kind: "topic-preference"; readonly topic: NonEmptyString; readonly state: "granted" | "withdrawn"; readonly source: "player"; readonly at: IsoDateTime; readonly evidence?: never; readonly textVersion?: never; } | { readonly kind: "host-agreement"; readonly topic: NonEmptyString; readonly state: NotificationRecordablePermissionState; readonly source: "client-report" | "provider"; readonly at: IsoDateTime; readonly evidence?: PlatformEvidenceEnvelope; readonly textVersion?: never; } | { readonly kind: "delivery-permission"; readonly topic?: never; readonly state: NotificationRecordablePermissionState; readonly source: "client-report" | "player"; readonly at: IsoDateTime; readonly evidence?: PlatformEvidenceEnvelope; readonly textVersion?: never; })';
|
|
4882
|
+
const _ao0 = (input, _path, _exceptionable = true) => ("delivery-permission" === input.kind || _assertGuard_1._assertGuard(_exceptionable, {
|
|
4883
|
+
method: "typia.createAssertEquals",
|
|
4884
|
+
path: _path + ".kind",
|
|
4885
|
+
expected: '"delivery-permission"',
|
|
4886
|
+
value: input.kind
|
|
4887
|
+
}, _errorFactory)) && ((null !== input.topic || _assertGuard_1._assertGuard(_exceptionable, {
|
|
4888
|
+
method: "typia.createAssertEquals",
|
|
4889
|
+
path: _path + ".topic",
|
|
4890
|
+
expected: "undefined",
|
|
4891
|
+
value: input.topic
|
|
4892
|
+
}, _errorFactory)) && (void 0 === input.topic || _assertGuard_1._assertGuard(_exceptionable, {
|
|
4893
|
+
method: "typia.createAssertEquals",
|
|
4894
|
+
path: _path + ".topic",
|
|
4895
|
+
expected: "undefined",
|
|
4896
|
+
value: input.topic
|
|
4897
|
+
}, _errorFactory))) && ("blocked" === input.state || "denied" === input.state || "granted" === input.state || "prompt-with-rationale" === input.state || _assertGuard_1._assertGuard(_exceptionable, {
|
|
4898
|
+
method: "typia.createAssertEquals",
|
|
4899
|
+
path: _path + ".state",
|
|
4900
|
+
expected: '("blocked" | "denied" | "granted" | "prompt-with-rationale")',
|
|
4901
|
+
value: input.state
|
|
4902
|
+
}, _errorFactory)) && ("client-report" === input.source || "player" === input.source || _assertGuard_1._assertGuard(_exceptionable, {
|
|
4903
|
+
method: "typia.createAssertEquals",
|
|
4904
|
+
path: _path + ".source",
|
|
4905
|
+
expected: '("client-report" | "player")',
|
|
4906
|
+
value: input.source
|
|
4907
|
+
}, _errorFactory)) && ("string" === typeof input.at && (_isFormatDateTime_1._isFormatDateTime(input.at) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
4908
|
+
method: "typia.createAssertEquals",
|
|
4909
|
+
path: _path + ".at",
|
|
4910
|
+
expected: 'string & Format<"date-time">',
|
|
4911
|
+
value: input.at
|
|
4912
|
+
}, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
4913
|
+
method: "typia.createAssertEquals",
|
|
4914
|
+
path: _path + ".at",
|
|
4915
|
+
expected: '(string & Format<"date-time">)',
|
|
4916
|
+
value: input.at
|
|
4917
|
+
}, _errorFactory)) && (void 0 === input.evidence || ("object" === typeof input.evidence && null !== input.evidence || _assertGuard_1._assertGuard(_exceptionable, {
|
|
4918
|
+
method: "typia.createAssertEquals",
|
|
4919
|
+
path: _path + ".evidence",
|
|
4920
|
+
expected: "(PlatformEvidenceEnvelope | undefined)",
|
|
4921
|
+
value: input.evidence
|
|
4922
|
+
}, _errorFactory)) && _ao1(input.evidence, _path + ".evidence", _exceptionable) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
4923
|
+
method: "typia.createAssertEquals",
|
|
4924
|
+
path: _path + ".evidence",
|
|
4925
|
+
expected: "(PlatformEvidenceEnvelope | undefined)",
|
|
4926
|
+
value: input.evidence
|
|
4927
|
+
}, _errorFactory)) && ((null !== input.textVersion || _assertGuard_1._assertGuard(_exceptionable, {
|
|
4928
|
+
method: "typia.createAssertEquals",
|
|
4929
|
+
path: _path + ".textVersion",
|
|
4930
|
+
expected: "undefined",
|
|
4931
|
+
value: input.textVersion
|
|
4932
|
+
}, _errorFactory)) && (void 0 === input.textVersion || _assertGuard_1._assertGuard(_exceptionable, {
|
|
4933
|
+
method: "typia.createAssertEquals",
|
|
4934
|
+
path: _path + ".textVersion",
|
|
4935
|
+
expected: "undefined",
|
|
4936
|
+
value: input.textVersion
|
|
4937
|
+
}, _errorFactory))) && (4 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every((key) => {
|
|
4938
|
+
if (["kind", "topic", "state", "source", "at", "evidence", "textVersion"].some((prop) => key === prop))
|
|
4939
|
+
return true;
|
|
4940
|
+
const value = input[key];
|
|
4941
|
+
if (void 0 === value)
|
|
4942
|
+
return true;
|
|
4943
|
+
return _assertGuard_1._assertGuard(_exceptionable, {
|
|
4944
|
+
method: "typia.createAssertEquals",
|
|
4945
|
+
path: _path + _accessExpressionAsString_1._accessExpressionAsString(key),
|
|
4946
|
+
expected: "undefined",
|
|
4947
|
+
value
|
|
4948
|
+
}, _errorFactory);
|
|
4949
|
+
})));
|
|
4950
|
+
const _ao1 = (input, _path, _exceptionable = true) => ("string" === typeof input.schema || _assertGuard_1._assertGuard(_exceptionable, {
|
|
4951
|
+
method: "typia.createAssertEquals",
|
|
4952
|
+
path: _path + ".schema",
|
|
4953
|
+
expected: "string",
|
|
4954
|
+
value: input.schema
|
|
4955
|
+
}, _errorFactory)) && (("object" === typeof input.payload && null !== input.payload && false === Array.isArray(input.payload) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
4956
|
+
method: "typia.createAssertEquals",
|
|
4957
|
+
path: _path + ".payload",
|
|
4958
|
+
expected: "Readonly<Record<string, string | number | boolean>>",
|
|
4959
|
+
value: input.payload
|
|
4960
|
+
}, _errorFactory)) && _ao2(input.payload, _path + ".payload", _exceptionable) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
4961
|
+
method: "typia.createAssertEquals",
|
|
4962
|
+
path: _path + ".payload",
|
|
4963
|
+
expected: "Readonly<Record<string, string | number | boolean>>",
|
|
4964
|
+
value: input.payload
|
|
4965
|
+
}, _errorFactory)) && (2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every((key) => {
|
|
4966
|
+
if (["schema", "payload"].some((prop) => key === prop))
|
|
4967
|
+
return true;
|
|
4968
|
+
const value = input[key];
|
|
4969
|
+
if (void 0 === value)
|
|
4970
|
+
return true;
|
|
4971
|
+
return _assertGuard_1._assertGuard(_exceptionable, {
|
|
4972
|
+
method: "typia.createAssertEquals",
|
|
4973
|
+
path: _path + _accessExpressionAsString_1._accessExpressionAsString(key),
|
|
4974
|
+
expected: "undefined",
|
|
4975
|
+
value
|
|
4976
|
+
}, _errorFactory);
|
|
4977
|
+
})));
|
|
4978
|
+
const _ao2 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every((key) => {
|
|
4979
|
+
const value = input[key];
|
|
4980
|
+
if (void 0 === value)
|
|
4981
|
+
return true;
|
|
4982
|
+
return "string" === typeof value || "number" === typeof value || "boolean" === typeof value || _assertGuard_1._assertGuard(_exceptionable, {
|
|
4983
|
+
method: "typia.createAssertEquals",
|
|
4984
|
+
path: _path + __typia_transform__accessExpressionAsString(key),
|
|
4985
|
+
expected: "(boolean | number | string)",
|
|
4986
|
+
value
|
|
4987
|
+
}, _errorFactory);
|
|
4988
|
+
});
|
|
4989
|
+
const _ao3 = (input, _path, _exceptionable = true) => ("host-agreement" === input.kind || _assertGuard_1._assertGuard(_exceptionable, {
|
|
4990
|
+
method: "typia.createAssertEquals",
|
|
4991
|
+
path: _path + ".kind",
|
|
4992
|
+
expected: '"host-agreement"',
|
|
4993
|
+
value: input.kind
|
|
4994
|
+
}, _errorFactory)) && ("string" === typeof input.topic && (1 <= input.topic.length || _assertGuard_1._assertGuard(_exceptionable, {
|
|
4995
|
+
method: "typia.createAssertEquals",
|
|
4996
|
+
path: _path + ".topic",
|
|
4997
|
+
expected: "string & MinLength<1>",
|
|
4998
|
+
value: input.topic
|
|
4999
|
+
}, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5000
|
+
method: "typia.createAssertEquals",
|
|
5001
|
+
path: _path + ".topic",
|
|
5002
|
+
expected: "(string & MinLength<1>)",
|
|
5003
|
+
value: input.topic
|
|
5004
|
+
}, _errorFactory)) && ("blocked" === input.state || "denied" === input.state || "granted" === input.state || "prompt-with-rationale" === input.state || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5005
|
+
method: "typia.createAssertEquals",
|
|
5006
|
+
path: _path + ".state",
|
|
5007
|
+
expected: '("blocked" | "denied" | "granted" | "prompt-with-rationale")',
|
|
5008
|
+
value: input.state
|
|
5009
|
+
}, _errorFactory)) && ("client-report" === input.source || "provider" === input.source || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5010
|
+
method: "typia.createAssertEquals",
|
|
5011
|
+
path: _path + ".source",
|
|
5012
|
+
expected: '("client-report" | "provider")',
|
|
5013
|
+
value: input.source
|
|
5014
|
+
}, _errorFactory)) && ("string" === typeof input.at && (_isFormatDateTime_1._isFormatDateTime(input.at) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5015
|
+
method: "typia.createAssertEquals",
|
|
5016
|
+
path: _path + ".at",
|
|
5017
|
+
expected: 'string & Format<"date-time">',
|
|
5018
|
+
value: input.at
|
|
5019
|
+
}, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5020
|
+
method: "typia.createAssertEquals",
|
|
5021
|
+
path: _path + ".at",
|
|
5022
|
+
expected: '(string & Format<"date-time">)',
|
|
5023
|
+
value: input.at
|
|
5024
|
+
}, _errorFactory)) && (void 0 === input.evidence || ("object" === typeof input.evidence && null !== input.evidence || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5025
|
+
method: "typia.createAssertEquals",
|
|
5026
|
+
path: _path + ".evidence",
|
|
5027
|
+
expected: "(PlatformEvidenceEnvelope | undefined)",
|
|
5028
|
+
value: input.evidence
|
|
5029
|
+
}, _errorFactory)) && _ao1(input.evidence, _path + ".evidence", _exceptionable) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5030
|
+
method: "typia.createAssertEquals",
|
|
5031
|
+
path: _path + ".evidence",
|
|
5032
|
+
expected: "(PlatformEvidenceEnvelope | undefined)",
|
|
5033
|
+
value: input.evidence
|
|
5034
|
+
}, _errorFactory)) && ((null !== input.textVersion || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5035
|
+
method: "typia.createAssertEquals",
|
|
5036
|
+
path: _path + ".textVersion",
|
|
5037
|
+
expected: "undefined",
|
|
5038
|
+
value: input.textVersion
|
|
5039
|
+
}, _errorFactory)) && (void 0 === input.textVersion || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5040
|
+
method: "typia.createAssertEquals",
|
|
5041
|
+
path: _path + ".textVersion",
|
|
5042
|
+
expected: "undefined",
|
|
5043
|
+
value: input.textVersion
|
|
5044
|
+
}, _errorFactory))) && (5 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every((key) => {
|
|
5045
|
+
if (["kind", "topic", "state", "source", "at", "evidence", "textVersion"].some((prop) => key === prop))
|
|
5046
|
+
return true;
|
|
5047
|
+
const value = input[key];
|
|
5048
|
+
if (void 0 === value)
|
|
5049
|
+
return true;
|
|
5050
|
+
return _assertGuard_1._assertGuard(_exceptionable, {
|
|
5051
|
+
method: "typia.createAssertEquals",
|
|
5052
|
+
path: _path + _accessExpressionAsString_1._accessExpressionAsString(key),
|
|
5053
|
+
expected: "undefined",
|
|
5054
|
+
value
|
|
5055
|
+
}, _errorFactory);
|
|
5056
|
+
})));
|
|
5057
|
+
const _ao4 = (input, _path, _exceptionable = true) => ("topic-preference" === input.kind || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5058
|
+
method: "typia.createAssertEquals",
|
|
5059
|
+
path: _path + ".kind",
|
|
5060
|
+
expected: '"topic-preference"',
|
|
5061
|
+
value: input.kind
|
|
5062
|
+
}, _errorFactory)) && ("string" === typeof input.topic && (1 <= input.topic.length || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5063
|
+
method: "typia.createAssertEquals",
|
|
5064
|
+
path: _path + ".topic",
|
|
5065
|
+
expected: "string & MinLength<1>",
|
|
5066
|
+
value: input.topic
|
|
5067
|
+
}, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5068
|
+
method: "typia.createAssertEquals",
|
|
5069
|
+
path: _path + ".topic",
|
|
5070
|
+
expected: "(string & MinLength<1>)",
|
|
5071
|
+
value: input.topic
|
|
5072
|
+
}, _errorFactory)) && ("granted" === input.state || "withdrawn" === input.state || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5073
|
+
method: "typia.createAssertEquals",
|
|
5074
|
+
path: _path + ".state",
|
|
5075
|
+
expected: '("granted" | "withdrawn")',
|
|
5076
|
+
value: input.state
|
|
5077
|
+
}, _errorFactory)) && ("player" === input.source || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5078
|
+
method: "typia.createAssertEquals",
|
|
5079
|
+
path: _path + ".source",
|
|
5080
|
+
expected: '"player"',
|
|
5081
|
+
value: input.source
|
|
5082
|
+
}, _errorFactory)) && ("string" === typeof input.at && (_isFormatDateTime_1._isFormatDateTime(input.at) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5083
|
+
method: "typia.createAssertEquals",
|
|
5084
|
+
path: _path + ".at",
|
|
5085
|
+
expected: 'string & Format<"date-time">',
|
|
5086
|
+
value: input.at
|
|
5087
|
+
}, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5088
|
+
method: "typia.createAssertEquals",
|
|
5089
|
+
path: _path + ".at",
|
|
5090
|
+
expected: '(string & Format<"date-time">)',
|
|
5091
|
+
value: input.at
|
|
5092
|
+
}, _errorFactory)) && ((null !== input.evidence || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5093
|
+
method: "typia.createAssertEquals",
|
|
5094
|
+
path: _path + ".evidence",
|
|
5095
|
+
expected: "undefined",
|
|
5096
|
+
value: input.evidence
|
|
5097
|
+
}, _errorFactory)) && (void 0 === input.evidence || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5098
|
+
method: "typia.createAssertEquals",
|
|
5099
|
+
path: _path + ".evidence",
|
|
5100
|
+
expected: "undefined",
|
|
5101
|
+
value: input.evidence
|
|
5102
|
+
}, _errorFactory))) && ((null !== input.textVersion || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5103
|
+
method: "typia.createAssertEquals",
|
|
5104
|
+
path: _path + ".textVersion",
|
|
5105
|
+
expected: "undefined",
|
|
5106
|
+
value: input.textVersion
|
|
5107
|
+
}, _errorFactory)) && (void 0 === input.textVersion || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5108
|
+
method: "typia.createAssertEquals",
|
|
5109
|
+
path: _path + ".textVersion",
|
|
5110
|
+
expected: "undefined",
|
|
5111
|
+
value: input.textVersion
|
|
5112
|
+
}, _errorFactory))) && (5 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every((key) => {
|
|
5113
|
+
if (["kind", "topic", "state", "source", "at", "evidence", "textVersion"].some((prop) => key === prop))
|
|
5114
|
+
return true;
|
|
5115
|
+
const value = input[key];
|
|
5116
|
+
if (void 0 === value)
|
|
5117
|
+
return true;
|
|
5118
|
+
return _assertGuard_1._assertGuard(_exceptionable, {
|
|
5119
|
+
method: "typia.createAssertEquals",
|
|
5120
|
+
path: _path + _accessExpressionAsString_1._accessExpressionAsString(key),
|
|
5121
|
+
expected: "undefined",
|
|
5122
|
+
value
|
|
5123
|
+
}, _errorFactory);
|
|
5124
|
+
})));
|
|
5125
|
+
const _ao5 = (input, _path, _exceptionable = true) => ("advertising" === input.kind || "night" === input.kind || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5126
|
+
method: "typia.createAssertEquals",
|
|
5127
|
+
path: _path + ".kind",
|
|
5128
|
+
expected: '("advertising" | "night")',
|
|
5129
|
+
value: input.kind
|
|
5130
|
+
}, _errorFactory)) && ((null !== input.topic || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5131
|
+
method: "typia.createAssertEquals",
|
|
5132
|
+
path: _path + ".topic",
|
|
5133
|
+
expected: "undefined",
|
|
5134
|
+
value: input.topic
|
|
5135
|
+
}, _errorFactory)) && (void 0 === input.topic || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5136
|
+
method: "typia.createAssertEquals",
|
|
5137
|
+
path: _path + ".topic",
|
|
5138
|
+
expected: "undefined",
|
|
5139
|
+
value: input.topic
|
|
5140
|
+
}, _errorFactory))) && ("granted" === input.state || "withdrawn" === input.state || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5141
|
+
method: "typia.createAssertEquals",
|
|
5142
|
+
path: _path + ".state",
|
|
5143
|
+
expected: '("granted" | "withdrawn")',
|
|
5144
|
+
value: input.state
|
|
5145
|
+
}, _errorFactory)) && ("player" === input.source || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5146
|
+
method: "typia.createAssertEquals",
|
|
5147
|
+
path: _path + ".source",
|
|
5148
|
+
expected: '"player"',
|
|
5149
|
+
value: input.source
|
|
5150
|
+
}, _errorFactory)) && ("string" === typeof input.at && (_isFormatDateTime_1._isFormatDateTime(input.at) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5151
|
+
method: "typia.createAssertEquals",
|
|
5152
|
+
path: _path + ".at",
|
|
5153
|
+
expected: 'string & Format<"date-time">',
|
|
5154
|
+
value: input.at
|
|
5155
|
+
}, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5156
|
+
method: "typia.createAssertEquals",
|
|
5157
|
+
path: _path + ".at",
|
|
5158
|
+
expected: '(string & Format<"date-time">)',
|
|
5159
|
+
value: input.at
|
|
5160
|
+
}, _errorFactory)) && ((null !== input.evidence || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5161
|
+
method: "typia.createAssertEquals",
|
|
5162
|
+
path: _path + ".evidence",
|
|
5163
|
+
expected: "undefined",
|
|
5164
|
+
value: input.evidence
|
|
5165
|
+
}, _errorFactory)) && (void 0 === input.evidence || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5166
|
+
method: "typia.createAssertEquals",
|
|
5167
|
+
path: _path + ".evidence",
|
|
5168
|
+
expected: "undefined",
|
|
5169
|
+
value: input.evidence
|
|
5170
|
+
}, _errorFactory))) && ("string" === typeof input.textVersion && (1 <= input.textVersion.length || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5171
|
+
method: "typia.createAssertEquals",
|
|
5172
|
+
path: _path + ".textVersion",
|
|
5173
|
+
expected: "string & MinLength<1>",
|
|
5174
|
+
value: input.textVersion
|
|
5175
|
+
}, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5176
|
+
method: "typia.createAssertEquals",
|
|
5177
|
+
path: _path + ".textVersion",
|
|
5178
|
+
expected: "(string & MinLength<1>)",
|
|
5179
|
+
value: input.textVersion
|
|
5180
|
+
}, _errorFactory)) && (5 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every((key) => {
|
|
5181
|
+
if (["kind", "topic", "state", "source", "at", "evidence", "textVersion"].some((prop) => key === prop))
|
|
5182
|
+
return true;
|
|
5183
|
+
const value = input[key];
|
|
5184
|
+
if (void 0 === value)
|
|
5185
|
+
return true;
|
|
5186
|
+
return _assertGuard_1._assertGuard(_exceptionable, {
|
|
5187
|
+
method: "typia.createAssertEquals",
|
|
5188
|
+
path: _path + _accessExpressionAsString_1._accessExpressionAsString(key),
|
|
5189
|
+
expected: "undefined",
|
|
5190
|
+
value
|
|
5191
|
+
}, _errorFactory);
|
|
5192
|
+
})));
|
|
5193
|
+
const _au0 = (input, _path, _exceptionable = true) => (() => {
|
|
5194
|
+
if ("advertising" === input.kind || "night" === input.kind)
|
|
5195
|
+
return _ao5(input, _path, _exceptionable);
|
|
5196
|
+
else if ("topic-preference" === input.kind)
|
|
5197
|
+
return _ao4(input, _path, _exceptionable);
|
|
5198
|
+
else if ("host-agreement" === input.kind)
|
|
5199
|
+
return _ao3(input, _path, _exceptionable);
|
|
5200
|
+
else if ("delivery-permission" === input.kind)
|
|
5201
|
+
return _ao0(input, _path, _exceptionable);
|
|
5202
|
+
else
|
|
5203
|
+
return _assertGuard_1._assertGuard(_exceptionable, {
|
|
5204
|
+
method: "typia.createAssertEquals",
|
|
5205
|
+
path: _path,
|
|
5206
|
+
expected: _ae1,
|
|
5207
|
+
value: input
|
|
5208
|
+
}, _errorFactory);
|
|
5209
|
+
})();
|
|
5210
|
+
const _io0 = (input, _exceptionable = true) => "delivery-permission" === input.kind && (null !== input.topic && void 0 === input.topic) && ("blocked" === input.state || "denied" === input.state || "granted" === input.state || "prompt-with-rationale" === input.state) && ("client-report" === input.source || "player" === input.source) && ("string" === typeof input.at && _isFormatDateTime_1._isFormatDateTime(input.at)) && (void 0 === input.evidence || "object" === typeof input.evidence && null !== input.evidence && _io1(input.evidence, _exceptionable)) && (null !== input.textVersion && void 0 === input.textVersion) && (4 === Object.keys(input).length || Object.keys(input).every((key) => {
|
|
5211
|
+
if (["kind", "topic", "state", "source", "at", "evidence", "textVersion"].some((prop) => key === prop))
|
|
5212
|
+
return true;
|
|
5213
|
+
const value = input[key];
|
|
5214
|
+
if (void 0 === value)
|
|
5215
|
+
return true;
|
|
5216
|
+
return false;
|
|
5217
|
+
}));
|
|
5218
|
+
const _io1 = (input, _exceptionable = true) => "string" === typeof input.schema && ("object" === typeof input.payload && null !== input.payload && false === Array.isArray(input.payload) && _io2(input.payload, _exceptionable)) && (2 === Object.keys(input).length || Object.keys(input).every((key) => {
|
|
5219
|
+
if (["schema", "payload"].some((prop) => key === prop))
|
|
5220
|
+
return true;
|
|
5221
|
+
const value = input[key];
|
|
5222
|
+
if (void 0 === value)
|
|
5223
|
+
return true;
|
|
5224
|
+
return false;
|
|
5225
|
+
}));
|
|
5226
|
+
const _io2 = (input, _exceptionable = true) => Object.keys(input).every((key) => {
|
|
5227
|
+
const value = input[key];
|
|
5228
|
+
if (void 0 === value)
|
|
5229
|
+
return true;
|
|
5230
|
+
return "string" === typeof value || "number" === typeof value || "boolean" === typeof value;
|
|
5231
|
+
});
|
|
5232
|
+
const _io3 = (input, _exceptionable = true) => "host-agreement" === input.kind && ("string" === typeof input.topic && 1 <= input.topic.length) && ("blocked" === input.state || "denied" === input.state || "granted" === input.state || "prompt-with-rationale" === input.state) && ("client-report" === input.source || "provider" === input.source) && ("string" === typeof input.at && _isFormatDateTime_1._isFormatDateTime(input.at)) && (void 0 === input.evidence || "object" === typeof input.evidence && null !== input.evidence && _io1(input.evidence, _exceptionable)) && (null !== input.textVersion && void 0 === input.textVersion) && (5 === Object.keys(input).length || Object.keys(input).every((key) => {
|
|
5233
|
+
if (["kind", "topic", "state", "source", "at", "evidence", "textVersion"].some((prop) => key === prop))
|
|
5234
|
+
return true;
|
|
5235
|
+
const value = input[key];
|
|
5236
|
+
if (void 0 === value)
|
|
5237
|
+
return true;
|
|
5238
|
+
return false;
|
|
5239
|
+
}));
|
|
5240
|
+
const _io4 = (input, _exceptionable = true) => "topic-preference" === input.kind && ("string" === typeof input.topic && 1 <= input.topic.length) && ("granted" === input.state || "withdrawn" === input.state) && "player" === input.source && ("string" === typeof input.at && _isFormatDateTime_1._isFormatDateTime(input.at)) && (null !== input.evidence && void 0 === input.evidence) && (null !== input.textVersion && void 0 === input.textVersion) && (5 === Object.keys(input).length || Object.keys(input).every((key) => {
|
|
5241
|
+
if (["kind", "topic", "state", "source", "at", "evidence", "textVersion"].some((prop) => key === prop))
|
|
5242
|
+
return true;
|
|
5243
|
+
const value = input[key];
|
|
5244
|
+
if (void 0 === value)
|
|
5245
|
+
return true;
|
|
5246
|
+
return false;
|
|
5247
|
+
}));
|
|
5248
|
+
const _io5 = (input, _exceptionable = true) => ("advertising" === input.kind || "night" === input.kind) && (null !== input.topic && void 0 === input.topic) && ("granted" === input.state || "withdrawn" === input.state) && "player" === input.source && ("string" === typeof input.at && _isFormatDateTime_1._isFormatDateTime(input.at)) && (null !== input.evidence && void 0 === input.evidence) && ("string" === typeof input.textVersion && 1 <= input.textVersion.length) && (5 === Object.keys(input).length || Object.keys(input).every((key) => {
|
|
5249
|
+
if (["kind", "topic", "state", "source", "at", "evidence", "textVersion"].some((prop) => key === prop))
|
|
5250
|
+
return true;
|
|
5251
|
+
const value = input[key];
|
|
5252
|
+
if (void 0 === value)
|
|
5253
|
+
return true;
|
|
5254
|
+
return false;
|
|
5255
|
+
}));
|
|
5256
|
+
const _iu0 = (input, _exceptionable = true) => (() => {
|
|
5257
|
+
if ("advertising" === input.kind || "night" === input.kind)
|
|
5258
|
+
return _io5(input, _exceptionable);
|
|
5259
|
+
else if ("topic-preference" === input.kind)
|
|
5260
|
+
return _io4(input, _exceptionable);
|
|
5261
|
+
else if ("host-agreement" === input.kind)
|
|
5262
|
+
return _io3(input, _exceptionable);
|
|
5263
|
+
else if ("delivery-permission" === input.kind)
|
|
5264
|
+
return _io0(input, _exceptionable);
|
|
5265
|
+
else
|
|
5266
|
+
return false;
|
|
5267
|
+
})();
|
|
5268
|
+
const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && _iu0(input, true);
|
|
5269
|
+
let _errorFactory;
|
|
5270
|
+
return (input, errorFactory) => {
|
|
5271
|
+
if (false === __is(input)) {
|
|
5272
|
+
_errorFactory = errorFactory;
|
|
5273
|
+
((input2, _path, _exceptionable = true) => ("object" === typeof input2 && null !== input2 || _assertGuard_1._assertGuard(true, {
|
|
5274
|
+
method: "typia.createAssertEquals",
|
|
5275
|
+
path: _path + "",
|
|
5276
|
+
expected: _ae0,
|
|
5277
|
+
value: input2
|
|
5278
|
+
}, _errorFactory)) && _au0(input2, _path + "", true) || _assertGuard_1._assertGuard(true, {
|
|
5279
|
+
method: "typia.createAssertEquals",
|
|
5280
|
+
path: _path + "",
|
|
5281
|
+
expected: _ae0,
|
|
5282
|
+
value: input2
|
|
5283
|
+
}, _errorFactory))(input, "$input", true);
|
|
5284
|
+
}
|
|
5285
|
+
return input;
|
|
5286
|
+
};
|
|
5287
|
+
})(), notificationTimeFields.NotificationConsentRecord);
|
|
5288
|
+
var assertNotificationNotice = withStrictTimes("notice", /* @__PURE__ */ (() => {
|
|
5289
|
+
const _ae0 = '{ readonly kind: "advertising" | "night"; readonly state: "granted" | "withdrawn"; readonly at: IsoDateTime; readonly textVersion?: NonEmptyString; }';
|
|
5290
|
+
const _ae1 = '("consent-result.advertising.granted" | "consent-result.advertising.refused" | "consent-result.advertising.withdrawn" | "consent-result.night.granted" | "consent-result.night.refused" | "consent-result.night.withdrawn" | "reconfirmation.advertising" | "reconfirmation.night")';
|
|
5291
|
+
const _ao0 = (input, _path, _exceptionable = true) => ("consent-result" === input.kind || "reconfirmation" === input.kind || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5292
|
+
method: "typia.createAssertEquals",
|
|
5293
|
+
path: _path + ".kind",
|
|
5294
|
+
expected: '("consent-result" | "reconfirmation")',
|
|
5295
|
+
value: input.kind
|
|
5296
|
+
}, _errorFactory)) && (("object" === typeof input.record && null !== input.record || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5297
|
+
method: "typia.createAssertEquals",
|
|
5298
|
+
path: _path + ".record",
|
|
5299
|
+
expected: _ae0,
|
|
5300
|
+
value: input.record
|
|
5301
|
+
}, _errorFactory)) && _ao1(input.record, _path + ".record", _exceptionable) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5302
|
+
method: "typia.createAssertEquals",
|
|
5303
|
+
path: _path + ".record",
|
|
5304
|
+
expected: _ae0,
|
|
5305
|
+
value: input.record
|
|
5306
|
+
}, _errorFactory)) && ("string" === typeof input.dueBy && (_isFormatDate_1._isFormatDate(input.dueBy) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5307
|
+
method: "typia.createAssertEquals",
|
|
5308
|
+
path: _path + ".dueBy",
|
|
5309
|
+
expected: 'string & Format<"date">',
|
|
5310
|
+
value: input.dueBy
|
|
5311
|
+
}, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5312
|
+
method: "typia.createAssertEquals",
|
|
5313
|
+
path: _path + ".dueBy",
|
|
5314
|
+
expected: '(string & Format<"date">)',
|
|
5315
|
+
value: input.dueBy
|
|
5316
|
+
}, _errorFactory)) && ("consent-result.advertising.granted" === input.variant || "consent-result.advertising.refused" === input.variant || "consent-result.advertising.withdrawn" === input.variant || "consent-result.night.granted" === input.variant || "consent-result.night.refused" === input.variant || "consent-result.night.withdrawn" === input.variant || "reconfirmation.advertising" === input.variant || "reconfirmation.night" === input.variant || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5317
|
+
method: "typia.createAssertEquals",
|
|
5318
|
+
path: _path + ".variant",
|
|
5319
|
+
expected: _ae1,
|
|
5320
|
+
value: input.variant
|
|
5321
|
+
}, _errorFactory)) && (4 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every((key) => {
|
|
5322
|
+
if (["kind", "record", "dueBy", "variant"].some((prop) => key === prop))
|
|
5323
|
+
return true;
|
|
5324
|
+
const value = input[key];
|
|
5325
|
+
if (void 0 === value)
|
|
5326
|
+
return true;
|
|
5327
|
+
return _assertGuard_1._assertGuard(_exceptionable, {
|
|
5328
|
+
method: "typia.createAssertEquals",
|
|
5329
|
+
path: _path + _accessExpressionAsString_1._accessExpressionAsString(key),
|
|
5330
|
+
expected: "undefined",
|
|
5331
|
+
value
|
|
5332
|
+
}, _errorFactory);
|
|
5333
|
+
})));
|
|
5334
|
+
const _ao1 = (input, _path, _exceptionable = true) => ("advertising" === input.kind || "night" === input.kind || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5335
|
+
method: "typia.createAssertEquals",
|
|
5336
|
+
path: _path + ".kind",
|
|
5337
|
+
expected: '("advertising" | "night")',
|
|
5338
|
+
value: input.kind
|
|
5339
|
+
}, _errorFactory)) && ("granted" === input.state || "withdrawn" === input.state || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5340
|
+
method: "typia.createAssertEquals",
|
|
5341
|
+
path: _path + ".state",
|
|
5342
|
+
expected: '("granted" | "withdrawn")',
|
|
5343
|
+
value: input.state
|
|
5344
|
+
}, _errorFactory)) && ("string" === typeof input.at && (_isFormatDateTime_1._isFormatDateTime(input.at) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5345
|
+
method: "typia.createAssertEquals",
|
|
5346
|
+
path: _path + ".at",
|
|
5347
|
+
expected: 'string & Format<"date-time">',
|
|
5348
|
+
value: input.at
|
|
5349
|
+
}, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5350
|
+
method: "typia.createAssertEquals",
|
|
5351
|
+
path: _path + ".at",
|
|
5352
|
+
expected: '(string & Format<"date-time">)',
|
|
5353
|
+
value: input.at
|
|
5354
|
+
}, _errorFactory)) && (void 0 === input.textVersion || "string" === typeof input.textVersion && (1 <= input.textVersion.length || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5355
|
+
method: "typia.createAssertEquals",
|
|
5356
|
+
path: _path + ".textVersion",
|
|
5357
|
+
expected: "string & MinLength<1>",
|
|
5358
|
+
value: input.textVersion
|
|
5359
|
+
}, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5360
|
+
method: "typia.createAssertEquals",
|
|
5361
|
+
path: _path + ".textVersion",
|
|
5362
|
+
expected: "((string & MinLength<1>) | undefined)",
|
|
5363
|
+
value: input.textVersion
|
|
5364
|
+
}, _errorFactory)) && (3 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every((key) => {
|
|
5365
|
+
if (["kind", "state", "at", "textVersion"].some((prop) => key === prop))
|
|
5366
|
+
return true;
|
|
5367
|
+
const value = input[key];
|
|
5368
|
+
if (void 0 === value)
|
|
5369
|
+
return true;
|
|
5370
|
+
return _assertGuard_1._assertGuard(_exceptionable, {
|
|
5371
|
+
method: "typia.createAssertEquals",
|
|
5372
|
+
path: _path + _accessExpressionAsString_1._accessExpressionAsString(key),
|
|
5373
|
+
expected: "undefined",
|
|
5374
|
+
value
|
|
5375
|
+
}, _errorFactory);
|
|
5376
|
+
})));
|
|
5377
|
+
const _io0 = (input, _exceptionable = true) => ("consent-result" === input.kind || "reconfirmation" === input.kind) && ("object" === typeof input.record && null !== input.record && _io1(input.record, _exceptionable)) && ("string" === typeof input.dueBy && _isFormatDate_1._isFormatDate(input.dueBy)) && ("consent-result.advertising.granted" === input.variant || "consent-result.advertising.refused" === input.variant || "consent-result.advertising.withdrawn" === input.variant || "consent-result.night.granted" === input.variant || "consent-result.night.refused" === input.variant || "consent-result.night.withdrawn" === input.variant || "reconfirmation.advertising" === input.variant || "reconfirmation.night" === input.variant) && (4 === Object.keys(input).length || Object.keys(input).every((key) => {
|
|
5378
|
+
if (["kind", "record", "dueBy", "variant"].some((prop) => key === prop))
|
|
5379
|
+
return true;
|
|
5380
|
+
const value = input[key];
|
|
5381
|
+
if (void 0 === value)
|
|
5382
|
+
return true;
|
|
5383
|
+
return false;
|
|
5384
|
+
}));
|
|
5385
|
+
const _io1 = (input, _exceptionable = true) => ("advertising" === input.kind || "night" === input.kind) && ("granted" === input.state || "withdrawn" === input.state) && ("string" === typeof input.at && _isFormatDateTime_1._isFormatDateTime(input.at)) && (void 0 === input.textVersion || "string" === typeof input.textVersion && 1 <= input.textVersion.length) && (3 === Object.keys(input).length || Object.keys(input).every((key) => {
|
|
5386
|
+
if (["kind", "state", "at", "textVersion"].some((prop) => key === prop))
|
|
5387
|
+
return true;
|
|
5388
|
+
const value = input[key];
|
|
5389
|
+
if (void 0 === value)
|
|
5390
|
+
return true;
|
|
5391
|
+
return false;
|
|
5392
|
+
}));
|
|
5393
|
+
const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && _io0(input, true);
|
|
5394
|
+
let _errorFactory;
|
|
5395
|
+
return (input, errorFactory) => {
|
|
5396
|
+
if (false === __is(input)) {
|
|
5397
|
+
_errorFactory = errorFactory;
|
|
5398
|
+
((input2, _path, _exceptionable = true) => ("object" === typeof input2 && null !== input2 || _assertGuard_1._assertGuard(true, {
|
|
5399
|
+
method: "typia.createAssertEquals",
|
|
5400
|
+
path: _path + "",
|
|
5401
|
+
expected: "NotificationNotice",
|
|
5402
|
+
value: input2
|
|
5403
|
+
}, _errorFactory)) && _ao0(input2, _path + "", true) || _assertGuard_1._assertGuard(true, {
|
|
5404
|
+
method: "typia.createAssertEquals",
|
|
5405
|
+
path: _path + "",
|
|
5406
|
+
expected: "NotificationNotice",
|
|
5407
|
+
value: input2
|
|
5408
|
+
}, _errorFactory))(input, "$input", true);
|
|
5409
|
+
}
|
|
5410
|
+
return input;
|
|
5411
|
+
};
|
|
5412
|
+
})(), notificationTimeFields.NotificationNotice);
|
|
5413
|
+
var assertRecordNotificationNoticeInput = withStrictTimes("notice to record", /* @__PURE__ */ (() => {
|
|
5414
|
+
const _ae0 = '{ readonly kind: "advertising" | "night"; readonly state: "granted" | "withdrawn"; readonly at: IsoDateTime; readonly textVersion?: NonEmptyString; }';
|
|
5415
|
+
const _ae1 = '("consent-result.advertising.granted" | "consent-result.advertising.refused" | "consent-result.advertising.withdrawn" | "consent-result.night.granted" | "consent-result.night.refused" | "consent-result.night.withdrawn" | "reconfirmation.advertising" | "reconfirmation.night")';
|
|
5416
|
+
const _ao0 = (input, _path, _exceptionable = true) => ("consent-result" === input.kind || "reconfirmation" === input.kind || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5417
|
+
method: "typia.createAssertEquals",
|
|
5418
|
+
path: _path + ".kind",
|
|
5419
|
+
expected: '("consent-result" | "reconfirmation")',
|
|
5420
|
+
value: input.kind
|
|
5421
|
+
}, _errorFactory)) && (("object" === typeof input.record && null !== input.record || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5422
|
+
method: "typia.createAssertEquals",
|
|
5423
|
+
path: _path + ".record",
|
|
5424
|
+
expected: _ae0,
|
|
5425
|
+
value: input.record
|
|
5426
|
+
}, _errorFactory)) && _ao1(input.record, _path + ".record", _exceptionable) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5427
|
+
method: "typia.createAssertEquals",
|
|
5428
|
+
path: _path + ".record",
|
|
5429
|
+
expected: _ae0,
|
|
5430
|
+
value: input.record
|
|
5431
|
+
}, _errorFactory)) && ("string" === typeof input.dueBy && (_isFormatDate_1._isFormatDate(input.dueBy) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5432
|
+
method: "typia.createAssertEquals",
|
|
5433
|
+
path: _path + ".dueBy",
|
|
5434
|
+
expected: 'string & Format<"date">',
|
|
5435
|
+
value: input.dueBy
|
|
5436
|
+
}, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5437
|
+
method: "typia.createAssertEquals",
|
|
5438
|
+
path: _path + ".dueBy",
|
|
5439
|
+
expected: '(string & Format<"date">)',
|
|
5440
|
+
value: input.dueBy
|
|
5441
|
+
}, _errorFactory)) && ("consent-result.advertising.granted" === input.variant || "consent-result.advertising.refused" === input.variant || "consent-result.advertising.withdrawn" === input.variant || "consent-result.night.granted" === input.variant || "consent-result.night.refused" === input.variant || "consent-result.night.withdrawn" === input.variant || "reconfirmation.advertising" === input.variant || "reconfirmation.night" === input.variant || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5442
|
+
method: "typia.createAssertEquals",
|
|
5443
|
+
path: _path + ".variant",
|
|
5444
|
+
expected: _ae1,
|
|
5445
|
+
value: input.variant
|
|
5446
|
+
}, _errorFactory)) && (4 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every((key) => {
|
|
5447
|
+
if (["kind", "record", "dueBy", "variant"].some((prop) => key === prop))
|
|
5448
|
+
return true;
|
|
5449
|
+
const value = input[key];
|
|
5450
|
+
if (void 0 === value)
|
|
5451
|
+
return true;
|
|
5452
|
+
return _assertGuard_1._assertGuard(_exceptionable, {
|
|
5453
|
+
method: "typia.createAssertEquals",
|
|
5454
|
+
path: _path + _accessExpressionAsString_1._accessExpressionAsString(key),
|
|
5455
|
+
expected: "undefined",
|
|
5456
|
+
value
|
|
5457
|
+
}, _errorFactory);
|
|
5458
|
+
})));
|
|
5459
|
+
const _ao1 = (input, _path, _exceptionable = true) => ("advertising" === input.kind || "night" === input.kind || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5460
|
+
method: "typia.createAssertEquals",
|
|
5461
|
+
path: _path + ".kind",
|
|
5462
|
+
expected: '("advertising" | "night")',
|
|
5463
|
+
value: input.kind
|
|
5464
|
+
}, _errorFactory)) && ("granted" === input.state || "withdrawn" === input.state || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5465
|
+
method: "typia.createAssertEquals",
|
|
5466
|
+
path: _path + ".state",
|
|
5467
|
+
expected: '("granted" | "withdrawn")',
|
|
5468
|
+
value: input.state
|
|
5469
|
+
}, _errorFactory)) && ("string" === typeof input.at && (_isFormatDateTime_1._isFormatDateTime(input.at) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5470
|
+
method: "typia.createAssertEquals",
|
|
5471
|
+
path: _path + ".at",
|
|
5472
|
+
expected: 'string & Format<"date-time">',
|
|
5473
|
+
value: input.at
|
|
5474
|
+
}, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5475
|
+
method: "typia.createAssertEquals",
|
|
5476
|
+
path: _path + ".at",
|
|
5477
|
+
expected: '(string & Format<"date-time">)',
|
|
5478
|
+
value: input.at
|
|
5479
|
+
}, _errorFactory)) && (void 0 === input.textVersion || "string" === typeof input.textVersion && (1 <= input.textVersion.length || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5480
|
+
method: "typia.createAssertEquals",
|
|
5481
|
+
path: _path + ".textVersion",
|
|
5482
|
+
expected: "string & MinLength<1>",
|
|
5483
|
+
value: input.textVersion
|
|
5484
|
+
}, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5485
|
+
method: "typia.createAssertEquals",
|
|
5486
|
+
path: _path + ".textVersion",
|
|
5487
|
+
expected: "((string & MinLength<1>) | undefined)",
|
|
5488
|
+
value: input.textVersion
|
|
5489
|
+
}, _errorFactory)) && (3 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every((key) => {
|
|
5490
|
+
if (["kind", "state", "at", "textVersion"].some((prop) => key === prop))
|
|
5491
|
+
return true;
|
|
5492
|
+
const value = input[key];
|
|
5493
|
+
if (void 0 === value)
|
|
5494
|
+
return true;
|
|
5495
|
+
return _assertGuard_1._assertGuard(_exceptionable, {
|
|
5496
|
+
method: "typia.createAssertEquals",
|
|
5497
|
+
path: _path + _accessExpressionAsString_1._accessExpressionAsString(key),
|
|
5498
|
+
expected: "undefined",
|
|
5499
|
+
value
|
|
5500
|
+
}, _errorFactory);
|
|
5501
|
+
})));
|
|
5502
|
+
const _ao2 = (input, _path, _exceptionable = true) => ("consent-result" === input.kind || "reconfirmation" === input.kind || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5503
|
+
method: "typia.createAssertEquals",
|
|
5504
|
+
path: _path + ".kind",
|
|
5505
|
+
expected: '("consent-result" | "reconfirmation")',
|
|
5506
|
+
value: input.kind
|
|
5507
|
+
}, _errorFactory)) && (("object" === typeof input.record && null !== input.record || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5508
|
+
method: "typia.createAssertEquals",
|
|
5509
|
+
path: _path + ".record",
|
|
5510
|
+
expected: '{ readonly kind: "advertising" | "night"; readonly at: IsoDateTime; }',
|
|
5511
|
+
value: input.record
|
|
5512
|
+
}, _errorFactory)) && _ao3(input.record, _path + ".record", _exceptionable) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5513
|
+
method: "typia.createAssertEquals",
|
|
5514
|
+
path: _path + ".record",
|
|
5515
|
+
expected: '{ readonly kind: "advertising" | "night"; readonly at: IsoDateTime; }',
|
|
5516
|
+
value: input.record
|
|
5517
|
+
}, _errorFactory)) && ("string" === typeof input.dueBy && (_isFormatDate_1._isFormatDate(input.dueBy) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5518
|
+
method: "typia.createAssertEquals",
|
|
5519
|
+
path: _path + ".dueBy",
|
|
5520
|
+
expected: 'string & Format<"date">',
|
|
5521
|
+
value: input.dueBy
|
|
5522
|
+
}, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5523
|
+
method: "typia.createAssertEquals",
|
|
5524
|
+
path: _path + ".dueBy",
|
|
5525
|
+
expected: '(string & Format<"date">)',
|
|
5526
|
+
value: input.dueBy
|
|
5527
|
+
}, _errorFactory)) && (3 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every((key) => {
|
|
5528
|
+
if (["kind", "record", "dueBy"].some((prop) => key === prop))
|
|
5529
|
+
return true;
|
|
5530
|
+
const value = input[key];
|
|
5531
|
+
if (void 0 === value)
|
|
5532
|
+
return true;
|
|
5533
|
+
return _assertGuard_1._assertGuard(_exceptionable, {
|
|
5534
|
+
method: "typia.createAssertEquals",
|
|
5535
|
+
path: _path + _accessExpressionAsString_1._accessExpressionAsString(key),
|
|
5536
|
+
expected: "undefined",
|
|
5537
|
+
value
|
|
5538
|
+
}, _errorFactory);
|
|
5539
|
+
})));
|
|
5540
|
+
const _ao3 = (input, _path, _exceptionable = true) => ("advertising" === input.kind || "night" === input.kind || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5541
|
+
method: "typia.createAssertEquals",
|
|
5542
|
+
path: _path + ".kind",
|
|
5543
|
+
expected: '("advertising" | "night")',
|
|
5544
|
+
value: input.kind
|
|
5545
|
+
}, _errorFactory)) && ("string" === typeof input.at && (_isFormatDateTime_1._isFormatDateTime(input.at) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5546
|
+
method: "typia.createAssertEquals",
|
|
5547
|
+
path: _path + ".at",
|
|
5548
|
+
expected: 'string & Format<"date-time">',
|
|
5549
|
+
value: input.at
|
|
5550
|
+
}, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5551
|
+
method: "typia.createAssertEquals",
|
|
5552
|
+
path: _path + ".at",
|
|
5553
|
+
expected: '(string & Format<"date-time">)',
|
|
5554
|
+
value: input.at
|
|
5555
|
+
}, _errorFactory)) && (2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every((key) => {
|
|
5556
|
+
if (["kind", "at"].some((prop) => key === prop))
|
|
5557
|
+
return true;
|
|
5558
|
+
const value = input[key];
|
|
5559
|
+
if (void 0 === value)
|
|
5560
|
+
return true;
|
|
5561
|
+
return _assertGuard_1._assertGuard(_exceptionable, {
|
|
5562
|
+
method: "typia.createAssertEquals",
|
|
5563
|
+
path: _path + _accessExpressionAsString_1._accessExpressionAsString(key),
|
|
5564
|
+
expected: "undefined",
|
|
5565
|
+
value
|
|
5566
|
+
}, _errorFactory);
|
|
5567
|
+
})));
|
|
5568
|
+
const _au0 = (input, _path, _exceptionable = true) => (() => {
|
|
5569
|
+
if (void 0 !== input.variant)
|
|
5570
|
+
return _ao0(input, _path, _exceptionable);
|
|
5571
|
+
else
|
|
5572
|
+
return _ao2(input, _path, _exceptionable);
|
|
5573
|
+
})();
|
|
5574
|
+
const _io0 = (input, _exceptionable = true) => ("consent-result" === input.kind || "reconfirmation" === input.kind) && ("object" === typeof input.record && null !== input.record && _io1(input.record, _exceptionable)) && ("string" === typeof input.dueBy && _isFormatDate_1._isFormatDate(input.dueBy)) && ("consent-result.advertising.granted" === input.variant || "consent-result.advertising.refused" === input.variant || "consent-result.advertising.withdrawn" === input.variant || "consent-result.night.granted" === input.variant || "consent-result.night.refused" === input.variant || "consent-result.night.withdrawn" === input.variant || "reconfirmation.advertising" === input.variant || "reconfirmation.night" === input.variant) && (4 === Object.keys(input).length || Object.keys(input).every((key) => {
|
|
5575
|
+
if (["kind", "record", "dueBy", "variant"].some((prop) => key === prop))
|
|
5576
|
+
return true;
|
|
5577
|
+
const value = input[key];
|
|
5578
|
+
if (void 0 === value)
|
|
5579
|
+
return true;
|
|
5580
|
+
return false;
|
|
5581
|
+
}));
|
|
5582
|
+
const _io1 = (input, _exceptionable = true) => ("advertising" === input.kind || "night" === input.kind) && ("granted" === input.state || "withdrawn" === input.state) && ("string" === typeof input.at && _isFormatDateTime_1._isFormatDateTime(input.at)) && (void 0 === input.textVersion || "string" === typeof input.textVersion && 1 <= input.textVersion.length) && (3 === Object.keys(input).length || Object.keys(input).every((key) => {
|
|
5583
|
+
if (["kind", "state", "at", "textVersion"].some((prop) => key === prop))
|
|
5584
|
+
return true;
|
|
5585
|
+
const value = input[key];
|
|
5586
|
+
if (void 0 === value)
|
|
5587
|
+
return true;
|
|
5588
|
+
return false;
|
|
5589
|
+
}));
|
|
5590
|
+
const _io2 = (input, _exceptionable = true) => ("consent-result" === input.kind || "reconfirmation" === input.kind) && ("object" === typeof input.record && null !== input.record && _io3(input.record, _exceptionable)) && ("string" === typeof input.dueBy && _isFormatDate_1._isFormatDate(input.dueBy)) && (3 === Object.keys(input).length || Object.keys(input).every((key) => {
|
|
5591
|
+
if (["kind", "record", "dueBy"].some((prop) => key === prop))
|
|
5592
|
+
return true;
|
|
5593
|
+
const value = input[key];
|
|
5594
|
+
if (void 0 === value)
|
|
5595
|
+
return true;
|
|
5596
|
+
return false;
|
|
5597
|
+
}));
|
|
5598
|
+
const _io3 = (input, _exceptionable = true) => ("advertising" === input.kind || "night" === input.kind) && ("string" === typeof input.at && _isFormatDateTime_1._isFormatDateTime(input.at)) && (2 === Object.keys(input).length || Object.keys(input).every((key) => {
|
|
5599
|
+
if (["kind", "at"].some((prop) => key === prop))
|
|
5600
|
+
return true;
|
|
5601
|
+
const value = input[key];
|
|
5602
|
+
if (void 0 === value)
|
|
5603
|
+
return true;
|
|
5604
|
+
return false;
|
|
5605
|
+
}));
|
|
5606
|
+
const _iu0 = (input, _exceptionable = true) => (() => {
|
|
5607
|
+
if (void 0 !== input.variant)
|
|
5608
|
+
return _io0(input, _exceptionable);
|
|
5609
|
+
else
|
|
5610
|
+
return _io2(input, _exceptionable);
|
|
5611
|
+
})();
|
|
5612
|
+
const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && _iu0(input, true);
|
|
5613
|
+
let _errorFactory;
|
|
5614
|
+
return (input, errorFactory) => {
|
|
5615
|
+
if (false === __is(input)) {
|
|
5616
|
+
_errorFactory = errorFactory;
|
|
5617
|
+
((input2, _path, _exceptionable = true) => ("object" === typeof input2 && null !== input2 || _assertGuard_1._assertGuard(true, {
|
|
5618
|
+
method: "typia.createAssertEquals",
|
|
5619
|
+
path: _path + "",
|
|
5620
|
+
expected: "(NotificationNotice | NotificationNoticeIdentity)",
|
|
5621
|
+
value: input2
|
|
5622
|
+
}, _errorFactory)) && _au0(input2, _path + "", true) || _assertGuard_1._assertGuard(true, {
|
|
5623
|
+
method: "typia.createAssertEquals",
|
|
5624
|
+
path: _path + "",
|
|
5625
|
+
expected: "(NotificationNotice | NotificationNoticeIdentity)",
|
|
5626
|
+
value: input2
|
|
5627
|
+
}, _errorFactory))(input, "$input", true);
|
|
5628
|
+
}
|
|
5629
|
+
return input;
|
|
5630
|
+
};
|
|
5631
|
+
})(), notificationTimeFields.RecordNotificationNoticeInput);
|
|
5632
|
+
var assertNotificationBridgeListLocalResult = withStrictTimes("listLocal result", /* @__PURE__ */ (() => {
|
|
5633
|
+
const _ao0 = (input, _path, _exceptionable = true) => ((Array.isArray(input.pending) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5634
|
+
method: "typia.createAssertEquals",
|
|
5635
|
+
path: _path + ".pending",
|
|
5636
|
+
expected: "ReadonlyArray<LocalNotificationEntry>",
|
|
5637
|
+
value: input.pending
|
|
5638
|
+
}, _errorFactory)) && input.pending.every((elem, _index2) => ("object" === typeof elem && null !== elem || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5639
|
+
method: "typia.createAssertEquals",
|
|
5640
|
+
path: _path + ".pending[" + _index2 + "]",
|
|
5641
|
+
expected: "LocalNotificationEntry",
|
|
5642
|
+
value: elem
|
|
5643
|
+
}, _errorFactory)) && _ao1(elem, _path + ".pending[" + _index2 + "]", _exceptionable) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5644
|
+
method: "typia.createAssertEquals",
|
|
5645
|
+
path: _path + ".pending[" + _index2 + "]",
|
|
5646
|
+
expected: "LocalNotificationEntry",
|
|
5647
|
+
value: elem
|
|
5648
|
+
}, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5649
|
+
method: "typia.createAssertEquals",
|
|
5650
|
+
path: _path + ".pending",
|
|
5651
|
+
expected: "ReadonlyArray<LocalNotificationEntry>",
|
|
5652
|
+
value: input.pending
|
|
5653
|
+
}, _errorFactory)) && (1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every((key) => {
|
|
5654
|
+
if (["pending"].some((prop) => key === prop))
|
|
5655
|
+
return true;
|
|
5656
|
+
const value = input[key];
|
|
5657
|
+
if (void 0 === value)
|
|
5658
|
+
return true;
|
|
5659
|
+
return _assertGuard_1._assertGuard(_exceptionable, {
|
|
5660
|
+
method: "typia.createAssertEquals",
|
|
5661
|
+
path: _path + _accessExpressionAsString_1._accessExpressionAsString(key),
|
|
5662
|
+
expected: "undefined",
|
|
5663
|
+
value
|
|
5664
|
+
}, _errorFactory);
|
|
5665
|
+
})));
|
|
5666
|
+
const _ao1 = (input, _path, _exceptionable = true) => ("string" === typeof input.key && (1 <= input.key.length || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5667
|
+
method: "typia.createAssertEquals",
|
|
5668
|
+
path: _path + ".key",
|
|
5669
|
+
expected: "string & CommerceMinLength<1>",
|
|
5670
|
+
value: input.key
|
|
5671
|
+
}, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5672
|
+
method: "typia.createAssertEquals",
|
|
5673
|
+
path: _path + ".key",
|
|
5674
|
+
expected: "(string & CommerceMinLength<1>)",
|
|
5675
|
+
value: input.key
|
|
5676
|
+
}, _errorFactory)) && ("string" === typeof input.topic || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5677
|
+
method: "typia.createAssertEquals",
|
|
5678
|
+
path: _path + ".topic",
|
|
5679
|
+
expected: "string",
|
|
5680
|
+
value: input.topic
|
|
5681
|
+
}, _errorFactory)) && ("string" === typeof input.fireAt && (_isFormatDateTime_1._isFormatDateTime(input.fireAt) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5682
|
+
method: "typia.createAssertEquals",
|
|
5683
|
+
path: _path + ".fireAt",
|
|
5684
|
+
expected: "string & CommerceDateTimeFormat",
|
|
5685
|
+
value: input.fireAt
|
|
5686
|
+
}, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5687
|
+
method: "typia.createAssertEquals",
|
|
5688
|
+
path: _path + ".fireAt",
|
|
5689
|
+
expected: "(string & CommerceDateTimeFormat)",
|
|
5690
|
+
value: input.fireAt
|
|
5691
|
+
}, _errorFactory)) && (3 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every((key) => {
|
|
5692
|
+
if (["key", "topic", "fireAt"].some((prop) => key === prop))
|
|
5693
|
+
return true;
|
|
5694
|
+
const value = input[key];
|
|
5695
|
+
if (void 0 === value)
|
|
5696
|
+
return true;
|
|
5697
|
+
return _assertGuard_1._assertGuard(_exceptionable, {
|
|
5698
|
+
method: "typia.createAssertEquals",
|
|
5699
|
+
path: _path + _accessExpressionAsString_1._accessExpressionAsString(key),
|
|
5700
|
+
expected: "undefined",
|
|
5701
|
+
value
|
|
5702
|
+
}, _errorFactory);
|
|
5703
|
+
})));
|
|
5704
|
+
const _io0 = (input, _exceptionable = true) => Array.isArray(input.pending) && input.pending.every((elem, _index1) => "object" === typeof elem && null !== elem && _io1(elem, _exceptionable)) && (1 === Object.keys(input).length || Object.keys(input).every((key) => {
|
|
5705
|
+
if (["pending"].some((prop) => key === prop))
|
|
5706
|
+
return true;
|
|
5707
|
+
const value = input[key];
|
|
5708
|
+
if (void 0 === value)
|
|
5709
|
+
return true;
|
|
5710
|
+
return false;
|
|
5711
|
+
}));
|
|
5712
|
+
const _io1 = (input, _exceptionable = true) => "string" === typeof input.key && 1 <= input.key.length && "string" === typeof input.topic && ("string" === typeof input.fireAt && _isFormatDateTime_1._isFormatDateTime(input.fireAt)) && (3 === Object.keys(input).length || Object.keys(input).every((key) => {
|
|
5713
|
+
if (["key", "topic", "fireAt"].some((prop) => key === prop))
|
|
5714
|
+
return true;
|
|
5715
|
+
const value = input[key];
|
|
5716
|
+
if (void 0 === value)
|
|
5717
|
+
return true;
|
|
5718
|
+
return false;
|
|
5719
|
+
}));
|
|
5720
|
+
const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && _io0(input, true);
|
|
5721
|
+
let _errorFactory;
|
|
5722
|
+
return (input, errorFactory) => {
|
|
5723
|
+
if (false === __is(input)) {
|
|
5724
|
+
_errorFactory = errorFactory;
|
|
5725
|
+
((input2, _path, _exceptionable = true) => ("object" === typeof input2 && null !== input2 || _assertGuard_1._assertGuard(true, {
|
|
5726
|
+
method: "typia.createAssertEquals",
|
|
5727
|
+
path: _path + "",
|
|
5728
|
+
expected: "NotificationBridgeListLocalResult",
|
|
5729
|
+
value: input2
|
|
5730
|
+
}, _errorFactory)) && _ao0(input2, _path + "", true) || _assertGuard_1._assertGuard(true, {
|
|
5731
|
+
method: "typia.createAssertEquals",
|
|
5732
|
+
path: _path + "",
|
|
5733
|
+
expected: "NotificationBridgeListLocalResult",
|
|
5734
|
+
value: input2
|
|
5735
|
+
}, _errorFactory))(input, "$input", true);
|
|
5736
|
+
}
|
|
5737
|
+
return input;
|
|
5738
|
+
};
|
|
5739
|
+
})(), notificationTimeFields.NotificationBridgeListLocalResult);
|
|
5740
|
+
|
|
5741
|
+
// node_modules/.cache/mpgd-native-build/packages/catalog/src/notification-topics-shape.js
|
|
5742
|
+
import * as _isTypeUint32_12 from "typia/lib/internal/_isTypeUint32";
|
|
4449
5743
|
import * as _accessExpressionAsString_12 from "typia/lib/internal/_accessExpressionAsString";
|
|
5744
|
+
import * as _validateReport_1 from "typia/lib/internal/_validateReport";
|
|
5745
|
+
import * as _createStandardSchema_1 from "typia/lib/internal/_createStandardSchema";
|
|
4450
5746
|
import typia2 from "typia";
|
|
5747
|
+
var __typia_transform__accessExpressionAsString2 = _accessExpressionAsString_12._accessExpressionAsString;
|
|
5748
|
+
var validateShape = (() => {
|
|
5749
|
+
const _io0 = (input, _exceptionable = true) => (void 0 === input.notices || "object" === typeof input.notices && null !== input.notices && _io1(input.notices, _exceptionable)) && ("string" === typeof input.version && 1 <= input.version.length) && ("string" === typeof input.defaultLocale && 1 <= input.defaultLocale.length) && (Array.isArray(input.topics) && input.topics.every((elem, _index1) => "object" === typeof elem && null !== elem && _io2(elem, _exceptionable))) && (3 === Object.keys(input).length || Object.keys(input).every((key) => {
|
|
5750
|
+
if (["notices", "version", "defaultLocale", "topics"].some((prop) => key === prop))
|
|
5751
|
+
return true;
|
|
5752
|
+
const value = input[key];
|
|
5753
|
+
if (void 0 === value)
|
|
5754
|
+
return true;
|
|
5755
|
+
return false;
|
|
5756
|
+
}));
|
|
5757
|
+
const _io1 = (input, _exceptionable = true) => "string" === typeof input.topic && 1 <= input.topic.length && (2 === Object.keys(input).length || Object.keys(input).every((key) => {
|
|
5758
|
+
if (["copy", "topic"].some((prop) => key === prop))
|
|
5759
|
+
return true;
|
|
5760
|
+
const value = input[key];
|
|
5761
|
+
if (void 0 === value)
|
|
5762
|
+
return true;
|
|
5763
|
+
return false;
|
|
5764
|
+
}));
|
|
5765
|
+
const _io2 = (input, _exceptionable = true) => "string" === typeof input.id && 1 <= input.id.length && ("advertising" === input.purpose || "requested" === input.purpose || "service" === input.purpose) && (Array.isArray(input.channels) && (1 <= input.channels.length && input.channels.every((elem, _index2) => "local" === elem || "remote" === elem))) && ("string" === typeof input.route && 1 <= input.route.length) && (void 0 === input.optOutRoute || "string" === typeof input.optOutRoute && 1 <= input.optOutRoute.length) && (void 0 === input.copy || "object" === typeof input.copy && null !== input.copy && false === Array.isArray(input.copy) && _io3(input.copy, _exceptionable)) && (void 0 === input.frequency || "object" === typeof input.frequency && null !== input.frequency && _io5(input.frequency, _exceptionable)) && (void 0 === input.quietHours || "object" === typeof input.quietHours && null !== input.quietHours && _io6(input.quietHours, _exceptionable)) && (void 0 === input.deferrable || "boolean" === typeof input.deferrable) && (void 0 === input.targets || "object" === typeof input.targets && null !== input.targets && false === Array.isArray(input.targets) && _io7(input.targets, _exceptionable)) && (4 === Object.keys(input).length || Object.keys(input).every((key) => {
|
|
5766
|
+
if (["id", "purpose", "channels", "route", "optOutRoute", "copy", "frequency", "quietHours", "deferrable", "targets"].some((prop) => key === prop))
|
|
5767
|
+
return true;
|
|
5768
|
+
const value = input[key];
|
|
5769
|
+
if (void 0 === value)
|
|
5770
|
+
return true;
|
|
5771
|
+
return false;
|
|
5772
|
+
}));
|
|
5773
|
+
const _io3 = (input, _exceptionable = true) => Object.keys(input).every((key) => {
|
|
5774
|
+
const value = input[key];
|
|
5775
|
+
if (void 0 === value)
|
|
5776
|
+
return true;
|
|
5777
|
+
return "object" === typeof value && null !== value && _io4(value, _exceptionable);
|
|
5778
|
+
});
|
|
5779
|
+
const _io4 = (input, _exceptionable = true) => "string" === typeof input.title && 1 <= input.title.length && ("string" === typeof input.body && 1 <= input.body.length) && (2 === Object.keys(input).length || Object.keys(input).every((key) => {
|
|
5780
|
+
if (["title", "body"].some((prop) => key === prop))
|
|
5781
|
+
return true;
|
|
5782
|
+
const value = input[key];
|
|
5783
|
+
if (void 0 === value)
|
|
5784
|
+
return true;
|
|
5785
|
+
return false;
|
|
5786
|
+
}));
|
|
5787
|
+
const _io5 = (input, _exceptionable = true) => "number" === typeof input.maxPerDay && (_isTypeUint32_12._isTypeUint32(input.maxPerDay) && 1 <= input.maxPerDay) && (1 === Object.keys(input).length || Object.keys(input).every((key) => {
|
|
5788
|
+
if (["maxPerDay"].some((prop) => key === prop))
|
|
5789
|
+
return true;
|
|
5790
|
+
const value = input[key];
|
|
5791
|
+
if (void 0 === value)
|
|
5792
|
+
return true;
|
|
5793
|
+
return false;
|
|
5794
|
+
}));
|
|
5795
|
+
const _io6 = (input, _exceptionable = true) => "string" === typeof input.start && RegExp("^(?:[01][0-9]|2[0-3]):[0-5][0-9]$").test(input.start) && ("string" === typeof input.end && RegExp("^(?:[01][0-9]|2[0-3]):[0-5][0-9]$").test(input.end)) && (2 === Object.keys(input).length || Object.keys(input).every((key) => {
|
|
5796
|
+
if (["start", "end"].some((prop) => key === prop))
|
|
5797
|
+
return true;
|
|
5798
|
+
const value = input[key];
|
|
5799
|
+
if (void 0 === value)
|
|
5800
|
+
return true;
|
|
5801
|
+
return false;
|
|
5802
|
+
}));
|
|
5803
|
+
const _io7 = (input, _exceptionable = true) => Object.keys(input).every((key) => {
|
|
5804
|
+
const value = input[key];
|
|
5805
|
+
if (void 0 === value)
|
|
5806
|
+
return true;
|
|
5807
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io8(value, _exceptionable);
|
|
5808
|
+
});
|
|
5809
|
+
const _io8 = (input, _exceptionable = true) => Object.keys(input).every((key) => {
|
|
5810
|
+
const value = input[key];
|
|
5811
|
+
if (void 0 === value)
|
|
5812
|
+
return true;
|
|
5813
|
+
return "string" === typeof value || "number" === typeof value || "boolean" === typeof value;
|
|
5814
|
+
});
|
|
5815
|
+
const _vo0 = (input, _path, _exceptionable = true) => [void 0 === input.notices || ("object" === typeof input.notices && null !== input.notices || _report(_exceptionable, {
|
|
5816
|
+
path: _path + ".notices",
|
|
5817
|
+
expected: "(NotificationTopicCatalogNotices | undefined)",
|
|
5818
|
+
value: input.notices
|
|
5819
|
+
})) && _vo1(input.notices, _path + ".notices", _exceptionable) || _report(_exceptionable, {
|
|
5820
|
+
path: _path + ".notices",
|
|
5821
|
+
expected: "(NotificationTopicCatalogNotices | undefined)",
|
|
5822
|
+
value: input.notices
|
|
5823
|
+
}), "string" === typeof input.version && (1 <= input.version.length || _report(_exceptionable, {
|
|
5824
|
+
path: _path + ".version",
|
|
5825
|
+
expected: "string & MinLength<1>",
|
|
5826
|
+
value: input.version
|
|
5827
|
+
})) || _report(_exceptionable, {
|
|
5828
|
+
path: _path + ".version",
|
|
5829
|
+
expected: "(string & MinLength<1>)",
|
|
5830
|
+
value: input.version
|
|
5831
|
+
}), "string" === typeof input.defaultLocale && (1 <= input.defaultLocale.length || _report(_exceptionable, {
|
|
5832
|
+
path: _path + ".defaultLocale",
|
|
5833
|
+
expected: "string & MinLength<1>",
|
|
5834
|
+
value: input.defaultLocale
|
|
5835
|
+
})) || _report(_exceptionable, {
|
|
5836
|
+
path: _path + ".defaultLocale",
|
|
5837
|
+
expected: "(string & MinLength<1>)",
|
|
5838
|
+
value: input.defaultLocale
|
|
5839
|
+
}), (Array.isArray(input.topics) || _report(_exceptionable, {
|
|
5840
|
+
path: _path + ".topics",
|
|
5841
|
+
expected: "ReadonlyArray<NotificationTopicCatalogEntry>",
|
|
5842
|
+
value: input.topics
|
|
5843
|
+
})) && input.topics.map((elem, _index3) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
5844
|
+
path: _path + ".topics[" + _index3 + "]",
|
|
5845
|
+
expected: "NotificationTopicCatalogEntry",
|
|
5846
|
+
value: elem
|
|
5847
|
+
})) && _vo2(elem, _path + ".topics[" + _index3 + "]", _exceptionable) || _report(_exceptionable, {
|
|
5848
|
+
path: _path + ".topics[" + _index3 + "]",
|
|
5849
|
+
expected: "NotificationTopicCatalogEntry",
|
|
5850
|
+
value: elem
|
|
5851
|
+
})).every((flag) => flag) || _report(_exceptionable, {
|
|
5852
|
+
path: _path + ".topics",
|
|
5853
|
+
expected: "ReadonlyArray<NotificationTopicCatalogEntry>",
|
|
5854
|
+
value: input.topics
|
|
5855
|
+
}), 3 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map((key) => {
|
|
5856
|
+
if (["notices", "version", "defaultLocale", "topics"].some((prop) => key === prop))
|
|
5857
|
+
return true;
|
|
5858
|
+
const value = input[key];
|
|
5859
|
+
if (void 0 === value)
|
|
5860
|
+
return true;
|
|
5861
|
+
return _report(_exceptionable, {
|
|
5862
|
+
path: _path + _accessExpressionAsString_12._accessExpressionAsString(key),
|
|
5863
|
+
expected: "undefined",
|
|
5864
|
+
value,
|
|
5865
|
+
description: [
|
|
5866
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
5867
|
+
"",
|
|
5868
|
+
"Please remove the property next time."
|
|
5869
|
+
].join("\n")
|
|
5870
|
+
});
|
|
5871
|
+
}).every((flag) => flag))].every((flag) => flag);
|
|
5872
|
+
const _vo1 = (input, _path, _exceptionable = true) => [true, "string" === typeof input.topic && (1 <= input.topic.length || _report(_exceptionable, {
|
|
5873
|
+
path: _path + ".topic",
|
|
5874
|
+
expected: "string & MinLength<1>",
|
|
5875
|
+
value: input.topic
|
|
5876
|
+
})) || _report(_exceptionable, {
|
|
5877
|
+
path: _path + ".topic",
|
|
5878
|
+
expected: "(string & MinLength<1>)",
|
|
5879
|
+
value: input.topic
|
|
5880
|
+
}), 2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map((key) => {
|
|
5881
|
+
if (["copy", "topic"].some((prop) => key === prop))
|
|
5882
|
+
return true;
|
|
5883
|
+
const value = input[key];
|
|
5884
|
+
if (void 0 === value)
|
|
5885
|
+
return true;
|
|
5886
|
+
return _report(_exceptionable, {
|
|
5887
|
+
path: _path + _accessExpressionAsString_12._accessExpressionAsString(key),
|
|
5888
|
+
expected: "undefined",
|
|
5889
|
+
value,
|
|
5890
|
+
description: [
|
|
5891
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
5892
|
+
"",
|
|
5893
|
+
"Please remove the property next time."
|
|
5894
|
+
].join("\n")
|
|
5895
|
+
});
|
|
5896
|
+
}).every((flag) => flag))].every((flag) => flag);
|
|
5897
|
+
const _vo2 = (input, _path, _exceptionable = true) => ["string" === typeof input.id && (1 <= input.id.length || _report(_exceptionable, {
|
|
5898
|
+
path: _path + ".id",
|
|
5899
|
+
expected: "string & MinLength<1>",
|
|
5900
|
+
value: input.id
|
|
5901
|
+
})) || _report(_exceptionable, {
|
|
5902
|
+
path: _path + ".id",
|
|
5903
|
+
expected: "(string & MinLength<1>)",
|
|
5904
|
+
value: input.id
|
|
5905
|
+
}), "advertising" === input.purpose || "requested" === input.purpose || "service" === input.purpose || _report(_exceptionable, {
|
|
5906
|
+
path: _path + ".purpose",
|
|
5907
|
+
expected: '("advertising" | "requested" | "service")',
|
|
5908
|
+
value: input.purpose
|
|
5909
|
+
}), (Array.isArray(input.channels) || _report(_exceptionable, {
|
|
5910
|
+
path: _path + ".channels",
|
|
5911
|
+
expected: "(ReadonlyArray<NotificationChannel> & MinItems<1>)",
|
|
5912
|
+
value: input.channels
|
|
5913
|
+
})) && ((1 <= input.channels.length || _report(_exceptionable, {
|
|
5914
|
+
path: _path + ".channels",
|
|
5915
|
+
expected: "Array<> & MinItems<1>",
|
|
5916
|
+
value: input.channels
|
|
5917
|
+
})) && input.channels.map((elem, _index4) => "local" === elem || "remote" === elem || _report(_exceptionable, {
|
|
5918
|
+
path: _path + ".channels[" + _index4 + "]",
|
|
5919
|
+
expected: '("local" | "remote")',
|
|
5920
|
+
value: elem
|
|
5921
|
+
})).every((flag) => flag)) || _report(_exceptionable, {
|
|
5922
|
+
path: _path + ".channels",
|
|
5923
|
+
expected: "(ReadonlyArray<NotificationChannel> & MinItems<1>)",
|
|
5924
|
+
value: input.channels
|
|
5925
|
+
}), "string" === typeof input.route && (1 <= input.route.length || _report(_exceptionable, {
|
|
5926
|
+
path: _path + ".route",
|
|
5927
|
+
expected: "string & MinLength<1>",
|
|
5928
|
+
value: input.route
|
|
5929
|
+
})) || _report(_exceptionable, {
|
|
5930
|
+
path: _path + ".route",
|
|
5931
|
+
expected: "(string & MinLength<1>)",
|
|
5932
|
+
value: input.route
|
|
5933
|
+
}), void 0 === input.optOutRoute || "string" === typeof input.optOutRoute && (1 <= input.optOutRoute.length || _report(_exceptionable, {
|
|
5934
|
+
path: _path + ".optOutRoute",
|
|
5935
|
+
expected: "string & MinLength<1>",
|
|
5936
|
+
value: input.optOutRoute
|
|
5937
|
+
})) || _report(_exceptionable, {
|
|
5938
|
+
path: _path + ".optOutRoute",
|
|
5939
|
+
expected: "((string & MinLength<1>) | undefined)",
|
|
5940
|
+
value: input.optOutRoute
|
|
5941
|
+
}), void 0 === input.copy || ("object" === typeof input.copy && null !== input.copy && false === Array.isArray(input.copy) || _report(_exceptionable, {
|
|
5942
|
+
path: _path + ".copy",
|
|
5943
|
+
expected: "(Readonly<Record<string, NotificationTopicCopy>> | undefined)",
|
|
5944
|
+
value: input.copy
|
|
5945
|
+
})) && _vo3(input.copy, _path + ".copy", _exceptionable) || _report(_exceptionable, {
|
|
5946
|
+
path: _path + ".copy",
|
|
5947
|
+
expected: "(Readonly<Record<string, NotificationTopicCopy>> | undefined)",
|
|
5948
|
+
value: input.copy
|
|
5949
|
+
}), void 0 === input.frequency || ("object" === typeof input.frequency && null !== input.frequency || _report(_exceptionable, {
|
|
5950
|
+
path: _path + ".frequency",
|
|
5951
|
+
expected: "(NotificationTopicFrequency | undefined)",
|
|
5952
|
+
value: input.frequency
|
|
5953
|
+
})) && _vo5(input.frequency, _path + ".frequency", _exceptionable) || _report(_exceptionable, {
|
|
5954
|
+
path: _path + ".frequency",
|
|
5955
|
+
expected: "(NotificationTopicFrequency | undefined)",
|
|
5956
|
+
value: input.frequency
|
|
5957
|
+
}), void 0 === input.quietHours || ("object" === typeof input.quietHours && null !== input.quietHours || _report(_exceptionable, {
|
|
5958
|
+
path: _path + ".quietHours",
|
|
5959
|
+
expected: "(NotificationQuietHours | undefined)",
|
|
5960
|
+
value: input.quietHours
|
|
5961
|
+
})) && _vo6(input.quietHours, _path + ".quietHours", _exceptionable) || _report(_exceptionable, {
|
|
5962
|
+
path: _path + ".quietHours",
|
|
5963
|
+
expected: "(NotificationQuietHours | undefined)",
|
|
5964
|
+
value: input.quietHours
|
|
5965
|
+
}), void 0 === input.deferrable || "boolean" === typeof input.deferrable || _report(_exceptionable, {
|
|
5966
|
+
path: _path + ".deferrable",
|
|
5967
|
+
expected: "(boolean | undefined)",
|
|
5968
|
+
value: input.deferrable
|
|
5969
|
+
}), void 0 === input.targets || ("object" === typeof input.targets && null !== input.targets && false === Array.isArray(input.targets) || _report(_exceptionable, {
|
|
5970
|
+
path: _path + ".targets",
|
|
5971
|
+
expected: "(Readonly<Record<string, Readonly<Record<string, string | number | boolean>>>> | undefined)",
|
|
5972
|
+
value: input.targets
|
|
5973
|
+
})) && _vo7(input.targets, _path + ".targets", _exceptionable) || _report(_exceptionable, {
|
|
5974
|
+
path: _path + ".targets",
|
|
5975
|
+
expected: "(Readonly<Record<string, Readonly<Record<string, string | number | boolean>>>> | undefined)",
|
|
5976
|
+
value: input.targets
|
|
5977
|
+
}), 4 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map((key) => {
|
|
5978
|
+
if (["id", "purpose", "channels", "route", "optOutRoute", "copy", "frequency", "quietHours", "deferrable", "targets"].some((prop) => key === prop))
|
|
5979
|
+
return true;
|
|
5980
|
+
const value = input[key];
|
|
5981
|
+
if (void 0 === value)
|
|
5982
|
+
return true;
|
|
5983
|
+
return _report(_exceptionable, {
|
|
5984
|
+
path: _path + _accessExpressionAsString_12._accessExpressionAsString(key),
|
|
5985
|
+
expected: "undefined",
|
|
5986
|
+
value,
|
|
5987
|
+
description: [
|
|
5988
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
5989
|
+
"",
|
|
5990
|
+
"Please remove the property next time."
|
|
5991
|
+
].join("\n")
|
|
5992
|
+
});
|
|
5993
|
+
}).every((flag) => flag))].every((flag) => flag);
|
|
5994
|
+
const _vo3 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map((key) => {
|
|
5995
|
+
const value = input[key];
|
|
5996
|
+
if (void 0 === value)
|
|
5997
|
+
return true;
|
|
5998
|
+
return ("object" === typeof value && null !== value || _report(_exceptionable, {
|
|
5999
|
+
path: _path + __typia_transform__accessExpressionAsString2(key),
|
|
6000
|
+
expected: "NotificationTopicCopy",
|
|
6001
|
+
value
|
|
6002
|
+
})) && _vo4(value, _path + __typia_transform__accessExpressionAsString2(key), _exceptionable) || _report(_exceptionable, {
|
|
6003
|
+
path: _path + __typia_transform__accessExpressionAsString2(key),
|
|
6004
|
+
expected: "NotificationTopicCopy",
|
|
6005
|
+
value
|
|
6006
|
+
});
|
|
6007
|
+
}).every((flag) => flag)].every((flag) => flag);
|
|
6008
|
+
const _vo4 = (input, _path, _exceptionable = true) => ["string" === typeof input.title && (1 <= input.title.length || _report(_exceptionable, {
|
|
6009
|
+
path: _path + ".title",
|
|
6010
|
+
expected: "string & MinLength<1>",
|
|
6011
|
+
value: input.title
|
|
6012
|
+
})) || _report(_exceptionable, {
|
|
6013
|
+
path: _path + ".title",
|
|
6014
|
+
expected: "(string & MinLength<1>)",
|
|
6015
|
+
value: input.title
|
|
6016
|
+
}), "string" === typeof input.body && (1 <= input.body.length || _report(_exceptionable, {
|
|
6017
|
+
path: _path + ".body",
|
|
6018
|
+
expected: "string & MinLength<1>",
|
|
6019
|
+
value: input.body
|
|
6020
|
+
})) || _report(_exceptionable, {
|
|
6021
|
+
path: _path + ".body",
|
|
6022
|
+
expected: "(string & MinLength<1>)",
|
|
6023
|
+
value: input.body
|
|
6024
|
+
}), 2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map((key) => {
|
|
6025
|
+
if (["title", "body"].some((prop) => key === prop))
|
|
6026
|
+
return true;
|
|
6027
|
+
const value = input[key];
|
|
6028
|
+
if (void 0 === value)
|
|
6029
|
+
return true;
|
|
6030
|
+
return _report(_exceptionable, {
|
|
6031
|
+
path: _path + _accessExpressionAsString_12._accessExpressionAsString(key),
|
|
6032
|
+
expected: "undefined",
|
|
6033
|
+
value,
|
|
6034
|
+
description: [
|
|
6035
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
6036
|
+
"",
|
|
6037
|
+
"Please remove the property next time."
|
|
6038
|
+
].join("\n")
|
|
6039
|
+
});
|
|
6040
|
+
}).every((flag) => flag))].every((flag) => flag);
|
|
6041
|
+
const _vo5 = (input, _path, _exceptionable = true) => ["number" === typeof input.maxPerDay && (_isTypeUint32_12._isTypeUint32(input.maxPerDay) || _report(_exceptionable, {
|
|
6042
|
+
path: _path + ".maxPerDay",
|
|
6043
|
+
expected: 'number & Type<"uint32">',
|
|
6044
|
+
value: input.maxPerDay
|
|
6045
|
+
})) && (1 <= input.maxPerDay || _report(_exceptionable, {
|
|
6046
|
+
path: _path + ".maxPerDay",
|
|
6047
|
+
expected: "number & Minimum<1>",
|
|
6048
|
+
value: input.maxPerDay
|
|
6049
|
+
})) || _report(_exceptionable, {
|
|
6050
|
+
path: _path + ".maxPerDay",
|
|
6051
|
+
expected: '(number & Type<"uint32"> & Minimum<1>)',
|
|
6052
|
+
value: input.maxPerDay
|
|
6053
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map((key) => {
|
|
6054
|
+
if (["maxPerDay"].some((prop) => key === prop))
|
|
6055
|
+
return true;
|
|
6056
|
+
const value = input[key];
|
|
6057
|
+
if (void 0 === value)
|
|
6058
|
+
return true;
|
|
6059
|
+
return _report(_exceptionable, {
|
|
6060
|
+
path: _path + _accessExpressionAsString_12._accessExpressionAsString(key),
|
|
6061
|
+
expected: "undefined",
|
|
6062
|
+
value,
|
|
6063
|
+
description: [
|
|
6064
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
6065
|
+
"",
|
|
6066
|
+
"Please remove the property next time."
|
|
6067
|
+
].join("\n")
|
|
6068
|
+
});
|
|
6069
|
+
}).every((flag) => flag))].every((flag) => flag);
|
|
6070
|
+
const _vo6 = (input, _path, _exceptionable = true) => ["string" === typeof input.start && (RegExp("^(?:[01][0-9]|2[0-3]):[0-5][0-9]$").test(input.start) || _report(_exceptionable, {
|
|
6071
|
+
path: _path + ".start",
|
|
6072
|
+
expected: 'string & Pattern<"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$">',
|
|
6073
|
+
value: input.start
|
|
6074
|
+
})) || _report(_exceptionable, {
|
|
6075
|
+
path: _path + ".start",
|
|
6076
|
+
expected: '(string & Pattern<"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$">)',
|
|
6077
|
+
value: input.start
|
|
6078
|
+
}), "string" === typeof input.end && (RegExp("^(?:[01][0-9]|2[0-3]):[0-5][0-9]$").test(input.end) || _report(_exceptionable, {
|
|
6079
|
+
path: _path + ".end",
|
|
6080
|
+
expected: 'string & Pattern<"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$">',
|
|
6081
|
+
value: input.end
|
|
6082
|
+
})) || _report(_exceptionable, {
|
|
6083
|
+
path: _path + ".end",
|
|
6084
|
+
expected: '(string & Pattern<"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$">)',
|
|
6085
|
+
value: input.end
|
|
6086
|
+
}), 2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map((key) => {
|
|
6087
|
+
if (["start", "end"].some((prop) => key === prop))
|
|
6088
|
+
return true;
|
|
6089
|
+
const value = input[key];
|
|
6090
|
+
if (void 0 === value)
|
|
6091
|
+
return true;
|
|
6092
|
+
return _report(_exceptionable, {
|
|
6093
|
+
path: _path + _accessExpressionAsString_12._accessExpressionAsString(key),
|
|
6094
|
+
expected: "undefined",
|
|
6095
|
+
value,
|
|
6096
|
+
description: [
|
|
6097
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
6098
|
+
"",
|
|
6099
|
+
"Please remove the property next time."
|
|
6100
|
+
].join("\n")
|
|
6101
|
+
});
|
|
6102
|
+
}).every((flag) => flag))].every((flag) => flag);
|
|
6103
|
+
const _vo7 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map((key) => {
|
|
6104
|
+
const value = input[key];
|
|
6105
|
+
if (void 0 === value)
|
|
6106
|
+
return true;
|
|
6107
|
+
return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
|
|
6108
|
+
path: _path + __typia_transform__accessExpressionAsString2(key),
|
|
6109
|
+
expected: "Readonly<Record<string, string | number | boolean>>",
|
|
6110
|
+
value
|
|
6111
|
+
})) && _vo8(value, _path + __typia_transform__accessExpressionAsString2(key), _exceptionable) || _report(_exceptionable, {
|
|
6112
|
+
path: _path + __typia_transform__accessExpressionAsString2(key),
|
|
6113
|
+
expected: "Readonly<Record<string, string | number | boolean>>",
|
|
6114
|
+
value
|
|
6115
|
+
});
|
|
6116
|
+
}).every((flag) => flag)].every((flag) => flag);
|
|
6117
|
+
const _vo8 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map((key) => {
|
|
6118
|
+
const value = input[key];
|
|
6119
|
+
if (void 0 === value)
|
|
6120
|
+
return true;
|
|
6121
|
+
return "string" === typeof value || "number" === typeof value || "boolean" === typeof value || _report(_exceptionable, {
|
|
6122
|
+
path: _path + __typia_transform__accessExpressionAsString2(key),
|
|
6123
|
+
expected: "(boolean | number | string)",
|
|
6124
|
+
value
|
|
6125
|
+
});
|
|
6126
|
+
}).every((flag) => flag)].every((flag) => flag);
|
|
6127
|
+
const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && _io0(input, true);
|
|
6128
|
+
let errors;
|
|
6129
|
+
let _report;
|
|
6130
|
+
return _createStandardSchema_1._createStandardSchema((input) => {
|
|
6131
|
+
if (false === __is(input)) {
|
|
6132
|
+
errors = [];
|
|
6133
|
+
_report = _validateReport_1._validateReport(errors);
|
|
6134
|
+
((input2, _path, _exceptionable = true) => ("object" === typeof input2 && null !== input2 || _report(true, {
|
|
6135
|
+
path: _path + "",
|
|
6136
|
+
expected: "NotificationTopicCatalog",
|
|
6137
|
+
value: input2
|
|
6138
|
+
})) && _vo0(input2, _path + "", true) || _report(true, {
|
|
6139
|
+
path: _path + "",
|
|
6140
|
+
expected: "NotificationTopicCatalog",
|
|
6141
|
+
value: input2
|
|
6142
|
+
}))(input, "$input", true);
|
|
6143
|
+
const success = 0 === errors.length;
|
|
6144
|
+
return success ? {
|
|
6145
|
+
success,
|
|
6146
|
+
data: input
|
|
6147
|
+
} : {
|
|
6148
|
+
success,
|
|
6149
|
+
errors,
|
|
6150
|
+
data: input
|
|
6151
|
+
};
|
|
6152
|
+
}
|
|
6153
|
+
return {
|
|
6154
|
+
success: true,
|
|
6155
|
+
data: input
|
|
6156
|
+
};
|
|
6157
|
+
});
|
|
6158
|
+
})();
|
|
4451
6159
|
|
|
4452
6160
|
// node_modules/.cache/mpgd-native-build/packages/catalog/src/index.js
|
|
4453
|
-
import * as _assertGuard_1 from "typia/lib/internal/_assertGuard";
|
|
4454
|
-
import * as _accessExpressionAsString_1 from "typia/lib/internal/_accessExpressionAsString";
|
|
4455
|
-
import typia from "typia";
|
|
4456
6161
|
var defaultCatalogCurrencies = Object.freeze(["coin", "gem"]);
|
|
4457
6162
|
function resolveProductPlatformId(product, target2) {
|
|
4458
6163
|
const identifier = readOwnPlatformIdentifier(product.platformProductIds, target2);
|
|
@@ -4470,6 +6175,8 @@ function normalizePlatformIdentifier(identifier) {
|
|
|
4470
6175
|
}
|
|
4471
6176
|
|
|
4472
6177
|
// node_modules/.cache/mpgd-native-build/packages/target-config/src/runtime.js
|
|
6178
|
+
import * as _isTypeUint32_13 from "typia/lib/internal/_isTypeUint32";
|
|
6179
|
+
import typia4 from "typia";
|
|
4473
6180
|
var adPlacementFeatureByType = {
|
|
4474
6181
|
rewarded: "rewardedAds",
|
|
4475
6182
|
interstitial: "interstitialAds",
|
|
@@ -5007,19 +6714,19 @@ function isRecord2(value) {
|
|
|
5007
6714
|
}
|
|
5008
6715
|
|
|
5009
6716
|
// node_modules/.cache/mpgd-native-build/packages/bridge/src/index.js
|
|
5010
|
-
import * as
|
|
5011
|
-
import * as
|
|
5012
|
-
import * as
|
|
5013
|
-
import * as
|
|
5014
|
-
import
|
|
6717
|
+
import * as _isTypeUint32_15 from "typia/lib/internal/_isTypeUint32";
|
|
6718
|
+
import * as _isFormatDateTime_13 from "typia/lib/internal/_isFormatDateTime";
|
|
6719
|
+
import * as _assertGuard_15 from "typia/lib/internal/_assertGuard";
|
|
6720
|
+
import * as _accessExpressionAsString_16 from "typia/lib/internal/_accessExpressionAsString";
|
|
6721
|
+
import typia7 from "typia";
|
|
5015
6722
|
|
|
5016
6723
|
// node_modules/.cache/mpgd-native-build/packages/platform/src/commerce.js
|
|
5017
6724
|
import * as _isTypeInt64_1 from "typia/lib/internal/_isTypeInt64";
|
|
5018
|
-
import * as
|
|
5019
|
-
import * as
|
|
5020
|
-
import * as
|
|
5021
|
-
import * as
|
|
5022
|
-
import
|
|
6725
|
+
import * as _isTypeUint32_14 from "typia/lib/internal/_isTypeUint32";
|
|
6726
|
+
import * as _isFormatDateTime_12 from "typia/lib/internal/_isFormatDateTime";
|
|
6727
|
+
import * as _assertGuard_14 from "typia/lib/internal/_assertGuard";
|
|
6728
|
+
import * as _accessExpressionAsString_15 from "typia/lib/internal/_accessExpressionAsString";
|
|
6729
|
+
import typia6 from "typia";
|
|
5023
6730
|
var commerceErrorCodes = Object.freeze([
|
|
5024
6731
|
"USER_CANCELLED",
|
|
5025
6732
|
"OUTCOME_UNKNOWN",
|
|
@@ -5079,15 +6786,23 @@ var terminalCommercePurchaseStates = Object.freeze([
|
|
|
5079
6786
|
"rejected",
|
|
5080
6787
|
"revoked"
|
|
5081
6788
|
]);
|
|
5082
|
-
var purchaseKindToProductType = Object.freeze({
|
|
5083
|
-
consumable: "consumable",
|
|
5084
|
-
durable: "non_consumable",
|
|
5085
|
-
subscription: "subscription"
|
|
5086
|
-
});
|
|
5087
6789
|
|
|
5088
6790
|
// node_modules/.cache/mpgd-native-build/packages/bridge/src/index.js
|
|
5089
6791
|
var bridgeCommerceV2Methods = commerceBridgeMethods;
|
|
5090
6792
|
var bridgeCommerceV2MethodSet = new Set(bridgeCommerceV2Methods);
|
|
6793
|
+
var notificationsV2MethodList = [
|
|
6794
|
+
"notifications.v2.getCapabilities",
|
|
6795
|
+
"notifications.v2.getPermission",
|
|
6796
|
+
"notifications.v2.requestPermission",
|
|
6797
|
+
"notifications.v2.revokePermission",
|
|
6798
|
+
"notifications.v2.register",
|
|
6799
|
+
"notifications.v2.scheduleLocal",
|
|
6800
|
+
"notifications.v2.cancelLocal",
|
|
6801
|
+
"notifications.v2.listLocal",
|
|
6802
|
+
"notifications.v2.openSettings"
|
|
6803
|
+
];
|
|
6804
|
+
var bridgeNotificationsV2Methods = Object.freeze(notificationsV2MethodList);
|
|
6805
|
+
var bridgeNotificationsV2MethodSet = new Set(bridgeNotificationsV2Methods);
|
|
5091
6806
|
|
|
5092
6807
|
// node_modules/.cache/mpgd-native-build/adapters/devvit/src/catalog-products.js
|
|
5093
6808
|
var defaultDevvitCatalogTarget = "reddit";
|
|
@@ -5535,10 +7250,10 @@ function formatError4(error) {
|
|
|
5535
7250
|
}
|
|
5536
7251
|
|
|
5537
7252
|
// node_modules/.cache/mpgd-native-build/tools/target/schemas.js
|
|
5538
|
-
import * as
|
|
5539
|
-
import * as
|
|
5540
|
-
import
|
|
5541
|
-
var
|
|
7253
|
+
import * as _assertGuard_16 from "typia/lib/internal/_assertGuard";
|
|
7254
|
+
import * as _accessExpressionAsString_17 from "typia/lib/internal/_accessExpressionAsString";
|
|
7255
|
+
import typia8 from "typia";
|
|
7256
|
+
var __typia_transform__accessExpressionAsString3 = _accessExpressionAsString_17._accessExpressionAsString;
|
|
5542
7257
|
var assertPlatformTargetsConfig = /* @__PURE__ */ (() => {
|
|
5543
7258
|
const _ip0 = (input) => void 0 === input["assetPacks"] || "object" === typeof input["assetPacks"] && null !== input["assetPacks"] && _io3(input["assetPacks"]);
|
|
5544
7259
|
const _ip1 = (input) => "string" === typeof input["gameApp"];
|
|
@@ -5550,75 +7265,75 @@ var assertPlatformTargetsConfig = /* @__PURE__ */ (() => {
|
|
|
5550
7265
|
const _ip7 = (input) => "string" === typeof input["wrapperApp"];
|
|
5551
7266
|
const _ip8 = (input) => "string" === typeof input["webDir"];
|
|
5552
7267
|
const _ip9 = (input) => "string" === typeof input["output"];
|
|
5553
|
-
const _ap0 = (input, _path, _exceptionable = true) => void 0 === input["assetPacks"] || ("object" === typeof input["assetPacks"] && null !== input["assetPacks"] ||
|
|
7268
|
+
const _ap0 = (input, _path, _exceptionable = true) => void 0 === input["assetPacks"] || ("object" === typeof input["assetPacks"] && null !== input["assetPacks"] || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5554
7269
|
method: "typia.createAssert",
|
|
5555
7270
|
path: _path + ".assetPacks",
|
|
5556
7271
|
expected: "(AssetPackTargetPolicy | undefined)",
|
|
5557
7272
|
value: input["assetPacks"]
|
|
5558
|
-
}, _errorFactory)) && _ao3(input["assetPacks"], _path + ".assetPacks", _exceptionable) ||
|
|
7273
|
+
}, _errorFactory)) && _ao3(input["assetPacks"], _path + ".assetPacks", _exceptionable) || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5559
7274
|
method: "typia.createAssert",
|
|
5560
7275
|
path: _path + ".assetPacks",
|
|
5561
7276
|
expected: "(AssetPackTargetPolicy | undefined)",
|
|
5562
7277
|
value: input["assetPacks"]
|
|
5563
7278
|
}, _errorFactory);
|
|
5564
|
-
const _ap1 = (input, _path, _exceptionable = true) => "string" === typeof input["gameApp"] ||
|
|
7279
|
+
const _ap1 = (input, _path, _exceptionable = true) => "string" === typeof input["gameApp"] || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5565
7280
|
method: "typia.createAssert",
|
|
5566
7281
|
path: _path + ".gameApp",
|
|
5567
7282
|
expected: "string",
|
|
5568
7283
|
value: input["gameApp"]
|
|
5569
7284
|
}, _errorFactory);
|
|
5570
|
-
const _ap2 = (input, _path, _exceptionable = true) => "string" === typeof input["adapter"] ||
|
|
7285
|
+
const _ap2 = (input, _path, _exceptionable = true) => "string" === typeof input["adapter"] || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5571
7286
|
method: "typia.createAssert",
|
|
5572
7287
|
path: _path + ".adapter",
|
|
5573
7288
|
expected: "string",
|
|
5574
7289
|
value: input["adapter"]
|
|
5575
7290
|
}, _errorFactory);
|
|
5576
|
-
const _ap3 = (input, _path, _exceptionable = true) => void 0 === input["metadata"] || ("object" === typeof input["metadata"] && null !== input["metadata"] && false === Array.isArray(input["metadata"]) ||
|
|
7291
|
+
const _ap3 = (input, _path, _exceptionable = true) => void 0 === input["metadata"] || ("object" === typeof input["metadata"] && null !== input["metadata"] && false === Array.isArray(input["metadata"]) || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5577
7292
|
method: "typia.createAssert",
|
|
5578
7293
|
path: _path + ".metadata",
|
|
5579
7294
|
expected: "(TargetReleaseMetadata | undefined)",
|
|
5580
7295
|
value: input["metadata"]
|
|
5581
|
-
}, _errorFactory)) && _ao5(input["metadata"], _path + ".metadata", _exceptionable) ||
|
|
7296
|
+
}, _errorFactory)) && _ao5(input["metadata"], _path + ".metadata", _exceptionable) || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5582
7297
|
method: "typia.createAssert",
|
|
5583
7298
|
path: _path + ".metadata",
|
|
5584
7299
|
expected: "(TargetReleaseMetadata | undefined)",
|
|
5585
7300
|
value: input["metadata"]
|
|
5586
7301
|
}, _errorFactory);
|
|
5587
|
-
const _ap4 = (input, _path, _exceptionable = true) => void 0 === input["authoritativeGameServices"] || "boolean" === typeof input["authoritativeGameServices"] ||
|
|
7302
|
+
const _ap4 = (input, _path, _exceptionable = true) => void 0 === input["authoritativeGameServices"] || "boolean" === typeof input["authoritativeGameServices"] || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5588
7303
|
method: "typia.createAssert",
|
|
5589
7304
|
path: _path + ".authoritativeGameServices",
|
|
5590
7305
|
expected: "(boolean | undefined)",
|
|
5591
7306
|
value: input["authoritativeGameServices"]
|
|
5592
7307
|
}, _errorFactory);
|
|
5593
|
-
const _ap5 = (input, _path, _exceptionable = true) => void 0 === input["integrations"] || ("object" === typeof input["integrations"] && null !== input["integrations"] && false === Array.isArray(input["integrations"]) ||
|
|
7308
|
+
const _ap5 = (input, _path, _exceptionable = true) => void 0 === input["integrations"] || ("object" === typeof input["integrations"] && null !== input["integrations"] && false === Array.isArray(input["integrations"]) || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5594
7309
|
method: "typia.createAssert",
|
|
5595
7310
|
path: _path + ".integrations",
|
|
5596
7311
|
expected: "(Partial<TargetIntegrationConfig> | undefined)",
|
|
5597
7312
|
value: input["integrations"]
|
|
5598
|
-
}, _errorFactory)) && _ao6(input["integrations"], _path + ".integrations", _exceptionable) ||
|
|
7313
|
+
}, _errorFactory)) && _ao6(input["integrations"], _path + ".integrations", _exceptionable) || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5599
7314
|
method: "typia.createAssert",
|
|
5600
7315
|
path: _path + ".integrations",
|
|
5601
7316
|
expected: "(Partial<TargetIntegrationConfig> | undefined)",
|
|
5602
7317
|
value: input["integrations"]
|
|
5603
7318
|
}, _errorFactory);
|
|
5604
|
-
const _ap6 = (input, _path, _exceptionable = true) => void 0 === input["icon"] || ("object" === typeof input["icon"] && null !== input["icon"] && false === Array.isArray(input["icon"]) ||
|
|
7319
|
+
const _ap6 = (input, _path, _exceptionable = true) => void 0 === input["icon"] || ("object" === typeof input["icon"] && null !== input["icon"] && false === Array.isArray(input["icon"]) || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5605
7320
|
method: "typia.createAssert",
|
|
5606
7321
|
path: _path + ".icon",
|
|
5607
7322
|
expected: "(TargetIconConfig | undefined)",
|
|
5608
7323
|
value: input["icon"]
|
|
5609
|
-
}, _errorFactory)) && _ao7(input["icon"], _path + ".icon", _exceptionable) ||
|
|
7324
|
+
}, _errorFactory)) && _ao7(input["icon"], _path + ".icon", _exceptionable) || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5610
7325
|
method: "typia.createAssert",
|
|
5611
7326
|
path: _path + ".icon",
|
|
5612
7327
|
expected: "(TargetIconConfig | undefined)",
|
|
5613
7328
|
value: input["icon"]
|
|
5614
7329
|
}, _errorFactory);
|
|
5615
|
-
const _ap7 = (input, _path, _exceptionable = true) => "string" === typeof input["wrapperApp"] ||
|
|
7330
|
+
const _ap7 = (input, _path, _exceptionable = true) => "string" === typeof input["wrapperApp"] || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5616
7331
|
method: "typia.createAssert",
|
|
5617
7332
|
path: _path + ".wrapperApp",
|
|
5618
7333
|
expected: "string",
|
|
5619
7334
|
value: input["wrapperApp"]
|
|
5620
7335
|
}, _errorFactory);
|
|
5621
|
-
const _ap8 = (input, _path, _exceptionable = true) => "string" === typeof input["webDir"] ||
|
|
7336
|
+
const _ap8 = (input, _path, _exceptionable = true) => "string" === typeof input["webDir"] || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5622
7337
|
method: "typia.createAssert",
|
|
5623
7338
|
path: _path + ".webDir",
|
|
5624
7339
|
expected: "string",
|
|
@@ -5626,18 +7341,18 @@ var assertPlatformTargetsConfig = /* @__PURE__ */ (() => {
|
|
|
5626
7341
|
}, _errorFactory);
|
|
5627
7342
|
const _ae0 = '("action-required" | "approval-required" | "available" | "configuration-required" | "disabled" | "temporarily-unavailable" | "unsupported" | undefined)';
|
|
5628
7343
|
const _ae1 = "(undefined | { readonly maskable?: string; readonly androidForeground?: string; readonly monochrome?: string; readonly background?: string; })";
|
|
5629
|
-
const _ap9 = (input, _path, _exceptionable = true) => "string" === typeof input["output"] ||
|
|
7344
|
+
const _ap9 = (input, _path, _exceptionable = true) => "string" === typeof input["output"] || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5630
7345
|
method: "typia.createAssert",
|
|
5631
7346
|
path: _path + ".output",
|
|
5632
7347
|
expected: "string",
|
|
5633
7348
|
value: input["output"]
|
|
5634
7349
|
}, _errorFactory);
|
|
5635
|
-
const _ao0 = (input, _path, _exceptionable = true) => ("object" === typeof input.targets && null !== input.targets && false === Array.isArray(input.targets) ||
|
|
7350
|
+
const _ao0 = (input, _path, _exceptionable = true) => ("object" === typeof input.targets && null !== input.targets && false === Array.isArray(input.targets) || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5636
7351
|
method: "typia.createAssert",
|
|
5637
7352
|
path: _path + ".targets",
|
|
5638
7353
|
expected: "Record<string, PlatformTargetConfig>",
|
|
5639
7354
|
value: input.targets
|
|
5640
|
-
}, _errorFactory)) && _ao1(input.targets, _path + ".targets", _exceptionable) ||
|
|
7355
|
+
}, _errorFactory)) && _ao1(input.targets, _path + ".targets", _exceptionable) || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5641
7356
|
method: "typia.createAssert",
|
|
5642
7357
|
path: _path + ".targets",
|
|
5643
7358
|
expected: "Record<string, PlatformTargetConfig>",
|
|
@@ -5647,190 +7362,241 @@ var assertPlatformTargetsConfig = /* @__PURE__ */ (() => {
|
|
|
5647
7362
|
const value = input[key];
|
|
5648
7363
|
if (void 0 === value)
|
|
5649
7364
|
return true;
|
|
5650
|
-
return ("object" === typeof value && null !== value ||
|
|
7365
|
+
return ("object" === typeof value && null !== value || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5651
7366
|
method: "typia.createAssert",
|
|
5652
|
-
path: _path +
|
|
7367
|
+
path: _path + __typia_transform__accessExpressionAsString3(key),
|
|
5653
7368
|
expected: "(AppsInTossTargetConfig | CapacitorTargetConfig | DevvitTargetConfig | MiniGameTargetConfig | WebTargetConfig)",
|
|
5654
7369
|
value
|
|
5655
|
-
}, _errorFactory)) && _au0(value, _path +
|
|
7370
|
+
}, _errorFactory)) && _au0(value, _path + __typia_transform__accessExpressionAsString3(key), _exceptionable) || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5656
7371
|
method: "typia.createAssert",
|
|
5657
|
-
path: _path +
|
|
7372
|
+
path: _path + __typia_transform__accessExpressionAsString3(key),
|
|
5658
7373
|
expected: "(AppsInTossTargetConfig | CapacitorTargetConfig | DevvitTargetConfig | MiniGameTargetConfig | WebTargetConfig)",
|
|
5659
7374
|
value
|
|
5660
7375
|
}, _errorFactory);
|
|
5661
7376
|
});
|
|
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 ||
|
|
7377
|
+
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_16._assertGuard(_exceptionable, {
|
|
5663
7378
|
method: "typia.createAssert",
|
|
5664
7379
|
path: _path + ".kind",
|
|
5665
7380
|
expected: '("capacitor-android" | "capacitor-ios")',
|
|
5666
7381
|
value: input.kind
|
|
5667
|
-
}, _errorFactory)) && ("string" === typeof input.shellApp ||
|
|
7382
|
+
}, _errorFactory)) && ("string" === typeof input.shellApp || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5668
7383
|
method: "typia.createAssert",
|
|
5669
7384
|
path: _path + ".shellApp",
|
|
5670
7385
|
expected: "string",
|
|
5671
7386
|
value: input.shellApp
|
|
5672
|
-
}, _errorFactory)) && _ap8(input, _path, _exceptionable) && ("aab" === input.artifact || "apk" === input.artifact || "ipa" === input.artifact ||
|
|
7387
|
+
}, _errorFactory)) && _ap8(input, _path, _exceptionable) && ("aab" === input.artifact || "apk" === input.artifact || "ipa" === input.artifact || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5673
7388
|
method: "typia.createAssert",
|
|
5674
7389
|
path: _path + ".artifact",
|
|
5675
7390
|
expected: '("aab" | "apk" | "ipa")',
|
|
5676
7391
|
value: input.artifact
|
|
5677
7392
|
}, _errorFactory));
|
|
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 ||
|
|
7393
|
+
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_16._assertGuard(_exceptionable, {
|
|
5679
7394
|
method: "typia.createAssert",
|
|
5680
7395
|
path: _path + ".kind",
|
|
5681
7396
|
expected: '"devvit-web"',
|
|
5682
7397
|
value: input.kind
|
|
5683
|
-
}, _errorFactory)) && _ap7(input, _path, _exceptionable) && _ap8(input, _path, _exceptionable) && ("devvit" === input.artifact ||
|
|
7398
|
+
}, _errorFactory)) && _ap7(input, _path, _exceptionable) && _ap8(input, _path, _exceptionable) && ("devvit" === input.artifact || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5684
7399
|
method: "typia.createAssert",
|
|
5685
7400
|
path: _path + ".artifact",
|
|
5686
7401
|
expected: '"devvit"',
|
|
5687
7402
|
value: input.artifact
|
|
7403
|
+
}, _errorFactory)) && (void 0 === input.inlineEntry || "string" === typeof input.inlineEntry || _assertGuard_16._assertGuard(_exceptionable, {
|
|
7404
|
+
method: "typia.createAssert",
|
|
7405
|
+
path: _path + ".inlineEntry",
|
|
7406
|
+
expected: "(string | undefined)",
|
|
7407
|
+
value: input.inlineEntry
|
|
7408
|
+
}, _errorFactory)) && (void 0 === input.inlineBudget || ("object" === typeof input.inlineBudget && null !== input.inlineBudget && false === Array.isArray(input.inlineBudget) || _assertGuard_16._assertGuard(_exceptionable, {
|
|
7409
|
+
method: "typia.createAssert",
|
|
7410
|
+
path: _path + ".inlineBudget",
|
|
7411
|
+
expected: "(DevvitInlineBudget | undefined)",
|
|
7412
|
+
value: input.inlineBudget
|
|
7413
|
+
}, _errorFactory)) && _ao12(input.inlineBudget, _path + ".inlineBudget", _exceptionable) || _assertGuard_16._assertGuard(_exceptionable, {
|
|
7414
|
+
method: "typia.createAssert",
|
|
7415
|
+
path: _path + ".inlineBudget",
|
|
7416
|
+
expected: "(DevvitInlineBudget | undefined)",
|
|
7417
|
+
value: input.inlineBudget
|
|
7418
|
+
}, _errorFactory));
|
|
7419
|
+
const _ao12 = (input, _path, _exceptionable = true) => (void 0 === input.maxGzipKb || "number" === typeof input.maxGzipKb || _assertGuard_16._assertGuard(_exceptionable, {
|
|
7420
|
+
method: "typia.createAssert",
|
|
7421
|
+
path: _path + ".maxGzipKb",
|
|
7422
|
+
expected: "(number | undefined)",
|
|
7423
|
+
value: input.maxGzipKb
|
|
7424
|
+
}, _errorFactory)) && (void 0 === input.forbidModules || (Array.isArray(input.forbidModules) || _assertGuard_16._assertGuard(_exceptionable, {
|
|
7425
|
+
method: "typia.createAssert",
|
|
7426
|
+
path: _path + ".forbidModules",
|
|
7427
|
+
expected: "(ReadonlyArray<string> | undefined)",
|
|
7428
|
+
value: input.forbidModules
|
|
7429
|
+
}, _errorFactory)) && input.forbidModules.every((elem, _index6) => "string" === typeof elem || _assertGuard_16._assertGuard(_exceptionable, {
|
|
7430
|
+
method: "typia.createAssert",
|
|
7431
|
+
path: _path + ".forbidModules[" + _index6 + "]",
|
|
7432
|
+
expected: "string",
|
|
7433
|
+
value: elem
|
|
7434
|
+
}, _errorFactory)) || _assertGuard_16._assertGuard(_exceptionable, {
|
|
7435
|
+
method: "typia.createAssert",
|
|
7436
|
+
path: _path + ".forbidModules",
|
|
7437
|
+
expected: "(ReadonlyArray<string> | undefined)",
|
|
7438
|
+
value: input.forbidModules
|
|
7439
|
+
}, _errorFactory)) && (void 0 === input.deferredChunks || (Array.isArray(input.deferredChunks) || _assertGuard_16._assertGuard(_exceptionable, {
|
|
7440
|
+
method: "typia.createAssert",
|
|
7441
|
+
path: _path + ".deferredChunks",
|
|
7442
|
+
expected: "(ReadonlyArray<string> | undefined)",
|
|
7443
|
+
value: input.deferredChunks
|
|
7444
|
+
}, _errorFactory)) && input.deferredChunks.every((elem, _index7) => "string" === typeof elem || _assertGuard_16._assertGuard(_exceptionable, {
|
|
7445
|
+
method: "typia.createAssert",
|
|
7446
|
+
path: _path + ".deferredChunks[" + _index7 + "]",
|
|
7447
|
+
expected: "string",
|
|
7448
|
+
value: elem
|
|
7449
|
+
}, _errorFactory)) || _assertGuard_16._assertGuard(_exceptionable, {
|
|
7450
|
+
method: "typia.createAssert",
|
|
7451
|
+
path: _path + ".deferredChunks",
|
|
7452
|
+
expected: "(ReadonlyArray<string> | undefined)",
|
|
7453
|
+
value: input.deferredChunks
|
|
5688
7454
|
}, _errorFactory));
|
|
5689
|
-
const
|
|
7455
|
+
const _ao13 = (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_16._assertGuard(_exceptionable, {
|
|
5690
7456
|
method: "typia.createAssert",
|
|
5691
7457
|
path: _path + ".kind",
|
|
5692
7458
|
expected: '("tiktok-minigame" | "wechat-minigame")',
|
|
5693
7459
|
value: input.kind
|
|
5694
|
-
}, _errorFactory)) && _ap9(input, _path, _exceptionable) && ("canvas" === input.renderer ||
|
|
7460
|
+
}, _errorFactory)) && _ap9(input, _path, _exceptionable) && ("canvas" === input.renderer || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5695
7461
|
method: "typia.createAssert",
|
|
5696
7462
|
path: _path + ".renderer",
|
|
5697
7463
|
expected: '"canvas"',
|
|
5698
7464
|
value: input.renderer
|
|
5699
|
-
}, _errorFactory)) && ("landscape" === input.orientation || "portrait" === input.orientation ||
|
|
7465
|
+
}, _errorFactory)) && ("landscape" === input.orientation || "portrait" === input.orientation || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5700
7466
|
method: "typia.createAssert",
|
|
5701
7467
|
path: _path + ".orientation",
|
|
5702
7468
|
expected: '("landscape" | "portrait")',
|
|
5703
7469
|
value: input.orientation
|
|
5704
|
-
}, _errorFactory)) && (true === input.experimental ||
|
|
7470
|
+
}, _errorFactory)) && (true === input.experimental || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5705
7471
|
method: "typia.createAssert",
|
|
5706
7472
|
path: _path + ".experimental",
|
|
5707
7473
|
expected: "true",
|
|
5708
7474
|
value: input.experimental
|
|
5709
|
-
}, _errorFactory)) && (void 0 === input.remoteAssetOrigins || (Array.isArray(input.remoteAssetOrigins) ||
|
|
7475
|
+
}, _errorFactory)) && (void 0 === input.remoteAssetOrigins || (Array.isArray(input.remoteAssetOrigins) || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5710
7476
|
method: "typia.createAssert",
|
|
5711
7477
|
path: _path + ".remoteAssetOrigins",
|
|
5712
7478
|
expected: "(ReadonlyArray<string> | undefined)",
|
|
5713
7479
|
value: input.remoteAssetOrigins
|
|
5714
|
-
}, _errorFactory)) && input.remoteAssetOrigins.every((elem,
|
|
7480
|
+
}, _errorFactory)) && input.remoteAssetOrigins.every((elem, _index8) => "string" === typeof elem || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5715
7481
|
method: "typia.createAssert",
|
|
5716
|
-
path: _path + ".remoteAssetOrigins[" +
|
|
7482
|
+
path: _path + ".remoteAssetOrigins[" + _index8 + "]",
|
|
5717
7483
|
expected: "string",
|
|
5718
7484
|
value: elem
|
|
5719
|
-
}, _errorFactory)) ||
|
|
7485
|
+
}, _errorFactory)) || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5720
7486
|
method: "typia.createAssert",
|
|
5721
7487
|
path: _path + ".remoteAssetOrigins",
|
|
5722
7488
|
expected: "(ReadonlyArray<string> | undefined)",
|
|
5723
7489
|
value: input.remoteAssetOrigins
|
|
5724
|
-
}, _errorFactory)) && (("object" === typeof input.packageBudget && null !== input.packageBudget ||
|
|
7490
|
+
}, _errorFactory)) && (("object" === typeof input.packageBudget && null !== input.packageBudget || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5725
7491
|
method: "typia.createAssert",
|
|
5726
7492
|
path: _path + ".packageBudget",
|
|
5727
7493
|
expected: "MiniGamePackageBudget",
|
|
5728
7494
|
value: input.packageBudget
|
|
5729
|
-
}, _errorFactory)) &&
|
|
7495
|
+
}, _errorFactory)) && _ao14(input.packageBudget, _path + ".packageBudget", _exceptionable) || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5730
7496
|
method: "typia.createAssert",
|
|
5731
7497
|
path: _path + ".packageBudget",
|
|
5732
7498
|
expected: "MiniGamePackageBudget",
|
|
5733
7499
|
value: input.packageBudget
|
|
5734
7500
|
}, _errorFactory));
|
|
5735
|
-
const
|
|
7501
|
+
const _ao14 = (input, _path, _exceptionable = true) => ("number" === typeof input.mainBytes || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5736
7502
|
method: "typia.createAssert",
|
|
5737
7503
|
path: _path + ".mainBytes",
|
|
5738
7504
|
expected: "number",
|
|
5739
7505
|
value: input.mainBytes
|
|
5740
|
-
}, _errorFactory)) && ("number" === typeof input.totalBytes ||
|
|
7506
|
+
}, _errorFactory)) && ("number" === typeof input.totalBytes || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5741
7507
|
method: "typia.createAssert",
|
|
5742
7508
|
path: _path + ".totalBytes",
|
|
5743
7509
|
expected: "number",
|
|
5744
7510
|
value: input.totalBytes
|
|
5745
|
-
}, _errorFactory)) && (void 0 === input.independentSubpackageBytes || "number" === typeof input.independentSubpackageBytes ||
|
|
7511
|
+
}, _errorFactory)) && (void 0 === input.independentSubpackageBytes || "number" === typeof input.independentSubpackageBytes || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5746
7512
|
method: "typia.createAssert",
|
|
5747
7513
|
path: _path + ".independentSubpackageBytes",
|
|
5748
7514
|
expected: "(number | undefined)",
|
|
5749
7515
|
value: input.independentSubpackageBytes
|
|
5750
7516
|
}, _errorFactory));
|
|
5751
|
-
const
|
|
7517
|
+
const _ao15 = (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_16._assertGuard(_exceptionable, {
|
|
5752
7518
|
method: "typia.createAssert",
|
|
5753
7519
|
path: _path + ".kind",
|
|
5754
7520
|
expected: '"web"',
|
|
5755
7521
|
value: input.kind
|
|
5756
|
-
}, _errorFactory)) && _ap9(input, _path, _exceptionable) && (void 0 === input.installable || "boolean" === typeof input.installable ||
|
|
7522
|
+
}, _errorFactory)) && _ap9(input, _path, _exceptionable) && (void 0 === input.installable || "boolean" === typeof input.installable || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5757
7523
|
method: "typia.createAssert",
|
|
5758
7524
|
path: _path + ".installable",
|
|
5759
7525
|
expected: "(boolean | undefined)",
|
|
5760
7526
|
value: input.installable
|
|
5761
|
-
}, _errorFactory)) && (void 0 === input.crazyGamesLaunch || "basic" === input.crazyGamesLaunch || "full" === input.crazyGamesLaunch ||
|
|
7527
|
+
}, _errorFactory)) && (void 0 === input.crazyGamesLaunch || "basic" === input.crazyGamesLaunch || "full" === input.crazyGamesLaunch || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5762
7528
|
method: "typia.createAssert",
|
|
5763
7529
|
path: _path + ".crazyGamesLaunch",
|
|
5764
7530
|
expected: '("basic" | "full" | undefined)',
|
|
5765
7531
|
value: input.crazyGamesLaunch
|
|
5766
|
-
}, _errorFactory)) && (void 0 === input.staticDir || "string" === typeof input.staticDir ||
|
|
7532
|
+
}, _errorFactory)) && (void 0 === input.staticDir || "string" === typeof input.staticDir || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5767
7533
|
method: "typia.createAssert",
|
|
5768
7534
|
path: _path + ".staticDir",
|
|
5769
7535
|
expected: "(string | undefined)",
|
|
5770
7536
|
value: input.staticDir
|
|
5771
7537
|
}, _errorFactory));
|
|
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 ||
|
|
7538
|
+
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_16._assertGuard(_exceptionable, {
|
|
5773
7539
|
method: "typia.createAssert",
|
|
5774
7540
|
path: _path + ".kind",
|
|
5775
7541
|
expected: '"apps-in-toss"',
|
|
5776
7542
|
value: input.kind
|
|
5777
|
-
}, _errorFactory)) && _ap7(input, _path, _exceptionable) && _ap8(input, _path, _exceptionable) && (".ait" === input.artifact ||
|
|
7543
|
+
}, _errorFactory)) && _ap7(input, _path, _exceptionable) && _ap8(input, _path, _exceptionable) && (".ait" === input.artifact || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5778
7544
|
method: "typia.createAssert",
|
|
5779
7545
|
path: _path + ".artifact",
|
|
5780
7546
|
expected: '".ait"',
|
|
5781
7547
|
value: input.artifact
|
|
5782
|
-
}, _errorFactory)) && (void 0 === input.navigationBar || ("object" === typeof input.navigationBar && null !== input.navigationBar && false === Array.isArray(input.navigationBar) ||
|
|
7548
|
+
}, _errorFactory)) && (void 0 === input.navigationBar || ("object" === typeof input.navigationBar && null !== input.navigationBar && false === Array.isArray(input.navigationBar) || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5783
7549
|
method: "typia.createAssert",
|
|
5784
7550
|
path: _path + ".navigationBar",
|
|
5785
7551
|
expected: "(AppsInTossNavigationBarConfig | undefined)",
|
|
5786
7552
|
value: input.navigationBar
|
|
5787
|
-
}, _errorFactory)) && _ao9(input.navigationBar, _path + ".navigationBar", _exceptionable) ||
|
|
7553
|
+
}, _errorFactory)) && _ao9(input.navigationBar, _path + ".navigationBar", _exceptionable) || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5788
7554
|
method: "typia.createAssert",
|
|
5789
7555
|
path: _path + ".navigationBar",
|
|
5790
7556
|
expected: "(AppsInTossNavigationBarConfig | undefined)",
|
|
5791
7557
|
value: input.navigationBar
|
|
5792
7558
|
}, _errorFactory));
|
|
5793
|
-
const _ao3 = (input, _path, _exceptionable = true) => ("packaged" === input.defaultLocation || "remote" === input.defaultLocation ||
|
|
7559
|
+
const _ao3 = (input, _path, _exceptionable = true) => ("packaged" === input.defaultLocation || "remote" === input.defaultLocation || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5794
7560
|
method: "typia.createAssert",
|
|
5795
7561
|
path: _path + ".defaultLocation",
|
|
5796
7562
|
expected: '("packaged" | "remote")',
|
|
5797
7563
|
value: input.defaultLocation
|
|
5798
|
-
}, _errorFactory)) && (void 0 === input.packs || ("object" === typeof input.packs && null !== input.packs && false === Array.isArray(input.packs) ||
|
|
7564
|
+
}, _errorFactory)) && (void 0 === input.packs || ("object" === typeof input.packs && null !== input.packs && false === Array.isArray(input.packs) || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5799
7565
|
method: "typia.createAssert",
|
|
5800
7566
|
path: _path + ".packs",
|
|
5801
7567
|
expected: "(Readonly<Record<string, AssetPackLocation>> | undefined)",
|
|
5802
7568
|
value: input.packs
|
|
5803
|
-
}, _errorFactory)) && _ao4(input.packs, _path + ".packs", _exceptionable) ||
|
|
7569
|
+
}, _errorFactory)) && _ao4(input.packs, _path + ".packs", _exceptionable) || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5804
7570
|
method: "typia.createAssert",
|
|
5805
7571
|
path: _path + ".packs",
|
|
5806
7572
|
expected: "(Readonly<Record<string, AssetPackLocation>> | undefined)",
|
|
5807
7573
|
value: input.packs
|
|
5808
|
-
}, _errorFactory)) && (void 0 === input.offlineRequired || (Array.isArray(input.offlineRequired) ||
|
|
7574
|
+
}, _errorFactory)) && (void 0 === input.offlineRequired || (Array.isArray(input.offlineRequired) || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5809
7575
|
method: "typia.createAssert",
|
|
5810
7576
|
path: _path + ".offlineRequired",
|
|
5811
7577
|
expected: "(ReadonlyArray<string> | undefined)",
|
|
5812
7578
|
value: input.offlineRequired
|
|
5813
|
-
}, _errorFactory)) && input.offlineRequired.every((elem,
|
|
7579
|
+
}, _errorFactory)) && input.offlineRequired.every((elem, _index5) => "string" === typeof elem || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5814
7580
|
method: "typia.createAssert",
|
|
5815
|
-
path: _path + ".offlineRequired[" +
|
|
7581
|
+
path: _path + ".offlineRequired[" + _index5 + "]",
|
|
5816
7582
|
expected: "string",
|
|
5817
7583
|
value: elem
|
|
5818
|
-
}, _errorFactory)) ||
|
|
7584
|
+
}, _errorFactory)) || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5819
7585
|
method: "typia.createAssert",
|
|
5820
7586
|
path: _path + ".offlineRequired",
|
|
5821
7587
|
expected: "(ReadonlyArray<string> | undefined)",
|
|
5822
7588
|
value: input.offlineRequired
|
|
5823
|
-
}, _errorFactory)) && (void 0 === input.remoteBaseUrl || "string" === typeof input.remoteBaseUrl ||
|
|
7589
|
+
}, _errorFactory)) && (void 0 === input.remoteBaseUrl || "string" === typeof input.remoteBaseUrl || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5824
7590
|
method: "typia.createAssert",
|
|
5825
7591
|
path: _path + ".remoteBaseUrl",
|
|
5826
7592
|
expected: "(string | undefined)",
|
|
5827
7593
|
value: input.remoteBaseUrl
|
|
5828
|
-
}, _errorFactory)) && (void 0 === input.maxPackagedBytes || "number" === typeof input.maxPackagedBytes ||
|
|
7594
|
+
}, _errorFactory)) && (void 0 === input.maxPackagedBytes || "number" === typeof input.maxPackagedBytes || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5829
7595
|
method: "typia.createAssert",
|
|
5830
7596
|
path: _path + ".maxPackagedBytes",
|
|
5831
7597
|
expected: "(number | undefined)",
|
|
5832
7598
|
value: input.maxPackagedBytes
|
|
5833
|
-
}, _errorFactory)) && ("string" === typeof input.buildConfig ||
|
|
7599
|
+
}, _errorFactory)) && ("string" === typeof input.buildConfig || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5834
7600
|
method: "typia.createAssert",
|
|
5835
7601
|
path: _path + ".buildConfig",
|
|
5836
7602
|
expected: "string",
|
|
@@ -5840,148 +7606,148 @@ var assertPlatformTargetsConfig = /* @__PURE__ */ (() => {
|
|
|
5840
7606
|
const value = input[key];
|
|
5841
7607
|
if (void 0 === value)
|
|
5842
7608
|
return true;
|
|
5843
|
-
return "packaged" === value || "remote" === value ||
|
|
7609
|
+
return "packaged" === value || "remote" === value || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5844
7610
|
method: "typia.createAssert",
|
|
5845
|
-
path: _path +
|
|
7611
|
+
path: _path + __typia_transform__accessExpressionAsString3(key),
|
|
5846
7612
|
expected: '("packaged" | "remote")',
|
|
5847
7613
|
value
|
|
5848
7614
|
}, _errorFactory);
|
|
5849
7615
|
});
|
|
5850
|
-
const _ao5 = (input, _path, _exceptionable = true) => (void 0 === input.appName || "string" === typeof input.appName ||
|
|
7616
|
+
const _ao5 = (input, _path, _exceptionable = true) => (void 0 === input.appName || "string" === typeof input.appName || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5851
7617
|
method: "typia.createAssert",
|
|
5852
7618
|
path: _path + ".appName",
|
|
5853
7619
|
expected: "(string | undefined)",
|
|
5854
7620
|
value: input.appName
|
|
5855
|
-
}, _errorFactory)) && (void 0 === input.displayName || "string" === typeof input.displayName ||
|
|
7621
|
+
}, _errorFactory)) && (void 0 === input.displayName || "string" === typeof input.displayName || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5856
7622
|
method: "typia.createAssert",
|
|
5857
7623
|
path: _path + ".displayName",
|
|
5858
7624
|
expected: "(string | undefined)",
|
|
5859
7625
|
value: input.displayName
|
|
5860
|
-
}, _errorFactory)) && (void 0 === input.primaryColor || "string" === typeof input.primaryColor ||
|
|
7626
|
+
}, _errorFactory)) && (void 0 === input.primaryColor || "string" === typeof input.primaryColor || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5861
7627
|
method: "typia.createAssert",
|
|
5862
7628
|
path: _path + ".primaryColor",
|
|
5863
7629
|
expected: "(string | undefined)",
|
|
5864
7630
|
value: input.primaryColor
|
|
5865
|
-
}, _errorFactory)) && (void 0 === input.packageId || "string" === typeof input.packageId ||
|
|
7631
|
+
}, _errorFactory)) && (void 0 === input.packageId || "string" === typeof input.packageId || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5866
7632
|
method: "typia.createAssert",
|
|
5867
7633
|
path: _path + ".packageId",
|
|
5868
7634
|
expected: "(string | undefined)",
|
|
5869
7635
|
value: input.packageId
|
|
5870
|
-
}, _errorFactory)) && (void 0 === input.bundleId || "string" === typeof input.bundleId ||
|
|
7636
|
+
}, _errorFactory)) && (void 0 === input.bundleId || "string" === typeof input.bundleId || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5871
7637
|
method: "typia.createAssert",
|
|
5872
7638
|
path: _path + ".bundleId",
|
|
5873
7639
|
expected: "(string | undefined)",
|
|
5874
7640
|
value: input.bundleId
|
|
5875
|
-
}, _errorFactory)) && (void 0 === input.sdkMajor || "number" === typeof input.sdkMajor ||
|
|
7641
|
+
}, _errorFactory)) && (void 0 === input.sdkMajor || "number" === typeof input.sdkMajor || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5876
7642
|
method: "typia.createAssert",
|
|
5877
7643
|
path: _path + ".sdkMajor",
|
|
5878
7644
|
expected: "(number | undefined)",
|
|
5879
7645
|
value: input.sdkMajor
|
|
5880
7646
|
}, _errorFactory));
|
|
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 ||
|
|
7647
|
+
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_16._assertGuard(_exceptionable, {
|
|
5882
7648
|
method: "typia.createAssert",
|
|
5883
7649
|
path: _path + ".identityUpgrade",
|
|
5884
7650
|
expected: _ae0,
|
|
5885
7651
|
value: input.identityUpgrade
|
|
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 ||
|
|
7652
|
+
}, _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_16._assertGuard(_exceptionable, {
|
|
5887
7653
|
method: "typia.createAssert",
|
|
5888
7654
|
path: _path + ".presentation",
|
|
5889
7655
|
expected: _ae0,
|
|
5890
7656
|
value: input.presentation
|
|
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 ||
|
|
7657
|
+
}, _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_16._assertGuard(_exceptionable, {
|
|
5892
7658
|
method: "typia.createAssert",
|
|
5893
7659
|
path: _path + ".sharing",
|
|
5894
7660
|
expected: _ae0,
|
|
5895
7661
|
value: input.sharing
|
|
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 ||
|
|
7662
|
+
}, _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_16._assertGuard(_exceptionable, {
|
|
5897
7663
|
method: "typia.createAssert",
|
|
5898
7664
|
path: _path + ".inboundShare",
|
|
5899
7665
|
expected: _ae0,
|
|
5900
7666
|
value: input.inboundShare
|
|
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 ||
|
|
7667
|
+
}, _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_16._assertGuard(_exceptionable, {
|
|
5902
7668
|
method: "typia.createAssert",
|
|
5903
7669
|
path: _path + ".notifications",
|
|
5904
7670
|
expected: _ae0,
|
|
5905
7671
|
value: input.notifications
|
|
5906
|
-
}, _errorFactory)) && (void 0 === input.presentationMode || "fullscreen" === input.presentationMode || "inline-expanded" === input.presentationMode ||
|
|
7672
|
+
}, _errorFactory)) && (void 0 === input.presentationMode || "fullscreen" === input.presentationMode || "inline-expanded" === input.presentationMode || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5907
7673
|
method: "typia.createAssert",
|
|
5908
7674
|
path: _path + ".presentationMode",
|
|
5909
7675
|
expected: '("fullscreen" | "inline-expanded" | undefined)',
|
|
5910
7676
|
value: input.presentationMode
|
|
5911
7677
|
}, _errorFactory));
|
|
5912
|
-
const _ao7 = (input, _path, _exceptionable = true) => (void 0 === input.profile || "string" === typeof input.profile ||
|
|
7678
|
+
const _ao7 = (input, _path, _exceptionable = true) => (void 0 === input.profile || "string" === typeof input.profile || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5913
7679
|
method: "typia.createAssert",
|
|
5914
7680
|
path: _path + ".profile",
|
|
5915
7681
|
expected: "(string | undefined)",
|
|
5916
7682
|
value: input.profile
|
|
5917
|
-
}, _errorFactory)) && (void 0 === input.source || "string" === typeof input.source ||
|
|
7683
|
+
}, _errorFactory)) && (void 0 === input.source || "string" === typeof input.source || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5918
7684
|
method: "typia.createAssert",
|
|
5919
7685
|
path: _path + ".source",
|
|
5920
7686
|
expected: "(string | undefined)",
|
|
5921
7687
|
value: input.source
|
|
5922
|
-
}, _errorFactory)) && (void 0 === input.backgroundColor || "string" === typeof input.backgroundColor ||
|
|
7688
|
+
}, _errorFactory)) && (void 0 === input.backgroundColor || "string" === typeof input.backgroundColor || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5923
7689
|
method: "typia.createAssert",
|
|
5924
7690
|
path: _path + ".backgroundColor",
|
|
5925
7691
|
expected: "(string | undefined)",
|
|
5926
7692
|
value: input.backgroundColor
|
|
5927
|
-
}, _errorFactory)) && (void 0 === input.externalUrl || "string" === typeof input.externalUrl ||
|
|
7693
|
+
}, _errorFactory)) && (void 0 === input.externalUrl || "string" === typeof input.externalUrl || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5928
7694
|
method: "typia.createAssert",
|
|
5929
7695
|
path: _path + ".externalUrl",
|
|
5930
7696
|
expected: "(string | undefined)",
|
|
5931
7697
|
value: input.externalUrl
|
|
5932
|
-
}, _errorFactory)) && (void 0 === input.variants || ("object" === typeof input.variants && null !== input.variants && false === Array.isArray(input.variants) ||
|
|
7698
|
+
}, _errorFactory)) && (void 0 === input.variants || ("object" === typeof input.variants && null !== input.variants && false === Array.isArray(input.variants) || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5933
7699
|
method: "typia.createAssert",
|
|
5934
7700
|
path: _path + ".variants",
|
|
5935
7701
|
expected: _ae1,
|
|
5936
7702
|
value: input.variants
|
|
5937
|
-
}, _errorFactory)) && _ao8(input.variants, _path + ".variants", _exceptionable) ||
|
|
7703
|
+
}, _errorFactory)) && _ao8(input.variants, _path + ".variants", _exceptionable) || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5938
7704
|
method: "typia.createAssert",
|
|
5939
7705
|
path: _path + ".variants",
|
|
5940
7706
|
expected: _ae1,
|
|
5941
7707
|
value: input.variants
|
|
5942
7708
|
}, _errorFactory));
|
|
5943
|
-
const _ao8 = (input, _path, _exceptionable = true) => (void 0 === input.maskable || "string" === typeof input.maskable ||
|
|
7709
|
+
const _ao8 = (input, _path, _exceptionable = true) => (void 0 === input.maskable || "string" === typeof input.maskable || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5944
7710
|
method: "typia.createAssert",
|
|
5945
7711
|
path: _path + ".maskable",
|
|
5946
7712
|
expected: "(string | undefined)",
|
|
5947
7713
|
value: input.maskable
|
|
5948
|
-
}, _errorFactory)) && (void 0 === input.androidForeground || "string" === typeof input.androidForeground ||
|
|
7714
|
+
}, _errorFactory)) && (void 0 === input.androidForeground || "string" === typeof input.androidForeground || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5949
7715
|
method: "typia.createAssert",
|
|
5950
7716
|
path: _path + ".androidForeground",
|
|
5951
7717
|
expected: "(string | undefined)",
|
|
5952
7718
|
value: input.androidForeground
|
|
5953
|
-
}, _errorFactory)) && (void 0 === input.monochrome || "string" === typeof input.monochrome ||
|
|
7719
|
+
}, _errorFactory)) && (void 0 === input.monochrome || "string" === typeof input.monochrome || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5954
7720
|
method: "typia.createAssert",
|
|
5955
7721
|
path: _path + ".monochrome",
|
|
5956
7722
|
expected: "(string | undefined)",
|
|
5957
7723
|
value: input.monochrome
|
|
5958
|
-
}, _errorFactory)) && (void 0 === input.background || "string" === typeof input.background ||
|
|
7724
|
+
}, _errorFactory)) && (void 0 === input.background || "string" === typeof input.background || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5959
7725
|
method: "typia.createAssert",
|
|
5960
7726
|
path: _path + ".background",
|
|
5961
7727
|
expected: "(string | undefined)",
|
|
5962
7728
|
value: input.background
|
|
5963
7729
|
}, _errorFactory));
|
|
5964
|
-
const _ao9 = (input, _path, _exceptionable = true) => (void 0 === input.withBackButton || "boolean" === typeof input.withBackButton ||
|
|
7730
|
+
const _ao9 = (input, _path, _exceptionable = true) => (void 0 === input.withBackButton || "boolean" === typeof input.withBackButton || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5965
7731
|
method: "typia.createAssert",
|
|
5966
7732
|
path: _path + ".withBackButton",
|
|
5967
7733
|
expected: "(boolean | undefined)",
|
|
5968
7734
|
value: input.withBackButton
|
|
5969
|
-
}, _errorFactory)) && (void 0 === input.withHomeButton || "boolean" === typeof input.withHomeButton ||
|
|
7735
|
+
}, _errorFactory)) && (void 0 === input.withHomeButton || "boolean" === typeof input.withHomeButton || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5970
7736
|
method: "typia.createAssert",
|
|
5971
7737
|
path: _path + ".withHomeButton",
|
|
5972
7738
|
expected: "(boolean | undefined)",
|
|
5973
7739
|
value: input.withHomeButton
|
|
5974
|
-
}, _errorFactory)) && (void 0 === input.withTitle || "boolean" === typeof input.withTitle ||
|
|
7740
|
+
}, _errorFactory)) && (void 0 === input.withTitle || "boolean" === typeof input.withTitle || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5975
7741
|
method: "typia.createAssert",
|
|
5976
7742
|
path: _path + ".withTitle",
|
|
5977
7743
|
expected: "(boolean | undefined)",
|
|
5978
7744
|
value: input.withTitle
|
|
5979
|
-
}, _errorFactory)) && (void 0 === input.transparentBackground || "boolean" === typeof input.transparentBackground ||
|
|
7745
|
+
}, _errorFactory)) && (void 0 === input.transparentBackground || "boolean" === typeof input.transparentBackground || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5980
7746
|
method: "typia.createAssert",
|
|
5981
7747
|
path: _path + ".transparentBackground",
|
|
5982
7748
|
expected: "(boolean | undefined)",
|
|
5983
7749
|
value: input.transparentBackground
|
|
5984
|
-
}, _errorFactory)) && (void 0 === input.theme || "dark" === input.theme || "light" === input.theme ||
|
|
7750
|
+
}, _errorFactory)) && (void 0 === input.theme || "dark" === input.theme || "light" === input.theme || _assertGuard_16._assertGuard(_exceptionable, {
|
|
5985
7751
|
method: "typia.createAssert",
|
|
5986
7752
|
path: _path + ".theme",
|
|
5987
7753
|
expected: '("dark" | "light" | undefined)',
|
|
@@ -5995,11 +7761,11 @@ var assertPlatformTargetsConfig = /* @__PURE__ */ (() => {
|
|
|
5995
7761
|
else if ("devvit-web" === input.kind)
|
|
5996
7762
|
return _ao11(input, _path, _exceptionable);
|
|
5997
7763
|
else if ("tiktok-minigame" === input.kind || "wechat-minigame" === input.kind)
|
|
5998
|
-
return
|
|
7764
|
+
return _ao13(input, _path, _exceptionable);
|
|
5999
7765
|
else if ("web" === input.kind)
|
|
6000
|
-
return
|
|
7766
|
+
return _ao15(input, _path, _exceptionable);
|
|
6001
7767
|
else
|
|
6002
|
-
return
|
|
7768
|
+
return _assertGuard_16._assertGuard(_exceptionable, {
|
|
6003
7769
|
method: "typia.createAssert",
|
|
6004
7770
|
path: _path,
|
|
6005
7771
|
expected: "(AppsInTossTargetConfig | CapacitorTargetConfig | DevvitTargetConfig | MiniGameTargetConfig | WebTargetConfig)",
|
|
@@ -6014,10 +7780,11 @@ var assertPlatformTargetsConfig = /* @__PURE__ */ (() => {
|
|
|
6014
7780
|
return "object" === typeof value && null !== value && _iu0(value);
|
|
6015
7781
|
});
|
|
6016
7782
|
const _io10 = (input) => _ip0(input) && _ip1(input) && _ip2(input) && _ip3(input) && _ip4(input) && _ip5(input) && _ip6(input) && ("capacitor-android" === input.kind || "capacitor-ios" === input.kind) && "string" === typeof input.shellApp && _ip8(input) && ("aab" === input.artifact || "apk" === input.artifact || "ipa" === input.artifact);
|
|
6017
|
-
const _io11 = (input) => _ip0(input) && _ip1(input) && _ip2(input) && _ip3(input) && _ip4(input) && _ip5(input) && _ip6(input) && "devvit-web" === input.kind && _ip7(input) && _ip8(input) && "devvit" === input.artifact;
|
|
6018
|
-
const _io12 = (input) =>
|
|
6019
|
-
const _io13 = (input) => "
|
|
6020
|
-
const _io14 = (input) =>
|
|
7783
|
+
const _io11 = (input) => _ip0(input) && _ip1(input) && _ip2(input) && _ip3(input) && _ip4(input) && _ip5(input) && _ip6(input) && "devvit-web" === input.kind && _ip7(input) && _ip8(input) && "devvit" === input.artifact && (void 0 === input.inlineEntry || "string" === typeof input.inlineEntry) && (void 0 === input.inlineBudget || "object" === typeof input.inlineBudget && null !== input.inlineBudget && false === Array.isArray(input.inlineBudget) && _io12(input.inlineBudget));
|
|
7784
|
+
const _io12 = (input) => (void 0 === input.maxGzipKb || "number" === typeof input.maxGzipKb) && (void 0 === input.forbidModules || Array.isArray(input.forbidModules) && input.forbidModules.every((elem) => "string" === typeof elem)) && (void 0 === input.deferredChunks || Array.isArray(input.deferredChunks) && input.deferredChunks.every((elem) => "string" === typeof elem));
|
|
7785
|
+
const _io13 = (input) => _ip0(input) && _ip1(input) && _ip2(input) && _ip3(input) && _ip4(input) && _ip5(input) && _ip6(input) && ("tiktok-minigame" === input.kind || "wechat-minigame" === input.kind) && _ip9(input) && "canvas" === input.renderer && ("landscape" === input.orientation || "portrait" === input.orientation) && true === input.experimental && (void 0 === input.remoteAssetOrigins || Array.isArray(input.remoteAssetOrigins) && input.remoteAssetOrigins.every((elem) => "string" === typeof elem)) && ("object" === typeof input.packageBudget && null !== input.packageBudget && _io14(input.packageBudget));
|
|
7786
|
+
const _io14 = (input) => "number" === typeof input.mainBytes && "number" === typeof input.totalBytes && (void 0 === input.independentSubpackageBytes || "number" === typeof input.independentSubpackageBytes);
|
|
7787
|
+
const _io15 = (input) => _ip0(input) && _ip1(input) && _ip2(input) && _ip3(input) && _ip4(input) && _ip5(input) && _ip6(input) && "web" === input.kind && _ip9(input) && (void 0 === input.installable || "boolean" === typeof input.installable) && (void 0 === input.crazyGamesLaunch || "basic" === input.crazyGamesLaunch || "full" === input.crazyGamesLaunch) && (void 0 === input.staticDir || "string" === typeof input.staticDir);
|
|
6021
7788
|
const _io2 = (input) => _ip0(input) && _ip1(input) && _ip2(input) && _ip3(input) && _ip4(input) && _ip5(input) && _ip6(input) && "apps-in-toss" === input.kind && _ip7(input) && _ip8(input) && ".ait" === input.artifact && (void 0 === input.navigationBar || "object" === typeof input.navigationBar && null !== input.navigationBar && false === Array.isArray(input.navigationBar) && _io9(input.navigationBar));
|
|
6022
7789
|
const _io3 = (input) => ("packaged" === input.defaultLocation || "remote" === input.defaultLocation) && (void 0 === input.packs || "object" === typeof input.packs && null !== input.packs && false === Array.isArray(input.packs) && _io4(input.packs)) && (void 0 === input.offlineRequired || Array.isArray(input.offlineRequired) && input.offlineRequired.every((elem) => "string" === typeof elem)) && (void 0 === input.remoteBaseUrl || "string" === typeof input.remoteBaseUrl) && (void 0 === input.maxPackagedBytes || "number" === typeof input.maxPackagedBytes) && "string" === typeof input.buildConfig;
|
|
6023
7790
|
const _io4 = (input) => Object.keys(input).every((key) => {
|
|
@@ -6039,9 +7806,9 @@ var assertPlatformTargetsConfig = /* @__PURE__ */ (() => {
|
|
|
6039
7806
|
else if ("devvit-web" === input.kind)
|
|
6040
7807
|
return _io11(input);
|
|
6041
7808
|
else if ("tiktok-minigame" === input.kind || "wechat-minigame" === input.kind)
|
|
6042
|
-
return
|
|
7809
|
+
return _io13(input);
|
|
6043
7810
|
else if ("web" === input.kind)
|
|
6044
|
-
return
|
|
7811
|
+
return _io15(input);
|
|
6045
7812
|
else
|
|
6046
7813
|
return false;
|
|
6047
7814
|
})();
|
|
@@ -6050,12 +7817,12 @@ var assertPlatformTargetsConfig = /* @__PURE__ */ (() => {
|
|
|
6050
7817
|
return (input, errorFactory) => {
|
|
6051
7818
|
if (false === __is(input)) {
|
|
6052
7819
|
_errorFactory = errorFactory;
|
|
6053
|
-
((input2, _path, _exceptionable = true) => ("object" === typeof input2 && null !== input2 ||
|
|
7820
|
+
((input2, _path, _exceptionable = true) => ("object" === typeof input2 && null !== input2 || _assertGuard_16._assertGuard(true, {
|
|
6054
7821
|
method: "typia.createAssert",
|
|
6055
7822
|
path: _path + "",
|
|
6056
7823
|
expected: "PlatformTargetsConfig",
|
|
6057
7824
|
value: input2
|
|
6058
|
-
}, _errorFactory)) && _ao0(input2, _path + "", true) ||
|
|
7825
|
+
}, _errorFactory)) && _ao0(input2, _path + "", true) || _assertGuard_16._assertGuard(true, {
|
|
6059
7826
|
method: "typia.createAssert",
|
|
6060
7827
|
path: _path + "",
|
|
6061
7828
|
expected: "PlatformTargetsConfig",
|
|
@@ -6354,12 +8121,12 @@ function assertTargetKind(input, target2) {
|
|
|
6354
8121
|
}
|
|
6355
8122
|
|
|
6356
8123
|
// node_modules/.cache/mpgd-native-build/tools/target/target-config-matrix.js
|
|
6357
|
-
import * as
|
|
6358
|
-
import * as
|
|
8124
|
+
import * as _assertGuard_17 from "typia/lib/internal/_assertGuard";
|
|
8125
|
+
import * as _accessExpressionAsString_18 from "typia/lib/internal/_accessExpressionAsString";
|
|
6359
8126
|
import { createHash as createHash6 } from "node:crypto";
|
|
6360
8127
|
import { readFileSync as readFileSync11 } from "node:fs";
|
|
6361
|
-
import
|
|
6362
|
-
var
|
|
8128
|
+
import typia9 from "typia";
|
|
8129
|
+
var __typia_transform__accessExpressionAsString4 = _accessExpressionAsString_18._accessExpressionAsString;
|
|
6363
8130
|
var defaultTargetConfigMatrixFile = "packages/target-config/targets.json";
|
|
6364
8131
|
var assertTargetConfigMatrix = /* @__PURE__ */ (() => {
|
|
6365
8132
|
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"]);
|
|
@@ -6371,31 +8138,31 @@ var assertTargetConfigMatrix = /* @__PURE__ */ (() => {
|
|
|
6371
8138
|
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"]);
|
|
6372
8139
|
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"]);
|
|
6373
8140
|
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")';
|
|
6374
|
-
const _ap0 = (input, _path, _exceptionable = true) => "boolean" === typeof input["iap"] ||
|
|
8141
|
+
const _ap0 = (input, _path, _exceptionable = true) => "boolean" === typeof input["iap"] || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6375
8142
|
method: "typia.createAssert",
|
|
6376
8143
|
path: _path + ".iap",
|
|
6377
8144
|
expected: "boolean",
|
|
6378
8145
|
value: input["iap"]
|
|
6379
8146
|
}, _errorFactory);
|
|
6380
|
-
const _ap1 = (input, _path, _exceptionable = true) => void 0 === input["bannerAds"] || "boolean" === typeof input["bannerAds"] ||
|
|
8147
|
+
const _ap1 = (input, _path, _exceptionable = true) => void 0 === input["bannerAds"] || "boolean" === typeof input["bannerAds"] || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6381
8148
|
method: "typia.createAssert",
|
|
6382
8149
|
path: _path + ".bannerAds",
|
|
6383
8150
|
expected: "(boolean | undefined)",
|
|
6384
8151
|
value: input["bannerAds"]
|
|
6385
8152
|
}, _errorFactory);
|
|
6386
|
-
const _ap2 = (input, _path, _exceptionable = true) => "boolean" === typeof input["rewardedAds"] ||
|
|
8153
|
+
const _ap2 = (input, _path, _exceptionable = true) => "boolean" === typeof input["rewardedAds"] || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6387
8154
|
method: "typia.createAssert",
|
|
6388
8155
|
path: _path + ".rewardedAds",
|
|
6389
8156
|
expected: "boolean",
|
|
6390
8157
|
value: input["rewardedAds"]
|
|
6391
8158
|
}, _errorFactory);
|
|
6392
|
-
const _ap3 = (input, _path, _exceptionable = true) => "boolean" === typeof input["interstitialAds"] ||
|
|
8159
|
+
const _ap3 = (input, _path, _exceptionable = true) => "boolean" === typeof input["interstitialAds"] || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6393
8160
|
method: "typia.createAssert",
|
|
6394
8161
|
path: _path + ".interstitialAds",
|
|
6395
8162
|
expected: "boolean",
|
|
6396
8163
|
value: input["interstitialAds"]
|
|
6397
8164
|
}, _errorFactory);
|
|
6398
|
-
const _ap4 = (input, _path, _exceptionable = true) => "boolean" === typeof input["localization"] ||
|
|
8165
|
+
const _ap4 = (input, _path, _exceptionable = true) => "boolean" === typeof input["localization"] || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6399
8166
|
method: "typia.createAssert",
|
|
6400
8167
|
path: _path + ".localization",
|
|
6401
8168
|
expected: "boolean",
|
|
@@ -6404,17 +8171,17 @@ var assertTargetConfigMatrix = /* @__PURE__ */ (() => {
|
|
|
6404
8171
|
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"]);
|
|
6405
8172
|
const _ae1 = '("app-store" | "apps-in-toss" | "crazygames" | "devvit" | "google-play" | "microsoft-store" | "oneplay" | "tiktok-minigame" | "verse8" | "web" | "web-preview" | "wechat-minigame")';
|
|
6406
8173
|
const _ae2 = '("action-required" | "approval-required" | "available" | "configuration-required" | "disabled" | "temporarily-unavailable" | "unsupported")';
|
|
6407
|
-
const _ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.version ||
|
|
8174
|
+
const _ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.version || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6408
8175
|
method: "typia.createAssert",
|
|
6409
8176
|
path: _path + ".version",
|
|
6410
8177
|
expected: "string",
|
|
6411
8178
|
value: input.version
|
|
6412
|
-
}, _errorFactory)) && (("object" === typeof input.targets && null !== input.targets && false === Array.isArray(input.targets) ||
|
|
8179
|
+
}, _errorFactory)) && (("object" === typeof input.targets && null !== input.targets && false === Array.isArray(input.targets) || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6413
8180
|
method: "typia.createAssert",
|
|
6414
8181
|
path: _path + ".targets",
|
|
6415
8182
|
expected: "Record<string, TargetConfig>",
|
|
6416
8183
|
value: input.targets
|
|
6417
|
-
}, _errorFactory)) && _ao1(input.targets, _path + ".targets", _exceptionable) ||
|
|
8184
|
+
}, _errorFactory)) && _ao1(input.targets, _path + ".targets", _exceptionable) || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6418
8185
|
method: "typia.createAssert",
|
|
6419
8186
|
path: _path + ".targets",
|
|
6420
8187
|
expected: "Record<string, TargetConfig>",
|
|
@@ -6424,207 +8191,207 @@ var assertTargetConfigMatrix = /* @__PURE__ */ (() => {
|
|
|
6424
8191
|
const value = input[key];
|
|
6425
8192
|
if (void 0 === value)
|
|
6426
8193
|
return true;
|
|
6427
|
-
return ("object" === typeof value && null !== value ||
|
|
8194
|
+
return ("object" === typeof value && null !== value || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6428
8195
|
method: "typia.createAssert",
|
|
6429
|
-
path: _path +
|
|
8196
|
+
path: _path + __typia_transform__accessExpressionAsString4(key),
|
|
6430
8197
|
expected: "TargetConfig",
|
|
6431
8198
|
value
|
|
6432
|
-
}, _errorFactory)) && _ao2(value, _path +
|
|
8199
|
+
}, _errorFactory)) && _ao2(value, _path + __typia_transform__accessExpressionAsString4(key), _exceptionable) || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6433
8200
|
method: "typia.createAssert",
|
|
6434
|
-
path: _path +
|
|
8201
|
+
path: _path + __typia_transform__accessExpressionAsString4(key),
|
|
6435
8202
|
expected: "TargetConfig",
|
|
6436
8203
|
value
|
|
6437
8204
|
}, _errorFactory);
|
|
6438
8205
|
});
|
|
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 ||
|
|
8206
|
+
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_17._assertGuard(_exceptionable, {
|
|
6440
8207
|
method: "typia.createAssert",
|
|
6441
8208
|
path: _path + ".identityUpgrade",
|
|
6442
8209
|
expected: _ae2,
|
|
6443
8210
|
value: input.identityUpgrade
|
|
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 ||
|
|
8211
|
+
}, _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_17._assertGuard(_exceptionable, {
|
|
6445
8212
|
method: "typia.createAssert",
|
|
6446
8213
|
path: _path + ".presentation",
|
|
6447
8214
|
expected: _ae2,
|
|
6448
8215
|
value: input.presentation
|
|
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 ||
|
|
8216
|
+
}, _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_17._assertGuard(_exceptionable, {
|
|
6450
8217
|
method: "typia.createAssert",
|
|
6451
8218
|
path: _path + ".sharing",
|
|
6452
8219
|
expected: _ae2,
|
|
6453
8220
|
value: input.sharing
|
|
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 ||
|
|
8221
|
+
}, _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_17._assertGuard(_exceptionable, {
|
|
6455
8222
|
method: "typia.createAssert",
|
|
6456
8223
|
path: _path + ".inboundShare",
|
|
6457
8224
|
expected: _ae2,
|
|
6458
8225
|
value: input.inboundShare
|
|
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 ||
|
|
8226
|
+
}, _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_17._assertGuard(_exceptionable, {
|
|
6460
8227
|
method: "typia.createAssert",
|
|
6461
8228
|
path: _path + ".notifications",
|
|
6462
8229
|
expected: _ae2,
|
|
6463
8230
|
value: input.notifications
|
|
6464
|
-
}, _errorFactory)) && ("fullscreen" === input.presentationMode || "inline-expanded" === input.presentationMode ||
|
|
8231
|
+
}, _errorFactory)) && ("fullscreen" === input.presentationMode || "inline-expanded" === input.presentationMode || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6465
8232
|
method: "typia.createAssert",
|
|
6466
8233
|
path: _path + ".presentationMode",
|
|
6467
8234
|
expected: '("fullscreen" | "inline-expanded")',
|
|
6468
8235
|
value: input.presentationMode
|
|
6469
8236
|
}, _errorFactory));
|
|
6470
|
-
const _ao2 = (input, _path, _exceptionable = true) => (true === _av0.has(input.runtime) ||
|
|
8237
|
+
const _ao2 = (input, _path, _exceptionable = true) => (true === _av0.has(input.runtime) || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6471
8238
|
method: "typia.createAssert",
|
|
6472
8239
|
path: _path + ".runtime",
|
|
6473
8240
|
expected: _ae0,
|
|
6474
8241
|
value: input.runtime
|
|
6475
|
-
}, _errorFactory)) && (("object" === typeof input.features && null !== input.features ||
|
|
8242
|
+
}, _errorFactory)) && (("object" === typeof input.features && null !== input.features || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6476
8243
|
method: "typia.createAssert",
|
|
6477
8244
|
path: _path + ".features",
|
|
6478
8245
|
expected: "TargetFeatureConfig",
|
|
6479
8246
|
value: input.features
|
|
6480
|
-
}, _errorFactory)) && _ao3(input.features, _path + ".features", _exceptionable) ||
|
|
8247
|
+
}, _errorFactory)) && _ao3(input.features, _path + ".features", _exceptionable) || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6481
8248
|
method: "typia.createAssert",
|
|
6482
8249
|
path: _path + ".features",
|
|
6483
8250
|
expected: "TargetFeatureConfig",
|
|
6484
8251
|
value: input.features
|
|
6485
|
-
}, _errorFactory)) && (("object" === typeof input.capabilities && null !== input.capabilities ||
|
|
8252
|
+
}, _errorFactory)) && (("object" === typeof input.capabilities && null !== input.capabilities || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6486
8253
|
method: "typia.createAssert",
|
|
6487
8254
|
path: _path + ".capabilities",
|
|
6488
8255
|
expected: "TargetCapabilityConfig",
|
|
6489
8256
|
value: input.capabilities
|
|
6490
|
-
}, _errorFactory)) && _ao4(input.capabilities, _path + ".capabilities", _exceptionable) ||
|
|
8257
|
+
}, _errorFactory)) && _ao4(input.capabilities, _path + ".capabilities", _exceptionable) || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6491
8258
|
method: "typia.createAssert",
|
|
6492
8259
|
path: _path + ".capabilities",
|
|
6493
8260
|
expected: "TargetCapabilityConfig",
|
|
6494
8261
|
value: input.capabilities
|
|
6495
|
-
}, _errorFactory)) && (("object" === typeof input.localization && null !== input.localization ||
|
|
8262
|
+
}, _errorFactory)) && (("object" === typeof input.localization && null !== input.localization || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6496
8263
|
method: "typia.createAssert",
|
|
6497
8264
|
path: _path + ".localization",
|
|
6498
8265
|
expected: "TargetLocalizationConfig",
|
|
6499
8266
|
value: input.localization
|
|
6500
|
-
}, _errorFactory)) && _ao5(input.localization, _path + ".localization", _exceptionable) ||
|
|
8267
|
+
}, _errorFactory)) && _ao5(input.localization, _path + ".localization", _exceptionable) || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6501
8268
|
method: "typia.createAssert",
|
|
6502
8269
|
path: _path + ".localization",
|
|
6503
8270
|
expected: "TargetLocalizationConfig",
|
|
6504
8271
|
value: input.localization
|
|
6505
|
-
}, _errorFactory)) && (("object" === typeof input.monetization && null !== input.monetization ||
|
|
8272
|
+
}, _errorFactory)) && (("object" === typeof input.monetization && null !== input.monetization || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6506
8273
|
method: "typia.createAssert",
|
|
6507
8274
|
path: _path + ".monetization",
|
|
6508
8275
|
expected: "TargetMonetizationConfig",
|
|
6509
8276
|
value: input.monetization
|
|
6510
|
-
}, _errorFactory)) && _ao6(input.monetization, _path + ".monetization", _exceptionable) ||
|
|
8277
|
+
}, _errorFactory)) && _ao6(input.monetization, _path + ".monetization", _exceptionable) || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6511
8278
|
method: "typia.createAssert",
|
|
6512
8279
|
path: _path + ".monetization",
|
|
6513
8280
|
expected: "TargetMonetizationConfig",
|
|
6514
8281
|
value: input.monetization
|
|
6515
|
-
}, _errorFactory)) && (("object" === typeof input.leaderboard && null !== input.leaderboard ||
|
|
8282
|
+
}, _errorFactory)) && (("object" === typeof input.leaderboard && null !== input.leaderboard || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6516
8283
|
method: "typia.createAssert",
|
|
6517
8284
|
path: _path + ".leaderboard",
|
|
6518
8285
|
expected: "TargetLeaderboardConfig",
|
|
6519
8286
|
value: input.leaderboard
|
|
6520
|
-
}, _errorFactory)) && _ao7(input.leaderboard, _path + ".leaderboard", _exceptionable) ||
|
|
8287
|
+
}, _errorFactory)) && _ao7(input.leaderboard, _path + ".leaderboard", _exceptionable) || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6521
8288
|
method: "typia.createAssert",
|
|
6522
8289
|
path: _path + ".leaderboard",
|
|
6523
8290
|
expected: "TargetLeaderboardConfig",
|
|
6524
8291
|
value: input.leaderboard
|
|
6525
|
-
}, _errorFactory)) && (("object" === typeof input.release && null !== input.release ||
|
|
8292
|
+
}, _errorFactory)) && (("object" === typeof input.release && null !== input.release || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6526
8293
|
method: "typia.createAssert",
|
|
6527
8294
|
path: _path + ".release",
|
|
6528
8295
|
expected: "TargetReleaseConfig",
|
|
6529
8296
|
value: input.release
|
|
6530
|
-
}, _errorFactory)) && _ao8(input.release, _path + ".release", _exceptionable) ||
|
|
8297
|
+
}, _errorFactory)) && _ao8(input.release, _path + ".release", _exceptionable) || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6531
8298
|
method: "typia.createAssert",
|
|
6532
8299
|
path: _path + ".release",
|
|
6533
8300
|
expected: "TargetReleaseConfig",
|
|
6534
8301
|
value: input.release
|
|
6535
|
-
}, _errorFactory)) && (("object" === typeof input.policy && null !== input.policy ||
|
|
8302
|
+
}, _errorFactory)) && (("object" === typeof input.policy && null !== input.policy || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6536
8303
|
method: "typia.createAssert",
|
|
6537
8304
|
path: _path + ".policy",
|
|
6538
8305
|
expected: "TargetPolicyRestrictions",
|
|
6539
8306
|
value: input.policy
|
|
6540
|
-
}, _errorFactory)) && _ao9(input.policy, _path + ".policy", _exceptionable) ||
|
|
8307
|
+
}, _errorFactory)) && _ao9(input.policy, _path + ".policy", _exceptionable) || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6541
8308
|
method: "typia.createAssert",
|
|
6542
8309
|
path: _path + ".policy",
|
|
6543
8310
|
expected: "TargetPolicyRestrictions",
|
|
6544
8311
|
value: input.policy
|
|
6545
|
-
}, _errorFactory)) && (void 0 === input.integrations || ("object" === typeof input.integrations && null !== input.integrations ||
|
|
8312
|
+
}, _errorFactory)) && (void 0 === input.integrations || ("object" === typeof input.integrations && null !== input.integrations || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6546
8313
|
method: "typia.createAssert",
|
|
6547
8314
|
path: _path + ".integrations",
|
|
6548
8315
|
expected: "(TargetIntegrationConfig | undefined)",
|
|
6549
8316
|
value: input.integrations
|
|
6550
|
-
}, _errorFactory)) && _ao10(input.integrations, _path + ".integrations", _exceptionable) ||
|
|
8317
|
+
}, _errorFactory)) && _ao10(input.integrations, _path + ".integrations", _exceptionable) || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6551
8318
|
method: "typia.createAssert",
|
|
6552
8319
|
path: _path + ".integrations",
|
|
6553
8320
|
expected: "(TargetIntegrationConfig | undefined)",
|
|
6554
8321
|
value: input.integrations
|
|
6555
8322
|
}, _errorFactory));
|
|
6556
|
-
const _ao3 = (input, _path, _exceptionable = true) => _ap0(input, _path, _exceptionable) && (void 0 === input.subscriptions || "boolean" === typeof input.subscriptions ||
|
|
8323
|
+
const _ao3 = (input, _path, _exceptionable = true) => _ap0(input, _path, _exceptionable) && (void 0 === input.subscriptions || "boolean" === typeof input.subscriptions || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6557
8324
|
method: "typia.createAssert",
|
|
6558
8325
|
path: _path + ".subscriptions",
|
|
6559
8326
|
expected: "(boolean | undefined)",
|
|
6560
8327
|
value: input.subscriptions
|
|
6561
|
-
}, _errorFactory)) && _ap1(input, _path, _exceptionable) && _ap2(input, _path, _exceptionable) && _ap3(input, _path, _exceptionable) && ("boolean" === typeof input.leaderboard ||
|
|
8328
|
+
}, _errorFactory)) && _ap1(input, _path, _exceptionable) && _ap2(input, _path, _exceptionable) && _ap3(input, _path, _exceptionable) && ("boolean" === typeof input.leaderboard || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6562
8329
|
method: "typia.createAssert",
|
|
6563
8330
|
path: _path + ".leaderboard",
|
|
6564
8331
|
expected: "boolean",
|
|
6565
8332
|
value: input.leaderboard
|
|
6566
|
-
}, _errorFactory)) && (void 0 === input.nativeLeaderboard || "boolean" === typeof input.nativeLeaderboard ||
|
|
8333
|
+
}, _errorFactory)) && (void 0 === input.nativeLeaderboard || "boolean" === typeof input.nativeLeaderboard || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6567
8334
|
method: "typia.createAssert",
|
|
6568
8335
|
path: _path + ".nativeLeaderboard",
|
|
6569
8336
|
expected: "(boolean | undefined)",
|
|
6570
8337
|
value: input.nativeLeaderboard
|
|
6571
|
-
}, _errorFactory)) && (void 0 === input.remoteLeaderboard || "boolean" === typeof input.remoteLeaderboard ||
|
|
8338
|
+
}, _errorFactory)) && (void 0 === input.remoteLeaderboard || "boolean" === typeof input.remoteLeaderboard || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6572
8339
|
method: "typia.createAssert",
|
|
6573
8340
|
path: _path + ".remoteLeaderboard",
|
|
6574
8341
|
expected: "(boolean | undefined)",
|
|
6575
8342
|
value: input.remoteLeaderboard
|
|
6576
8343
|
}, _errorFactory)) && _ap4(input, _path, _exceptionable);
|
|
6577
|
-
const _ao4 = (input, _path, _exceptionable = true) => ("local" === input.storage || "native" === input.storage || "none" === input.storage ||
|
|
8344
|
+
const _ao4 = (input, _path, _exceptionable = true) => ("local" === input.storage || "native" === input.storage || "none" === input.storage || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6578
8345
|
method: "typia.createAssert",
|
|
6579
8346
|
path: _path + ".storage",
|
|
6580
8347
|
expected: '("local" | "native" | "none")',
|
|
6581
8348
|
value: input.storage
|
|
6582
8349
|
}, _errorFactory)) && _ap4(input, _path, _exceptionable);
|
|
6583
|
-
const _ao5 = (input, _path, _exceptionable = true) => "en" === input.fallbackLocale || "ko" === input.fallbackLocale ||
|
|
8350
|
+
const _ao5 = (input, _path, _exceptionable = true) => "en" === input.fallbackLocale || "ko" === input.fallbackLocale || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6584
8351
|
method: "typia.createAssert",
|
|
6585
8352
|
path: _path + ".fallbackLocale",
|
|
6586
8353
|
expected: '("en" | "ko")',
|
|
6587
8354
|
value: input.fallbackLocale
|
|
6588
8355
|
}, _errorFactory);
|
|
6589
8356
|
const _ao6 = (input, _path, _exceptionable = true) => _ap0(input, _path, _exceptionable) && _ap1(input, _path, _exceptionable) && _ap2(input, _path, _exceptionable) && _ap3(input, _path, _exceptionable);
|
|
6590
|
-
const _ao7 = (input, _path, _exceptionable = true) => "boolean" === typeof input.native ||
|
|
8357
|
+
const _ao7 = (input, _path, _exceptionable = true) => "boolean" === typeof input.native || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6591
8358
|
method: "typia.createAssert",
|
|
6592
8359
|
path: _path + ".native",
|
|
6593
8360
|
expected: "boolean",
|
|
6594
8361
|
value: input.native
|
|
6595
8362
|
}, _errorFactory);
|
|
6596
|
-
const _ao8 = (input, _path, _exceptionable = true) => (true === _av1.has(input.profile) ||
|
|
8363
|
+
const _ao8 = (input, _path, _exceptionable = true) => (true === _av1.has(input.profile) || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6597
8364
|
method: "typia.createAssert",
|
|
6598
8365
|
path: _path + ".profile",
|
|
6599
8366
|
expected: _ae1,
|
|
6600
8367
|
value: input.profile
|
|
6601
|
-
}, _errorFactory)) && (void 0 === input.billingAuthority || "host" === input.billingAuthority || "store" === input.billingAuthority ||
|
|
8368
|
+
}, _errorFactory)) && (void 0 === input.billingAuthority || "host" === input.billingAuthority || "store" === input.billingAuthority || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6602
8369
|
method: "typia.createAssert",
|
|
6603
8370
|
path: _path + ".billingAuthority",
|
|
6604
8371
|
expected: '("host" | "store" | undefined)',
|
|
6605
8372
|
value: input.billingAuthority
|
|
6606
8373
|
}, _errorFactory));
|
|
6607
|
-
const _ao9 = (input, _path, _exceptionable = true) => ("boolean" === typeof input.externalPaymentAllowed ||
|
|
8374
|
+
const _ao9 = (input, _path, _exceptionable = true) => ("boolean" === typeof input.externalPaymentAllowed || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6608
8375
|
method: "typia.createAssert",
|
|
6609
8376
|
path: _path + ".externalPaymentAllowed",
|
|
6610
8377
|
expected: "boolean",
|
|
6611
8378
|
value: input.externalPaymentAllowed
|
|
6612
|
-
}, _errorFactory)) && ("boolean" === typeof input.remoteExecutableCodeAllowed ||
|
|
8379
|
+
}, _errorFactory)) && ("boolean" === typeof input.remoteExecutableCodeAllowed || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6613
8380
|
method: "typia.createAssert",
|
|
6614
8381
|
path: _path + ".remoteExecutableCodeAllowed",
|
|
6615
8382
|
expected: "boolean",
|
|
6616
8383
|
value: input.remoteExecutableCodeAllowed
|
|
6617
|
-
}, _errorFactory)) && ("boolean" === typeof input.installOtherAppCTAAllowed ||
|
|
8384
|
+
}, _errorFactory)) && ("boolean" === typeof input.installOtherAppCTAAllowed || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6618
8385
|
method: "typia.createAssert",
|
|
6619
8386
|
path: _path + ".installOtherAppCTAAllowed",
|
|
6620
8387
|
expected: "boolean",
|
|
6621
8388
|
value: input.installOtherAppCTAAllowed
|
|
6622
|
-
}, _errorFactory)) && ("boolean" === typeof input.requiresStoreReview ||
|
|
8389
|
+
}, _errorFactory)) && ("boolean" === typeof input.requiresStoreReview || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6623
8390
|
method: "typia.createAssert",
|
|
6624
8391
|
path: _path + ".requiresStoreReview",
|
|
6625
8392
|
expected: "boolean",
|
|
6626
8393
|
value: input.requiresStoreReview
|
|
6627
|
-
}, _errorFactory)) && ("boolean" === typeof input.requiresAitReview ||
|
|
8394
|
+
}, _errorFactory)) && ("boolean" === typeof input.requiresAitReview || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6628
8395
|
method: "typia.createAssert",
|
|
6629
8396
|
path: _path + ".requiresAitReview",
|
|
6630
8397
|
expected: "boolean",
|
|
@@ -6651,12 +8418,12 @@ var assertTargetConfigMatrix = /* @__PURE__ */ (() => {
|
|
|
6651
8418
|
return (input, errorFactory) => {
|
|
6652
8419
|
if (false === __is(input)) {
|
|
6653
8420
|
_errorFactory = errorFactory;
|
|
6654
|
-
((input2, _path, _exceptionable = true) => ("object" === typeof input2 && null !== input2 ||
|
|
8421
|
+
((input2, _path, _exceptionable = true) => ("object" === typeof input2 && null !== input2 || _assertGuard_17._assertGuard(true, {
|
|
6655
8422
|
method: "typia.createAssert",
|
|
6656
8423
|
path: _path + "",
|
|
6657
8424
|
expected: "TargetConfigMatrix",
|
|
6658
8425
|
value: input2
|
|
6659
|
-
}, _errorFactory)) && _ao0(input2, _path + "", true) ||
|
|
8426
|
+
}, _errorFactory)) && _ao0(input2, _path + "", true) || _assertGuard_17._assertGuard(true, {
|
|
6660
8427
|
method: "typia.createAssert",
|
|
6661
8428
|
path: _path + "",
|
|
6662
8429
|
expected: "TargetConfigMatrix",
|
|
@@ -6676,31 +8443,31 @@ var assertTargetConfigExtensions = /* @__PURE__ */ (() => {
|
|
|
6676
8443
|
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"]);
|
|
6677
8444
|
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"]);
|
|
6678
8445
|
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")';
|
|
6679
|
-
const _ap0 = (input, _path, _exceptionable = true) => "boolean" === typeof input["iap"] ||
|
|
8446
|
+
const _ap0 = (input, _path, _exceptionable = true) => "boolean" === typeof input["iap"] || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6680
8447
|
method: "typia.createAssert",
|
|
6681
8448
|
path: _path + ".iap",
|
|
6682
8449
|
expected: "boolean",
|
|
6683
8450
|
value: input["iap"]
|
|
6684
8451
|
}, _errorFactory);
|
|
6685
|
-
const _ap1 = (input, _path, _exceptionable = true) => void 0 === input["bannerAds"] || "boolean" === typeof input["bannerAds"] ||
|
|
8452
|
+
const _ap1 = (input, _path, _exceptionable = true) => void 0 === input["bannerAds"] || "boolean" === typeof input["bannerAds"] || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6686
8453
|
method: "typia.createAssert",
|
|
6687
8454
|
path: _path + ".bannerAds",
|
|
6688
8455
|
expected: "(boolean | undefined)",
|
|
6689
8456
|
value: input["bannerAds"]
|
|
6690
8457
|
}, _errorFactory);
|
|
6691
|
-
const _ap2 = (input, _path, _exceptionable = true) => "boolean" === typeof input["rewardedAds"] ||
|
|
8458
|
+
const _ap2 = (input, _path, _exceptionable = true) => "boolean" === typeof input["rewardedAds"] || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6692
8459
|
method: "typia.createAssert",
|
|
6693
8460
|
path: _path + ".rewardedAds",
|
|
6694
8461
|
expected: "boolean",
|
|
6695
8462
|
value: input["rewardedAds"]
|
|
6696
8463
|
}, _errorFactory);
|
|
6697
|
-
const _ap3 = (input, _path, _exceptionable = true) => "boolean" === typeof input["interstitialAds"] ||
|
|
8464
|
+
const _ap3 = (input, _path, _exceptionable = true) => "boolean" === typeof input["interstitialAds"] || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6698
8465
|
method: "typia.createAssert",
|
|
6699
8466
|
path: _path + ".interstitialAds",
|
|
6700
8467
|
expected: "boolean",
|
|
6701
8468
|
value: input["interstitialAds"]
|
|
6702
8469
|
}, _errorFactory);
|
|
6703
|
-
const _ap4 = (input, _path, _exceptionable = true) => "boolean" === typeof input["localization"] ||
|
|
8470
|
+
const _ap4 = (input, _path, _exceptionable = true) => "boolean" === typeof input["localization"] || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6704
8471
|
method: "typia.createAssert",
|
|
6705
8472
|
path: _path + ".localization",
|
|
6706
8473
|
expected: "boolean",
|
|
@@ -6709,17 +8476,17 @@ var assertTargetConfigExtensions = /* @__PURE__ */ (() => {
|
|
|
6709
8476
|
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"]);
|
|
6710
8477
|
const _ae1 = '("app-store" | "apps-in-toss" | "crazygames" | "devvit" | "google-play" | "microsoft-store" | "oneplay" | "tiktok-minigame" | "verse8" | "web" | "web-preview" | "wechat-minigame")';
|
|
6711
8478
|
const _ae2 = '("action-required" | "approval-required" | "available" | "configuration-required" | "disabled" | "temporarily-unavailable" | "unsupported")';
|
|
6712
|
-
const _ao0 = (input, _path, _exceptionable = true) => (1 === input.schemaVersion ||
|
|
8479
|
+
const _ao0 = (input, _path, _exceptionable = true) => (1 === input.schemaVersion || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6713
8480
|
method: "typia.createAssert",
|
|
6714
8481
|
path: _path + ".schemaVersion",
|
|
6715
8482
|
expected: "1",
|
|
6716
8483
|
value: input.schemaVersion
|
|
6717
|
-
}, _errorFactory)) && (("object" === typeof input.targets && null !== input.targets && false === Array.isArray(input.targets) ||
|
|
8484
|
+
}, _errorFactory)) && (("object" === typeof input.targets && null !== input.targets && false === Array.isArray(input.targets) || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6718
8485
|
method: "typia.createAssert",
|
|
6719
8486
|
path: _path + ".targets",
|
|
6720
8487
|
expected: "Readonly<Record<string, TargetConfig>>",
|
|
6721
8488
|
value: input.targets
|
|
6722
|
-
}, _errorFactory)) && _ao1(input.targets, _path + ".targets", _exceptionable) ||
|
|
8489
|
+
}, _errorFactory)) && _ao1(input.targets, _path + ".targets", _exceptionable) || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6723
8490
|
method: "typia.createAssert",
|
|
6724
8491
|
path: _path + ".targets",
|
|
6725
8492
|
expected: "Readonly<Record<string, TargetConfig>>",
|
|
@@ -6729,207 +8496,207 @@ var assertTargetConfigExtensions = /* @__PURE__ */ (() => {
|
|
|
6729
8496
|
const value = input[key];
|
|
6730
8497
|
if (void 0 === value)
|
|
6731
8498
|
return true;
|
|
6732
|
-
return ("object" === typeof value && null !== value ||
|
|
8499
|
+
return ("object" === typeof value && null !== value || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6733
8500
|
method: "typia.createAssert",
|
|
6734
|
-
path: _path +
|
|
8501
|
+
path: _path + __typia_transform__accessExpressionAsString4(key),
|
|
6735
8502
|
expected: "TargetConfig",
|
|
6736
8503
|
value
|
|
6737
|
-
}, _errorFactory)) && _ao2(value, _path +
|
|
8504
|
+
}, _errorFactory)) && _ao2(value, _path + __typia_transform__accessExpressionAsString4(key), _exceptionable) || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6738
8505
|
method: "typia.createAssert",
|
|
6739
|
-
path: _path +
|
|
8506
|
+
path: _path + __typia_transform__accessExpressionAsString4(key),
|
|
6740
8507
|
expected: "TargetConfig",
|
|
6741
8508
|
value
|
|
6742
8509
|
}, _errorFactory);
|
|
6743
8510
|
});
|
|
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 ||
|
|
8511
|
+
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_17._assertGuard(_exceptionable, {
|
|
6745
8512
|
method: "typia.createAssert",
|
|
6746
8513
|
path: _path + ".identityUpgrade",
|
|
6747
8514
|
expected: _ae2,
|
|
6748
8515
|
value: input.identityUpgrade
|
|
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 ||
|
|
8516
|
+
}, _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_17._assertGuard(_exceptionable, {
|
|
6750
8517
|
method: "typia.createAssert",
|
|
6751
8518
|
path: _path + ".presentation",
|
|
6752
8519
|
expected: _ae2,
|
|
6753
8520
|
value: input.presentation
|
|
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 ||
|
|
8521
|
+
}, _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_17._assertGuard(_exceptionable, {
|
|
6755
8522
|
method: "typia.createAssert",
|
|
6756
8523
|
path: _path + ".sharing",
|
|
6757
8524
|
expected: _ae2,
|
|
6758
8525
|
value: input.sharing
|
|
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 ||
|
|
8526
|
+
}, _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_17._assertGuard(_exceptionable, {
|
|
6760
8527
|
method: "typia.createAssert",
|
|
6761
8528
|
path: _path + ".inboundShare",
|
|
6762
8529
|
expected: _ae2,
|
|
6763
8530
|
value: input.inboundShare
|
|
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 ||
|
|
8531
|
+
}, _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_17._assertGuard(_exceptionable, {
|
|
6765
8532
|
method: "typia.createAssert",
|
|
6766
8533
|
path: _path + ".notifications",
|
|
6767
8534
|
expected: _ae2,
|
|
6768
8535
|
value: input.notifications
|
|
6769
|
-
}, _errorFactory)) && ("fullscreen" === input.presentationMode || "inline-expanded" === input.presentationMode ||
|
|
8536
|
+
}, _errorFactory)) && ("fullscreen" === input.presentationMode || "inline-expanded" === input.presentationMode || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6770
8537
|
method: "typia.createAssert",
|
|
6771
8538
|
path: _path + ".presentationMode",
|
|
6772
8539
|
expected: '("fullscreen" | "inline-expanded")',
|
|
6773
8540
|
value: input.presentationMode
|
|
6774
8541
|
}, _errorFactory));
|
|
6775
|
-
const _ao2 = (input, _path, _exceptionable = true) => (true === _av0.has(input.runtime) ||
|
|
8542
|
+
const _ao2 = (input, _path, _exceptionable = true) => (true === _av0.has(input.runtime) || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6776
8543
|
method: "typia.createAssert",
|
|
6777
8544
|
path: _path + ".runtime",
|
|
6778
8545
|
expected: _ae0,
|
|
6779
8546
|
value: input.runtime
|
|
6780
|
-
}, _errorFactory)) && (("object" === typeof input.features && null !== input.features ||
|
|
8547
|
+
}, _errorFactory)) && (("object" === typeof input.features && null !== input.features || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6781
8548
|
method: "typia.createAssert",
|
|
6782
8549
|
path: _path + ".features",
|
|
6783
8550
|
expected: "TargetFeatureConfig",
|
|
6784
8551
|
value: input.features
|
|
6785
|
-
}, _errorFactory)) && _ao3(input.features, _path + ".features", _exceptionable) ||
|
|
8552
|
+
}, _errorFactory)) && _ao3(input.features, _path + ".features", _exceptionable) || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6786
8553
|
method: "typia.createAssert",
|
|
6787
8554
|
path: _path + ".features",
|
|
6788
8555
|
expected: "TargetFeatureConfig",
|
|
6789
8556
|
value: input.features
|
|
6790
|
-
}, _errorFactory)) && (("object" === typeof input.capabilities && null !== input.capabilities ||
|
|
8557
|
+
}, _errorFactory)) && (("object" === typeof input.capabilities && null !== input.capabilities || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6791
8558
|
method: "typia.createAssert",
|
|
6792
8559
|
path: _path + ".capabilities",
|
|
6793
8560
|
expected: "TargetCapabilityConfig",
|
|
6794
8561
|
value: input.capabilities
|
|
6795
|
-
}, _errorFactory)) && _ao4(input.capabilities, _path + ".capabilities", _exceptionable) ||
|
|
8562
|
+
}, _errorFactory)) && _ao4(input.capabilities, _path + ".capabilities", _exceptionable) || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6796
8563
|
method: "typia.createAssert",
|
|
6797
8564
|
path: _path + ".capabilities",
|
|
6798
8565
|
expected: "TargetCapabilityConfig",
|
|
6799
8566
|
value: input.capabilities
|
|
6800
|
-
}, _errorFactory)) && (("object" === typeof input.localization && null !== input.localization ||
|
|
8567
|
+
}, _errorFactory)) && (("object" === typeof input.localization && null !== input.localization || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6801
8568
|
method: "typia.createAssert",
|
|
6802
8569
|
path: _path + ".localization",
|
|
6803
8570
|
expected: "TargetLocalizationConfig",
|
|
6804
8571
|
value: input.localization
|
|
6805
|
-
}, _errorFactory)) && _ao5(input.localization, _path + ".localization", _exceptionable) ||
|
|
8572
|
+
}, _errorFactory)) && _ao5(input.localization, _path + ".localization", _exceptionable) || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6806
8573
|
method: "typia.createAssert",
|
|
6807
8574
|
path: _path + ".localization",
|
|
6808
8575
|
expected: "TargetLocalizationConfig",
|
|
6809
8576
|
value: input.localization
|
|
6810
|
-
}, _errorFactory)) && (("object" === typeof input.monetization && null !== input.monetization ||
|
|
8577
|
+
}, _errorFactory)) && (("object" === typeof input.monetization && null !== input.monetization || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6811
8578
|
method: "typia.createAssert",
|
|
6812
8579
|
path: _path + ".monetization",
|
|
6813
8580
|
expected: "TargetMonetizationConfig",
|
|
6814
8581
|
value: input.monetization
|
|
6815
|
-
}, _errorFactory)) && _ao6(input.monetization, _path + ".monetization", _exceptionable) ||
|
|
8582
|
+
}, _errorFactory)) && _ao6(input.monetization, _path + ".monetization", _exceptionable) || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6816
8583
|
method: "typia.createAssert",
|
|
6817
8584
|
path: _path + ".monetization",
|
|
6818
8585
|
expected: "TargetMonetizationConfig",
|
|
6819
8586
|
value: input.monetization
|
|
6820
|
-
}, _errorFactory)) && (("object" === typeof input.leaderboard && null !== input.leaderboard ||
|
|
8587
|
+
}, _errorFactory)) && (("object" === typeof input.leaderboard && null !== input.leaderboard || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6821
8588
|
method: "typia.createAssert",
|
|
6822
8589
|
path: _path + ".leaderboard",
|
|
6823
8590
|
expected: "TargetLeaderboardConfig",
|
|
6824
8591
|
value: input.leaderboard
|
|
6825
|
-
}, _errorFactory)) && _ao7(input.leaderboard, _path + ".leaderboard", _exceptionable) ||
|
|
8592
|
+
}, _errorFactory)) && _ao7(input.leaderboard, _path + ".leaderboard", _exceptionable) || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6826
8593
|
method: "typia.createAssert",
|
|
6827
8594
|
path: _path + ".leaderboard",
|
|
6828
8595
|
expected: "TargetLeaderboardConfig",
|
|
6829
8596
|
value: input.leaderboard
|
|
6830
|
-
}, _errorFactory)) && (("object" === typeof input.release && null !== input.release ||
|
|
8597
|
+
}, _errorFactory)) && (("object" === typeof input.release && null !== input.release || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6831
8598
|
method: "typia.createAssert",
|
|
6832
8599
|
path: _path + ".release",
|
|
6833
8600
|
expected: "TargetReleaseConfig",
|
|
6834
8601
|
value: input.release
|
|
6835
|
-
}, _errorFactory)) && _ao8(input.release, _path + ".release", _exceptionable) ||
|
|
8602
|
+
}, _errorFactory)) && _ao8(input.release, _path + ".release", _exceptionable) || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6836
8603
|
method: "typia.createAssert",
|
|
6837
8604
|
path: _path + ".release",
|
|
6838
8605
|
expected: "TargetReleaseConfig",
|
|
6839
8606
|
value: input.release
|
|
6840
|
-
}, _errorFactory)) && (("object" === typeof input.policy && null !== input.policy ||
|
|
8607
|
+
}, _errorFactory)) && (("object" === typeof input.policy && null !== input.policy || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6841
8608
|
method: "typia.createAssert",
|
|
6842
8609
|
path: _path + ".policy",
|
|
6843
8610
|
expected: "TargetPolicyRestrictions",
|
|
6844
8611
|
value: input.policy
|
|
6845
|
-
}, _errorFactory)) && _ao9(input.policy, _path + ".policy", _exceptionable) ||
|
|
8612
|
+
}, _errorFactory)) && _ao9(input.policy, _path + ".policy", _exceptionable) || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6846
8613
|
method: "typia.createAssert",
|
|
6847
8614
|
path: _path + ".policy",
|
|
6848
8615
|
expected: "TargetPolicyRestrictions",
|
|
6849
8616
|
value: input.policy
|
|
6850
|
-
}, _errorFactory)) && (void 0 === input.integrations || ("object" === typeof input.integrations && null !== input.integrations ||
|
|
8617
|
+
}, _errorFactory)) && (void 0 === input.integrations || ("object" === typeof input.integrations && null !== input.integrations || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6851
8618
|
method: "typia.createAssert",
|
|
6852
8619
|
path: _path + ".integrations",
|
|
6853
8620
|
expected: "(TargetIntegrationConfig | undefined)",
|
|
6854
8621
|
value: input.integrations
|
|
6855
|
-
}, _errorFactory)) && _ao10(input.integrations, _path + ".integrations", _exceptionable) ||
|
|
8622
|
+
}, _errorFactory)) && _ao10(input.integrations, _path + ".integrations", _exceptionable) || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6856
8623
|
method: "typia.createAssert",
|
|
6857
8624
|
path: _path + ".integrations",
|
|
6858
8625
|
expected: "(TargetIntegrationConfig | undefined)",
|
|
6859
8626
|
value: input.integrations
|
|
6860
8627
|
}, _errorFactory));
|
|
6861
|
-
const _ao3 = (input, _path, _exceptionable = true) => _ap0(input, _path, _exceptionable) && (void 0 === input.subscriptions || "boolean" === typeof input.subscriptions ||
|
|
8628
|
+
const _ao3 = (input, _path, _exceptionable = true) => _ap0(input, _path, _exceptionable) && (void 0 === input.subscriptions || "boolean" === typeof input.subscriptions || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6862
8629
|
method: "typia.createAssert",
|
|
6863
8630
|
path: _path + ".subscriptions",
|
|
6864
8631
|
expected: "(boolean | undefined)",
|
|
6865
8632
|
value: input.subscriptions
|
|
6866
|
-
}, _errorFactory)) && _ap1(input, _path, _exceptionable) && _ap2(input, _path, _exceptionable) && _ap3(input, _path, _exceptionable) && ("boolean" === typeof input.leaderboard ||
|
|
8633
|
+
}, _errorFactory)) && _ap1(input, _path, _exceptionable) && _ap2(input, _path, _exceptionable) && _ap3(input, _path, _exceptionable) && ("boolean" === typeof input.leaderboard || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6867
8634
|
method: "typia.createAssert",
|
|
6868
8635
|
path: _path + ".leaderboard",
|
|
6869
8636
|
expected: "boolean",
|
|
6870
8637
|
value: input.leaderboard
|
|
6871
|
-
}, _errorFactory)) && (void 0 === input.nativeLeaderboard || "boolean" === typeof input.nativeLeaderboard ||
|
|
8638
|
+
}, _errorFactory)) && (void 0 === input.nativeLeaderboard || "boolean" === typeof input.nativeLeaderboard || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6872
8639
|
method: "typia.createAssert",
|
|
6873
8640
|
path: _path + ".nativeLeaderboard",
|
|
6874
8641
|
expected: "(boolean | undefined)",
|
|
6875
8642
|
value: input.nativeLeaderboard
|
|
6876
|
-
}, _errorFactory)) && (void 0 === input.remoteLeaderboard || "boolean" === typeof input.remoteLeaderboard ||
|
|
8643
|
+
}, _errorFactory)) && (void 0 === input.remoteLeaderboard || "boolean" === typeof input.remoteLeaderboard || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6877
8644
|
method: "typia.createAssert",
|
|
6878
8645
|
path: _path + ".remoteLeaderboard",
|
|
6879
8646
|
expected: "(boolean | undefined)",
|
|
6880
8647
|
value: input.remoteLeaderboard
|
|
6881
8648
|
}, _errorFactory)) && _ap4(input, _path, _exceptionable);
|
|
6882
|
-
const _ao4 = (input, _path, _exceptionable = true) => ("local" === input.storage || "native" === input.storage || "none" === input.storage ||
|
|
8649
|
+
const _ao4 = (input, _path, _exceptionable = true) => ("local" === input.storage || "native" === input.storage || "none" === input.storage || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6883
8650
|
method: "typia.createAssert",
|
|
6884
8651
|
path: _path + ".storage",
|
|
6885
8652
|
expected: '("local" | "native" | "none")',
|
|
6886
8653
|
value: input.storage
|
|
6887
8654
|
}, _errorFactory)) && _ap4(input, _path, _exceptionable);
|
|
6888
|
-
const _ao5 = (input, _path, _exceptionable = true) => "en" === input.fallbackLocale || "ko" === input.fallbackLocale ||
|
|
8655
|
+
const _ao5 = (input, _path, _exceptionable = true) => "en" === input.fallbackLocale || "ko" === input.fallbackLocale || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6889
8656
|
method: "typia.createAssert",
|
|
6890
8657
|
path: _path + ".fallbackLocale",
|
|
6891
8658
|
expected: '("en" | "ko")',
|
|
6892
8659
|
value: input.fallbackLocale
|
|
6893
8660
|
}, _errorFactory);
|
|
6894
8661
|
const _ao6 = (input, _path, _exceptionable = true) => _ap0(input, _path, _exceptionable) && _ap1(input, _path, _exceptionable) && _ap2(input, _path, _exceptionable) && _ap3(input, _path, _exceptionable);
|
|
6895
|
-
const _ao7 = (input, _path, _exceptionable = true) => "boolean" === typeof input.native ||
|
|
8662
|
+
const _ao7 = (input, _path, _exceptionable = true) => "boolean" === typeof input.native || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6896
8663
|
method: "typia.createAssert",
|
|
6897
8664
|
path: _path + ".native",
|
|
6898
8665
|
expected: "boolean",
|
|
6899
8666
|
value: input.native
|
|
6900
8667
|
}, _errorFactory);
|
|
6901
|
-
const _ao8 = (input, _path, _exceptionable = true) => (true === _av1.has(input.profile) ||
|
|
8668
|
+
const _ao8 = (input, _path, _exceptionable = true) => (true === _av1.has(input.profile) || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6902
8669
|
method: "typia.createAssert",
|
|
6903
8670
|
path: _path + ".profile",
|
|
6904
8671
|
expected: _ae1,
|
|
6905
8672
|
value: input.profile
|
|
6906
|
-
}, _errorFactory)) && (void 0 === input.billingAuthority || "host" === input.billingAuthority || "store" === input.billingAuthority ||
|
|
8673
|
+
}, _errorFactory)) && (void 0 === input.billingAuthority || "host" === input.billingAuthority || "store" === input.billingAuthority || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6907
8674
|
method: "typia.createAssert",
|
|
6908
8675
|
path: _path + ".billingAuthority",
|
|
6909
8676
|
expected: '("host" | "store" | undefined)',
|
|
6910
8677
|
value: input.billingAuthority
|
|
6911
8678
|
}, _errorFactory));
|
|
6912
|
-
const _ao9 = (input, _path, _exceptionable = true) => ("boolean" === typeof input.externalPaymentAllowed ||
|
|
8679
|
+
const _ao9 = (input, _path, _exceptionable = true) => ("boolean" === typeof input.externalPaymentAllowed || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6913
8680
|
method: "typia.createAssert",
|
|
6914
8681
|
path: _path + ".externalPaymentAllowed",
|
|
6915
8682
|
expected: "boolean",
|
|
6916
8683
|
value: input.externalPaymentAllowed
|
|
6917
|
-
}, _errorFactory)) && ("boolean" === typeof input.remoteExecutableCodeAllowed ||
|
|
8684
|
+
}, _errorFactory)) && ("boolean" === typeof input.remoteExecutableCodeAllowed || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6918
8685
|
method: "typia.createAssert",
|
|
6919
8686
|
path: _path + ".remoteExecutableCodeAllowed",
|
|
6920
8687
|
expected: "boolean",
|
|
6921
8688
|
value: input.remoteExecutableCodeAllowed
|
|
6922
|
-
}, _errorFactory)) && ("boolean" === typeof input.installOtherAppCTAAllowed ||
|
|
8689
|
+
}, _errorFactory)) && ("boolean" === typeof input.installOtherAppCTAAllowed || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6923
8690
|
method: "typia.createAssert",
|
|
6924
8691
|
path: _path + ".installOtherAppCTAAllowed",
|
|
6925
8692
|
expected: "boolean",
|
|
6926
8693
|
value: input.installOtherAppCTAAllowed
|
|
6927
|
-
}, _errorFactory)) && ("boolean" === typeof input.requiresStoreReview ||
|
|
8694
|
+
}, _errorFactory)) && ("boolean" === typeof input.requiresStoreReview || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6928
8695
|
method: "typia.createAssert",
|
|
6929
8696
|
path: _path + ".requiresStoreReview",
|
|
6930
8697
|
expected: "boolean",
|
|
6931
8698
|
value: input.requiresStoreReview
|
|
6932
|
-
}, _errorFactory)) && ("boolean" === typeof input.requiresAitReview ||
|
|
8699
|
+
}, _errorFactory)) && ("boolean" === typeof input.requiresAitReview || _assertGuard_17._assertGuard(_exceptionable, {
|
|
6933
8700
|
method: "typia.createAssert",
|
|
6934
8701
|
path: _path + ".requiresAitReview",
|
|
6935
8702
|
expected: "boolean",
|
|
@@ -6956,12 +8723,12 @@ var assertTargetConfigExtensions = /* @__PURE__ */ (() => {
|
|
|
6956
8723
|
return (input, errorFactory) => {
|
|
6957
8724
|
if (false === __is(input)) {
|
|
6958
8725
|
_errorFactory = errorFactory;
|
|
6959
|
-
((input2, _path, _exceptionable = true) => ("object" === typeof input2 && null !== input2 ||
|
|
8726
|
+
((input2, _path, _exceptionable = true) => ("object" === typeof input2 && null !== input2 || _assertGuard_17._assertGuard(true, {
|
|
6960
8727
|
method: "typia.createAssert",
|
|
6961
8728
|
path: _path + "",
|
|
6962
8729
|
expected: "TargetConfigExtensions",
|
|
6963
8730
|
value: input2
|
|
6964
|
-
}, _errorFactory)) && _ao0(input2, _path + "", true) ||
|
|
8731
|
+
}, _errorFactory)) && _ao0(input2, _path + "", true) || _assertGuard_17._assertGuard(true, {
|
|
6965
8732
|
method: "typia.createAssert",
|
|
6966
8733
|
path: _path + "",
|
|
6967
8734
|
expected: "TargetConfigExtensions",
|
|
@@ -7318,104 +9085,104 @@ function sha2562(content) {
|
|
|
7318
9085
|
}
|
|
7319
9086
|
|
|
7320
9087
|
// node_modules/.cache/mpgd-native-build/tools/target/generate-release-manifest.js
|
|
7321
|
-
import * as
|
|
7322
|
-
import * as
|
|
9088
|
+
import * as _assertGuard_19 from "typia/lib/internal/_assertGuard";
|
|
9089
|
+
import * as _accessExpressionAsString_110 from "typia/lib/internal/_accessExpressionAsString";
|
|
7323
9090
|
import { execFileSync } from "node:child_process";
|
|
7324
9091
|
import { createHash as createHash8, randomUUID as randomUUID2 } from "node:crypto";
|
|
7325
9092
|
import { existsSync as existsSync10, readFileSync as readFileSync14, realpathSync as realpathSync6, renameSync as renameSync2, rmSync as rmSync5, writeFileSync as writeFileSync8 } from "node:fs";
|
|
7326
9093
|
import { isAbsolute as isAbsolute8, relative as relative9, resolve as resolve12 } from "node:path";
|
|
7327
|
-
import
|
|
9094
|
+
import typia11 from "typia";
|
|
7328
9095
|
|
|
7329
9096
|
// node_modules/.cache/mpgd-native-build/packages/release-manifest/src/index.js
|
|
7330
|
-
import * as
|
|
7331
|
-
import * as
|
|
7332
|
-
import
|
|
7333
|
-
var
|
|
9097
|
+
import * as _assertGuard_18 from "typia/lib/internal/_assertGuard";
|
|
9098
|
+
import * as _accessExpressionAsString_19 from "typia/lib/internal/_accessExpressionAsString";
|
|
9099
|
+
import typia10 from "typia";
|
|
9100
|
+
var __typia_transform__accessExpressionAsString5 = _accessExpressionAsString_19._accessExpressionAsString;
|
|
7334
9101
|
var assertReleaseManifestStructure = /* @__PURE__ */ (() => {
|
|
7335
9102
|
const _ip0 = (input) => "string" === typeof input["gameVersion"];
|
|
7336
9103
|
const _ip1 = (input) => "string" === typeof input["path"];
|
|
7337
9104
|
const _ip2 = (input) => "string" === typeof input["digest"];
|
|
7338
|
-
const _ap0 = (input, _path, _exceptionable = true) => "string" === typeof input["gameVersion"] ||
|
|
9105
|
+
const _ap0 = (input, _path, _exceptionable = true) => "string" === typeof input["gameVersion"] || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7339
9106
|
method: "typia.createAssert",
|
|
7340
9107
|
path: _path + ".gameVersion",
|
|
7341
9108
|
expected: "string",
|
|
7342
9109
|
value: input["gameVersion"]
|
|
7343
9110
|
}, _errorFactory);
|
|
7344
9111
|
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; }";
|
|
7345
|
-
const _ap1 = (input, _path, _exceptionable = true) => "string" === typeof input["path"] ||
|
|
9112
|
+
const _ap1 = (input, _path, _exceptionable = true) => "string" === typeof input["path"] || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7346
9113
|
method: "typia.createAssert",
|
|
7347
9114
|
path: _path + ".path",
|
|
7348
9115
|
expected: "string",
|
|
7349
9116
|
value: input["path"]
|
|
7350
9117
|
}, _errorFactory);
|
|
7351
|
-
const _ap2 = (input, _path, _exceptionable = true) => "string" === typeof input["digest"] ||
|
|
9118
|
+
const _ap2 = (input, _path, _exceptionable = true) => "string" === typeof input["digest"] || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7352
9119
|
method: "typia.createAssert",
|
|
7353
9120
|
path: _path + ".digest",
|
|
7354
9121
|
expected: "string",
|
|
7355
9122
|
value: input["digest"]
|
|
7356
9123
|
}, _errorFactory);
|
|
7357
|
-
const _ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.releaseId ||
|
|
9124
|
+
const _ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.releaseId || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7358
9125
|
method: "typia.createAssert",
|
|
7359
9126
|
path: _path + ".releaseId",
|
|
7360
9127
|
expected: "string",
|
|
7361
9128
|
value: input.releaseId
|
|
7362
|
-
}, _errorFactory)) && ("string" === typeof input.gitSha ||
|
|
9129
|
+
}, _errorFactory)) && ("string" === typeof input.gitSha || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7363
9130
|
method: "typia.createAssert",
|
|
7364
9131
|
path: _path + ".gitSha",
|
|
7365
9132
|
expected: "string",
|
|
7366
9133
|
value: input.gitSha
|
|
7367
|
-
}, _errorFactory)) && ("string" === typeof input.kitGitSha ||
|
|
9134
|
+
}, _errorFactory)) && ("string" === typeof input.kitGitSha || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7368
9135
|
method: "typia.createAssert",
|
|
7369
9136
|
path: _path + ".kitGitSha",
|
|
7370
9137
|
expected: "string",
|
|
7371
9138
|
value: input.kitGitSha
|
|
7372
|
-
}, _errorFactory)) && _ap0(input, _path, _exceptionable) && (void 0 === input.releaseIdentity || ("object" === typeof input.releaseIdentity && null !== input.releaseIdentity ||
|
|
9139
|
+
}, _errorFactory)) && _ap0(input, _path, _exceptionable) && (void 0 === input.releaseIdentity || ("object" === typeof input.releaseIdentity && null !== input.releaseIdentity || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7373
9140
|
method: "typia.createAssert",
|
|
7374
9141
|
path: _path + ".releaseIdentity",
|
|
7375
9142
|
expected: "(MpgdReleaseIdentity | undefined)",
|
|
7376
9143
|
value: input.releaseIdentity
|
|
7377
|
-
}, _errorFactory)) && _ao1(input.releaseIdentity, _path + ".releaseIdentity", _exceptionable) ||
|
|
9144
|
+
}, _errorFactory)) && _ao1(input.releaseIdentity, _path + ".releaseIdentity", _exceptionable) || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7378
9145
|
method: "typia.createAssert",
|
|
7379
9146
|
path: _path + ".releaseIdentity",
|
|
7380
9147
|
expected: "(MpgdReleaseIdentity | undefined)",
|
|
7381
9148
|
value: input.releaseIdentity
|
|
7382
|
-
}, _errorFactory)) && ("string" === typeof input.buildId ||
|
|
9149
|
+
}, _errorFactory)) && ("string" === typeof input.buildId || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7383
9150
|
method: "typia.createAssert",
|
|
7384
9151
|
path: _path + ".buildId",
|
|
7385
9152
|
expected: "string",
|
|
7386
9153
|
value: input.buildId
|
|
7387
|
-
}, _errorFactory)) && ("string" === typeof input.targetConfigVersion ||
|
|
9154
|
+
}, _errorFactory)) && ("string" === typeof input.targetConfigVersion || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7388
9155
|
method: "typia.createAssert",
|
|
7389
9156
|
path: _path + ".targetConfigVersion",
|
|
7390
9157
|
expected: "string",
|
|
7391
9158
|
value: input.targetConfigVersion
|
|
7392
|
-
}, _errorFactory)) && ("string" === typeof input.catalogVersion ||
|
|
9159
|
+
}, _errorFactory)) && ("string" === typeof input.catalogVersion || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7393
9160
|
method: "typia.createAssert",
|
|
7394
9161
|
path: _path + ".catalogVersion",
|
|
7395
9162
|
expected: "string",
|
|
7396
9163
|
value: input.catalogVersion
|
|
7397
|
-
}, _errorFactory)) && ("string" === typeof input.adPlacementVersion ||
|
|
9164
|
+
}, _errorFactory)) && ("string" === typeof input.adPlacementVersion || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7398
9165
|
method: "typia.createAssert",
|
|
7399
9166
|
path: _path + ".adPlacementVersion",
|
|
7400
9167
|
expected: "string",
|
|
7401
9168
|
value: input.adPlacementVersion
|
|
7402
|
-
}, _errorFactory)) && (("object" === typeof input.targets && null !== input.targets && false === Array.isArray(input.targets) ||
|
|
9169
|
+
}, _errorFactory)) && (("object" === typeof input.targets && null !== input.targets && false === Array.isArray(input.targets) || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7403
9170
|
method: "typia.createAssert",
|
|
7404
9171
|
path: _path + ".targets",
|
|
7405
9172
|
expected: "Record<string, ReleaseTargetManifest>",
|
|
7406
9173
|
value: input.targets
|
|
7407
|
-
}, _errorFactory)) && _ao2(input.targets, _path + ".targets", _exceptionable) ||
|
|
9174
|
+
}, _errorFactory)) && _ao2(input.targets, _path + ".targets", _exceptionable) || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7408
9175
|
method: "typia.createAssert",
|
|
7409
9176
|
path: _path + ".targets",
|
|
7410
9177
|
expected: "Record<string, ReleaseTargetManifest>",
|
|
7411
9178
|
value: input.targets
|
|
7412
9179
|
}, _errorFactory));
|
|
7413
|
-
const _ao1 = (input, _path, _exceptionable = true) => _ap0(input, _path, _exceptionable) && (void 0 === input.releaseRevision || "number" === typeof input.releaseRevision ||
|
|
9180
|
+
const _ao1 = (input, _path, _exceptionable = true) => _ap0(input, _path, _exceptionable) && (void 0 === input.releaseRevision || "number" === typeof input.releaseRevision || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7414
9181
|
method: "typia.createAssert",
|
|
7415
9182
|
path: _path + ".releaseRevision",
|
|
7416
9183
|
expected: "(number | undefined)",
|
|
7417
9184
|
value: input.releaseRevision
|
|
7418
|
-
}, _errorFactory)) && ("string" === typeof input.label ||
|
|
9185
|
+
}, _errorFactory)) && ("string" === typeof input.label || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7419
9186
|
method: "typia.createAssert",
|
|
7420
9187
|
path: _path + ".label",
|
|
7421
9188
|
expected: "string",
|
|
@@ -7425,142 +9192,142 @@ var assertReleaseManifestStructure = /* @__PURE__ */ (() => {
|
|
|
7425
9192
|
const value = input[key];
|
|
7426
9193
|
if (void 0 === value)
|
|
7427
9194
|
return true;
|
|
7428
|
-
return ("object" === typeof value && null !== value ||
|
|
9195
|
+
return ("object" === typeof value && null !== value || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7429
9196
|
method: "typia.createAssert",
|
|
7430
|
-
path: _path +
|
|
9197
|
+
path: _path + __typia_transform__accessExpressionAsString5(key),
|
|
7431
9198
|
expected: "ReleaseTargetManifest",
|
|
7432
9199
|
value
|
|
7433
|
-
}, _errorFactory)) && _ao3(value, _path +
|
|
9200
|
+
}, _errorFactory)) && _ao3(value, _path + __typia_transform__accessExpressionAsString5(key), _exceptionable) || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7434
9201
|
method: "typia.createAssert",
|
|
7435
|
-
path: _path +
|
|
9202
|
+
path: _path + __typia_transform__accessExpressionAsString5(key),
|
|
7436
9203
|
expected: "ReleaseTargetManifest",
|
|
7437
9204
|
value
|
|
7438
9205
|
}, _errorFactory);
|
|
7439
9206
|
});
|
|
7440
|
-
const _ao3 = (input, _path, _exceptionable = true) => ("string" === typeof input.artifact ||
|
|
9207
|
+
const _ao3 = (input, _path, _exceptionable = true) => ("string" === typeof input.artifact || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7441
9208
|
method: "typia.createAssert",
|
|
7442
9209
|
path: _path + ".artifact",
|
|
7443
9210
|
expected: "string",
|
|
7444
9211
|
value: input.artifact
|
|
7445
|
-
}, _errorFactory)) && (void 0 === input.profile || "string" === typeof input.profile ||
|
|
9212
|
+
}, _errorFactory)) && (void 0 === input.profile || "string" === typeof input.profile || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7446
9213
|
method: "typia.createAssert",
|
|
7447
9214
|
path: _path + ".profile",
|
|
7448
9215
|
expected: "(string | undefined)",
|
|
7449
9216
|
value: input.profile
|
|
7450
|
-
}, _errorFactory)) && (("object" === typeof input.effectiveConfig && null !== input.effectiveConfig ||
|
|
9217
|
+
}, _errorFactory)) && (("object" === typeof input.effectiveConfig && null !== input.effectiveConfig || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7451
9218
|
method: "typia.createAssert",
|
|
7452
9219
|
path: _path + ".effectiveConfig",
|
|
7453
9220
|
expected: "{ readonly path: string; readonly version: string; readonly digest: string; }",
|
|
7454
9221
|
value: input.effectiveConfig
|
|
7455
|
-
}, _errorFactory)) && _ao4(input.effectiveConfig, _path + ".effectiveConfig", _exceptionable) ||
|
|
9222
|
+
}, _errorFactory)) && _ao4(input.effectiveConfig, _path + ".effectiveConfig", _exceptionable) || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7456
9223
|
method: "typia.createAssert",
|
|
7457
9224
|
path: _path + ".effectiveConfig",
|
|
7458
9225
|
expected: "{ readonly path: string; readonly version: string; readonly digest: string; }",
|
|
7459
9226
|
value: input.effectiveConfig
|
|
7460
|
-
}, _errorFactory)) && (("object" === typeof input.iconManifest && null !== input.iconManifest ||
|
|
9227
|
+
}, _errorFactory)) && (("object" === typeof input.iconManifest && null !== input.iconManifest || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7461
9228
|
method: "typia.createAssert",
|
|
7462
9229
|
path: _path + ".iconManifest",
|
|
7463
9230
|
expected: _ae0,
|
|
7464
9231
|
value: input.iconManifest
|
|
7465
|
-
}, _errorFactory)) && _ao5(input.iconManifest, _path + ".iconManifest", _exceptionable) ||
|
|
9232
|
+
}, _errorFactory)) && _ao5(input.iconManifest, _path + ".iconManifest", _exceptionable) || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7466
9233
|
method: "typia.createAssert",
|
|
7467
9234
|
path: _path + ".iconManifest",
|
|
7468
9235
|
expected: _ae0,
|
|
7469
9236
|
value: input.iconManifest
|
|
7470
|
-
}, _errorFactory)) && (void 0 === input.versionName || "string" === typeof input.versionName ||
|
|
9237
|
+
}, _errorFactory)) && (void 0 === input.versionName || "string" === typeof input.versionName || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7471
9238
|
method: "typia.createAssert",
|
|
7472
9239
|
path: _path + ".versionName",
|
|
7473
9240
|
expected: "(string | undefined)",
|
|
7474
9241
|
value: input.versionName
|
|
7475
|
-
}, _errorFactory)) && (void 0 === input.versionCode || "number" === typeof input.versionCode ||
|
|
9242
|
+
}, _errorFactory)) && (void 0 === input.versionCode || "number" === typeof input.versionCode || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7476
9243
|
method: "typia.createAssert",
|
|
7477
9244
|
path: _path + ".versionCode",
|
|
7478
9245
|
expected: "(number | undefined)",
|
|
7479
9246
|
value: input.versionCode
|
|
7480
|
-
}, _errorFactory)) && (void 0 === input.marketingVersion || "string" === typeof input.marketingVersion ||
|
|
9247
|
+
}, _errorFactory)) && (void 0 === input.marketingVersion || "string" === typeof input.marketingVersion || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7481
9248
|
method: "typia.createAssert",
|
|
7482
9249
|
path: _path + ".marketingVersion",
|
|
7483
9250
|
expected: "(string | undefined)",
|
|
7484
9251
|
value: input.marketingVersion
|
|
7485
|
-
}, _errorFactory)) && (void 0 === input.buildNumber || "string" === typeof input.buildNumber ||
|
|
9252
|
+
}, _errorFactory)) && (void 0 === input.buildNumber || "string" === typeof input.buildNumber || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7486
9253
|
method: "typia.createAssert",
|
|
7487
9254
|
path: _path + ".buildNumber",
|
|
7488
9255
|
expected: "(string | undefined)",
|
|
7489
9256
|
value: input.buildNumber
|
|
7490
|
-
}, _errorFactory)) && (void 0 === input.nativeDelivery || ("object" === typeof input.nativeDelivery && null !== input.nativeDelivery ||
|
|
9257
|
+
}, _errorFactory)) && (void 0 === input.nativeDelivery || ("object" === typeof input.nativeDelivery && null !== input.nativeDelivery || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7491
9258
|
method: "typia.createAssert",
|
|
7492
9259
|
path: _path + ".nativeDelivery",
|
|
7493
9260
|
expected: "(ReleaseNativeDelivery | undefined)",
|
|
7494
9261
|
value: input.nativeDelivery
|
|
7495
|
-
}, _errorFactory)) && _ao6(input.nativeDelivery, _path + ".nativeDelivery", _exceptionable) ||
|
|
9262
|
+
}, _errorFactory)) && _ao6(input.nativeDelivery, _path + ".nativeDelivery", _exceptionable) || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7496
9263
|
method: "typia.createAssert",
|
|
7497
9264
|
path: _path + ".nativeDelivery",
|
|
7498
9265
|
expected: "(ReleaseNativeDelivery | undefined)",
|
|
7499
9266
|
value: input.nativeDelivery
|
|
7500
|
-
}, _errorFactory)) && (void 0 === input.appName || "string" === typeof input.appName ||
|
|
9267
|
+
}, _errorFactory)) && (void 0 === input.appName || "string" === typeof input.appName || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7501
9268
|
method: "typia.createAssert",
|
|
7502
9269
|
path: _path + ".appName",
|
|
7503
9270
|
expected: "(string | undefined)",
|
|
7504
9271
|
value: input.appName
|
|
7505
|
-
}, _errorFactory)) && (void 0 === input.sdkMajor || "number" === typeof input.sdkMajor ||
|
|
9272
|
+
}, _errorFactory)) && (void 0 === input.sdkMajor || "number" === typeof input.sdkMajor || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7506
9273
|
method: "typia.createAssert",
|
|
7507
9274
|
path: _path + ".sdkMajor",
|
|
7508
9275
|
expected: "(number | undefined)",
|
|
7509
9276
|
value: input.sdkMajor
|
|
7510
9277
|
}, _errorFactory));
|
|
7511
|
-
const _ao4 = (input, _path, _exceptionable = true) => _ap1(input, _path, _exceptionable) && ("string" === typeof input.version ||
|
|
9278
|
+
const _ao4 = (input, _path, _exceptionable = true) => _ap1(input, _path, _exceptionable) && ("string" === typeof input.version || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7512
9279
|
method: "typia.createAssert",
|
|
7513
9280
|
path: _path + ".version",
|
|
7514
9281
|
expected: "string",
|
|
7515
9282
|
value: input.version
|
|
7516
9283
|
}, _errorFactory)) && _ap2(input, _path, _exceptionable);
|
|
7517
|
-
const _ao5 = (input, _path, _exceptionable = true) => _ap1(input, _path, _exceptionable) && _ap2(input, _path, _exceptionable) && ("string" === typeof input.sourceSha256 ||
|
|
9284
|
+
const _ao5 = (input, _path, _exceptionable = true) => _ap1(input, _path, _exceptionable) && _ap2(input, _path, _exceptionable) && ("string" === typeof input.sourceSha256 || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7518
9285
|
method: "typia.createAssert",
|
|
7519
9286
|
path: _path + ".sourceSha256",
|
|
7520
9287
|
expected: "string",
|
|
7521
9288
|
value: input.sourceSha256
|
|
7522
|
-
}, _errorFactory)) && ("string" === typeof input.sharedConfigSha256 ||
|
|
9289
|
+
}, _errorFactory)) && ("string" === typeof input.sharedConfigSha256 || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7523
9290
|
method: "typia.createAssert",
|
|
7524
9291
|
path: _path + ".sharedConfigSha256",
|
|
7525
9292
|
expected: "string",
|
|
7526
9293
|
value: input.sharedConfigSha256
|
|
7527
|
-
}, _errorFactory)) && ("string" === typeof input.renderConfigSha256 ||
|
|
9294
|
+
}, _errorFactory)) && ("string" === typeof input.renderConfigSha256 || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7528
9295
|
method: "typia.createAssert",
|
|
7529
9296
|
path: _path + ".renderConfigSha256",
|
|
7530
9297
|
expected: "string",
|
|
7531
9298
|
value: input.renderConfigSha256
|
|
7532
|
-
}, _errorFactory)) && ("string" === typeof input.generatorVersion ||
|
|
9299
|
+
}, _errorFactory)) && ("string" === typeof input.generatorVersion || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7533
9300
|
method: "typia.createAssert",
|
|
7534
9301
|
path: _path + ".generatorVersion",
|
|
7535
9302
|
expected: "string",
|
|
7536
9303
|
value: input.generatorVersion
|
|
7537
|
-
}, _errorFactory)) && ("string" === typeof input.targetProfile ||
|
|
9304
|
+
}, _errorFactory)) && ("string" === typeof input.targetProfile || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7538
9305
|
method: "typia.createAssert",
|
|
7539
9306
|
path: _path + ".targetProfile",
|
|
7540
9307
|
expected: "string",
|
|
7541
9308
|
value: input.targetProfile
|
|
7542
|
-
}, _errorFactory)) && ("string" === typeof input.targetProfileVersion ||
|
|
9309
|
+
}, _errorFactory)) && ("string" === typeof input.targetProfileVersion || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7543
9310
|
method: "typia.createAssert",
|
|
7544
9311
|
path: _path + ".targetProfileVersion",
|
|
7545
9312
|
expected: "string",
|
|
7546
9313
|
value: input.targetProfileVersion
|
|
7547
9314
|
}, _errorFactory));
|
|
7548
|
-
const _ao6 = (input, _path, _exceptionable = true) => ("android" === input.platform || "ios" === input.platform ||
|
|
9315
|
+
const _ao6 = (input, _path, _exceptionable = true) => ("android" === input.platform || "ios" === input.platform || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7549
9316
|
method: "typia.createAssert",
|
|
7550
9317
|
path: _path + ".platform",
|
|
7551
9318
|
expected: '("android" | "ios")',
|
|
7552
9319
|
value: input.platform
|
|
7553
|
-
}, _errorFactory)) && ("debug" === input.mode || "signed-archive" === input.mode || "simulator" === input.mode || "store-export" === input.mode || "sync" === input.mode || "unsigned-archive" === input.mode ||
|
|
9320
|
+
}, _errorFactory)) && ("debug" === input.mode || "signed-archive" === input.mode || "simulator" === input.mode || "store-export" === input.mode || "sync" === input.mode || "unsigned-archive" === input.mode || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7554
9321
|
method: "typia.createAssert",
|
|
7555
9322
|
path: _path + ".mode",
|
|
7556
9323
|
expected: '("debug" | "signed-archive" | "simulator" | "store-export" | "sync" | "unsigned-archive")',
|
|
7557
9324
|
value: input.mode
|
|
7558
|
-
}, _errorFactory)) && ("boolean" === typeof input.signed ||
|
|
9325
|
+
}, _errorFactory)) && ("boolean" === typeof input.signed || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7559
9326
|
method: "typia.createAssert",
|
|
7560
9327
|
path: _path + ".signed",
|
|
7561
9328
|
expected: "boolean",
|
|
7562
9329
|
value: input.signed
|
|
7563
|
-
}, _errorFactory)) && ("boolean" === typeof input.submissionCandidate ||
|
|
9330
|
+
}, _errorFactory)) && ("boolean" === typeof input.submissionCandidate || _assertGuard_18._assertGuard(_exceptionable, {
|
|
7564
9331
|
method: "typia.createAssert",
|
|
7565
9332
|
path: _path + ".submissionCandidate",
|
|
7566
9333
|
expected: "boolean",
|
|
@@ -7583,12 +9350,12 @@ var assertReleaseManifestStructure = /* @__PURE__ */ (() => {
|
|
|
7583
9350
|
return (input, errorFactory) => {
|
|
7584
9351
|
if (false === __is(input)) {
|
|
7585
9352
|
_errorFactory = errorFactory;
|
|
7586
|
-
((input2, _path, _exceptionable = true) => ("object" === typeof input2 && null !== input2 ||
|
|
9353
|
+
((input2, _path, _exceptionable = true) => ("object" === typeof input2 && null !== input2 || _assertGuard_18._assertGuard(true, {
|
|
7587
9354
|
method: "typia.createAssert",
|
|
7588
9355
|
path: _path + "",
|
|
7589
9356
|
expected: "ReleaseManifest",
|
|
7590
9357
|
value: input2
|
|
7591
|
-
}, _errorFactory)) && _ao0(input2, _path + "", true) ||
|
|
9358
|
+
}, _errorFactory)) && _ao0(input2, _path + "", true) || _assertGuard_18._assertGuard(true, {
|
|
7592
9359
|
method: "typia.createAssert",
|
|
7593
9360
|
path: _path + "",
|
|
7594
9361
|
expected: "ReleaseManifest",
|
|
@@ -7736,149 +9503,149 @@ function canRecoverLock(lockFile) {
|
|
|
7736
9503
|
}
|
|
7737
9504
|
|
|
7738
9505
|
// node_modules/.cache/mpgd-native-build/tools/target/generate-release-manifest.js
|
|
7739
|
-
var
|
|
9506
|
+
var __typia_transform__accessExpressionAsString6 = _accessExpressionAsString_110._accessExpressionAsString;
|
|
7740
9507
|
var assertProductCatalog = /* @__PURE__ */ (() => {
|
|
7741
9508
|
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>; })';
|
|
7742
|
-
const _ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.version ||
|
|
9509
|
+
const _ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.version || _assertGuard_19._assertGuard(_exceptionable, {
|
|
7743
9510
|
method: "typia.createAssert",
|
|
7744
9511
|
path: _path + ".version",
|
|
7745
9512
|
expected: "string",
|
|
7746
9513
|
value: input.version
|
|
7747
|
-
}, _errorFactory)) && (void 0 === input.currencies || (Array.isArray(input.currencies) ||
|
|
9514
|
+
}, _errorFactory)) && (void 0 === input.currencies || (Array.isArray(input.currencies) || _assertGuard_19._assertGuard(_exceptionable, {
|
|
7748
9515
|
method: "typia.createAssert",
|
|
7749
9516
|
path: _path + ".currencies",
|
|
7750
9517
|
expected: "((ReadonlyArray<string & MinLength<1>> & MinItems<1>) | undefined)",
|
|
7751
9518
|
value: input.currencies
|
|
7752
|
-
}, _errorFactory)) && ((1 <= input.currencies.length ||
|
|
9519
|
+
}, _errorFactory)) && ((1 <= input.currencies.length || _assertGuard_19._assertGuard(_exceptionable, {
|
|
7753
9520
|
method: "typia.createAssert",
|
|
7754
9521
|
path: _path + ".currencies",
|
|
7755
9522
|
expected: "Array<> & MinItems<1>",
|
|
7756
9523
|
value: input.currencies
|
|
7757
|
-
}, _errorFactory)) && input.currencies.every((elem, _index3) => "string" === typeof elem && (1 <= elem.length ||
|
|
9524
|
+
}, _errorFactory)) && input.currencies.every((elem, _index3) => "string" === typeof elem && (1 <= elem.length || _assertGuard_19._assertGuard(_exceptionable, {
|
|
7758
9525
|
method: "typia.createAssert",
|
|
7759
9526
|
path: _path + ".currencies[" + _index3 + "]",
|
|
7760
9527
|
expected: "string & MinLength<1>",
|
|
7761
9528
|
value: elem
|
|
7762
|
-
}, _errorFactory)) ||
|
|
9529
|
+
}, _errorFactory)) || _assertGuard_19._assertGuard(_exceptionable, {
|
|
7763
9530
|
method: "typia.createAssert",
|
|
7764
9531
|
path: _path + ".currencies[" + _index3 + "]",
|
|
7765
9532
|
expected: "(string & MinLength<1>)",
|
|
7766
9533
|
value: elem
|
|
7767
|
-
}, _errorFactory))) ||
|
|
9534
|
+
}, _errorFactory))) || _assertGuard_19._assertGuard(_exceptionable, {
|
|
7768
9535
|
method: "typia.createAssert",
|
|
7769
9536
|
path: _path + ".currencies",
|
|
7770
9537
|
expected: "((ReadonlyArray<string & MinLength<1>> & MinItems<1>) | undefined)",
|
|
7771
9538
|
value: input.currencies
|
|
7772
|
-
}, _errorFactory)) && ((Array.isArray(input.products) ||
|
|
9539
|
+
}, _errorFactory)) && ((Array.isArray(input.products) || _assertGuard_19._assertGuard(_exceptionable, {
|
|
7773
9540
|
method: "typia.createAssert",
|
|
7774
9541
|
path: _path + ".products",
|
|
7775
9542
|
expected: "ReadonlyArray<ProductCatalogEntry>",
|
|
7776
9543
|
value: input.products
|
|
7777
|
-
}, _errorFactory)) && input.products.every((elem, _index4) => ("object" === typeof elem && null !== elem ||
|
|
9544
|
+
}, _errorFactory)) && input.products.every((elem, _index4) => ("object" === typeof elem && null !== elem || _assertGuard_19._assertGuard(_exceptionable, {
|
|
7778
9545
|
method: "typia.createAssert",
|
|
7779
9546
|
path: _path + ".products[" + _index4 + "]",
|
|
7780
9547
|
expected: "ProductCatalogEntry",
|
|
7781
9548
|
value: elem
|
|
7782
|
-
}, _errorFactory)) && _ao1(elem, _path + ".products[" + _index4 + "]", _exceptionable) ||
|
|
9549
|
+
}, _errorFactory)) && _ao1(elem, _path + ".products[" + _index4 + "]", _exceptionable) || _assertGuard_19._assertGuard(_exceptionable, {
|
|
7783
9550
|
method: "typia.createAssert",
|
|
7784
9551
|
path: _path + ".products[" + _index4 + "]",
|
|
7785
9552
|
expected: "ProductCatalogEntry",
|
|
7786
9553
|
value: elem
|
|
7787
|
-
}, _errorFactory)) ||
|
|
9554
|
+
}, _errorFactory)) || _assertGuard_19._assertGuard(_exceptionable, {
|
|
7788
9555
|
method: "typia.createAssert",
|
|
7789
9556
|
path: _path + ".products",
|
|
7790
9557
|
expected: "ReadonlyArray<ProductCatalogEntry>",
|
|
7791
9558
|
value: input.products
|
|
7792
9559
|
}, _errorFactory));
|
|
7793
|
-
const _ao1 = (input, _path, _exceptionable = true) => ("string" === typeof input.id ||
|
|
9560
|
+
const _ao1 = (input, _path, _exceptionable = true) => ("string" === typeof input.id || _assertGuard_19._assertGuard(_exceptionable, {
|
|
7794
9561
|
method: "typia.createAssert",
|
|
7795
9562
|
path: _path + ".id",
|
|
7796
9563
|
expected: "string",
|
|
7797
9564
|
value: input.id
|
|
7798
|
-
}, _errorFactory)) && ("consumable" === input.type || "non_consumable" === input.type || "subscription" === input.type ||
|
|
9565
|
+
}, _errorFactory)) && ("consumable" === input.type || "non_consumable" === input.type || "subscription" === input.type || _assertGuard_19._assertGuard(_exceptionable, {
|
|
7799
9566
|
method: "typia.createAssert",
|
|
7800
9567
|
path: _path + ".type",
|
|
7801
9568
|
expected: '("consumable" | "non_consumable" | "subscription")',
|
|
7802
9569
|
value: input.type
|
|
7803
|
-
}, _errorFactory)) && (("object" === typeof input.grant && null !== input.grant ||
|
|
9570
|
+
}, _errorFactory)) && (("object" === typeof input.grant && null !== input.grant || _assertGuard_19._assertGuard(_exceptionable, {
|
|
7804
9571
|
method: "typia.createAssert",
|
|
7805
9572
|
path: _path + ".grant",
|
|
7806
9573
|
expected: _ae0,
|
|
7807
9574
|
value: input.grant
|
|
7808
|
-
}, _errorFactory)) && _au0(input.grant, _path + ".grant", _exceptionable) ||
|
|
9575
|
+
}, _errorFactory)) && _au0(input.grant, _path + ".grant", _exceptionable) || _assertGuard_19._assertGuard(_exceptionable, {
|
|
7809
9576
|
method: "typia.createAssert",
|
|
7810
9577
|
path: _path + ".grant",
|
|
7811
9578
|
expected: _ae0,
|
|
7812
9579
|
value: input.grant
|
|
7813
|
-
}, _errorFactory)) && (("object" === typeof input.platformProductIds && null !== input.platformProductIds && false === Array.isArray(input.platformProductIds) ||
|
|
9580
|
+
}, _errorFactory)) && (("object" === typeof input.platformProductIds && null !== input.platformProductIds && false === Array.isArray(input.platformProductIds) || _assertGuard_19._assertGuard(_exceptionable, {
|
|
7814
9581
|
method: "typia.createAssert",
|
|
7815
9582
|
path: _path + ".platformProductIds",
|
|
7816
9583
|
expected: "Partial<Record<string, string>>",
|
|
7817
9584
|
value: input.platformProductIds
|
|
7818
|
-
}, _errorFactory)) && _ao5(input.platformProductIds, _path + ".platformProductIds", _exceptionable) ||
|
|
9585
|
+
}, _errorFactory)) && _ao5(input.platformProductIds, _path + ".platformProductIds", _exceptionable) || _assertGuard_19._assertGuard(_exceptionable, {
|
|
7819
9586
|
method: "typia.createAssert",
|
|
7820
9587
|
path: _path + ".platformProductIds",
|
|
7821
9588
|
expected: "Partial<Record<string, string>>",
|
|
7822
9589
|
value: input.platformProductIds
|
|
7823
9590
|
}, _errorFactory));
|
|
7824
|
-
const _ao2 = (input, _path, _exceptionable = true) => ("currency" === input.type ||
|
|
9591
|
+
const _ao2 = (input, _path, _exceptionable = true) => ("currency" === input.type || _assertGuard_19._assertGuard(_exceptionable, {
|
|
7825
9592
|
method: "typia.createAssert",
|
|
7826
9593
|
path: _path + ".type",
|
|
7827
9594
|
expected: '"currency"',
|
|
7828
9595
|
value: input.type
|
|
7829
|
-
}, _errorFactory)) && ("string" === typeof input.currency && (1 <= input.currency.length ||
|
|
9596
|
+
}, _errorFactory)) && ("string" === typeof input.currency && (1 <= input.currency.length || _assertGuard_19._assertGuard(_exceptionable, {
|
|
7830
9597
|
method: "typia.createAssert",
|
|
7831
9598
|
path: _path + ".currency",
|
|
7832
9599
|
expected: "string & MinLength<1>",
|
|
7833
9600
|
value: input.currency
|
|
7834
|
-
}, _errorFactory)) ||
|
|
9601
|
+
}, _errorFactory)) || _assertGuard_19._assertGuard(_exceptionable, {
|
|
7835
9602
|
method: "typia.createAssert",
|
|
7836
9603
|
path: _path + ".currency",
|
|
7837
9604
|
expected: "(string & MinLength<1>)",
|
|
7838
9605
|
value: input.currency
|
|
7839
|
-
}, _errorFactory)) && ("number" === typeof input.amount ||
|
|
9606
|
+
}, _errorFactory)) && ("number" === typeof input.amount || _assertGuard_19._assertGuard(_exceptionable, {
|
|
7840
9607
|
method: "typia.createAssert",
|
|
7841
9608
|
path: _path + ".amount",
|
|
7842
9609
|
expected: "number",
|
|
7843
9610
|
value: input.amount
|
|
7844
9611
|
}, _errorFactory));
|
|
7845
|
-
const _ao3 = (input, _path, _exceptionable = true) => ("entitlement" === input.type ||
|
|
9612
|
+
const _ao3 = (input, _path, _exceptionable = true) => ("entitlement" === input.type || _assertGuard_19._assertGuard(_exceptionable, {
|
|
7846
9613
|
method: "typia.createAssert",
|
|
7847
9614
|
path: _path + ".type",
|
|
7848
9615
|
expected: '"entitlement"',
|
|
7849
9616
|
value: input.type
|
|
7850
|
-
}, _errorFactory)) && ("string" === typeof input.entitlement ||
|
|
9617
|
+
}, _errorFactory)) && ("string" === typeof input.entitlement || _assertGuard_19._assertGuard(_exceptionable, {
|
|
7851
9618
|
method: "typia.createAssert",
|
|
7852
9619
|
path: _path + ".entitlement",
|
|
7853
9620
|
expected: "string",
|
|
7854
9621
|
value: input.entitlement
|
|
7855
9622
|
}, _errorFactory));
|
|
7856
|
-
const _ao4 = (input, _path, _exceptionable = true) => ("resource" === input.type ||
|
|
9623
|
+
const _ao4 = (input, _path, _exceptionable = true) => ("resource" === input.type || _assertGuard_19._assertGuard(_exceptionable, {
|
|
7857
9624
|
method: "typia.createAssert",
|
|
7858
9625
|
path: _path + ".type",
|
|
7859
9626
|
expected: '"resource"',
|
|
7860
9627
|
value: input.type
|
|
7861
|
-
}, _errorFactory)) && ("string" === typeof input.resource && (1 <= input.resource.length ||
|
|
9628
|
+
}, _errorFactory)) && ("string" === typeof input.resource && (1 <= input.resource.length || _assertGuard_19._assertGuard(_exceptionable, {
|
|
7862
9629
|
method: "typia.createAssert",
|
|
7863
9630
|
path: _path + ".resource",
|
|
7864
9631
|
expected: "string & MinLength<1>",
|
|
7865
9632
|
value: input.resource
|
|
7866
|
-
}, _errorFactory)) ||
|
|
9633
|
+
}, _errorFactory)) || _assertGuard_19._assertGuard(_exceptionable, {
|
|
7867
9634
|
method: "typia.createAssert",
|
|
7868
9635
|
path: _path + ".resource",
|
|
7869
9636
|
expected: "(string & MinLength<1>)",
|
|
7870
9637
|
value: input.resource
|
|
7871
|
-
}, _errorFactory)) && ("number" === typeof input.amount && (0 < input.amount ||
|
|
9638
|
+
}, _errorFactory)) && ("number" === typeof input.amount && (0 < input.amount || _assertGuard_19._assertGuard(_exceptionable, {
|
|
7872
9639
|
method: "typia.createAssert",
|
|
7873
9640
|
path: _path + ".amount",
|
|
7874
9641
|
expected: "number & ExclusiveMinimum<0>",
|
|
7875
9642
|
value: input.amount
|
|
7876
|
-
}, _errorFactory)) && (input.amount <= 17976931348623157e292 ||
|
|
9643
|
+
}, _errorFactory)) && (input.amount <= 17976931348623157e292 || _assertGuard_19._assertGuard(_exceptionable, {
|
|
7877
9644
|
method: "typia.createAssert",
|
|
7878
9645
|
path: _path + ".amount",
|
|
7879
9646
|
expected: "number & Maximum<1.7976931348623157e+308>",
|
|
7880
9647
|
value: input.amount
|
|
7881
|
-
}, _errorFactory)) ||
|
|
9648
|
+
}, _errorFactory)) || _assertGuard_19._assertGuard(_exceptionable, {
|
|
7882
9649
|
method: "typia.createAssert",
|
|
7883
9650
|
path: _path + ".amount",
|
|
7884
9651
|
expected: "(number & ExclusiveMinimum<0> & Maximum<1.7976931348623157e+308>)",
|
|
@@ -7888,9 +9655,9 @@ var assertProductCatalog = /* @__PURE__ */ (() => {
|
|
|
7888
9655
|
const value = input[key];
|
|
7889
9656
|
if (void 0 === value)
|
|
7890
9657
|
return true;
|
|
7891
|
-
return void 0 === value || "string" === typeof value ||
|
|
9658
|
+
return void 0 === value || "string" === typeof value || _assertGuard_19._assertGuard(_exceptionable, {
|
|
7892
9659
|
method: "typia.createAssert",
|
|
7893
|
-
path: _path +
|
|
9660
|
+
path: _path + __typia_transform__accessExpressionAsString6(key),
|
|
7894
9661
|
expected: "(string | undefined)",
|
|
7895
9662
|
value
|
|
7896
9663
|
}, _errorFactory);
|
|
@@ -7903,7 +9670,7 @@ var assertProductCatalog = /* @__PURE__ */ (() => {
|
|
|
7903
9670
|
else if ("resource" === input.type)
|
|
7904
9671
|
return _ao4(input, _path, _exceptionable);
|
|
7905
9672
|
else
|
|
7906
|
-
return
|
|
9673
|
+
return _assertGuard_19._assertGuard(_exceptionable, {
|
|
7907
9674
|
method: "typia.createAssert",
|
|
7908
9675
|
path: _path,
|
|
7909
9676
|
expected: _ae0,
|
|
@@ -7936,12 +9703,12 @@ var assertProductCatalog = /* @__PURE__ */ (() => {
|
|
|
7936
9703
|
return (input, errorFactory) => {
|
|
7937
9704
|
if (false === __is(input)) {
|
|
7938
9705
|
_errorFactory = errorFactory;
|
|
7939
|
-
((input2, _path, _exceptionable = true) => ("object" === typeof input2 && null !== input2 ||
|
|
9706
|
+
((input2, _path, _exceptionable = true) => ("object" === typeof input2 && null !== input2 || _assertGuard_19._assertGuard(true, {
|
|
7940
9707
|
method: "typia.createAssert",
|
|
7941
9708
|
path: _path + "",
|
|
7942
9709
|
expected: "ProductCatalog",
|
|
7943
9710
|
value: input2
|
|
7944
|
-
}, _errorFactory)) && _ao0(input2, _path + "", true) ||
|
|
9711
|
+
}, _errorFactory)) && _ao0(input2, _path + "", true) || _assertGuard_19._assertGuard(true, {
|
|
7945
9712
|
method: "typia.createAssert",
|
|
7946
9713
|
path: _path + "",
|
|
7947
9714
|
expected: "ProductCatalog",
|
|
@@ -7955,107 +9722,107 @@ var assertAdPlacements = /* @__PURE__ */ (() => {
|
|
|
7955
9722
|
const _ip0 = (input) => "number" === typeof input["amount"];
|
|
7956
9723
|
const _ae0 = '(AdPlacementEntryBase & { readonly type: "banner" | "interstitial"; readonly reward?: never; } | AdPlacementEntryBase & { readonly type: "rewarded"; readonly reward?: AdReward; })';
|
|
7957
9724
|
const _ae1 = '(undefined | { readonly type: "continue"; readonly amount: number; } | { readonly type: "currency"; readonly amount: number; readonly currency: string & MinLength<1>; })';
|
|
7958
|
-
const _ap0 = (input, _path, _exceptionable = true) => "number" === typeof input["amount"] ||
|
|
9725
|
+
const _ap0 = (input, _path, _exceptionable = true) => "number" === typeof input["amount"] || _assertGuard_19._assertGuard(_exceptionable, {
|
|
7959
9726
|
method: "typia.createAssert",
|
|
7960
9727
|
path: _path + ".amount",
|
|
7961
9728
|
expected: "number",
|
|
7962
9729
|
value: input["amount"]
|
|
7963
9730
|
}, _errorFactory);
|
|
7964
9731
|
const _ae2 = '({ readonly type: "continue"; readonly amount: number; } | { readonly type: "currency"; readonly amount: number; readonly currency: string & MinLength<1>; })';
|
|
7965
|
-
const _ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.version ||
|
|
9732
|
+
const _ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.version || _assertGuard_19._assertGuard(_exceptionable, {
|
|
7966
9733
|
method: "typia.createAssert",
|
|
7967
9734
|
path: _path + ".version",
|
|
7968
9735
|
expected: "string",
|
|
7969
9736
|
value: input.version
|
|
7970
|
-
}, _errorFactory)) && ((Array.isArray(input.placements) ||
|
|
9737
|
+
}, _errorFactory)) && ((Array.isArray(input.placements) || _assertGuard_19._assertGuard(_exceptionable, {
|
|
7971
9738
|
method: "typia.createAssert",
|
|
7972
9739
|
path: _path + ".placements",
|
|
7973
9740
|
expected: "ReadonlyArray<AdPlacementEntry>",
|
|
7974
9741
|
value: input.placements
|
|
7975
|
-
}, _errorFactory)) && input.placements.every((elem, _index3) => ("object" === typeof elem && null !== elem ||
|
|
9742
|
+
}, _errorFactory)) && input.placements.every((elem, _index3) => ("object" === typeof elem && null !== elem || _assertGuard_19._assertGuard(_exceptionable, {
|
|
7976
9743
|
method: "typia.createAssert",
|
|
7977
9744
|
path: _path + ".placements[" + _index3 + "]",
|
|
7978
9745
|
expected: _ae0,
|
|
7979
9746
|
value: elem
|
|
7980
|
-
}, _errorFactory)) && _au0(elem, _path + ".placements[" + _index3 + "]", _exceptionable) ||
|
|
9747
|
+
}, _errorFactory)) && _au0(elem, _path + ".placements[" + _index3 + "]", _exceptionable) || _assertGuard_19._assertGuard(_exceptionable, {
|
|
7981
9748
|
method: "typia.createAssert",
|
|
7982
9749
|
path: _path + ".placements[" + _index3 + "]",
|
|
7983
9750
|
expected: _ae0,
|
|
7984
9751
|
value: elem
|
|
7985
|
-
}, _errorFactory)) ||
|
|
9752
|
+
}, _errorFactory)) || _assertGuard_19._assertGuard(_exceptionable, {
|
|
7986
9753
|
method: "typia.createAssert",
|
|
7987
9754
|
path: _path + ".placements",
|
|
7988
9755
|
expected: "ReadonlyArray<AdPlacementEntry>",
|
|
7989
9756
|
value: input.placements
|
|
7990
|
-
}, _errorFactory)) && (void 0 === input.sharedPlatformPlacementTargets || (Array.isArray(input.sharedPlatformPlacementTargets) ||
|
|
9757
|
+
}, _errorFactory)) && (void 0 === input.sharedPlatformPlacementTargets || (Array.isArray(input.sharedPlatformPlacementTargets) || _assertGuard_19._assertGuard(_exceptionable, {
|
|
7991
9758
|
method: "typia.createAssert",
|
|
7992
9759
|
path: _path + ".sharedPlatformPlacementTargets",
|
|
7993
9760
|
expected: "(ReadonlyArray<string> | undefined)",
|
|
7994
9761
|
value: input.sharedPlatformPlacementTargets
|
|
7995
|
-
}, _errorFactory)) && input.sharedPlatformPlacementTargets.every((elem, _index4) => "string" === typeof elem ||
|
|
9762
|
+
}, _errorFactory)) && input.sharedPlatformPlacementTargets.every((elem, _index4) => "string" === typeof elem || _assertGuard_19._assertGuard(_exceptionable, {
|
|
7996
9763
|
method: "typia.createAssert",
|
|
7997
9764
|
path: _path + ".sharedPlatformPlacementTargets[" + _index4 + "]",
|
|
7998
9765
|
expected: "string",
|
|
7999
9766
|
value: elem
|
|
8000
|
-
}, _errorFactory)) ||
|
|
9767
|
+
}, _errorFactory)) || _assertGuard_19._assertGuard(_exceptionable, {
|
|
8001
9768
|
method: "typia.createAssert",
|
|
8002
9769
|
path: _path + ".sharedPlatformPlacementTargets",
|
|
8003
9770
|
expected: "(ReadonlyArray<string> | undefined)",
|
|
8004
9771
|
value: input.sharedPlatformPlacementTargets
|
|
8005
9772
|
}, _errorFactory));
|
|
8006
|
-
const _ao1 = (input, _path, _exceptionable = true) => _ao2(input, _path, _exceptionable) && (("rewarded" === input.type ||
|
|
9773
|
+
const _ao1 = (input, _path, _exceptionable = true) => _ao2(input, _path, _exceptionable) && (("rewarded" === input.type || _assertGuard_19._assertGuard(_exceptionable, {
|
|
8007
9774
|
method: "typia.createAssert",
|
|
8008
9775
|
path: _path + ".type",
|
|
8009
9776
|
expected: '"rewarded"',
|
|
8010
9777
|
value: input.type
|
|
8011
|
-
}, _errorFactory)) && (void 0 === input.reward || ("object" === typeof input.reward && null !== input.reward ||
|
|
9778
|
+
}, _errorFactory)) && (void 0 === input.reward || ("object" === typeof input.reward && null !== input.reward || _assertGuard_19._assertGuard(_exceptionable, {
|
|
8012
9779
|
method: "typia.createAssert",
|
|
8013
9780
|
path: _path + ".reward",
|
|
8014
9781
|
expected: _ae1,
|
|
8015
9782
|
value: input.reward
|
|
8016
|
-
}, _errorFactory)) && _au1(input.reward, _path + ".reward", _exceptionable) ||
|
|
9783
|
+
}, _errorFactory)) && _au1(input.reward, _path + ".reward", _exceptionable) || _assertGuard_19._assertGuard(_exceptionable, {
|
|
8017
9784
|
method: "typia.createAssert",
|
|
8018
9785
|
path: _path + ".reward",
|
|
8019
9786
|
expected: _ae1,
|
|
8020
9787
|
value: input.reward
|
|
8021
9788
|
}, _errorFactory)));
|
|
8022
|
-
const _ao2 = (input, _path, _exceptionable = true) => ("string" === typeof input.id ||
|
|
9789
|
+
const _ao2 = (input, _path, _exceptionable = true) => ("string" === typeof input.id || _assertGuard_19._assertGuard(_exceptionable, {
|
|
8023
9790
|
method: "typia.createAssert",
|
|
8024
9791
|
path: _path + ".id",
|
|
8025
9792
|
expected: "string",
|
|
8026
9793
|
value: input.id
|
|
8027
|
-
}, _errorFactory)) && (("object" === typeof input.frequencyCap && null !== input.frequencyCap ||
|
|
9794
|
+
}, _errorFactory)) && (("object" === typeof input.frequencyCap && null !== input.frequencyCap || _assertGuard_19._assertGuard(_exceptionable, {
|
|
8028
9795
|
method: "typia.createAssert",
|
|
8029
9796
|
path: _path + ".frequencyCap",
|
|
8030
9797
|
expected: "FrequencyCap",
|
|
8031
9798
|
value: input.frequencyCap
|
|
8032
|
-
}, _errorFactory)) && _ao3(input.frequencyCap, _path + ".frequencyCap", _exceptionable) ||
|
|
9799
|
+
}, _errorFactory)) && _ao3(input.frequencyCap, _path + ".frequencyCap", _exceptionable) || _assertGuard_19._assertGuard(_exceptionable, {
|
|
8033
9800
|
method: "typia.createAssert",
|
|
8034
9801
|
path: _path + ".frequencyCap",
|
|
8035
9802
|
expected: "FrequencyCap",
|
|
8036
9803
|
value: input.frequencyCap
|
|
8037
|
-
}, _errorFactory)) && (("object" === typeof input.platformPlacementIds && null !== input.platformPlacementIds && false === Array.isArray(input.platformPlacementIds) ||
|
|
9804
|
+
}, _errorFactory)) && (("object" === typeof input.platformPlacementIds && null !== input.platformPlacementIds && false === Array.isArray(input.platformPlacementIds) || _assertGuard_19._assertGuard(_exceptionable, {
|
|
8038
9805
|
method: "typia.createAssert",
|
|
8039
9806
|
path: _path + ".platformPlacementIds",
|
|
8040
9807
|
expected: "Partial<Record<string, string>>",
|
|
8041
9808
|
value: input.platformPlacementIds
|
|
8042
|
-
}, _errorFactory)) && _ao4(input.platformPlacementIds, _path + ".platformPlacementIds", _exceptionable) ||
|
|
9809
|
+
}, _errorFactory)) && _ao4(input.platformPlacementIds, _path + ".platformPlacementIds", _exceptionable) || _assertGuard_19._assertGuard(_exceptionable, {
|
|
8043
9810
|
method: "typia.createAssert",
|
|
8044
9811
|
path: _path + ".platformPlacementIds",
|
|
8045
9812
|
expected: "Partial<Record<string, string>>",
|
|
8046
9813
|
value: input.platformPlacementIds
|
|
8047
9814
|
}, _errorFactory));
|
|
8048
|
-
const _ao3 = (input, _path, _exceptionable = true) => ("number" === typeof input.cooldownSeconds ||
|
|
9815
|
+
const _ao3 = (input, _path, _exceptionable = true) => ("number" === typeof input.cooldownSeconds || _assertGuard_19._assertGuard(_exceptionable, {
|
|
8049
9816
|
method: "typia.createAssert",
|
|
8050
9817
|
path: _path + ".cooldownSeconds",
|
|
8051
9818
|
expected: "number",
|
|
8052
9819
|
value: input.cooldownSeconds
|
|
8053
|
-
}, _errorFactory)) && (void 0 === input.maxPerSession || "number" === typeof input.maxPerSession ||
|
|
9820
|
+
}, _errorFactory)) && (void 0 === input.maxPerSession || "number" === typeof input.maxPerSession || _assertGuard_19._assertGuard(_exceptionable, {
|
|
8054
9821
|
method: "typia.createAssert",
|
|
8055
9822
|
path: _path + ".maxPerSession",
|
|
8056
9823
|
expected: "(number | undefined)",
|
|
8057
9824
|
value: input.maxPerSession
|
|
8058
|
-
}, _errorFactory)) && (void 0 === input.minStageInterval || "number" === typeof input.minStageInterval ||
|
|
9825
|
+
}, _errorFactory)) && (void 0 === input.minStageInterval || "number" === typeof input.minStageInterval || _assertGuard_19._assertGuard(_exceptionable, {
|
|
8059
9826
|
method: "typia.createAssert",
|
|
8060
9827
|
path: _path + ".minStageInterval",
|
|
8061
9828
|
expected: "(number | undefined)",
|
|
@@ -8065,46 +9832,46 @@ var assertAdPlacements = /* @__PURE__ */ (() => {
|
|
|
8065
9832
|
const value = input[key];
|
|
8066
9833
|
if (void 0 === value)
|
|
8067
9834
|
return true;
|
|
8068
|
-
return void 0 === value || "string" === typeof value ||
|
|
9835
|
+
return void 0 === value || "string" === typeof value || _assertGuard_19._assertGuard(_exceptionable, {
|
|
8069
9836
|
method: "typia.createAssert",
|
|
8070
|
-
path: _path +
|
|
9837
|
+
path: _path + __typia_transform__accessExpressionAsString6(key),
|
|
8071
9838
|
expected: "(string | undefined)",
|
|
8072
9839
|
value
|
|
8073
9840
|
}, _errorFactory);
|
|
8074
9841
|
});
|
|
8075
|
-
const _ao5 = (input, _path, _exceptionable = true) => ("continue" === input.type ||
|
|
9842
|
+
const _ao5 = (input, _path, _exceptionable = true) => ("continue" === input.type || _assertGuard_19._assertGuard(_exceptionable, {
|
|
8076
9843
|
method: "typia.createAssert",
|
|
8077
9844
|
path: _path + ".type",
|
|
8078
9845
|
expected: '"continue"',
|
|
8079
9846
|
value: input.type
|
|
8080
9847
|
}, _errorFactory)) && _ap0(input, _path, _exceptionable);
|
|
8081
|
-
const _ao6 = (input, _path, _exceptionable = true) => ("currency" === input.type ||
|
|
9848
|
+
const _ao6 = (input, _path, _exceptionable = true) => ("currency" === input.type || _assertGuard_19._assertGuard(_exceptionable, {
|
|
8082
9849
|
method: "typia.createAssert",
|
|
8083
9850
|
path: _path + ".type",
|
|
8084
9851
|
expected: '"currency"',
|
|
8085
9852
|
value: input.type
|
|
8086
|
-
}, _errorFactory)) && _ap0(input, _path, _exceptionable) && ("string" === typeof input.currency && (1 <= input.currency.length ||
|
|
9853
|
+
}, _errorFactory)) && _ap0(input, _path, _exceptionable) && ("string" === typeof input.currency && (1 <= input.currency.length || _assertGuard_19._assertGuard(_exceptionable, {
|
|
8087
9854
|
method: "typia.createAssert",
|
|
8088
9855
|
path: _path + ".currency",
|
|
8089
9856
|
expected: "string & MinLength<1>",
|
|
8090
9857
|
value: input.currency
|
|
8091
|
-
}, _errorFactory)) ||
|
|
9858
|
+
}, _errorFactory)) || _assertGuard_19._assertGuard(_exceptionable, {
|
|
8092
9859
|
method: "typia.createAssert",
|
|
8093
9860
|
path: _path + ".currency",
|
|
8094
9861
|
expected: "(string & MinLength<1>)",
|
|
8095
9862
|
value: input.currency
|
|
8096
9863
|
}, _errorFactory));
|
|
8097
|
-
const _ao7 = (input, _path, _exceptionable = true) => _ao2(input, _path, _exceptionable) && (("banner" === input.type || "interstitial" === input.type ||
|
|
9864
|
+
const _ao7 = (input, _path, _exceptionable = true) => _ao2(input, _path, _exceptionable) && (("banner" === input.type || "interstitial" === input.type || _assertGuard_19._assertGuard(_exceptionable, {
|
|
8098
9865
|
method: "typia.createAssert",
|
|
8099
9866
|
path: _path + ".type",
|
|
8100
9867
|
expected: '("banner" | "interstitial")',
|
|
8101
9868
|
value: input.type
|
|
8102
|
-
}, _errorFactory)) && ((null !== input.reward ||
|
|
9869
|
+
}, _errorFactory)) && ((null !== input.reward || _assertGuard_19._assertGuard(_exceptionable, {
|
|
8103
9870
|
method: "typia.createAssert",
|
|
8104
9871
|
path: _path + ".reward",
|
|
8105
9872
|
expected: "undefined",
|
|
8106
9873
|
value: input.reward
|
|
8107
|
-
}, _errorFactory)) && (void 0 === input.reward ||
|
|
9874
|
+
}, _errorFactory)) && (void 0 === input.reward || _assertGuard_19._assertGuard(_exceptionable, {
|
|
8108
9875
|
method: "typia.createAssert",
|
|
8109
9876
|
path: _path + ".reward",
|
|
8110
9877
|
expected: "undefined",
|
|
@@ -8116,7 +9883,7 @@ var assertAdPlacements = /* @__PURE__ */ (() => {
|
|
|
8116
9883
|
else if ("rewarded" === input.type)
|
|
8117
9884
|
return _ao1(input, _path, _exceptionable);
|
|
8118
9885
|
else
|
|
8119
|
-
return
|
|
9886
|
+
return _assertGuard_19._assertGuard(_exceptionable, {
|
|
8120
9887
|
method: "typia.createAssert",
|
|
8121
9888
|
path: _path,
|
|
8122
9889
|
expected: _ae0,
|
|
@@ -8129,7 +9896,7 @@ var assertAdPlacements = /* @__PURE__ */ (() => {
|
|
|
8129
9896
|
else if ("currency" === input.type)
|
|
8130
9897
|
return _ao6(input, _path, _exceptionable);
|
|
8131
9898
|
else
|
|
8132
|
-
return
|
|
9899
|
+
return _assertGuard_19._assertGuard(_exceptionable, {
|
|
8133
9900
|
method: "typia.createAssert",
|
|
8134
9901
|
path: _path,
|
|
8135
9902
|
expected: _ae2,
|
|
@@ -8170,12 +9937,12 @@ var assertAdPlacements = /* @__PURE__ */ (() => {
|
|
|
8170
9937
|
return (input, errorFactory) => {
|
|
8171
9938
|
if (false === __is(input)) {
|
|
8172
9939
|
_errorFactory = errorFactory;
|
|
8173
|
-
((input2, _path, _exceptionable = true) => ("object" === typeof input2 && null !== input2 ||
|
|
9940
|
+
((input2, _path, _exceptionable = true) => ("object" === typeof input2 && null !== input2 || _assertGuard_19._assertGuard(true, {
|
|
8174
9941
|
method: "typia.createAssert",
|
|
8175
9942
|
path: _path + "",
|
|
8176
9943
|
expected: "AdPlacements",
|
|
8177
9944
|
value: input2
|
|
8178
|
-
}, _errorFactory)) && _ao0(input2, _path + "", true) ||
|
|
9945
|
+
}, _errorFactory)) && _ao0(input2, _path + "", true) || _assertGuard_19._assertGuard(true, {
|
|
8179
9946
|
method: "typia.createAssert",
|
|
8180
9947
|
path: _path + "",
|
|
8181
9948
|
expected: "AdPlacements",
|
|
@@ -14664,7 +16431,7 @@ function requireString(value, label) {
|
|
|
14664
16431
|
return value;
|
|
14665
16432
|
}
|
|
14666
16433
|
|
|
14667
|
-
// node_modules/.cache/mpgd-native-build/
|
|
16434
|
+
// node_modules/.cache/mpgd-native-build/packages/cli/src/command-launcher.js
|
|
14668
16435
|
function resolveNativeCommandLaunch(input) {
|
|
14669
16436
|
if ((input.platform ?? process.platform) !== "win32") {
|
|
14670
16437
|
return { command: input.command, args: input.args };
|
|
@@ -14675,13 +16442,17 @@ function resolveNativeCommandLaunch(input) {
|
|
|
14675
16442
|
if (input.command !== "pnpm") {
|
|
14676
16443
|
return { command: input.command, args: input.args };
|
|
14677
16444
|
}
|
|
14678
|
-
const
|
|
14679
|
-
|
|
14680
|
-
|
|
16445
|
+
const pnpmEntry = input.environment.npm_execpath;
|
|
16446
|
+
const pnpmBase = pnpmEntry?.split(/[\\/]/u).at(-1) ?? "";
|
|
16447
|
+
if (pnpmEntry === void 0 || !/^pnpm(?:\.exe|\.[cm]?js)$/iu.test(pnpmBase)) {
|
|
16448
|
+
throw new Error("Windows builds require pnpm exec mpgd so npm_execpath resolves the pnpm executable or JavaScript entrypoint.");
|
|
16449
|
+
}
|
|
16450
|
+
if (/\.exe$/iu.test(pnpmEntry)) {
|
|
16451
|
+
return { command: pnpmEntry, args: input.args };
|
|
14681
16452
|
}
|
|
14682
16453
|
return {
|
|
14683
16454
|
command: input.nodeExecutable ?? process.execPath,
|
|
14684
|
-
args: [
|
|
16455
|
+
args: [pnpmEntry, ...input.args]
|
|
14685
16456
|
};
|
|
14686
16457
|
}
|
|
14687
16458
|
|