@mpgd/cli 0.64.0 → 0.66.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/native-build-info.json +2 -2
- package/dist/native-build-target.js +104 -82
- package/dist/production-target-readiness.js +9 -2
- package/package.json +20 -20
- package/templates/lite-overlay/README.md +4 -0
- package/templates/lite-overlay/apps/target-devvit/README.md +10 -0
- package/templates/notifications-overlay/common/src/platform/notificationBackend.ts +5 -1
- package/templates/phaser-game/README.md +32 -3
- package/templates/phaser-game/apps/target-ait/package.json +2 -2
- package/templates/phaser-game/apps/target-cloudflare-pages/package.json +2 -2
- package/templates/phaser-game/apps/target-devvit/README.md +10 -0
- package/templates/phaser-game/apps/target-devvit/package.json +2 -2
- package/templates/phaser-game/package.json +2 -2
- package/templates/phaser-game/src/i18n/messages.ts +3 -0
- package/templates/phaser-game/src/main.ts +42 -0
- package/templates/phaser-game/src/platform/buildGateways/capacitorAndroid.ts +5 -0
- package/templates/phaser-game/src/platform/buildGateways/capacitorIos.ts +5 -0
- package/templates/phaser-game/src/platform/commerceAccountBinding.ts +81 -1
- package/templates/phaser-game/src/platform/deleteAccount.ts +6 -1
- package/templates/phaser-game/src/platform/gameServices.ts +94 -7
- package/templates/phaser-game/src/platform/guestIdentity.ts +4 -3
- package/templates/phaser-game/src/platform/monetizationJournal.ts +127 -5
- package/templates/phaser-game/src/platform/sessionGatedServices.ts +149 -21
- package/templates/phaser-game/src/styles.css +12 -0
|
@@ -2623,6 +2623,13 @@ async function assertAssetPackNativeArtifact(report, artifact) {
|
|
|
2623
2623
|
import { existsSync as existsSync2, readFileSync as readFileSync2, realpathSync as realpathSync2 } from "node:fs";
|
|
2624
2624
|
import { isIP } from "node:net";
|
|
2625
2625
|
import path from "node:path";
|
|
2626
|
+
|
|
2627
|
+
// node_modules/.cache/mpgd-native-build/packages/platform/src/routes.js
|
|
2628
|
+
function isHostedGameServicesPath(value) {
|
|
2629
|
+
return value === value.trim() && /^\/api(?:\/[A-Za-z0-9_-]+)*\/?$/u.test(value);
|
|
2630
|
+
}
|
|
2631
|
+
|
|
2632
|
+
// node_modules/.cache/mpgd-native-build/packages/cli/src/production-target-readiness.js
|
|
2626
2633
|
var wechatStagingAppId = "wx0000000000000000";
|
|
2627
2634
|
var ownerPathByTarget = {
|
|
2628
2635
|
ait: "wrapperApp",
|
|
@@ -2654,7 +2661,7 @@ function assertProductionTargetReadiness(input) {
|
|
|
2654
2661
|
}
|
|
2655
2662
|
if (ownerPathKey === void 0) {
|
|
2656
2663
|
if (requiresMonetizationAuthority || targetConfig.authoritativeGameServices !== false) {
|
|
2657
|
-
assertAuthoritativeGameServicesUrl(input.gameServicesUrl, input.target);
|
|
2664
|
+
assertAuthoritativeGameServicesUrl(input.gameServicesUrl, input.target, targetConfig.kind === "web" && requiresWebMonetizationAuthority);
|
|
2658
2665
|
}
|
|
2659
2666
|
return;
|
|
2660
2667
|
}
|
|
@@ -2761,10 +2768,13 @@ function readCanonicalPathAllowingMissingTail(candidate, label) {
|
|
|
2761
2768
|
}
|
|
2762
2769
|
return path.join(readCanonicalPath(existingPath, label), ...missingSegments);
|
|
2763
2770
|
}
|
|
2764
|
-
function assertAuthoritativeGameServicesUrl(value, target2) {
|
|
2771
|
+
function assertAuthoritativeGameServicesUrl(value, target2, allowSameOrigin = false) {
|
|
2765
2772
|
if (value === void 0 || value.length === 0) {
|
|
2766
2773
|
throw new Error(`Production target ${target2} requires VITE_MPGD_GAME_SERVICES_URL for an authoritative remote backend.`);
|
|
2767
2774
|
}
|
|
2775
|
+
if (allowSameOrigin && isHostedGameServicesPath(value)) {
|
|
2776
|
+
return;
|
|
2777
|
+
}
|
|
2768
2778
|
let url;
|
|
2769
2779
|
try {
|
|
2770
2780
|
url = new URL(value);
|
|
@@ -4445,12 +4455,16 @@ function requireOutput2(result, purpose, width) {
|
|
|
4445
4455
|
}
|
|
4446
4456
|
|
|
4447
4457
|
// node_modules/.cache/mpgd-native-build/packages/target-config/src/index.js
|
|
4458
|
+
import * as _isMultipleOf_12 from "typia/lib/internal/_isMultipleOf";
|
|
4448
4459
|
import * as _assertGuard_15 from "typia/lib/internal/_assertGuard";
|
|
4460
|
+
import * as _stringLengthGte_16 from "typia/lib/internal/_stringLengthGte";
|
|
4449
4461
|
import * as _accessExpressionAsString_16 from "typia/lib/internal/_accessExpressionAsString";
|
|
4450
4462
|
import typia7 from "typia";
|
|
4451
4463
|
|
|
4452
4464
|
// node_modules/.cache/mpgd-native-build/packages/catalog/src/index.js
|
|
4465
|
+
import * as _isMultipleOf_1 from "typia/lib/internal/_isMultipleOf";
|
|
4453
4466
|
import * as _assertGuard_14 from "typia/lib/internal/_assertGuard";
|
|
4467
|
+
import * as _stringLengthGte_15 from "typia/lib/internal/_stringLengthGte";
|
|
4454
4468
|
import * as _accessExpressionAsString_15 from "typia/lib/internal/_accessExpressionAsString";
|
|
4455
4469
|
import typia5 from "typia";
|
|
4456
4470
|
|
|
@@ -4460,6 +4474,7 @@ import * as _isFormatDateTime_1 from "typia/lib/internal/_isFormatDateTime";
|
|
|
4460
4474
|
import * as _isFormatDate_1 from "typia/lib/internal/_isFormatDate";
|
|
4461
4475
|
import * as _assertGuard_1 from "typia/lib/internal/_assertGuard";
|
|
4462
4476
|
import * as _accessExpressionAsString_1 from "typia/lib/internal/_accessExpressionAsString";
|
|
4477
|
+
import * as _stringLengthGte_1 from "typia/lib/internal/_stringLengthGte";
|
|
4463
4478
|
import typia from "typia";
|
|
4464
4479
|
|
|
4465
4480
|
// node_modules/.cache/mpgd-native-build/packages/platform/src/notifications-policy.js
|
|
@@ -4748,15 +4763,15 @@ function withStrictTimes(what, assert, fields) {
|
|
|
4748
4763
|
};
|
|
4749
4764
|
}
|
|
4750
4765
|
var assertLocalNotificationRequestShape = withStrictTimes("local reminder request", /* @__PURE__ */ (() => {
|
|
4751
|
-
const _ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.key && (
|
|
4766
|
+
const _ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.key && (_stringLengthGte_1._stringLengthGte(input.key, 1) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
4752
4767
|
method: "typia.createAssertEquals",
|
|
4753
4768
|
path: _path + ".key",
|
|
4754
|
-
expected: "string &
|
|
4769
|
+
expected: "string & MinLength<1>",
|
|
4755
4770
|
value: input.key
|
|
4756
4771
|
}, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
4757
4772
|
method: "typia.createAssertEquals",
|
|
4758
4773
|
path: _path + ".key",
|
|
4759
|
-
expected: "(string &
|
|
4774
|
+
expected: "(string & MinLength<1>)",
|
|
4760
4775
|
value: input.key
|
|
4761
4776
|
}, _errorFactory)) && ("string" === typeof input.topic || _assertGuard_1._assertGuard(_exceptionable, {
|
|
4762
4777
|
method: "typia.createAssertEquals",
|
|
@@ -4766,12 +4781,12 @@ var assertLocalNotificationRequestShape = withStrictTimes("local reminder reques
|
|
|
4766
4781
|
}, _errorFactory)) && ("string" === typeof input.fireAt && (_isFormatDateTime_1._isFormatDateTime(input.fireAt) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
4767
4782
|
method: "typia.createAssertEquals",
|
|
4768
4783
|
path: _path + ".fireAt",
|
|
4769
|
-
expected:
|
|
4784
|
+
expected: 'string & Format<"date-time">',
|
|
4770
4785
|
value: input.fireAt
|
|
4771
4786
|
}, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
4772
4787
|
method: "typia.createAssertEquals",
|
|
4773
4788
|
path: _path + ".fireAt",
|
|
4774
|
-
expected:
|
|
4789
|
+
expected: '(string & Format<"date-time">)',
|
|
4775
4790
|
value: input.fireAt
|
|
4776
4791
|
}, _errorFactory)) && ("string" === typeof input.title || _assertGuard_1._assertGuard(_exceptionable, {
|
|
4777
4792
|
method: "typia.createAssertEquals",
|
|
@@ -4801,7 +4816,7 @@ var assertLocalNotificationRequestShape = withStrictTimes("local reminder reques
|
|
|
4801
4816
|
value
|
|
4802
4817
|
}, _errorFactory);
|
|
4803
4818
|
})));
|
|
4804
|
-
const _io0 = (input, _exceptionable = true) => "string" === typeof input.key &&
|
|
4819
|
+
const _io0 = (input, _exceptionable = true) => "string" === typeof input.key && _stringLengthGte_1._stringLengthGte(input.key, 1) && "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) => {
|
|
4805
4820
|
if (["key", "topic", "fireAt", "title", "body", "route"].some((prop) => key === prop))
|
|
4806
4821
|
return true;
|
|
4807
4822
|
const value = input[key];
|
|
@@ -4830,15 +4845,15 @@ var assertLocalNotificationRequestShape = withStrictTimes("local reminder reques
|
|
|
4830
4845
|
};
|
|
4831
4846
|
})(), notificationTimeFields.LocalNotificationRequest);
|
|
4832
4847
|
var assertLocalNotificationEntry = withStrictTimes("local reminder entry", /* @__PURE__ */ (() => {
|
|
4833
|
-
const _ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.key && (
|
|
4848
|
+
const _ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.key && (_stringLengthGte_1._stringLengthGte(input.key, 1) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
4834
4849
|
method: "typia.createAssertEquals",
|
|
4835
4850
|
path: _path + ".key",
|
|
4836
|
-
expected: "string &
|
|
4851
|
+
expected: "string & MinLength<1>",
|
|
4837
4852
|
value: input.key
|
|
4838
4853
|
}, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
4839
4854
|
method: "typia.createAssertEquals",
|
|
4840
4855
|
path: _path + ".key",
|
|
4841
|
-
expected: "(string &
|
|
4856
|
+
expected: "(string & MinLength<1>)",
|
|
4842
4857
|
value: input.key
|
|
4843
4858
|
}, _errorFactory)) && ("string" === typeof input.topic || _assertGuard_1._assertGuard(_exceptionable, {
|
|
4844
4859
|
method: "typia.createAssertEquals",
|
|
@@ -4848,12 +4863,12 @@ var assertLocalNotificationEntry = withStrictTimes("local reminder entry", /* @_
|
|
|
4848
4863
|
}, _errorFactory)) && ("string" === typeof input.fireAt && (_isFormatDateTime_1._isFormatDateTime(input.fireAt) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
4849
4864
|
method: "typia.createAssertEquals",
|
|
4850
4865
|
path: _path + ".fireAt",
|
|
4851
|
-
expected:
|
|
4866
|
+
expected: 'string & Format<"date-time">',
|
|
4852
4867
|
value: input.fireAt
|
|
4853
4868
|
}, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
4854
4869
|
method: "typia.createAssertEquals",
|
|
4855
4870
|
path: _path + ".fireAt",
|
|
4856
|
-
expected:
|
|
4871
|
+
expected: '(string & Format<"date-time">)',
|
|
4857
4872
|
value: input.fireAt
|
|
4858
4873
|
}, _errorFactory)) && (3 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every((key) => {
|
|
4859
4874
|
if (["key", "topic", "fireAt"].some((prop) => key === prop))
|
|
@@ -4868,7 +4883,7 @@ var assertLocalNotificationEntry = withStrictTimes("local reminder entry", /* @_
|
|
|
4868
4883
|
value
|
|
4869
4884
|
}, _errorFactory);
|
|
4870
4885
|
})));
|
|
4871
|
-
const _io0 = (input, _exceptionable = true) => "string" === typeof input.key &&
|
|
4886
|
+
const _io0 = (input, _exceptionable = true) => "string" === typeof input.key && _stringLengthGte_1._stringLengthGte(input.key, 1) && "string" === typeof input.topic && ("string" === typeof input.fireAt && _isFormatDateTime_1._isFormatDateTime(input.fireAt)) && (3 === Object.keys(input).length || Object.keys(input).every((key) => {
|
|
4872
4887
|
if (["key", "topic", "fireAt"].some((prop) => key === prop))
|
|
4873
4888
|
return true;
|
|
4874
4889
|
const value = input[key];
|
|
@@ -5011,7 +5026,7 @@ var assertNotificationConsentRecord = withStrictTimes("consent record", /* @__PU
|
|
|
5011
5026
|
path: _path + ".kind",
|
|
5012
5027
|
expected: '"host-agreement"',
|
|
5013
5028
|
value: input.kind
|
|
5014
|
-
}, _errorFactory)) && ("string" === typeof input.topic && (
|
|
5029
|
+
}, _errorFactory)) && ("string" === typeof input.topic && (_stringLengthGte_1._stringLengthGte(input.topic, 1) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5015
5030
|
method: "typia.createAssertEquals",
|
|
5016
5031
|
path: _path + ".topic",
|
|
5017
5032
|
expected: "string & MinLength<1>",
|
|
@@ -5079,7 +5094,7 @@ var assertNotificationConsentRecord = withStrictTimes("consent record", /* @__PU
|
|
|
5079
5094
|
path: _path + ".kind",
|
|
5080
5095
|
expected: '"topic-preference"',
|
|
5081
5096
|
value: input.kind
|
|
5082
|
-
}, _errorFactory)) && ("string" === typeof input.topic && (
|
|
5097
|
+
}, _errorFactory)) && ("string" === typeof input.topic && (_stringLengthGte_1._stringLengthGte(input.topic, 1) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5083
5098
|
method: "typia.createAssertEquals",
|
|
5084
5099
|
path: _path + ".topic",
|
|
5085
5100
|
expected: "string & MinLength<1>",
|
|
@@ -5187,7 +5202,7 @@ var assertNotificationConsentRecord = withStrictTimes("consent record", /* @__PU
|
|
|
5187
5202
|
path: _path + ".evidence",
|
|
5188
5203
|
expected: "undefined",
|
|
5189
5204
|
value: input.evidence
|
|
5190
|
-
}, _errorFactory))) && ("string" === typeof input.textVersion && (
|
|
5205
|
+
}, _errorFactory))) && ("string" === typeof input.textVersion && (_stringLengthGte_1._stringLengthGte(input.textVersion, 1) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5191
5206
|
method: "typia.createAssertEquals",
|
|
5192
5207
|
path: _path + ".textVersion",
|
|
5193
5208
|
expected: "string & MinLength<1>",
|
|
@@ -5249,7 +5264,7 @@ var assertNotificationConsentRecord = withStrictTimes("consent record", /* @__PU
|
|
|
5249
5264
|
return true;
|
|
5250
5265
|
return "string" === typeof value || "number" === typeof value || "boolean" === typeof value;
|
|
5251
5266
|
});
|
|
5252
|
-
const _io3 = (input, _exceptionable = true) => "host-agreement" === input.kind && ("string" === typeof input.topic &&
|
|
5267
|
+
const _io3 = (input, _exceptionable = true) => "host-agreement" === input.kind && ("string" === typeof input.topic && _stringLengthGte_1._stringLengthGte(input.topic, 1)) && ("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) => {
|
|
5253
5268
|
if (["kind", "topic", "state", "source", "at", "evidence", "textVersion"].some((prop) => key === prop))
|
|
5254
5269
|
return true;
|
|
5255
5270
|
const value = input[key];
|
|
@@ -5257,7 +5272,7 @@ var assertNotificationConsentRecord = withStrictTimes("consent record", /* @__PU
|
|
|
5257
5272
|
return true;
|
|
5258
5273
|
return false;
|
|
5259
5274
|
}));
|
|
5260
|
-
const _io4 = (input, _exceptionable = true) => "topic-preference" === input.kind && ("string" === typeof input.topic &&
|
|
5275
|
+
const _io4 = (input, _exceptionable = true) => "topic-preference" === input.kind && ("string" === typeof input.topic && _stringLengthGte_1._stringLengthGte(input.topic, 1)) && ("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) => {
|
|
5261
5276
|
if (["kind", "topic", "state", "source", "at", "evidence", "textVersion"].some((prop) => key === prop))
|
|
5262
5277
|
return true;
|
|
5263
5278
|
const value = input[key];
|
|
@@ -5265,7 +5280,7 @@ var assertNotificationConsentRecord = withStrictTimes("consent record", /* @__PU
|
|
|
5265
5280
|
return true;
|
|
5266
5281
|
return false;
|
|
5267
5282
|
}));
|
|
5268
|
-
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 &&
|
|
5283
|
+
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 && _stringLengthGte_1._stringLengthGte(input.textVersion, 1)) && (5 === Object.keys(input).length || Object.keys(input).every((key) => {
|
|
5269
5284
|
if (["kind", "topic", "state", "source", "at", "evidence", "textVersion"].some((prop) => key === prop))
|
|
5270
5285
|
return true;
|
|
5271
5286
|
const value = input[key];
|
|
@@ -5371,7 +5386,7 @@ var assertNotificationNotice = withStrictTimes("notice", /* @__PURE__ */ (() =>
|
|
|
5371
5386
|
path: _path + ".at",
|
|
5372
5387
|
expected: '(string & Format<"date-time">)',
|
|
5373
5388
|
value: input.at
|
|
5374
|
-
}, _errorFactory)) && (void 0 === input.textVersion || "string" === typeof input.textVersion && (
|
|
5389
|
+
}, _errorFactory)) && (void 0 === input.textVersion || "string" === typeof input.textVersion && (_stringLengthGte_1._stringLengthGte(input.textVersion, 1) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5375
5390
|
method: "typia.createAssertEquals",
|
|
5376
5391
|
path: _path + ".textVersion",
|
|
5377
5392
|
expected: "string & MinLength<1>",
|
|
@@ -5402,7 +5417,7 @@ var assertNotificationNotice = withStrictTimes("notice", /* @__PURE__ */ (() =>
|
|
|
5402
5417
|
return true;
|
|
5403
5418
|
return false;
|
|
5404
5419
|
}));
|
|
5405
|
-
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 &&
|
|
5420
|
+
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 && _stringLengthGte_1._stringLengthGte(input.textVersion, 1)) && (3 === Object.keys(input).length || Object.keys(input).every((key) => {
|
|
5406
5421
|
if (["kind", "state", "at", "textVersion"].some((prop) => key === prop))
|
|
5407
5422
|
return true;
|
|
5408
5423
|
const value = input[key];
|
|
@@ -5496,7 +5511,7 @@ var assertRecordNotificationNoticeInput = withStrictTimes("notice to record", /*
|
|
|
5496
5511
|
path: _path + ".at",
|
|
5497
5512
|
expected: '(string & Format<"date-time">)',
|
|
5498
5513
|
value: input.at
|
|
5499
|
-
}, _errorFactory)) && (void 0 === input.textVersion || "string" === typeof input.textVersion && (
|
|
5514
|
+
}, _errorFactory)) && (void 0 === input.textVersion || "string" === typeof input.textVersion && (_stringLengthGte_1._stringLengthGte(input.textVersion, 1) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5500
5515
|
method: "typia.createAssertEquals",
|
|
5501
5516
|
path: _path + ".textVersion",
|
|
5502
5517
|
expected: "string & MinLength<1>",
|
|
@@ -5599,7 +5614,7 @@ var assertRecordNotificationNoticeInput = withStrictTimes("notice to record", /*
|
|
|
5599
5614
|
return true;
|
|
5600
5615
|
return false;
|
|
5601
5616
|
}));
|
|
5602
|
-
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 &&
|
|
5617
|
+
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 && _stringLengthGte_1._stringLengthGte(input.textVersion, 1)) && (3 === Object.keys(input).length || Object.keys(input).every((key) => {
|
|
5603
5618
|
if (["kind", "state", "at", "textVersion"].some((prop) => key === prop))
|
|
5604
5619
|
return true;
|
|
5605
5620
|
const value = input[key];
|
|
@@ -5683,15 +5698,15 @@ var assertNotificationBridgeListLocalResult = withStrictTimes("listLocal result"
|
|
|
5683
5698
|
value
|
|
5684
5699
|
}, _errorFactory);
|
|
5685
5700
|
})));
|
|
5686
|
-
const _ao1 = (input, _path, _exceptionable = true) => ("string" === typeof input.key && (
|
|
5701
|
+
const _ao1 = (input, _path, _exceptionable = true) => ("string" === typeof input.key && (_stringLengthGte_1._stringLengthGte(input.key, 1) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5687
5702
|
method: "typia.createAssertEquals",
|
|
5688
5703
|
path: _path + ".key",
|
|
5689
|
-
expected: "string &
|
|
5704
|
+
expected: "string & MinLength<1>",
|
|
5690
5705
|
value: input.key
|
|
5691
5706
|
}, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5692
5707
|
method: "typia.createAssertEquals",
|
|
5693
5708
|
path: _path + ".key",
|
|
5694
|
-
expected: "(string &
|
|
5709
|
+
expected: "(string & MinLength<1>)",
|
|
5695
5710
|
value: input.key
|
|
5696
5711
|
}, _errorFactory)) && ("string" === typeof input.topic || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5697
5712
|
method: "typia.createAssertEquals",
|
|
@@ -5701,12 +5716,12 @@ var assertNotificationBridgeListLocalResult = withStrictTimes("listLocal result"
|
|
|
5701
5716
|
}, _errorFactory)) && ("string" === typeof input.fireAt && (_isFormatDateTime_1._isFormatDateTime(input.fireAt) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5702
5717
|
method: "typia.createAssertEquals",
|
|
5703
5718
|
path: _path + ".fireAt",
|
|
5704
|
-
expected:
|
|
5719
|
+
expected: 'string & Format<"date-time">',
|
|
5705
5720
|
value: input.fireAt
|
|
5706
5721
|
}, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5707
5722
|
method: "typia.createAssertEquals",
|
|
5708
5723
|
path: _path + ".fireAt",
|
|
5709
|
-
expected:
|
|
5724
|
+
expected: '(string & Format<"date-time">)',
|
|
5710
5725
|
value: input.fireAt
|
|
5711
5726
|
}, _errorFactory)) && (3 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every((key) => {
|
|
5712
5727
|
if (["key", "topic", "fireAt"].some((prop) => key === prop))
|
|
@@ -5729,7 +5744,7 @@ var assertNotificationBridgeListLocalResult = withStrictTimes("listLocal result"
|
|
|
5729
5744
|
return true;
|
|
5730
5745
|
return false;
|
|
5731
5746
|
}));
|
|
5732
|
-
const _io1 = (input, _exceptionable = true) => "string" === typeof input.key &&
|
|
5747
|
+
const _io1 = (input, _exceptionable = true) => "string" === typeof input.key && _stringLengthGte_1._stringLengthGte(input.key, 1) && "string" === typeof input.topic && ("string" === typeof input.fireAt && _isFormatDateTime_1._isFormatDateTime(input.fireAt)) && (3 === Object.keys(input).length || Object.keys(input).every((key) => {
|
|
5733
5748
|
if (["key", "topic", "fireAt"].some((prop) => key === prop))
|
|
5734
5749
|
return true;
|
|
5735
5750
|
const value = input[key];
|
|
@@ -5760,7 +5775,7 @@ var assertNotificationBridgeListLocalResult = withStrictTimes("listLocal result"
|
|
|
5760
5775
|
var assertNotificationBackendBridgeRecordConsentPayload = withStrictTimes("recordConsent payload", /* @__PURE__ */ (() => {
|
|
5761
5776
|
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; })';
|
|
5762
5777
|
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; })';
|
|
5763
|
-
const _ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.expectedPlayer && (
|
|
5778
|
+
const _ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.expectedPlayer && (_stringLengthGte_1._stringLengthGte(input.expectedPlayer, 1) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5764
5779
|
method: "typia.createAssertEquals",
|
|
5765
5780
|
path: _path + ".expectedPlayer",
|
|
5766
5781
|
expected: "string & MinLength<1>",
|
|
@@ -5905,7 +5920,7 @@ var assertNotificationBackendBridgeRecordConsentPayload = withStrictTimes("recor
|
|
|
5905
5920
|
path: _path + ".kind",
|
|
5906
5921
|
expected: '"host-agreement"',
|
|
5907
5922
|
value: input.kind
|
|
5908
|
-
}, _errorFactory)) && ("string" === typeof input.topic && (
|
|
5923
|
+
}, _errorFactory)) && ("string" === typeof input.topic && (_stringLengthGte_1._stringLengthGte(input.topic, 1) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5909
5924
|
method: "typia.createAssertEquals",
|
|
5910
5925
|
path: _path + ".topic",
|
|
5911
5926
|
expected: "string & MinLength<1>",
|
|
@@ -5973,7 +5988,7 @@ var assertNotificationBackendBridgeRecordConsentPayload = withStrictTimes("recor
|
|
|
5973
5988
|
path: _path + ".kind",
|
|
5974
5989
|
expected: '"topic-preference"',
|
|
5975
5990
|
value: input.kind
|
|
5976
|
-
}, _errorFactory)) && ("string" === typeof input.topic && (
|
|
5991
|
+
}, _errorFactory)) && ("string" === typeof input.topic && (_stringLengthGte_1._stringLengthGte(input.topic, 1) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5977
5992
|
method: "typia.createAssertEquals",
|
|
5978
5993
|
path: _path + ".topic",
|
|
5979
5994
|
expected: "string & MinLength<1>",
|
|
@@ -6081,7 +6096,7 @@ var assertNotificationBackendBridgeRecordConsentPayload = withStrictTimes("recor
|
|
|
6081
6096
|
path: _path + ".evidence",
|
|
6082
6097
|
expected: "undefined",
|
|
6083
6098
|
value: input.evidence
|
|
6084
|
-
}, _errorFactory))) && ("string" === typeof input.textVersion && (
|
|
6099
|
+
}, _errorFactory))) && ("string" === typeof input.textVersion && (_stringLengthGte_1._stringLengthGte(input.textVersion, 1) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
6085
6100
|
method: "typia.createAssertEquals",
|
|
6086
6101
|
path: _path + ".textVersion",
|
|
6087
6102
|
expected: "string & MinLength<1>",
|
|
@@ -6121,7 +6136,7 @@ var assertNotificationBackendBridgeRecordConsentPayload = withStrictTimes("recor
|
|
|
6121
6136
|
value: input
|
|
6122
6137
|
}, _errorFactory);
|
|
6123
6138
|
})();
|
|
6124
|
-
const _io0 = (input, _exceptionable = true) => "string" === typeof input.expectedPlayer &&
|
|
6139
|
+
const _io0 = (input, _exceptionable = true) => "string" === typeof input.expectedPlayer && _stringLengthGte_1._stringLengthGte(input.expectedPlayer, 1) && ("object" === typeof input.record && null !== input.record && _iu0(input.record, _exceptionable)) && (2 === Object.keys(input).length || Object.keys(input).every((key) => {
|
|
6125
6140
|
if (["expectedPlayer", "record"].some((prop) => key === prop))
|
|
6126
6141
|
return true;
|
|
6127
6142
|
const value = input[key];
|
|
@@ -6151,7 +6166,7 @@ var assertNotificationBackendBridgeRecordConsentPayload = withStrictTimes("recor
|
|
|
6151
6166
|
return true;
|
|
6152
6167
|
return "string" === typeof value || "number" === typeof value || "boolean" === typeof value;
|
|
6153
6168
|
});
|
|
6154
|
-
const _io4 = (input, _exceptionable = true) => "host-agreement" === input.kind && ("string" === typeof input.topic &&
|
|
6169
|
+
const _io4 = (input, _exceptionable = true) => "host-agreement" === input.kind && ("string" === typeof input.topic && _stringLengthGte_1._stringLengthGte(input.topic, 1)) && ("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 && _io2(input.evidence, _exceptionable)) && (null !== input.textVersion && void 0 === input.textVersion) && (5 === Object.keys(input).length || Object.keys(input).every((key) => {
|
|
6155
6170
|
if (["kind", "topic", "state", "source", "at", "evidence", "textVersion"].some((prop) => key === prop))
|
|
6156
6171
|
return true;
|
|
6157
6172
|
const value = input[key];
|
|
@@ -6159,7 +6174,7 @@ var assertNotificationBackendBridgeRecordConsentPayload = withStrictTimes("recor
|
|
|
6159
6174
|
return true;
|
|
6160
6175
|
return false;
|
|
6161
6176
|
}));
|
|
6162
|
-
const _io5 = (input, _exceptionable = true) => "topic-preference" === input.kind && ("string" === typeof input.topic &&
|
|
6177
|
+
const _io5 = (input, _exceptionable = true) => "topic-preference" === input.kind && ("string" === typeof input.topic && _stringLengthGte_1._stringLengthGte(input.topic, 1)) && ("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) => {
|
|
6163
6178
|
if (["kind", "topic", "state", "source", "at", "evidence", "textVersion"].some((prop) => key === prop))
|
|
6164
6179
|
return true;
|
|
6165
6180
|
const value = input[key];
|
|
@@ -6167,7 +6182,7 @@ var assertNotificationBackendBridgeRecordConsentPayload = withStrictTimes("recor
|
|
|
6167
6182
|
return true;
|
|
6168
6183
|
return false;
|
|
6169
6184
|
}));
|
|
6170
|
-
const _io6 = (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 &&
|
|
6185
|
+
const _io6 = (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 && _stringLengthGte_1._stringLengthGte(input.textVersion, 1)) && (5 === Object.keys(input).length || Object.keys(input).every((key) => {
|
|
6171
6186
|
if (["kind", "topic", "state", "source", "at", "evidence", "textVersion"].some((prop) => key === prop))
|
|
6172
6187
|
return true;
|
|
6173
6188
|
const value = input[key];
|
|
@@ -6345,7 +6360,7 @@ var assertNotificationBackendBridgeRecordConsentResult = withStrictTimes("record
|
|
|
6345
6360
|
path: _path + ".kind",
|
|
6346
6361
|
expected: '"host-agreement"',
|
|
6347
6362
|
value: input.kind
|
|
6348
|
-
}, _errorFactory)) && ("string" === typeof input.topic && (
|
|
6363
|
+
}, _errorFactory)) && ("string" === typeof input.topic && (_stringLengthGte_1._stringLengthGte(input.topic, 1) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
6349
6364
|
method: "typia.createAssertEquals",
|
|
6350
6365
|
path: _path + ".topic",
|
|
6351
6366
|
expected: "string & MinLength<1>",
|
|
@@ -6413,7 +6428,7 @@ var assertNotificationBackendBridgeRecordConsentResult = withStrictTimes("record
|
|
|
6413
6428
|
path: _path + ".kind",
|
|
6414
6429
|
expected: '"topic-preference"',
|
|
6415
6430
|
value: input.kind
|
|
6416
|
-
}, _errorFactory)) && ("string" === typeof input.topic && (
|
|
6431
|
+
}, _errorFactory)) && ("string" === typeof input.topic && (_stringLengthGte_1._stringLengthGte(input.topic, 1) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
6417
6432
|
method: "typia.createAssertEquals",
|
|
6418
6433
|
path: _path + ".topic",
|
|
6419
6434
|
expected: "string & MinLength<1>",
|
|
@@ -6521,7 +6536,7 @@ var assertNotificationBackendBridgeRecordConsentResult = withStrictTimes("record
|
|
|
6521
6536
|
path: _path + ".evidence",
|
|
6522
6537
|
expected: "undefined",
|
|
6523
6538
|
value: input.evidence
|
|
6524
|
-
}, _errorFactory))) && ("string" === typeof input.textVersion && (
|
|
6539
|
+
}, _errorFactory))) && ("string" === typeof input.textVersion && (_stringLengthGte_1._stringLengthGte(input.textVersion, 1) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
6525
6540
|
method: "typia.createAssertEquals",
|
|
6526
6541
|
path: _path + ".textVersion",
|
|
6527
6542
|
expected: "string & MinLength<1>",
|
|
@@ -6591,7 +6606,7 @@ var assertNotificationBackendBridgeRecordConsentResult = withStrictTimes("record
|
|
|
6591
6606
|
return true;
|
|
6592
6607
|
return "string" === typeof value || "number" === typeof value || "boolean" === typeof value;
|
|
6593
6608
|
});
|
|
6594
|
-
const _io4 = (input, _exceptionable = true) => "host-agreement" === input.kind && ("string" === typeof input.topic &&
|
|
6609
|
+
const _io4 = (input, _exceptionable = true) => "host-agreement" === input.kind && ("string" === typeof input.topic && _stringLengthGte_1._stringLengthGte(input.topic, 1)) && ("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 && _io2(input.evidence, _exceptionable)) && (null !== input.textVersion && void 0 === input.textVersion) && (5 === Object.keys(input).length || Object.keys(input).every((key) => {
|
|
6595
6610
|
if (["kind", "topic", "state", "source", "at", "evidence", "textVersion"].some((prop) => key === prop))
|
|
6596
6611
|
return true;
|
|
6597
6612
|
const value = input[key];
|
|
@@ -6599,7 +6614,7 @@ var assertNotificationBackendBridgeRecordConsentResult = withStrictTimes("record
|
|
|
6599
6614
|
return true;
|
|
6600
6615
|
return false;
|
|
6601
6616
|
}));
|
|
6602
|
-
const _io5 = (input, _exceptionable = true) => "topic-preference" === input.kind && ("string" === typeof input.topic &&
|
|
6617
|
+
const _io5 = (input, _exceptionable = true) => "topic-preference" === input.kind && ("string" === typeof input.topic && _stringLengthGte_1._stringLengthGte(input.topic, 1)) && ("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) => {
|
|
6603
6618
|
if (["kind", "topic", "state", "source", "at", "evidence", "textVersion"].some((prop) => key === prop))
|
|
6604
6619
|
return true;
|
|
6605
6620
|
const value = input[key];
|
|
@@ -6607,7 +6622,7 @@ var assertNotificationBackendBridgeRecordConsentResult = withStrictTimes("record
|
|
|
6607
6622
|
return true;
|
|
6608
6623
|
return false;
|
|
6609
6624
|
}));
|
|
6610
|
-
const _io6 = (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 &&
|
|
6625
|
+
const _io6 = (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 && _stringLengthGte_1._stringLengthGte(input.textVersion, 1)) && (5 === Object.keys(input).length || Object.keys(input).every((key) => {
|
|
6611
6626
|
if (["kind", "topic", "state", "source", "at", "evidence", "textVersion"].some((prop) => key === prop))
|
|
6612
6627
|
return true;
|
|
6613
6628
|
const value = input[key];
|
|
@@ -6795,7 +6810,7 @@ var assertNotificationBackendBridgeListConsentResult = withStrictTimes("listCons
|
|
|
6795
6810
|
path: _path + ".kind",
|
|
6796
6811
|
expected: '"host-agreement"',
|
|
6797
6812
|
value: input.kind
|
|
6798
|
-
}, _errorFactory)) && ("string" === typeof input.topic && (
|
|
6813
|
+
}, _errorFactory)) && ("string" === typeof input.topic && (_stringLengthGte_1._stringLengthGte(input.topic, 1) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
6799
6814
|
method: "typia.createAssertEquals",
|
|
6800
6815
|
path: _path + ".topic",
|
|
6801
6816
|
expected: "string & MinLength<1>",
|
|
@@ -6863,7 +6878,7 @@ var assertNotificationBackendBridgeListConsentResult = withStrictTimes("listCons
|
|
|
6863
6878
|
path: _path + ".kind",
|
|
6864
6879
|
expected: '"topic-preference"',
|
|
6865
6880
|
value: input.kind
|
|
6866
|
-
}, _errorFactory)) && ("string" === typeof input.topic && (
|
|
6881
|
+
}, _errorFactory)) && ("string" === typeof input.topic && (_stringLengthGte_1._stringLengthGte(input.topic, 1) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
6867
6882
|
method: "typia.createAssertEquals",
|
|
6868
6883
|
path: _path + ".topic",
|
|
6869
6884
|
expected: "string & MinLength<1>",
|
|
@@ -6971,7 +6986,7 @@ var assertNotificationBackendBridgeListConsentResult = withStrictTimes("listCons
|
|
|
6971
6986
|
path: _path + ".evidence",
|
|
6972
6987
|
expected: "undefined",
|
|
6973
6988
|
value: input.evidence
|
|
6974
|
-
}, _errorFactory))) && ("string" === typeof input.textVersion && (
|
|
6989
|
+
}, _errorFactory))) && ("string" === typeof input.textVersion && (_stringLengthGte_1._stringLengthGte(input.textVersion, 1) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
6975
6990
|
method: "typia.createAssertEquals",
|
|
6976
6991
|
path: _path + ".textVersion",
|
|
6977
6992
|
expected: "string & MinLength<1>",
|
|
@@ -7041,7 +7056,7 @@ var assertNotificationBackendBridgeListConsentResult = withStrictTimes("listCons
|
|
|
7041
7056
|
return true;
|
|
7042
7057
|
return "string" === typeof value || "number" === typeof value || "boolean" === typeof value;
|
|
7043
7058
|
});
|
|
7044
|
-
const _io4 = (input, _exceptionable = true) => "host-agreement" === input.kind && ("string" === typeof input.topic &&
|
|
7059
|
+
const _io4 = (input, _exceptionable = true) => "host-agreement" === input.kind && ("string" === typeof input.topic && _stringLengthGte_1._stringLengthGte(input.topic, 1)) && ("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 && _io2(input.evidence, _exceptionable)) && (null !== input.textVersion && void 0 === input.textVersion) && (5 === Object.keys(input).length || Object.keys(input).every((key) => {
|
|
7045
7060
|
if (["kind", "topic", "state", "source", "at", "evidence", "textVersion"].some((prop) => key === prop))
|
|
7046
7061
|
return true;
|
|
7047
7062
|
const value = input[key];
|
|
@@ -7049,7 +7064,7 @@ var assertNotificationBackendBridgeListConsentResult = withStrictTimes("listCons
|
|
|
7049
7064
|
return true;
|
|
7050
7065
|
return false;
|
|
7051
7066
|
}));
|
|
7052
|
-
const _io5 = (input, _exceptionable = true) => "topic-preference" === input.kind && ("string" === typeof input.topic &&
|
|
7067
|
+
const _io5 = (input, _exceptionable = true) => "topic-preference" === input.kind && ("string" === typeof input.topic && _stringLengthGte_1._stringLengthGte(input.topic, 1)) && ("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) => {
|
|
7053
7068
|
if (["kind", "topic", "state", "source", "at", "evidence", "textVersion"].some((prop) => key === prop))
|
|
7054
7069
|
return true;
|
|
7055
7070
|
const value = input[key];
|
|
@@ -7057,7 +7072,7 @@ var assertNotificationBackendBridgeListConsentResult = withStrictTimes("listCons
|
|
|
7057
7072
|
return true;
|
|
7058
7073
|
return false;
|
|
7059
7074
|
}));
|
|
7060
|
-
const _io6 = (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 &&
|
|
7075
|
+
const _io6 = (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 && _stringLengthGte_1._stringLengthGte(input.textVersion, 1)) && (5 === Object.keys(input).length || Object.keys(input).every((key) => {
|
|
7061
7076
|
if (["kind", "topic", "state", "source", "at", "evidence", "textVersion"].some((prop) => key === prop))
|
|
7062
7077
|
return true;
|
|
7063
7078
|
const value = input[key];
|
|
@@ -7098,7 +7113,7 @@ var assertNotificationBackendBridgeListConsentResult = withStrictTimes("listCons
|
|
|
7098
7113
|
};
|
|
7099
7114
|
})(), notificationTimeFields.NotificationBackendBridgeListConsentResult);
|
|
7100
7115
|
var assertNotificationBackendBridgeSetReminderPayload = withStrictTimes("setReminder payload", /* @__PURE__ */ (() => {
|
|
7101
|
-
const _ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.expectedPlayer && (
|
|
7116
|
+
const _ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.expectedPlayer && (_stringLengthGte_1._stringLengthGte(input.expectedPlayer, 1) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
7102
7117
|
method: "typia.createAssertEquals",
|
|
7103
7118
|
path: _path + ".expectedPlayer",
|
|
7104
7119
|
expected: "string & MinLength<1>",
|
|
@@ -7146,7 +7161,7 @@ var assertNotificationBackendBridgeSetReminderPayload = withStrictTimes("setRemi
|
|
|
7146
7161
|
path: _path + ".templateData",
|
|
7147
7162
|
expected: "(Readonly<Record<string, string | number | boolean>> | undefined)",
|
|
7148
7163
|
value: input.templateData
|
|
7149
|
-
}, _errorFactory)) && ("string" === typeof input.key && (
|
|
7164
|
+
}, _errorFactory)) && ("string" === typeof input.key && (_stringLengthGte_1._stringLengthGte(input.key, 1) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
7150
7165
|
method: "typia.createAssertEquals",
|
|
7151
7166
|
path: _path + ".key",
|
|
7152
7167
|
expected: "string & MinLength<1>",
|
|
@@ -7166,7 +7181,7 @@ var assertNotificationBackendBridgeSetReminderPayload = withStrictTimes("setRemi
|
|
|
7166
7181
|
path: _path + ".fireAt",
|
|
7167
7182
|
expected: '(string & Format<"date-time">)',
|
|
7168
7183
|
value: input.fireAt
|
|
7169
|
-
}, _errorFactory)) && (void 0 === input.link || "string" === typeof input.link && (
|
|
7184
|
+
}, _errorFactory)) && (void 0 === input.link || "string" === typeof input.link && (_stringLengthGte_1._stringLengthGte(input.link, 1) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
7170
7185
|
method: "typia.createAssertEquals",
|
|
7171
7186
|
path: _path + ".link",
|
|
7172
7187
|
expected: "string & MinLength<1>",
|
|
@@ -7200,7 +7215,7 @@ var assertNotificationBackendBridgeSetReminderPayload = withStrictTimes("setRemi
|
|
|
7200
7215
|
value
|
|
7201
7216
|
}, _errorFactory);
|
|
7202
7217
|
});
|
|
7203
|
-
const _io0 = (input, _exceptionable = true) => "string" === typeof input.expectedPlayer &&
|
|
7218
|
+
const _io0 = (input, _exceptionable = true) => "string" === typeof input.expectedPlayer && _stringLengthGte_1._stringLengthGte(input.expectedPlayer, 1) && ("object" === typeof input.reminder && null !== input.reminder && _io1(input.reminder, _exceptionable)) && (2 === Object.keys(input).length || Object.keys(input).every((key) => {
|
|
7204
7219
|
if (["expectedPlayer", "reminder"].some((prop) => key === prop))
|
|
7205
7220
|
return true;
|
|
7206
7221
|
const value = input[key];
|
|
@@ -7208,7 +7223,7 @@ var assertNotificationBackendBridgeSetReminderPayload = withStrictTimes("setRemi
|
|
|
7208
7223
|
return true;
|
|
7209
7224
|
return false;
|
|
7210
7225
|
}));
|
|
7211
|
-
const _io1 = (input, _exceptionable = true) => "string" === typeof input.topic && (void 0 === input.templateData || "object" === typeof input.templateData && null !== input.templateData && false === Array.isArray(input.templateData) && _io2(input.templateData, _exceptionable)) && ("string" === typeof input.key &&
|
|
7226
|
+
const _io1 = (input, _exceptionable = true) => "string" === typeof input.topic && (void 0 === input.templateData || "object" === typeof input.templateData && null !== input.templateData && false === Array.isArray(input.templateData) && _io2(input.templateData, _exceptionable)) && ("string" === typeof input.key && _stringLengthGte_1._stringLengthGte(input.key, 1)) && ("string" === typeof input.fireAt && _isFormatDateTime_1._isFormatDateTime(input.fireAt)) && (void 0 === input.link || "string" === typeof input.link && _stringLengthGte_1._stringLengthGte(input.link, 1)) && (3 === Object.keys(input).length || Object.keys(input).every((key) => {
|
|
7212
7227
|
if (["topic", "templateData", "key", "fireAt", "link"].some((prop) => key === prop))
|
|
7213
7228
|
return true;
|
|
7214
7229
|
const value = input[key];
|
|
@@ -7341,7 +7356,7 @@ var assertNotificationBackendBridgeListNoticesResult = withStrictTimes("listNoti
|
|
|
7341
7356
|
path: _path + ".at",
|
|
7342
7357
|
expected: '(string & Format<"date-time">)',
|
|
7343
7358
|
value: input.at
|
|
7344
|
-
}, _errorFactory)) && (void 0 === input.textVersion || "string" === typeof input.textVersion && (
|
|
7359
|
+
}, _errorFactory)) && (void 0 === input.textVersion || "string" === typeof input.textVersion && (_stringLengthGte_1._stringLengthGte(input.textVersion, 1) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
7345
7360
|
method: "typia.createAssertEquals",
|
|
7346
7361
|
path: _path + ".textVersion",
|
|
7347
7362
|
expected: "string & MinLength<1>",
|
|
@@ -7380,7 +7395,7 @@ var assertNotificationBackendBridgeListNoticesResult = withStrictTimes("listNoti
|
|
|
7380
7395
|
return true;
|
|
7381
7396
|
return false;
|
|
7382
7397
|
}));
|
|
7383
|
-
const _io2 = (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 &&
|
|
7398
|
+
const _io2 = (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 && _stringLengthGte_1._stringLengthGte(input.textVersion, 1)) && (3 === Object.keys(input).length || Object.keys(input).every((key) => {
|
|
7384
7399
|
if (["kind", "state", "at", "textVersion"].some((prop) => key === prop))
|
|
7385
7400
|
return true;
|
|
7386
7401
|
const value = input[key];
|
|
@@ -7409,7 +7424,7 @@ var assertNotificationBackendBridgeListNoticesResult = withStrictTimes("listNoti
|
|
|
7409
7424
|
};
|
|
7410
7425
|
})(), notificationTimeFields.NotificationBackendBridgeListNoticesResult);
|
|
7411
7426
|
var assertNotificationBackendBridgeRecordNoticePayload = withStrictTimes("recordNotice payload", /* @__PURE__ */ (() => {
|
|
7412
|
-
const _ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.expectedPlayer && (
|
|
7427
|
+
const _ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.expectedPlayer && (_stringLengthGte_1._stringLengthGte(input.expectedPlayer, 1) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
7413
7428
|
method: "typia.createAssertEquals",
|
|
7414
7429
|
path: _path + ".expectedPlayer",
|
|
7415
7430
|
expected: "string & MinLength<1>",
|
|
@@ -7513,7 +7528,7 @@ var assertNotificationBackendBridgeRecordNoticePayload = withStrictTimes("record
|
|
|
7513
7528
|
value
|
|
7514
7529
|
}, _errorFactory);
|
|
7515
7530
|
})));
|
|
7516
|
-
const _io0 = (input, _exceptionable = true) => "string" === typeof input.expectedPlayer &&
|
|
7531
|
+
const _io0 = (input, _exceptionable = true) => "string" === typeof input.expectedPlayer && _stringLengthGte_1._stringLengthGte(input.expectedPlayer, 1) && ("object" === typeof input.notice && null !== input.notice && _io1(input.notice, _exceptionable)) && "in-game" === input.channel && (3 === Object.keys(input).length || Object.keys(input).every((key) => {
|
|
7517
7532
|
if (["expectedPlayer", "notice", "channel"].some((prop) => key === prop))
|
|
7518
7533
|
return true;
|
|
7519
7534
|
const value = input[key];
|
|
@@ -7560,13 +7575,14 @@ var assertNotificationBackendBridgeRecordNoticePayload = withStrictTimes("record
|
|
|
7560
7575
|
|
|
7561
7576
|
// node_modules/.cache/mpgd-native-build/packages/catalog/src/notification-topics-shape.js
|
|
7562
7577
|
import * as _isTypeUint32_12 from "typia/lib/internal/_isTypeUint32";
|
|
7578
|
+
import * as _stringLengthGte_12 from "typia/lib/internal/_stringLengthGte";
|
|
7563
7579
|
import * as _accessExpressionAsString_12 from "typia/lib/internal/_accessExpressionAsString";
|
|
7564
7580
|
import * as _validateReport_1 from "typia/lib/internal/_validateReport";
|
|
7565
7581
|
import * as _createStandardSchema_1 from "typia/lib/internal/_createStandardSchema";
|
|
7566
7582
|
import typia2 from "typia";
|
|
7567
7583
|
var __typia_transform__accessExpressionAsString2 = _accessExpressionAsString_12._accessExpressionAsString;
|
|
7568
7584
|
var validateShape = (() => {
|
|
7569
|
-
const _io0 = (input, _exceptionable = true) => (void 0 === input.notices || "object" === typeof input.notices && null !== input.notices && _io1(input.notices, _exceptionable)) && ("string" === typeof input.version &&
|
|
7585
|
+
const _io0 = (input, _exceptionable = true) => (void 0 === input.notices || "object" === typeof input.notices && null !== input.notices && _io1(input.notices, _exceptionable)) && ("string" === typeof input.version && _stringLengthGte_12._stringLengthGte(input.version, 1)) && ("string" === typeof input.defaultLocale && _stringLengthGte_12._stringLengthGte(input.defaultLocale, 1)) && (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) => {
|
|
7570
7586
|
if (["notices", "version", "defaultLocale", "topics"].some((prop) => key === prop))
|
|
7571
7587
|
return true;
|
|
7572
7588
|
const value = input[key];
|
|
@@ -7574,7 +7590,7 @@ var validateShape = (() => {
|
|
|
7574
7590
|
return true;
|
|
7575
7591
|
return false;
|
|
7576
7592
|
}));
|
|
7577
|
-
const _io1 = (input, _exceptionable = true) => "string" === typeof input.topic &&
|
|
7593
|
+
const _io1 = (input, _exceptionable = true) => "string" === typeof input.topic && _stringLengthGte_12._stringLengthGte(input.topic, 1) && (2 === Object.keys(input).length || Object.keys(input).every((key) => {
|
|
7578
7594
|
if (["copy", "topic"].some((prop) => key === prop))
|
|
7579
7595
|
return true;
|
|
7580
7596
|
const value = input[key];
|
|
@@ -7582,7 +7598,7 @@ var validateShape = (() => {
|
|
|
7582
7598
|
return true;
|
|
7583
7599
|
return false;
|
|
7584
7600
|
}));
|
|
7585
|
-
const _io2 = (input, _exceptionable = true) => "string" === typeof input.id &&
|
|
7601
|
+
const _io2 = (input, _exceptionable = true) => "string" === typeof input.id && _stringLengthGte_12._stringLengthGte(input.id, 1) && ("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 && _stringLengthGte_12._stringLengthGte(input.route, 1)) && (void 0 === input.optOutRoute || "string" === typeof input.optOutRoute && _stringLengthGte_12._stringLengthGte(input.optOutRoute, 1)) && (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) => {
|
|
7586
7602
|
if (["id", "purpose", "channels", "route", "optOutRoute", "copy", "frequency", "quietHours", "deferrable", "targets"].some((prop) => key === prop))
|
|
7587
7603
|
return true;
|
|
7588
7604
|
const value = input[key];
|
|
@@ -7596,7 +7612,7 @@ var validateShape = (() => {
|
|
|
7596
7612
|
return true;
|
|
7597
7613
|
return "object" === typeof value && null !== value && _io4(value, _exceptionable);
|
|
7598
7614
|
});
|
|
7599
|
-
const _io4 = (input, _exceptionable = true) => "string" === typeof input.title &&
|
|
7615
|
+
const _io4 = (input, _exceptionable = true) => "string" === typeof input.title && _stringLengthGte_12._stringLengthGte(input.title, 1) && ("string" === typeof input.body && _stringLengthGte_12._stringLengthGte(input.body, 1)) && (2 === Object.keys(input).length || Object.keys(input).every((key) => {
|
|
7600
7616
|
if (["title", "body"].some((prop) => key === prop))
|
|
7601
7617
|
return true;
|
|
7602
7618
|
const value = input[key];
|
|
@@ -7640,7 +7656,7 @@ var validateShape = (() => {
|
|
|
7640
7656
|
path: _path + ".notices",
|
|
7641
7657
|
expected: "(NotificationTopicCatalogNotices | undefined)",
|
|
7642
7658
|
value: input.notices
|
|
7643
|
-
}), "string" === typeof input.version && (
|
|
7659
|
+
}), "string" === typeof input.version && (_stringLengthGte_12._stringLengthGte(input.version, 1) || _report(_exceptionable, {
|
|
7644
7660
|
path: _path + ".version",
|
|
7645
7661
|
expected: "string & MinLength<1>",
|
|
7646
7662
|
value: input.version
|
|
@@ -7648,7 +7664,7 @@ var validateShape = (() => {
|
|
|
7648
7664
|
path: _path + ".version",
|
|
7649
7665
|
expected: "(string & MinLength<1>)",
|
|
7650
7666
|
value: input.version
|
|
7651
|
-
}), "string" === typeof input.defaultLocale && (
|
|
7667
|
+
}), "string" === typeof input.defaultLocale && (_stringLengthGte_12._stringLengthGte(input.defaultLocale, 1) || _report(_exceptionable, {
|
|
7652
7668
|
path: _path + ".defaultLocale",
|
|
7653
7669
|
expected: "string & MinLength<1>",
|
|
7654
7670
|
value: input.defaultLocale
|
|
@@ -7689,7 +7705,7 @@ var validateShape = (() => {
|
|
|
7689
7705
|
].join("\n")
|
|
7690
7706
|
});
|
|
7691
7707
|
}).every((flag) => flag))].every((flag) => flag);
|
|
7692
|
-
const _vo1 = (input, _path, _exceptionable = true) => [true, "string" === typeof input.topic && (
|
|
7708
|
+
const _vo1 = (input, _path, _exceptionable = true) => [true, "string" === typeof input.topic && (_stringLengthGte_12._stringLengthGte(input.topic, 1) || _report(_exceptionable, {
|
|
7693
7709
|
path: _path + ".topic",
|
|
7694
7710
|
expected: "string & MinLength<1>",
|
|
7695
7711
|
value: input.topic
|
|
@@ -7714,7 +7730,7 @@ var validateShape = (() => {
|
|
|
7714
7730
|
].join("\n")
|
|
7715
7731
|
});
|
|
7716
7732
|
}).every((flag) => flag))].every((flag) => flag);
|
|
7717
|
-
const _vo2 = (input, _path, _exceptionable = true) => ["string" === typeof input.id && (
|
|
7733
|
+
const _vo2 = (input, _path, _exceptionable = true) => ["string" === typeof input.id && (_stringLengthGte_12._stringLengthGte(input.id, 1) || _report(_exceptionable, {
|
|
7718
7734
|
path: _path + ".id",
|
|
7719
7735
|
expected: "string & MinLength<1>",
|
|
7720
7736
|
value: input.id
|
|
@@ -7742,7 +7758,7 @@ var validateShape = (() => {
|
|
|
7742
7758
|
path: _path + ".channels",
|
|
7743
7759
|
expected: "(ReadonlyArray<NotificationChannel> & MinItems<1>)",
|
|
7744
7760
|
value: input.channels
|
|
7745
|
-
}), "string" === typeof input.route && (
|
|
7761
|
+
}), "string" === typeof input.route && (_stringLengthGte_12._stringLengthGte(input.route, 1) || _report(_exceptionable, {
|
|
7746
7762
|
path: _path + ".route",
|
|
7747
7763
|
expected: "string & MinLength<1>",
|
|
7748
7764
|
value: input.route
|
|
@@ -7750,7 +7766,7 @@ var validateShape = (() => {
|
|
|
7750
7766
|
path: _path + ".route",
|
|
7751
7767
|
expected: "(string & MinLength<1>)",
|
|
7752
7768
|
value: input.route
|
|
7753
|
-
}), void 0 === input.optOutRoute || "string" === typeof input.optOutRoute && (
|
|
7769
|
+
}), void 0 === input.optOutRoute || "string" === typeof input.optOutRoute && (_stringLengthGte_12._stringLengthGte(input.optOutRoute, 1) || _report(_exceptionable, {
|
|
7754
7770
|
path: _path + ".optOutRoute",
|
|
7755
7771
|
expected: "string & MinLength<1>",
|
|
7756
7772
|
value: input.optOutRoute
|
|
@@ -7825,7 +7841,7 @@ var validateShape = (() => {
|
|
|
7825
7841
|
value
|
|
7826
7842
|
});
|
|
7827
7843
|
}).every((flag) => flag)].every((flag) => flag);
|
|
7828
|
-
const _vo4 = (input, _path, _exceptionable = true) => ["string" === typeof input.title && (
|
|
7844
|
+
const _vo4 = (input, _path, _exceptionable = true) => ["string" === typeof input.title && (_stringLengthGte_12._stringLengthGte(input.title, 1) || _report(_exceptionable, {
|
|
7829
7845
|
path: _path + ".title",
|
|
7830
7846
|
expected: "string & MinLength<1>",
|
|
7831
7847
|
value: input.title
|
|
@@ -7833,7 +7849,7 @@ var validateShape = (() => {
|
|
|
7833
7849
|
path: _path + ".title",
|
|
7834
7850
|
expected: "(string & MinLength<1>)",
|
|
7835
7851
|
value: input.title
|
|
7836
|
-
}), "string" === typeof input.body && (
|
|
7852
|
+
}), "string" === typeof input.body && (_stringLengthGte_12._stringLengthGte(input.body, 1) || _report(_exceptionable, {
|
|
7837
7853
|
path: _path + ".body",
|
|
7838
7854
|
expected: "string & MinLength<1>",
|
|
7839
7855
|
value: input.body
|
|
@@ -7979,11 +7995,13 @@ var validateShape = (() => {
|
|
|
7979
7995
|
|
|
7980
7996
|
// node_modules/.cache/mpgd-native-build/packages/catalog/src/store-listings.js
|
|
7981
7997
|
import * as _assertGuard_12 from "typia/lib/internal/_assertGuard";
|
|
7998
|
+
import * as _stringLengthGte_13 from "typia/lib/internal/_stringLengthGte";
|
|
7982
7999
|
import * as _accessExpressionAsString_13 from "typia/lib/internal/_accessExpressionAsString";
|
|
7983
8000
|
import typia3 from "typia";
|
|
7984
8001
|
|
|
7985
8002
|
// node_modules/.cache/mpgd-native-build/packages/catalog/src/store-presence.js
|
|
7986
8003
|
import * as _assertGuard_13 from "typia/lib/internal/_assertGuard";
|
|
8004
|
+
import * as _stringLengthGte_14 from "typia/lib/internal/_stringLengthGte";
|
|
7987
8005
|
import * as _accessExpressionAsString_14 from "typia/lib/internal/_accessExpressionAsString";
|
|
7988
8006
|
import typia4 from "typia";
|
|
7989
8007
|
var googlePlayPresenceImageSlots = Object.freeze([
|
|
@@ -8618,6 +8636,7 @@ function isRecord2(value) {
|
|
|
8618
8636
|
import * as _isTypeUint32_15 from "typia/lib/internal/_isTypeUint32";
|
|
8619
8637
|
import * as _isFormatDateTime_13 from "typia/lib/internal/_isFormatDateTime";
|
|
8620
8638
|
import * as _assertGuard_17 from "typia/lib/internal/_assertGuard";
|
|
8639
|
+
import * as _stringLengthGte_18 from "typia/lib/internal/_stringLengthGte";
|
|
8621
8640
|
import * as _accessExpressionAsString_18 from "typia/lib/internal/_accessExpressionAsString";
|
|
8622
8641
|
import typia9 from "typia";
|
|
8623
8642
|
|
|
@@ -8626,6 +8645,7 @@ import * as _isTypeInt64_1 from "typia/lib/internal/_isTypeInt64";
|
|
|
8626
8645
|
import * as _isTypeUint32_14 from "typia/lib/internal/_isTypeUint32";
|
|
8627
8646
|
import * as _isFormatDateTime_12 from "typia/lib/internal/_isFormatDateTime";
|
|
8628
8647
|
import * as _assertGuard_16 from "typia/lib/internal/_assertGuard";
|
|
8648
|
+
import * as _stringLengthGte_17 from "typia/lib/internal/_stringLengthGte";
|
|
8629
8649
|
import * as _accessExpressionAsString_17 from "typia/lib/internal/_accessExpressionAsString";
|
|
8630
8650
|
import typia8 from "typia";
|
|
8631
8651
|
var commerceErrorCodes = Object.freeze([
|
|
@@ -11181,7 +11201,9 @@ function sha2562(content) {
|
|
|
11181
11201
|
}
|
|
11182
11202
|
|
|
11183
11203
|
// node_modules/.cache/mpgd-native-build/tools/target/generate-release-manifest.js
|
|
11204
|
+
import * as _isMultipleOf_13 from "typia/lib/internal/_isMultipleOf";
|
|
11184
11205
|
import * as _assertGuard_111 from "typia/lib/internal/_assertGuard";
|
|
11206
|
+
import * as _stringLengthGte_19 from "typia/lib/internal/_stringLengthGte";
|
|
11185
11207
|
import * as _accessExpressionAsString_112 from "typia/lib/internal/_accessExpressionAsString";
|
|
11186
11208
|
import { execFileSync } from "node:child_process";
|
|
11187
11209
|
import { createHash as createHash8, randomUUID as randomUUID2 } from "node:crypto";
|
|
@@ -11631,7 +11653,7 @@ var assertProductCatalog = /* @__PURE__ */ (() => {
|
|
|
11631
11653
|
path: _path + ".currencies",
|
|
11632
11654
|
expected: "Array<> & MinItems<1>",
|
|
11633
11655
|
value: input.currencies
|
|
11634
|
-
}, _errorFactory)) && input.currencies.every((elem, _index3) => "string" === typeof elem && (1
|
|
11656
|
+
}, _errorFactory)) && input.currencies.every((elem, _index3) => "string" === typeof elem && (_stringLengthGte_19._stringLengthGte(elem, 1) || _assertGuard_111._assertGuard(_exceptionable, {
|
|
11635
11657
|
method: "typia.createAssert",
|
|
11636
11658
|
path: _path + ".currencies[" + _index3 + "]",
|
|
11637
11659
|
expected: "string & MinLength<1>",
|
|
@@ -11703,7 +11725,7 @@ var assertProductCatalog = /* @__PURE__ */ (() => {
|
|
|
11703
11725
|
path: _path + ".type",
|
|
11704
11726
|
expected: '"currency"',
|
|
11705
11727
|
value: input.type
|
|
11706
|
-
}, _errorFactory)) && ("string" === typeof input.currency && (
|
|
11728
|
+
}, _errorFactory)) && ("string" === typeof input.currency && (_stringLengthGte_19._stringLengthGte(input.currency, 1) || _assertGuard_111._assertGuard(_exceptionable, {
|
|
11707
11729
|
method: "typia.createAssert",
|
|
11708
11730
|
path: _path + ".currency",
|
|
11709
11731
|
expected: "string & MinLength<1>",
|
|
@@ -11723,7 +11745,7 @@ var assertProductCatalog = /* @__PURE__ */ (() => {
|
|
|
11723
11745
|
path: _path + ".amount",
|
|
11724
11746
|
expected: "number & Maximum<9007199254740991>",
|
|
11725
11747
|
value: input.amount
|
|
11726
|
-
}, _errorFactory)) && (input.amount
|
|
11748
|
+
}, _errorFactory)) && (_isMultipleOf_13._isMultipleOf(input.amount, 1) || _assertGuard_111._assertGuard(_exceptionable, {
|
|
11727
11749
|
method: "typia.createAssert",
|
|
11728
11750
|
path: _path + ".amount",
|
|
11729
11751
|
expected: "number & MultipleOf<1>",
|
|
@@ -11750,7 +11772,7 @@ var assertProductCatalog = /* @__PURE__ */ (() => {
|
|
|
11750
11772
|
path: _path + ".type",
|
|
11751
11773
|
expected: '"resource"',
|
|
11752
11774
|
value: input.type
|
|
11753
|
-
}, _errorFactory)) && ("string" === typeof input.resource && (
|
|
11775
|
+
}, _errorFactory)) && ("string" === typeof input.resource && (_stringLengthGte_19._stringLengthGte(input.resource, 1) || _assertGuard_111._assertGuard(_exceptionable, {
|
|
11754
11776
|
method: "typia.createAssert",
|
|
11755
11777
|
path: _path + ".resource",
|
|
11756
11778
|
expected: "string & MinLength<1>",
|
|
@@ -11802,11 +11824,11 @@ var assertProductCatalog = /* @__PURE__ */ (() => {
|
|
|
11802
11824
|
value: input
|
|
11803
11825
|
}, _errorFactory);
|
|
11804
11826
|
})();
|
|
11805
|
-
const _io0 = (input) => "string" === typeof input.version && (void 0 === input.currencies || Array.isArray(input.currencies) && (1 <= input.currencies.length && input.currencies.every((elem) => "string" === typeof elem && 1
|
|
11827
|
+
const _io0 = (input) => "string" === typeof input.version && (void 0 === input.currencies || Array.isArray(input.currencies) && (1 <= input.currencies.length && input.currencies.every((elem) => "string" === typeof elem && _stringLengthGte_19._stringLengthGte(elem, 1)))) && (Array.isArray(input.products) && input.products.every((elem) => "object" === typeof elem && null !== elem && _io1(elem)));
|
|
11806
11828
|
const _io1 = (input) => "string" === typeof input.id && ("consumable" === input.type || "non_consumable" === input.type || "subscription" === input.type) && ("object" === typeof input.grant && null !== input.grant && _iu0(input.grant)) && ("object" === typeof input.platformProductIds && null !== input.platformProductIds && false === Array.isArray(input.platformProductIds) && _io5(input.platformProductIds));
|
|
11807
|
-
const _io2 = (input) => "currency" === input.type && ("string" === typeof input.currency &&
|
|
11829
|
+
const _io2 = (input) => "currency" === input.type && ("string" === typeof input.currency && _stringLengthGte_19._stringLengthGte(input.currency, 1)) && ("number" === typeof input.amount && (1 <= input.amount && input.amount <= 9007199254740991 && _isMultipleOf_13._isMultipleOf(input.amount, 1)));
|
|
11808
11830
|
const _io3 = (input) => "entitlement" === input.type && "string" === typeof input.entitlement;
|
|
11809
|
-
const _io4 = (input) => "resource" === input.type && ("string" === typeof input.resource &&
|
|
11831
|
+
const _io4 = (input) => "resource" === input.type && ("string" === typeof input.resource && _stringLengthGte_19._stringLengthGte(input.resource, 1)) && ("number" === typeof input.amount && (0 < input.amount && input.amount <= 17976931348623157e292));
|
|
11810
11832
|
const _io5 = (input) => Object.keys(input).every((key) => {
|
|
11811
11833
|
const value = input[key];
|
|
11812
11834
|
if (void 0 === value)
|
|
@@ -11844,7 +11866,7 @@ var assertProductCatalog = /* @__PURE__ */ (() => {
|
|
|
11844
11866
|
};
|
|
11845
11867
|
})();
|
|
11846
11868
|
var assertAdPlacements = /* @__PURE__ */ (() => {
|
|
11847
|
-
const _ip0 = (input) => "number" === typeof input["amount"] && (1 <= input["amount"] && input["amount"] <= 9007199254740991 && input["amount"]
|
|
11869
|
+
const _ip0 = (input) => "number" === typeof input["amount"] && (1 <= input["amount"] && input["amount"] <= 9007199254740991 && _isMultipleOf_13._isMultipleOf(input["amount"], 1));
|
|
11848
11870
|
const _ae0 = '(AdPlacementEntryBase & { readonly type: "banner" | "interstitial"; readonly reward?: never; } | AdPlacementEntryBase & { readonly type: "rewarded"; readonly reward?: AdReward; })';
|
|
11849
11871
|
const _ae1 = '(undefined | { readonly type: "continue"; readonly amount: PositiveLedgerAmount; } | { readonly type: "currency"; readonly amount: PositiveLedgerAmount; readonly currency: string & MinLength<1>; })';
|
|
11850
11872
|
const _ap0 = (input, _path, _exceptionable = true) => "number" === typeof input["amount"] && (1 <= input["amount"] || _assertGuard_111._assertGuard(_exceptionable, {
|
|
@@ -11857,7 +11879,7 @@ var assertAdPlacements = /* @__PURE__ */ (() => {
|
|
|
11857
11879
|
path: _path + ".amount",
|
|
11858
11880
|
expected: "number & Maximum<9007199254740991>",
|
|
11859
11881
|
value: input["amount"]
|
|
11860
|
-
}, _errorFactory)) && (input["amount"]
|
|
11882
|
+
}, _errorFactory)) && (_isMultipleOf_13._isMultipleOf(input["amount"], 1) || _assertGuard_111._assertGuard(_exceptionable, {
|
|
11861
11883
|
method: "typia.createAssert",
|
|
11862
11884
|
path: _path + ".amount",
|
|
11863
11885
|
expected: "number & MultipleOf<1>",
|
|
@@ -11990,7 +12012,7 @@ var assertAdPlacements = /* @__PURE__ */ (() => {
|
|
|
11990
12012
|
path: _path + ".type",
|
|
11991
12013
|
expected: '"currency"',
|
|
11992
12014
|
value: input.type
|
|
11993
|
-
}, _errorFactory)) && _ap0(input, _path, _exceptionable) && ("string" === typeof input.currency && (
|
|
12015
|
+
}, _errorFactory)) && _ap0(input, _path, _exceptionable) && ("string" === typeof input.currency && (_stringLengthGte_19._stringLengthGte(input.currency, 1) || _assertGuard_111._assertGuard(_exceptionable, {
|
|
11994
12016
|
method: "typia.createAssert",
|
|
11995
12017
|
path: _path + ".currency",
|
|
11996
12018
|
expected: "string & MinLength<1>",
|
|
@@ -12054,7 +12076,7 @@ var assertAdPlacements = /* @__PURE__ */ (() => {
|
|
|
12054
12076
|
return void 0 === value || "string" === typeof value;
|
|
12055
12077
|
});
|
|
12056
12078
|
const _io5 = (input) => "continue" === input.type && _ip0(input);
|
|
12057
|
-
const _io6 = (input) => "currency" === input.type && _ip0(input) && ("string" === typeof input.currency &&
|
|
12079
|
+
const _io6 = (input) => "currency" === input.type && _ip0(input) && ("string" === typeof input.currency && _stringLengthGte_19._stringLengthGte(input.currency, 1));
|
|
12058
12080
|
const _io7 = (input) => _io2(input) && (("banner" === input.type || "interstitial" === input.type) && (null !== input.reward && void 0 === input.reward));
|
|
12059
12081
|
const _iu0 = (input) => (() => {
|
|
12060
12082
|
if ("banner" === input.type || "interstitial" === input.type)
|