@mpgd/cli 0.64.0 → 0.65.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 +92 -80
- package/package.json +19 -19
- package/templates/lite-overlay/README.md +4 -0
- package/templates/lite-overlay/apps/target-devvit/README.md +10 -0
- 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/gameServices.ts +88 -4
- package/templates/phaser-game/src/platform/guestIdentity.ts +4 -3
- package/templates/phaser-game/src/platform/sessionGatedServices.ts +149 -21
- package/templates/phaser-game/src/styles.css +12 -0
|
@@ -4445,12 +4445,16 @@ 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 _isMultipleOf_12 from "typia/lib/internal/_isMultipleOf";
|
|
4448
4449
|
import * as _assertGuard_15 from "typia/lib/internal/_assertGuard";
|
|
4450
|
+
import * as _stringLengthGte_16 from "typia/lib/internal/_stringLengthGte";
|
|
4449
4451
|
import * as _accessExpressionAsString_16 from "typia/lib/internal/_accessExpressionAsString";
|
|
4450
4452
|
import typia7 from "typia";
|
|
4451
4453
|
|
|
4452
4454
|
// node_modules/.cache/mpgd-native-build/packages/catalog/src/index.js
|
|
4455
|
+
import * as _isMultipleOf_1 from "typia/lib/internal/_isMultipleOf";
|
|
4453
4456
|
import * as _assertGuard_14 from "typia/lib/internal/_assertGuard";
|
|
4457
|
+
import * as _stringLengthGte_15 from "typia/lib/internal/_stringLengthGte";
|
|
4454
4458
|
import * as _accessExpressionAsString_15 from "typia/lib/internal/_accessExpressionAsString";
|
|
4455
4459
|
import typia5 from "typia";
|
|
4456
4460
|
|
|
@@ -4460,6 +4464,7 @@ import * as _isFormatDateTime_1 from "typia/lib/internal/_isFormatDateTime";
|
|
|
4460
4464
|
import * as _isFormatDate_1 from "typia/lib/internal/_isFormatDate";
|
|
4461
4465
|
import * as _assertGuard_1 from "typia/lib/internal/_assertGuard";
|
|
4462
4466
|
import * as _accessExpressionAsString_1 from "typia/lib/internal/_accessExpressionAsString";
|
|
4467
|
+
import * as _stringLengthGte_1 from "typia/lib/internal/_stringLengthGte";
|
|
4463
4468
|
import typia from "typia";
|
|
4464
4469
|
|
|
4465
4470
|
// node_modules/.cache/mpgd-native-build/packages/platform/src/notifications-policy.js
|
|
@@ -4748,15 +4753,15 @@ function withStrictTimes(what, assert, fields) {
|
|
|
4748
4753
|
};
|
|
4749
4754
|
}
|
|
4750
4755
|
var assertLocalNotificationRequestShape = withStrictTimes("local reminder request", /* @__PURE__ */ (() => {
|
|
4751
|
-
const _ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.key && (
|
|
4756
|
+
const _ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.key && (_stringLengthGte_1._stringLengthGte(input.key, 1) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
4752
4757
|
method: "typia.createAssertEquals",
|
|
4753
4758
|
path: _path + ".key",
|
|
4754
|
-
expected: "string &
|
|
4759
|
+
expected: "string & MinLength<1>",
|
|
4755
4760
|
value: input.key
|
|
4756
4761
|
}, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
4757
4762
|
method: "typia.createAssertEquals",
|
|
4758
4763
|
path: _path + ".key",
|
|
4759
|
-
expected: "(string &
|
|
4764
|
+
expected: "(string & MinLength<1>)",
|
|
4760
4765
|
value: input.key
|
|
4761
4766
|
}, _errorFactory)) && ("string" === typeof input.topic || _assertGuard_1._assertGuard(_exceptionable, {
|
|
4762
4767
|
method: "typia.createAssertEquals",
|
|
@@ -4766,12 +4771,12 @@ var assertLocalNotificationRequestShape = withStrictTimes("local reminder reques
|
|
|
4766
4771
|
}, _errorFactory)) && ("string" === typeof input.fireAt && (_isFormatDateTime_1._isFormatDateTime(input.fireAt) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
4767
4772
|
method: "typia.createAssertEquals",
|
|
4768
4773
|
path: _path + ".fireAt",
|
|
4769
|
-
expected:
|
|
4774
|
+
expected: 'string & Format<"date-time">',
|
|
4770
4775
|
value: input.fireAt
|
|
4771
4776
|
}, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
4772
4777
|
method: "typia.createAssertEquals",
|
|
4773
4778
|
path: _path + ".fireAt",
|
|
4774
|
-
expected:
|
|
4779
|
+
expected: '(string & Format<"date-time">)',
|
|
4775
4780
|
value: input.fireAt
|
|
4776
4781
|
}, _errorFactory)) && ("string" === typeof input.title || _assertGuard_1._assertGuard(_exceptionable, {
|
|
4777
4782
|
method: "typia.createAssertEquals",
|
|
@@ -4801,7 +4806,7 @@ var assertLocalNotificationRequestShape = withStrictTimes("local reminder reques
|
|
|
4801
4806
|
value
|
|
4802
4807
|
}, _errorFactory);
|
|
4803
4808
|
})));
|
|
4804
|
-
const _io0 = (input, _exceptionable = true) => "string" === typeof input.key &&
|
|
4809
|
+
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
4810
|
if (["key", "topic", "fireAt", "title", "body", "route"].some((prop) => key === prop))
|
|
4806
4811
|
return true;
|
|
4807
4812
|
const value = input[key];
|
|
@@ -4830,15 +4835,15 @@ var assertLocalNotificationRequestShape = withStrictTimes("local reminder reques
|
|
|
4830
4835
|
};
|
|
4831
4836
|
})(), notificationTimeFields.LocalNotificationRequest);
|
|
4832
4837
|
var assertLocalNotificationEntry = withStrictTimes("local reminder entry", /* @__PURE__ */ (() => {
|
|
4833
|
-
const _ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.key && (
|
|
4838
|
+
const _ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.key && (_stringLengthGte_1._stringLengthGte(input.key, 1) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
4834
4839
|
method: "typia.createAssertEquals",
|
|
4835
4840
|
path: _path + ".key",
|
|
4836
|
-
expected: "string &
|
|
4841
|
+
expected: "string & MinLength<1>",
|
|
4837
4842
|
value: input.key
|
|
4838
4843
|
}, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
4839
4844
|
method: "typia.createAssertEquals",
|
|
4840
4845
|
path: _path + ".key",
|
|
4841
|
-
expected: "(string &
|
|
4846
|
+
expected: "(string & MinLength<1>)",
|
|
4842
4847
|
value: input.key
|
|
4843
4848
|
}, _errorFactory)) && ("string" === typeof input.topic || _assertGuard_1._assertGuard(_exceptionable, {
|
|
4844
4849
|
method: "typia.createAssertEquals",
|
|
@@ -4848,12 +4853,12 @@ var assertLocalNotificationEntry = withStrictTimes("local reminder entry", /* @_
|
|
|
4848
4853
|
}, _errorFactory)) && ("string" === typeof input.fireAt && (_isFormatDateTime_1._isFormatDateTime(input.fireAt) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
4849
4854
|
method: "typia.createAssertEquals",
|
|
4850
4855
|
path: _path + ".fireAt",
|
|
4851
|
-
expected:
|
|
4856
|
+
expected: 'string & Format<"date-time">',
|
|
4852
4857
|
value: input.fireAt
|
|
4853
4858
|
}, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
4854
4859
|
method: "typia.createAssertEquals",
|
|
4855
4860
|
path: _path + ".fireAt",
|
|
4856
|
-
expected:
|
|
4861
|
+
expected: '(string & Format<"date-time">)',
|
|
4857
4862
|
value: input.fireAt
|
|
4858
4863
|
}, _errorFactory)) && (3 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every((key) => {
|
|
4859
4864
|
if (["key", "topic", "fireAt"].some((prop) => key === prop))
|
|
@@ -4868,7 +4873,7 @@ var assertLocalNotificationEntry = withStrictTimes("local reminder entry", /* @_
|
|
|
4868
4873
|
value
|
|
4869
4874
|
}, _errorFactory);
|
|
4870
4875
|
})));
|
|
4871
|
-
const _io0 = (input, _exceptionable = true) => "string" === typeof input.key &&
|
|
4876
|
+
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
4877
|
if (["key", "topic", "fireAt"].some((prop) => key === prop))
|
|
4873
4878
|
return true;
|
|
4874
4879
|
const value = input[key];
|
|
@@ -5011,7 +5016,7 @@ var assertNotificationConsentRecord = withStrictTimes("consent record", /* @__PU
|
|
|
5011
5016
|
path: _path + ".kind",
|
|
5012
5017
|
expected: '"host-agreement"',
|
|
5013
5018
|
value: input.kind
|
|
5014
|
-
}, _errorFactory)) && ("string" === typeof input.topic && (
|
|
5019
|
+
}, _errorFactory)) && ("string" === typeof input.topic && (_stringLengthGte_1._stringLengthGte(input.topic, 1) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5015
5020
|
method: "typia.createAssertEquals",
|
|
5016
5021
|
path: _path + ".topic",
|
|
5017
5022
|
expected: "string & MinLength<1>",
|
|
@@ -5079,7 +5084,7 @@ var assertNotificationConsentRecord = withStrictTimes("consent record", /* @__PU
|
|
|
5079
5084
|
path: _path + ".kind",
|
|
5080
5085
|
expected: '"topic-preference"',
|
|
5081
5086
|
value: input.kind
|
|
5082
|
-
}, _errorFactory)) && ("string" === typeof input.topic && (
|
|
5087
|
+
}, _errorFactory)) && ("string" === typeof input.topic && (_stringLengthGte_1._stringLengthGte(input.topic, 1) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5083
5088
|
method: "typia.createAssertEquals",
|
|
5084
5089
|
path: _path + ".topic",
|
|
5085
5090
|
expected: "string & MinLength<1>",
|
|
@@ -5187,7 +5192,7 @@ var assertNotificationConsentRecord = withStrictTimes("consent record", /* @__PU
|
|
|
5187
5192
|
path: _path + ".evidence",
|
|
5188
5193
|
expected: "undefined",
|
|
5189
5194
|
value: input.evidence
|
|
5190
|
-
}, _errorFactory))) && ("string" === typeof input.textVersion && (
|
|
5195
|
+
}, _errorFactory))) && ("string" === typeof input.textVersion && (_stringLengthGte_1._stringLengthGte(input.textVersion, 1) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5191
5196
|
method: "typia.createAssertEquals",
|
|
5192
5197
|
path: _path + ".textVersion",
|
|
5193
5198
|
expected: "string & MinLength<1>",
|
|
@@ -5249,7 +5254,7 @@ var assertNotificationConsentRecord = withStrictTimes("consent record", /* @__PU
|
|
|
5249
5254
|
return true;
|
|
5250
5255
|
return "string" === typeof value || "number" === typeof value || "boolean" === typeof value;
|
|
5251
5256
|
});
|
|
5252
|
-
const _io3 = (input, _exceptionable = true) => "host-agreement" === input.kind && ("string" === typeof input.topic &&
|
|
5257
|
+
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
5258
|
if (["kind", "topic", "state", "source", "at", "evidence", "textVersion"].some((prop) => key === prop))
|
|
5254
5259
|
return true;
|
|
5255
5260
|
const value = input[key];
|
|
@@ -5257,7 +5262,7 @@ var assertNotificationConsentRecord = withStrictTimes("consent record", /* @__PU
|
|
|
5257
5262
|
return true;
|
|
5258
5263
|
return false;
|
|
5259
5264
|
}));
|
|
5260
|
-
const _io4 = (input, _exceptionable = true) => "topic-preference" === input.kind && ("string" === typeof input.topic &&
|
|
5265
|
+
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
5266
|
if (["kind", "topic", "state", "source", "at", "evidence", "textVersion"].some((prop) => key === prop))
|
|
5262
5267
|
return true;
|
|
5263
5268
|
const value = input[key];
|
|
@@ -5265,7 +5270,7 @@ var assertNotificationConsentRecord = withStrictTimes("consent record", /* @__PU
|
|
|
5265
5270
|
return true;
|
|
5266
5271
|
return false;
|
|
5267
5272
|
}));
|
|
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 &&
|
|
5273
|
+
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
5274
|
if (["kind", "topic", "state", "source", "at", "evidence", "textVersion"].some((prop) => key === prop))
|
|
5270
5275
|
return true;
|
|
5271
5276
|
const value = input[key];
|
|
@@ -5371,7 +5376,7 @@ var assertNotificationNotice = withStrictTimes("notice", /* @__PURE__ */ (() =>
|
|
|
5371
5376
|
path: _path + ".at",
|
|
5372
5377
|
expected: '(string & Format<"date-time">)',
|
|
5373
5378
|
value: input.at
|
|
5374
|
-
}, _errorFactory)) && (void 0 === input.textVersion || "string" === typeof input.textVersion && (
|
|
5379
|
+
}, _errorFactory)) && (void 0 === input.textVersion || "string" === typeof input.textVersion && (_stringLengthGte_1._stringLengthGte(input.textVersion, 1) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5375
5380
|
method: "typia.createAssertEquals",
|
|
5376
5381
|
path: _path + ".textVersion",
|
|
5377
5382
|
expected: "string & MinLength<1>",
|
|
@@ -5402,7 +5407,7 @@ var assertNotificationNotice = withStrictTimes("notice", /* @__PURE__ */ (() =>
|
|
|
5402
5407
|
return true;
|
|
5403
5408
|
return false;
|
|
5404
5409
|
}));
|
|
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 &&
|
|
5410
|
+
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
5411
|
if (["kind", "state", "at", "textVersion"].some((prop) => key === prop))
|
|
5407
5412
|
return true;
|
|
5408
5413
|
const value = input[key];
|
|
@@ -5496,7 +5501,7 @@ var assertRecordNotificationNoticeInput = withStrictTimes("notice to record", /*
|
|
|
5496
5501
|
path: _path + ".at",
|
|
5497
5502
|
expected: '(string & Format<"date-time">)',
|
|
5498
5503
|
value: input.at
|
|
5499
|
-
}, _errorFactory)) && (void 0 === input.textVersion || "string" === typeof input.textVersion && (
|
|
5504
|
+
}, _errorFactory)) && (void 0 === input.textVersion || "string" === typeof input.textVersion && (_stringLengthGte_1._stringLengthGte(input.textVersion, 1) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5500
5505
|
method: "typia.createAssertEquals",
|
|
5501
5506
|
path: _path + ".textVersion",
|
|
5502
5507
|
expected: "string & MinLength<1>",
|
|
@@ -5599,7 +5604,7 @@ var assertRecordNotificationNoticeInput = withStrictTimes("notice to record", /*
|
|
|
5599
5604
|
return true;
|
|
5600
5605
|
return false;
|
|
5601
5606
|
}));
|
|
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 &&
|
|
5607
|
+
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
5608
|
if (["kind", "state", "at", "textVersion"].some((prop) => key === prop))
|
|
5604
5609
|
return true;
|
|
5605
5610
|
const value = input[key];
|
|
@@ -5683,15 +5688,15 @@ var assertNotificationBridgeListLocalResult = withStrictTimes("listLocal result"
|
|
|
5683
5688
|
value
|
|
5684
5689
|
}, _errorFactory);
|
|
5685
5690
|
})));
|
|
5686
|
-
const _ao1 = (input, _path, _exceptionable = true) => ("string" === typeof input.key && (
|
|
5691
|
+
const _ao1 = (input, _path, _exceptionable = true) => ("string" === typeof input.key && (_stringLengthGte_1._stringLengthGte(input.key, 1) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5687
5692
|
method: "typia.createAssertEquals",
|
|
5688
5693
|
path: _path + ".key",
|
|
5689
|
-
expected: "string &
|
|
5694
|
+
expected: "string & MinLength<1>",
|
|
5690
5695
|
value: input.key
|
|
5691
5696
|
}, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5692
5697
|
method: "typia.createAssertEquals",
|
|
5693
5698
|
path: _path + ".key",
|
|
5694
|
-
expected: "(string &
|
|
5699
|
+
expected: "(string & MinLength<1>)",
|
|
5695
5700
|
value: input.key
|
|
5696
5701
|
}, _errorFactory)) && ("string" === typeof input.topic || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5697
5702
|
method: "typia.createAssertEquals",
|
|
@@ -5701,12 +5706,12 @@ var assertNotificationBridgeListLocalResult = withStrictTimes("listLocal result"
|
|
|
5701
5706
|
}, _errorFactory)) && ("string" === typeof input.fireAt && (_isFormatDateTime_1._isFormatDateTime(input.fireAt) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5702
5707
|
method: "typia.createAssertEquals",
|
|
5703
5708
|
path: _path + ".fireAt",
|
|
5704
|
-
expected:
|
|
5709
|
+
expected: 'string & Format<"date-time">',
|
|
5705
5710
|
value: input.fireAt
|
|
5706
5711
|
}, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5707
5712
|
method: "typia.createAssertEquals",
|
|
5708
5713
|
path: _path + ".fireAt",
|
|
5709
|
-
expected:
|
|
5714
|
+
expected: '(string & Format<"date-time">)',
|
|
5710
5715
|
value: input.fireAt
|
|
5711
5716
|
}, _errorFactory)) && (3 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).every((key) => {
|
|
5712
5717
|
if (["key", "topic", "fireAt"].some((prop) => key === prop))
|
|
@@ -5729,7 +5734,7 @@ var assertNotificationBridgeListLocalResult = withStrictTimes("listLocal result"
|
|
|
5729
5734
|
return true;
|
|
5730
5735
|
return false;
|
|
5731
5736
|
}));
|
|
5732
|
-
const _io1 = (input, _exceptionable = true) => "string" === typeof input.key &&
|
|
5737
|
+
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
5738
|
if (["key", "topic", "fireAt"].some((prop) => key === prop))
|
|
5734
5739
|
return true;
|
|
5735
5740
|
const value = input[key];
|
|
@@ -5760,7 +5765,7 @@ var assertNotificationBridgeListLocalResult = withStrictTimes("listLocal result"
|
|
|
5760
5765
|
var assertNotificationBackendBridgeRecordConsentPayload = withStrictTimes("recordConsent payload", /* @__PURE__ */ (() => {
|
|
5761
5766
|
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
5767
|
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 && (
|
|
5768
|
+
const _ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.expectedPlayer && (_stringLengthGte_1._stringLengthGte(input.expectedPlayer, 1) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5764
5769
|
method: "typia.createAssertEquals",
|
|
5765
5770
|
path: _path + ".expectedPlayer",
|
|
5766
5771
|
expected: "string & MinLength<1>",
|
|
@@ -5905,7 +5910,7 @@ var assertNotificationBackendBridgeRecordConsentPayload = withStrictTimes("recor
|
|
|
5905
5910
|
path: _path + ".kind",
|
|
5906
5911
|
expected: '"host-agreement"',
|
|
5907
5912
|
value: input.kind
|
|
5908
|
-
}, _errorFactory)) && ("string" === typeof input.topic && (
|
|
5913
|
+
}, _errorFactory)) && ("string" === typeof input.topic && (_stringLengthGte_1._stringLengthGte(input.topic, 1) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5909
5914
|
method: "typia.createAssertEquals",
|
|
5910
5915
|
path: _path + ".topic",
|
|
5911
5916
|
expected: "string & MinLength<1>",
|
|
@@ -5973,7 +5978,7 @@ var assertNotificationBackendBridgeRecordConsentPayload = withStrictTimes("recor
|
|
|
5973
5978
|
path: _path + ".kind",
|
|
5974
5979
|
expected: '"topic-preference"',
|
|
5975
5980
|
value: input.kind
|
|
5976
|
-
}, _errorFactory)) && ("string" === typeof input.topic && (
|
|
5981
|
+
}, _errorFactory)) && ("string" === typeof input.topic && (_stringLengthGte_1._stringLengthGte(input.topic, 1) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
5977
5982
|
method: "typia.createAssertEquals",
|
|
5978
5983
|
path: _path + ".topic",
|
|
5979
5984
|
expected: "string & MinLength<1>",
|
|
@@ -6081,7 +6086,7 @@ var assertNotificationBackendBridgeRecordConsentPayload = withStrictTimes("recor
|
|
|
6081
6086
|
path: _path + ".evidence",
|
|
6082
6087
|
expected: "undefined",
|
|
6083
6088
|
value: input.evidence
|
|
6084
|
-
}, _errorFactory))) && ("string" === typeof input.textVersion && (
|
|
6089
|
+
}, _errorFactory))) && ("string" === typeof input.textVersion && (_stringLengthGte_1._stringLengthGte(input.textVersion, 1) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
6085
6090
|
method: "typia.createAssertEquals",
|
|
6086
6091
|
path: _path + ".textVersion",
|
|
6087
6092
|
expected: "string & MinLength<1>",
|
|
@@ -6121,7 +6126,7 @@ var assertNotificationBackendBridgeRecordConsentPayload = withStrictTimes("recor
|
|
|
6121
6126
|
value: input
|
|
6122
6127
|
}, _errorFactory);
|
|
6123
6128
|
})();
|
|
6124
|
-
const _io0 = (input, _exceptionable = true) => "string" === typeof input.expectedPlayer &&
|
|
6129
|
+
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
6130
|
if (["expectedPlayer", "record"].some((prop) => key === prop))
|
|
6126
6131
|
return true;
|
|
6127
6132
|
const value = input[key];
|
|
@@ -6151,7 +6156,7 @@ var assertNotificationBackendBridgeRecordConsentPayload = withStrictTimes("recor
|
|
|
6151
6156
|
return true;
|
|
6152
6157
|
return "string" === typeof value || "number" === typeof value || "boolean" === typeof value;
|
|
6153
6158
|
});
|
|
6154
|
-
const _io4 = (input, _exceptionable = true) => "host-agreement" === input.kind && ("string" === typeof input.topic &&
|
|
6159
|
+
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
6160
|
if (["kind", "topic", "state", "source", "at", "evidence", "textVersion"].some((prop) => key === prop))
|
|
6156
6161
|
return true;
|
|
6157
6162
|
const value = input[key];
|
|
@@ -6159,7 +6164,7 @@ var assertNotificationBackendBridgeRecordConsentPayload = withStrictTimes("recor
|
|
|
6159
6164
|
return true;
|
|
6160
6165
|
return false;
|
|
6161
6166
|
}));
|
|
6162
|
-
const _io5 = (input, _exceptionable = true) => "topic-preference" === input.kind && ("string" === typeof input.topic &&
|
|
6167
|
+
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
6168
|
if (["kind", "topic", "state", "source", "at", "evidence", "textVersion"].some((prop) => key === prop))
|
|
6164
6169
|
return true;
|
|
6165
6170
|
const value = input[key];
|
|
@@ -6167,7 +6172,7 @@ var assertNotificationBackendBridgeRecordConsentPayload = withStrictTimes("recor
|
|
|
6167
6172
|
return true;
|
|
6168
6173
|
return false;
|
|
6169
6174
|
}));
|
|
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 &&
|
|
6175
|
+
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
6176
|
if (["kind", "topic", "state", "source", "at", "evidence", "textVersion"].some((prop) => key === prop))
|
|
6172
6177
|
return true;
|
|
6173
6178
|
const value = input[key];
|
|
@@ -6345,7 +6350,7 @@ var assertNotificationBackendBridgeRecordConsentResult = withStrictTimes("record
|
|
|
6345
6350
|
path: _path + ".kind",
|
|
6346
6351
|
expected: '"host-agreement"',
|
|
6347
6352
|
value: input.kind
|
|
6348
|
-
}, _errorFactory)) && ("string" === typeof input.topic && (
|
|
6353
|
+
}, _errorFactory)) && ("string" === typeof input.topic && (_stringLengthGte_1._stringLengthGte(input.topic, 1) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
6349
6354
|
method: "typia.createAssertEquals",
|
|
6350
6355
|
path: _path + ".topic",
|
|
6351
6356
|
expected: "string & MinLength<1>",
|
|
@@ -6413,7 +6418,7 @@ var assertNotificationBackendBridgeRecordConsentResult = withStrictTimes("record
|
|
|
6413
6418
|
path: _path + ".kind",
|
|
6414
6419
|
expected: '"topic-preference"',
|
|
6415
6420
|
value: input.kind
|
|
6416
|
-
}, _errorFactory)) && ("string" === typeof input.topic && (
|
|
6421
|
+
}, _errorFactory)) && ("string" === typeof input.topic && (_stringLengthGte_1._stringLengthGte(input.topic, 1) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
6417
6422
|
method: "typia.createAssertEquals",
|
|
6418
6423
|
path: _path + ".topic",
|
|
6419
6424
|
expected: "string & MinLength<1>",
|
|
@@ -6521,7 +6526,7 @@ var assertNotificationBackendBridgeRecordConsentResult = withStrictTimes("record
|
|
|
6521
6526
|
path: _path + ".evidence",
|
|
6522
6527
|
expected: "undefined",
|
|
6523
6528
|
value: input.evidence
|
|
6524
|
-
}, _errorFactory))) && ("string" === typeof input.textVersion && (
|
|
6529
|
+
}, _errorFactory))) && ("string" === typeof input.textVersion && (_stringLengthGte_1._stringLengthGte(input.textVersion, 1) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
6525
6530
|
method: "typia.createAssertEquals",
|
|
6526
6531
|
path: _path + ".textVersion",
|
|
6527
6532
|
expected: "string & MinLength<1>",
|
|
@@ -6591,7 +6596,7 @@ var assertNotificationBackendBridgeRecordConsentResult = withStrictTimes("record
|
|
|
6591
6596
|
return true;
|
|
6592
6597
|
return "string" === typeof value || "number" === typeof value || "boolean" === typeof value;
|
|
6593
6598
|
});
|
|
6594
|
-
const _io4 = (input, _exceptionable = true) => "host-agreement" === input.kind && ("string" === typeof input.topic &&
|
|
6599
|
+
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
6600
|
if (["kind", "topic", "state", "source", "at", "evidence", "textVersion"].some((prop) => key === prop))
|
|
6596
6601
|
return true;
|
|
6597
6602
|
const value = input[key];
|
|
@@ -6599,7 +6604,7 @@ var assertNotificationBackendBridgeRecordConsentResult = withStrictTimes("record
|
|
|
6599
6604
|
return true;
|
|
6600
6605
|
return false;
|
|
6601
6606
|
}));
|
|
6602
|
-
const _io5 = (input, _exceptionable = true) => "topic-preference" === input.kind && ("string" === typeof input.topic &&
|
|
6607
|
+
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
6608
|
if (["kind", "topic", "state", "source", "at", "evidence", "textVersion"].some((prop) => key === prop))
|
|
6604
6609
|
return true;
|
|
6605
6610
|
const value = input[key];
|
|
@@ -6607,7 +6612,7 @@ var assertNotificationBackendBridgeRecordConsentResult = withStrictTimes("record
|
|
|
6607
6612
|
return true;
|
|
6608
6613
|
return false;
|
|
6609
6614
|
}));
|
|
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 &&
|
|
6615
|
+
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
6616
|
if (["kind", "topic", "state", "source", "at", "evidence", "textVersion"].some((prop) => key === prop))
|
|
6612
6617
|
return true;
|
|
6613
6618
|
const value = input[key];
|
|
@@ -6795,7 +6800,7 @@ var assertNotificationBackendBridgeListConsentResult = withStrictTimes("listCons
|
|
|
6795
6800
|
path: _path + ".kind",
|
|
6796
6801
|
expected: '"host-agreement"',
|
|
6797
6802
|
value: input.kind
|
|
6798
|
-
}, _errorFactory)) && ("string" === typeof input.topic && (
|
|
6803
|
+
}, _errorFactory)) && ("string" === typeof input.topic && (_stringLengthGte_1._stringLengthGte(input.topic, 1) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
6799
6804
|
method: "typia.createAssertEquals",
|
|
6800
6805
|
path: _path + ".topic",
|
|
6801
6806
|
expected: "string & MinLength<1>",
|
|
@@ -6863,7 +6868,7 @@ var assertNotificationBackendBridgeListConsentResult = withStrictTimes("listCons
|
|
|
6863
6868
|
path: _path + ".kind",
|
|
6864
6869
|
expected: '"topic-preference"',
|
|
6865
6870
|
value: input.kind
|
|
6866
|
-
}, _errorFactory)) && ("string" === typeof input.topic && (
|
|
6871
|
+
}, _errorFactory)) && ("string" === typeof input.topic && (_stringLengthGte_1._stringLengthGte(input.topic, 1) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
6867
6872
|
method: "typia.createAssertEquals",
|
|
6868
6873
|
path: _path + ".topic",
|
|
6869
6874
|
expected: "string & MinLength<1>",
|
|
@@ -6971,7 +6976,7 @@ var assertNotificationBackendBridgeListConsentResult = withStrictTimes("listCons
|
|
|
6971
6976
|
path: _path + ".evidence",
|
|
6972
6977
|
expected: "undefined",
|
|
6973
6978
|
value: input.evidence
|
|
6974
|
-
}, _errorFactory))) && ("string" === typeof input.textVersion && (
|
|
6979
|
+
}, _errorFactory))) && ("string" === typeof input.textVersion && (_stringLengthGte_1._stringLengthGte(input.textVersion, 1) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
6975
6980
|
method: "typia.createAssertEquals",
|
|
6976
6981
|
path: _path + ".textVersion",
|
|
6977
6982
|
expected: "string & MinLength<1>",
|
|
@@ -7041,7 +7046,7 @@ var assertNotificationBackendBridgeListConsentResult = withStrictTimes("listCons
|
|
|
7041
7046
|
return true;
|
|
7042
7047
|
return "string" === typeof value || "number" === typeof value || "boolean" === typeof value;
|
|
7043
7048
|
});
|
|
7044
|
-
const _io4 = (input, _exceptionable = true) => "host-agreement" === input.kind && ("string" === typeof input.topic &&
|
|
7049
|
+
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
7050
|
if (["kind", "topic", "state", "source", "at", "evidence", "textVersion"].some((prop) => key === prop))
|
|
7046
7051
|
return true;
|
|
7047
7052
|
const value = input[key];
|
|
@@ -7049,7 +7054,7 @@ var assertNotificationBackendBridgeListConsentResult = withStrictTimes("listCons
|
|
|
7049
7054
|
return true;
|
|
7050
7055
|
return false;
|
|
7051
7056
|
}));
|
|
7052
|
-
const _io5 = (input, _exceptionable = true) => "topic-preference" === input.kind && ("string" === typeof input.topic &&
|
|
7057
|
+
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
7058
|
if (["kind", "topic", "state", "source", "at", "evidence", "textVersion"].some((prop) => key === prop))
|
|
7054
7059
|
return true;
|
|
7055
7060
|
const value = input[key];
|
|
@@ -7057,7 +7062,7 @@ var assertNotificationBackendBridgeListConsentResult = withStrictTimes("listCons
|
|
|
7057
7062
|
return true;
|
|
7058
7063
|
return false;
|
|
7059
7064
|
}));
|
|
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 &&
|
|
7065
|
+
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
7066
|
if (["kind", "topic", "state", "source", "at", "evidence", "textVersion"].some((prop) => key === prop))
|
|
7062
7067
|
return true;
|
|
7063
7068
|
const value = input[key];
|
|
@@ -7098,7 +7103,7 @@ var assertNotificationBackendBridgeListConsentResult = withStrictTimes("listCons
|
|
|
7098
7103
|
};
|
|
7099
7104
|
})(), notificationTimeFields.NotificationBackendBridgeListConsentResult);
|
|
7100
7105
|
var assertNotificationBackendBridgeSetReminderPayload = withStrictTimes("setReminder payload", /* @__PURE__ */ (() => {
|
|
7101
|
-
const _ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.expectedPlayer && (
|
|
7106
|
+
const _ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.expectedPlayer && (_stringLengthGte_1._stringLengthGte(input.expectedPlayer, 1) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
7102
7107
|
method: "typia.createAssertEquals",
|
|
7103
7108
|
path: _path + ".expectedPlayer",
|
|
7104
7109
|
expected: "string & MinLength<1>",
|
|
@@ -7146,7 +7151,7 @@ var assertNotificationBackendBridgeSetReminderPayload = withStrictTimes("setRemi
|
|
|
7146
7151
|
path: _path + ".templateData",
|
|
7147
7152
|
expected: "(Readonly<Record<string, string | number | boolean>> | undefined)",
|
|
7148
7153
|
value: input.templateData
|
|
7149
|
-
}, _errorFactory)) && ("string" === typeof input.key && (
|
|
7154
|
+
}, _errorFactory)) && ("string" === typeof input.key && (_stringLengthGte_1._stringLengthGte(input.key, 1) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
7150
7155
|
method: "typia.createAssertEquals",
|
|
7151
7156
|
path: _path + ".key",
|
|
7152
7157
|
expected: "string & MinLength<1>",
|
|
@@ -7166,7 +7171,7 @@ var assertNotificationBackendBridgeSetReminderPayload = withStrictTimes("setRemi
|
|
|
7166
7171
|
path: _path + ".fireAt",
|
|
7167
7172
|
expected: '(string & Format<"date-time">)',
|
|
7168
7173
|
value: input.fireAt
|
|
7169
|
-
}, _errorFactory)) && (void 0 === input.link || "string" === typeof input.link && (
|
|
7174
|
+
}, _errorFactory)) && (void 0 === input.link || "string" === typeof input.link && (_stringLengthGte_1._stringLengthGte(input.link, 1) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
7170
7175
|
method: "typia.createAssertEquals",
|
|
7171
7176
|
path: _path + ".link",
|
|
7172
7177
|
expected: "string & MinLength<1>",
|
|
@@ -7200,7 +7205,7 @@ var assertNotificationBackendBridgeSetReminderPayload = withStrictTimes("setRemi
|
|
|
7200
7205
|
value
|
|
7201
7206
|
}, _errorFactory);
|
|
7202
7207
|
});
|
|
7203
|
-
const _io0 = (input, _exceptionable = true) => "string" === typeof input.expectedPlayer &&
|
|
7208
|
+
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
7209
|
if (["expectedPlayer", "reminder"].some((prop) => key === prop))
|
|
7205
7210
|
return true;
|
|
7206
7211
|
const value = input[key];
|
|
@@ -7208,7 +7213,7 @@ var assertNotificationBackendBridgeSetReminderPayload = withStrictTimes("setRemi
|
|
|
7208
7213
|
return true;
|
|
7209
7214
|
return false;
|
|
7210
7215
|
}));
|
|
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 &&
|
|
7216
|
+
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
7217
|
if (["topic", "templateData", "key", "fireAt", "link"].some((prop) => key === prop))
|
|
7213
7218
|
return true;
|
|
7214
7219
|
const value = input[key];
|
|
@@ -7341,7 +7346,7 @@ var assertNotificationBackendBridgeListNoticesResult = withStrictTimes("listNoti
|
|
|
7341
7346
|
path: _path + ".at",
|
|
7342
7347
|
expected: '(string & Format<"date-time">)',
|
|
7343
7348
|
value: input.at
|
|
7344
|
-
}, _errorFactory)) && (void 0 === input.textVersion || "string" === typeof input.textVersion && (
|
|
7349
|
+
}, _errorFactory)) && (void 0 === input.textVersion || "string" === typeof input.textVersion && (_stringLengthGte_1._stringLengthGte(input.textVersion, 1) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
7345
7350
|
method: "typia.createAssertEquals",
|
|
7346
7351
|
path: _path + ".textVersion",
|
|
7347
7352
|
expected: "string & MinLength<1>",
|
|
@@ -7380,7 +7385,7 @@ var assertNotificationBackendBridgeListNoticesResult = withStrictTimes("listNoti
|
|
|
7380
7385
|
return true;
|
|
7381
7386
|
return false;
|
|
7382
7387
|
}));
|
|
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 &&
|
|
7388
|
+
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
7389
|
if (["kind", "state", "at", "textVersion"].some((prop) => key === prop))
|
|
7385
7390
|
return true;
|
|
7386
7391
|
const value = input[key];
|
|
@@ -7409,7 +7414,7 @@ var assertNotificationBackendBridgeListNoticesResult = withStrictTimes("listNoti
|
|
|
7409
7414
|
};
|
|
7410
7415
|
})(), notificationTimeFields.NotificationBackendBridgeListNoticesResult);
|
|
7411
7416
|
var assertNotificationBackendBridgeRecordNoticePayload = withStrictTimes("recordNotice payload", /* @__PURE__ */ (() => {
|
|
7412
|
-
const _ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.expectedPlayer && (
|
|
7417
|
+
const _ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.expectedPlayer && (_stringLengthGte_1._stringLengthGte(input.expectedPlayer, 1) || _assertGuard_1._assertGuard(_exceptionable, {
|
|
7413
7418
|
method: "typia.createAssertEquals",
|
|
7414
7419
|
path: _path + ".expectedPlayer",
|
|
7415
7420
|
expected: "string & MinLength<1>",
|
|
@@ -7513,7 +7518,7 @@ var assertNotificationBackendBridgeRecordNoticePayload = withStrictTimes("record
|
|
|
7513
7518
|
value
|
|
7514
7519
|
}, _errorFactory);
|
|
7515
7520
|
})));
|
|
7516
|
-
const _io0 = (input, _exceptionable = true) => "string" === typeof input.expectedPlayer &&
|
|
7521
|
+
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
7522
|
if (["expectedPlayer", "notice", "channel"].some((prop) => key === prop))
|
|
7518
7523
|
return true;
|
|
7519
7524
|
const value = input[key];
|
|
@@ -7560,13 +7565,14 @@ var assertNotificationBackendBridgeRecordNoticePayload = withStrictTimes("record
|
|
|
7560
7565
|
|
|
7561
7566
|
// node_modules/.cache/mpgd-native-build/packages/catalog/src/notification-topics-shape.js
|
|
7562
7567
|
import * as _isTypeUint32_12 from "typia/lib/internal/_isTypeUint32";
|
|
7568
|
+
import * as _stringLengthGte_12 from "typia/lib/internal/_stringLengthGte";
|
|
7563
7569
|
import * as _accessExpressionAsString_12 from "typia/lib/internal/_accessExpressionAsString";
|
|
7564
7570
|
import * as _validateReport_1 from "typia/lib/internal/_validateReport";
|
|
7565
7571
|
import * as _createStandardSchema_1 from "typia/lib/internal/_createStandardSchema";
|
|
7566
7572
|
import typia2 from "typia";
|
|
7567
7573
|
var __typia_transform__accessExpressionAsString2 = _accessExpressionAsString_12._accessExpressionAsString;
|
|
7568
7574
|
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 &&
|
|
7575
|
+
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
7576
|
if (["notices", "version", "defaultLocale", "topics"].some((prop) => key === prop))
|
|
7571
7577
|
return true;
|
|
7572
7578
|
const value = input[key];
|
|
@@ -7574,7 +7580,7 @@ var validateShape = (() => {
|
|
|
7574
7580
|
return true;
|
|
7575
7581
|
return false;
|
|
7576
7582
|
}));
|
|
7577
|
-
const _io1 = (input, _exceptionable = true) => "string" === typeof input.topic &&
|
|
7583
|
+
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
7584
|
if (["copy", "topic"].some((prop) => key === prop))
|
|
7579
7585
|
return true;
|
|
7580
7586
|
const value = input[key];
|
|
@@ -7582,7 +7588,7 @@ var validateShape = (() => {
|
|
|
7582
7588
|
return true;
|
|
7583
7589
|
return false;
|
|
7584
7590
|
}));
|
|
7585
|
-
const _io2 = (input, _exceptionable = true) => "string" === typeof input.id &&
|
|
7591
|
+
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
7592
|
if (["id", "purpose", "channels", "route", "optOutRoute", "copy", "frequency", "quietHours", "deferrable", "targets"].some((prop) => key === prop))
|
|
7587
7593
|
return true;
|
|
7588
7594
|
const value = input[key];
|
|
@@ -7596,7 +7602,7 @@ var validateShape = (() => {
|
|
|
7596
7602
|
return true;
|
|
7597
7603
|
return "object" === typeof value && null !== value && _io4(value, _exceptionable);
|
|
7598
7604
|
});
|
|
7599
|
-
const _io4 = (input, _exceptionable = true) => "string" === typeof input.title &&
|
|
7605
|
+
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
7606
|
if (["title", "body"].some((prop) => key === prop))
|
|
7601
7607
|
return true;
|
|
7602
7608
|
const value = input[key];
|
|
@@ -7640,7 +7646,7 @@ var validateShape = (() => {
|
|
|
7640
7646
|
path: _path + ".notices",
|
|
7641
7647
|
expected: "(NotificationTopicCatalogNotices | undefined)",
|
|
7642
7648
|
value: input.notices
|
|
7643
|
-
}), "string" === typeof input.version && (
|
|
7649
|
+
}), "string" === typeof input.version && (_stringLengthGte_12._stringLengthGte(input.version, 1) || _report(_exceptionable, {
|
|
7644
7650
|
path: _path + ".version",
|
|
7645
7651
|
expected: "string & MinLength<1>",
|
|
7646
7652
|
value: input.version
|
|
@@ -7648,7 +7654,7 @@ var validateShape = (() => {
|
|
|
7648
7654
|
path: _path + ".version",
|
|
7649
7655
|
expected: "(string & MinLength<1>)",
|
|
7650
7656
|
value: input.version
|
|
7651
|
-
}), "string" === typeof input.defaultLocale && (
|
|
7657
|
+
}), "string" === typeof input.defaultLocale && (_stringLengthGte_12._stringLengthGte(input.defaultLocale, 1) || _report(_exceptionable, {
|
|
7652
7658
|
path: _path + ".defaultLocale",
|
|
7653
7659
|
expected: "string & MinLength<1>",
|
|
7654
7660
|
value: input.defaultLocale
|
|
@@ -7689,7 +7695,7 @@ var validateShape = (() => {
|
|
|
7689
7695
|
].join("\n")
|
|
7690
7696
|
});
|
|
7691
7697
|
}).every((flag) => flag))].every((flag) => flag);
|
|
7692
|
-
const _vo1 = (input, _path, _exceptionable = true) => [true, "string" === typeof input.topic && (
|
|
7698
|
+
const _vo1 = (input, _path, _exceptionable = true) => [true, "string" === typeof input.topic && (_stringLengthGte_12._stringLengthGte(input.topic, 1) || _report(_exceptionable, {
|
|
7693
7699
|
path: _path + ".topic",
|
|
7694
7700
|
expected: "string & MinLength<1>",
|
|
7695
7701
|
value: input.topic
|
|
@@ -7714,7 +7720,7 @@ var validateShape = (() => {
|
|
|
7714
7720
|
].join("\n")
|
|
7715
7721
|
});
|
|
7716
7722
|
}).every((flag) => flag))].every((flag) => flag);
|
|
7717
|
-
const _vo2 = (input, _path, _exceptionable = true) => ["string" === typeof input.id && (
|
|
7723
|
+
const _vo2 = (input, _path, _exceptionable = true) => ["string" === typeof input.id && (_stringLengthGte_12._stringLengthGte(input.id, 1) || _report(_exceptionable, {
|
|
7718
7724
|
path: _path + ".id",
|
|
7719
7725
|
expected: "string & MinLength<1>",
|
|
7720
7726
|
value: input.id
|
|
@@ -7742,7 +7748,7 @@ var validateShape = (() => {
|
|
|
7742
7748
|
path: _path + ".channels",
|
|
7743
7749
|
expected: "(ReadonlyArray<NotificationChannel> & MinItems<1>)",
|
|
7744
7750
|
value: input.channels
|
|
7745
|
-
}), "string" === typeof input.route && (
|
|
7751
|
+
}), "string" === typeof input.route && (_stringLengthGte_12._stringLengthGte(input.route, 1) || _report(_exceptionable, {
|
|
7746
7752
|
path: _path + ".route",
|
|
7747
7753
|
expected: "string & MinLength<1>",
|
|
7748
7754
|
value: input.route
|
|
@@ -7750,7 +7756,7 @@ var validateShape = (() => {
|
|
|
7750
7756
|
path: _path + ".route",
|
|
7751
7757
|
expected: "(string & MinLength<1>)",
|
|
7752
7758
|
value: input.route
|
|
7753
|
-
}), void 0 === input.optOutRoute || "string" === typeof input.optOutRoute && (
|
|
7759
|
+
}), void 0 === input.optOutRoute || "string" === typeof input.optOutRoute && (_stringLengthGte_12._stringLengthGte(input.optOutRoute, 1) || _report(_exceptionable, {
|
|
7754
7760
|
path: _path + ".optOutRoute",
|
|
7755
7761
|
expected: "string & MinLength<1>",
|
|
7756
7762
|
value: input.optOutRoute
|
|
@@ -7825,7 +7831,7 @@ var validateShape = (() => {
|
|
|
7825
7831
|
value
|
|
7826
7832
|
});
|
|
7827
7833
|
}).every((flag) => flag)].every((flag) => flag);
|
|
7828
|
-
const _vo4 = (input, _path, _exceptionable = true) => ["string" === typeof input.title && (
|
|
7834
|
+
const _vo4 = (input, _path, _exceptionable = true) => ["string" === typeof input.title && (_stringLengthGte_12._stringLengthGte(input.title, 1) || _report(_exceptionable, {
|
|
7829
7835
|
path: _path + ".title",
|
|
7830
7836
|
expected: "string & MinLength<1>",
|
|
7831
7837
|
value: input.title
|
|
@@ -7833,7 +7839,7 @@ var validateShape = (() => {
|
|
|
7833
7839
|
path: _path + ".title",
|
|
7834
7840
|
expected: "(string & MinLength<1>)",
|
|
7835
7841
|
value: input.title
|
|
7836
|
-
}), "string" === typeof input.body && (
|
|
7842
|
+
}), "string" === typeof input.body && (_stringLengthGte_12._stringLengthGte(input.body, 1) || _report(_exceptionable, {
|
|
7837
7843
|
path: _path + ".body",
|
|
7838
7844
|
expected: "string & MinLength<1>",
|
|
7839
7845
|
value: input.body
|
|
@@ -7979,11 +7985,13 @@ var validateShape = (() => {
|
|
|
7979
7985
|
|
|
7980
7986
|
// node_modules/.cache/mpgd-native-build/packages/catalog/src/store-listings.js
|
|
7981
7987
|
import * as _assertGuard_12 from "typia/lib/internal/_assertGuard";
|
|
7988
|
+
import * as _stringLengthGte_13 from "typia/lib/internal/_stringLengthGte";
|
|
7982
7989
|
import * as _accessExpressionAsString_13 from "typia/lib/internal/_accessExpressionAsString";
|
|
7983
7990
|
import typia3 from "typia";
|
|
7984
7991
|
|
|
7985
7992
|
// node_modules/.cache/mpgd-native-build/packages/catalog/src/store-presence.js
|
|
7986
7993
|
import * as _assertGuard_13 from "typia/lib/internal/_assertGuard";
|
|
7994
|
+
import * as _stringLengthGte_14 from "typia/lib/internal/_stringLengthGte";
|
|
7987
7995
|
import * as _accessExpressionAsString_14 from "typia/lib/internal/_accessExpressionAsString";
|
|
7988
7996
|
import typia4 from "typia";
|
|
7989
7997
|
var googlePlayPresenceImageSlots = Object.freeze([
|
|
@@ -8618,6 +8626,7 @@ function isRecord2(value) {
|
|
|
8618
8626
|
import * as _isTypeUint32_15 from "typia/lib/internal/_isTypeUint32";
|
|
8619
8627
|
import * as _isFormatDateTime_13 from "typia/lib/internal/_isFormatDateTime";
|
|
8620
8628
|
import * as _assertGuard_17 from "typia/lib/internal/_assertGuard";
|
|
8629
|
+
import * as _stringLengthGte_18 from "typia/lib/internal/_stringLengthGte";
|
|
8621
8630
|
import * as _accessExpressionAsString_18 from "typia/lib/internal/_accessExpressionAsString";
|
|
8622
8631
|
import typia9 from "typia";
|
|
8623
8632
|
|
|
@@ -8626,6 +8635,7 @@ import * as _isTypeInt64_1 from "typia/lib/internal/_isTypeInt64";
|
|
|
8626
8635
|
import * as _isTypeUint32_14 from "typia/lib/internal/_isTypeUint32";
|
|
8627
8636
|
import * as _isFormatDateTime_12 from "typia/lib/internal/_isFormatDateTime";
|
|
8628
8637
|
import * as _assertGuard_16 from "typia/lib/internal/_assertGuard";
|
|
8638
|
+
import * as _stringLengthGte_17 from "typia/lib/internal/_stringLengthGte";
|
|
8629
8639
|
import * as _accessExpressionAsString_17 from "typia/lib/internal/_accessExpressionAsString";
|
|
8630
8640
|
import typia8 from "typia";
|
|
8631
8641
|
var commerceErrorCodes = Object.freeze([
|
|
@@ -11181,7 +11191,9 @@ function sha2562(content) {
|
|
|
11181
11191
|
}
|
|
11182
11192
|
|
|
11183
11193
|
// node_modules/.cache/mpgd-native-build/tools/target/generate-release-manifest.js
|
|
11194
|
+
import * as _isMultipleOf_13 from "typia/lib/internal/_isMultipleOf";
|
|
11184
11195
|
import * as _assertGuard_111 from "typia/lib/internal/_assertGuard";
|
|
11196
|
+
import * as _stringLengthGte_19 from "typia/lib/internal/_stringLengthGte";
|
|
11185
11197
|
import * as _accessExpressionAsString_112 from "typia/lib/internal/_accessExpressionAsString";
|
|
11186
11198
|
import { execFileSync } from "node:child_process";
|
|
11187
11199
|
import { createHash as createHash8, randomUUID as randomUUID2 } from "node:crypto";
|
|
@@ -11631,7 +11643,7 @@ var assertProductCatalog = /* @__PURE__ */ (() => {
|
|
|
11631
11643
|
path: _path + ".currencies",
|
|
11632
11644
|
expected: "Array<> & MinItems<1>",
|
|
11633
11645
|
value: input.currencies
|
|
11634
|
-
}, _errorFactory)) && input.currencies.every((elem, _index3) => "string" === typeof elem && (1
|
|
11646
|
+
}, _errorFactory)) && input.currencies.every((elem, _index3) => "string" === typeof elem && (_stringLengthGte_19._stringLengthGte(elem, 1) || _assertGuard_111._assertGuard(_exceptionable, {
|
|
11635
11647
|
method: "typia.createAssert",
|
|
11636
11648
|
path: _path + ".currencies[" + _index3 + "]",
|
|
11637
11649
|
expected: "string & MinLength<1>",
|
|
@@ -11703,7 +11715,7 @@ var assertProductCatalog = /* @__PURE__ */ (() => {
|
|
|
11703
11715
|
path: _path + ".type",
|
|
11704
11716
|
expected: '"currency"',
|
|
11705
11717
|
value: input.type
|
|
11706
|
-
}, _errorFactory)) && ("string" === typeof input.currency && (
|
|
11718
|
+
}, _errorFactory)) && ("string" === typeof input.currency && (_stringLengthGte_19._stringLengthGte(input.currency, 1) || _assertGuard_111._assertGuard(_exceptionable, {
|
|
11707
11719
|
method: "typia.createAssert",
|
|
11708
11720
|
path: _path + ".currency",
|
|
11709
11721
|
expected: "string & MinLength<1>",
|
|
@@ -11723,7 +11735,7 @@ var assertProductCatalog = /* @__PURE__ */ (() => {
|
|
|
11723
11735
|
path: _path + ".amount",
|
|
11724
11736
|
expected: "number & Maximum<9007199254740991>",
|
|
11725
11737
|
value: input.amount
|
|
11726
|
-
}, _errorFactory)) && (input.amount
|
|
11738
|
+
}, _errorFactory)) && (_isMultipleOf_13._isMultipleOf(input.amount, 1) || _assertGuard_111._assertGuard(_exceptionable, {
|
|
11727
11739
|
method: "typia.createAssert",
|
|
11728
11740
|
path: _path + ".amount",
|
|
11729
11741
|
expected: "number & MultipleOf<1>",
|
|
@@ -11750,7 +11762,7 @@ var assertProductCatalog = /* @__PURE__ */ (() => {
|
|
|
11750
11762
|
path: _path + ".type",
|
|
11751
11763
|
expected: '"resource"',
|
|
11752
11764
|
value: input.type
|
|
11753
|
-
}, _errorFactory)) && ("string" === typeof input.resource && (
|
|
11765
|
+
}, _errorFactory)) && ("string" === typeof input.resource && (_stringLengthGte_19._stringLengthGte(input.resource, 1) || _assertGuard_111._assertGuard(_exceptionable, {
|
|
11754
11766
|
method: "typia.createAssert",
|
|
11755
11767
|
path: _path + ".resource",
|
|
11756
11768
|
expected: "string & MinLength<1>",
|
|
@@ -11802,11 +11814,11 @@ var assertProductCatalog = /* @__PURE__ */ (() => {
|
|
|
11802
11814
|
value: input
|
|
11803
11815
|
}, _errorFactory);
|
|
11804
11816
|
})();
|
|
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
|
|
11817
|
+
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
11818
|
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 &&
|
|
11819
|
+
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
11820
|
const _io3 = (input) => "entitlement" === input.type && "string" === typeof input.entitlement;
|
|
11809
|
-
const _io4 = (input) => "resource" === input.type && ("string" === typeof input.resource &&
|
|
11821
|
+
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
11822
|
const _io5 = (input) => Object.keys(input).every((key) => {
|
|
11811
11823
|
const value = input[key];
|
|
11812
11824
|
if (void 0 === value)
|
|
@@ -11844,7 +11856,7 @@ var assertProductCatalog = /* @__PURE__ */ (() => {
|
|
|
11844
11856
|
};
|
|
11845
11857
|
})();
|
|
11846
11858
|
var assertAdPlacements = /* @__PURE__ */ (() => {
|
|
11847
|
-
const _ip0 = (input) => "number" === typeof input["amount"] && (1 <= input["amount"] && input["amount"] <= 9007199254740991 && input["amount"]
|
|
11859
|
+
const _ip0 = (input) => "number" === typeof input["amount"] && (1 <= input["amount"] && input["amount"] <= 9007199254740991 && _isMultipleOf_13._isMultipleOf(input["amount"], 1));
|
|
11848
11860
|
const _ae0 = '(AdPlacementEntryBase & { readonly type: "banner" | "interstitial"; readonly reward?: never; } | AdPlacementEntryBase & { readonly type: "rewarded"; readonly reward?: AdReward; })';
|
|
11849
11861
|
const _ae1 = '(undefined | { readonly type: "continue"; readonly amount: PositiveLedgerAmount; } | { readonly type: "currency"; readonly amount: PositiveLedgerAmount; readonly currency: string & MinLength<1>; })';
|
|
11850
11862
|
const _ap0 = (input, _path, _exceptionable = true) => "number" === typeof input["amount"] && (1 <= input["amount"] || _assertGuard_111._assertGuard(_exceptionable, {
|
|
@@ -11857,7 +11869,7 @@ var assertAdPlacements = /* @__PURE__ */ (() => {
|
|
|
11857
11869
|
path: _path + ".amount",
|
|
11858
11870
|
expected: "number & Maximum<9007199254740991>",
|
|
11859
11871
|
value: input["amount"]
|
|
11860
|
-
}, _errorFactory)) && (input["amount"]
|
|
11872
|
+
}, _errorFactory)) && (_isMultipleOf_13._isMultipleOf(input["amount"], 1) || _assertGuard_111._assertGuard(_exceptionable, {
|
|
11861
11873
|
method: "typia.createAssert",
|
|
11862
11874
|
path: _path + ".amount",
|
|
11863
11875
|
expected: "number & MultipleOf<1>",
|
|
@@ -11990,7 +12002,7 @@ var assertAdPlacements = /* @__PURE__ */ (() => {
|
|
|
11990
12002
|
path: _path + ".type",
|
|
11991
12003
|
expected: '"currency"',
|
|
11992
12004
|
value: input.type
|
|
11993
|
-
}, _errorFactory)) && _ap0(input, _path, _exceptionable) && ("string" === typeof input.currency && (
|
|
12005
|
+
}, _errorFactory)) && _ap0(input, _path, _exceptionable) && ("string" === typeof input.currency && (_stringLengthGte_19._stringLengthGte(input.currency, 1) || _assertGuard_111._assertGuard(_exceptionable, {
|
|
11994
12006
|
method: "typia.createAssert",
|
|
11995
12007
|
path: _path + ".currency",
|
|
11996
12008
|
expected: "string & MinLength<1>",
|
|
@@ -12054,7 +12066,7 @@ var assertAdPlacements = /* @__PURE__ */ (() => {
|
|
|
12054
12066
|
return void 0 === value || "string" === typeof value;
|
|
12055
12067
|
});
|
|
12056
12068
|
const _io5 = (input) => "continue" === input.type && _ip0(input);
|
|
12057
|
-
const _io6 = (input) => "currency" === input.type && _ip0(input) && ("string" === typeof input.currency &&
|
|
12069
|
+
const _io6 = (input) => "currency" === input.type && _ip0(input) && ("string" === typeof input.currency && _stringLengthGte_19._stringLengthGte(input.currency, 1));
|
|
12058
12070
|
const _io7 = (input) => _io2(input) && (("banner" === input.type || "interstitial" === input.type) && (null !== input.reward && void 0 === input.reward));
|
|
12059
12071
|
const _iu0 = (input) => (() => {
|
|
12060
12072
|
if ("banner" === input.type || "interstitial" === input.type)
|