@nxtedition/types 23.0.55 → 23.0.58
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/common/nxtpression.d.ts +1 -1
- package/dist/common/search.d.ts +9 -0
- package/dist/common/settings.d.ts +11 -0
- package/dist/nxtpression.d.ts +191 -18
- package/dist/records/domains/asset.d.ts +4 -0
- package/dist/records/domains/calendarevent.d.ts +27 -0
- package/dist/records/domains/calendarevent.js +1 -0
- package/dist/records/domains/condition.d.ts +5 -0
- package/dist/records/domains/condition.js +1 -0
- package/dist/records/domains/harvest.d.ts +10 -0
- package/dist/records/domains/harvest.js +1 -0
- package/dist/records/domains/index.d.ts +11 -1
- package/dist/records/domains/index.js +5 -0
- package/dist/records/domains/ingestclip.d.ts +21 -0
- package/dist/records/domains/ingestclip.js +1 -0
- package/dist/records/domains/panel.d.ts +8 -1
- package/dist/records/domains/publish/empty.d.ts +3 -3
- package/dist/records/domains/publish/facebook.d.ts +1 -1
- package/dist/records/domains/publish/file-legacy.d.ts +1 -1
- package/dist/records/domains/publish/file.d.ts +1 -1
- package/dist/records/domains/publish/index.d.ts +6 -2
- package/dist/records/domains/publish/youtube.d.ts +1 -1
- package/dist/records/domains/published.d.ts +7 -3
- package/dist/records/domains/search.d.ts +24 -4
- package/dist/records/domains/shotbox.d.ts +33 -0
- package/dist/records/domains/shotbox.js +1 -0
- package/dist/records/validate/assert-guard.js +1077 -325
- package/dist/records/validate/assert.js +1080 -320
- package/dist/records/validate/is.js +57 -31
- package/dist/records/validate/schemas.js +709 -111
- package/dist/records/validate/stringify.js +102 -71
- package/dist/records/validate/utils.js +1 -1
- package/dist/records/validate/validate-equals.js +1563 -459
- package/dist/records/validate/validate.js +1018 -292
- package/dist/rpc.d.ts +4 -1
- package/package.json +1 -1
|
@@ -2179,6 +2179,40 @@ function _assertDomainRecord(domain, input) {
|
|
|
2179
2179
|
return input;
|
|
2180
2180
|
}; })()(input);
|
|
2181
2181
|
}
|
|
2182
|
+
case ":asset.rawTypes?": {
|
|
2183
|
+
return (() => { const _io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem); const _ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2184
|
+
method: "typia.assert",
|
|
2185
|
+
path: _path + ".value",
|
|
2186
|
+
expected: "(Array<string> | undefined)",
|
|
2187
|
+
value: input.value
|
|
2188
|
+
}, _errorFactory)) && input.value.every((elem, _index2) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2189
|
+
method: "typia.assert",
|
|
2190
|
+
path: _path + ".value[" + _index2 + "]",
|
|
2191
|
+
expected: "string",
|
|
2192
|
+
value: elem
|
|
2193
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2194
|
+
method: "typia.assert",
|
|
2195
|
+
path: _path + ".value",
|
|
2196
|
+
expected: "(Array<string> | undefined)",
|
|
2197
|
+
value: input.value
|
|
2198
|
+
}, _errorFactory); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
2199
|
+
if (false === __is(input)) {
|
|
2200
|
+
_errorFactory = errorFactory;
|
|
2201
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
2202
|
+
method: "typia.assert",
|
|
2203
|
+
path: _path + "",
|
|
2204
|
+
expected: "AssetRawTypesProvidedRecord",
|
|
2205
|
+
value: input
|
|
2206
|
+
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
2207
|
+
method: "typia.assert",
|
|
2208
|
+
path: _path + "",
|
|
2209
|
+
expected: "AssetRawTypesProvidedRecord",
|
|
2210
|
+
value: input
|
|
2211
|
+
}, _errorFactory))(input, "$input", true);
|
|
2212
|
+
}
|
|
2213
|
+
return input;
|
|
2214
|
+
}; })()(input);
|
|
2215
|
+
}
|
|
2182
2216
|
case ":asset.types?": {
|
|
2183
2217
|
return (() => { const _io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem); const _ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2184
2218
|
method: "typia.assert",
|
|
@@ -3032,6 +3066,90 @@ function _assertDomainRecord(domain, input) {
|
|
|
3032
3066
|
return input;
|
|
3033
3067
|
}; })()(input);
|
|
3034
3068
|
}
|
|
3069
|
+
case ":calendarevent": {
|
|
3070
|
+
return (() => { const _io0 = input => (null === input.start || undefined === input.start || "string" === typeof input.start) && (null === input.end || undefined === input.end || "string" === typeof input.end) && (undefined === input.description || "string" === typeof input.description) && (null === input.recurrence || undefined === input.recurrence || "object" === typeof input.recurrence && null !== input.recurrence && false === Array.isArray(input.recurrence) && _io1(input.recurrence)) && (undefined === input.color || "string" === typeof input.color); const _io1 = input => (undefined === input.interval || "number" === typeof input.interval) && (null === input.frequency || undefined === input.frequency || "days" === input.frequency || "weeks" === input.frequency || "months" === input.frequency || "years" === input.frequency) && (null === input.byweekday || undefined === input.byweekday || Array.isArray(input.byweekday) && input.byweekday.every(elem => "number" === typeof elem)) && (null === input.count || undefined === input.count) && (null === input.until || undefined === input.until || "string" === typeof input.until); const _ao0 = (input, _path, _exceptionable = true) => (null === input.start || undefined === input.start || "string" === typeof input.start || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3071
|
+
method: "typia.assert",
|
|
3072
|
+
path: _path + ".start",
|
|
3073
|
+
expected: "(null | string | undefined)",
|
|
3074
|
+
value: input.start
|
|
3075
|
+
}, _errorFactory)) && (null === input.end || undefined === input.end || "string" === typeof input.end || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3076
|
+
method: "typia.assert",
|
|
3077
|
+
path: _path + ".end",
|
|
3078
|
+
expected: "(null | string | undefined)",
|
|
3079
|
+
value: input.end
|
|
3080
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3081
|
+
method: "typia.assert",
|
|
3082
|
+
path: _path + ".description",
|
|
3083
|
+
expected: "(string | undefined)",
|
|
3084
|
+
value: input.description
|
|
3085
|
+
}, _errorFactory)) && (null === input.recurrence || undefined === input.recurrence || ("object" === typeof input.recurrence && null !== input.recurrence && false === Array.isArray(input.recurrence) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3086
|
+
method: "typia.assert",
|
|
3087
|
+
path: _path + ".recurrence",
|
|
3088
|
+
expected: "(CalendarEventDomainRecurrenceRule | null | undefined)",
|
|
3089
|
+
value: input.recurrence
|
|
3090
|
+
}, _errorFactory)) && _ao1(input.recurrence, _path + ".recurrence", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3091
|
+
method: "typia.assert",
|
|
3092
|
+
path: _path + ".recurrence",
|
|
3093
|
+
expected: "(CalendarEventDomainRecurrenceRule | null | undefined)",
|
|
3094
|
+
value: input.recurrence
|
|
3095
|
+
}, _errorFactory)) && (undefined === input.color || "string" === typeof input.color || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3096
|
+
method: "typia.assert",
|
|
3097
|
+
path: _path + ".color",
|
|
3098
|
+
expected: "(string | undefined)",
|
|
3099
|
+
value: input.color
|
|
3100
|
+
}, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => (undefined === input.interval || "number" === typeof input.interval || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3101
|
+
method: "typia.assert",
|
|
3102
|
+
path: _path + ".interval",
|
|
3103
|
+
expected: "(number | undefined)",
|
|
3104
|
+
value: input.interval
|
|
3105
|
+
}, _errorFactory)) && (null === input.frequency || undefined === input.frequency || "days" === input.frequency || "weeks" === input.frequency || "months" === input.frequency || "years" === input.frequency || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3106
|
+
method: "typia.assert",
|
|
3107
|
+
path: _path + ".frequency",
|
|
3108
|
+
expected: "(\"days\" | \"months\" | \"weeks\" | \"years\" | null | undefined)",
|
|
3109
|
+
value: input.frequency
|
|
3110
|
+
}, _errorFactory)) && (null === input.byweekday || undefined === input.byweekday || (Array.isArray(input.byweekday) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3111
|
+
method: "typia.assert",
|
|
3112
|
+
path: _path + ".byweekday",
|
|
3113
|
+
expected: "(Array<number> | null | undefined)",
|
|
3114
|
+
value: input.byweekday
|
|
3115
|
+
}, _errorFactory)) && input.byweekday.every((elem, _index2) => "number" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3116
|
+
method: "typia.assert",
|
|
3117
|
+
path: _path + ".byweekday[" + _index2 + "]",
|
|
3118
|
+
expected: "number",
|
|
3119
|
+
value: elem
|
|
3120
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3121
|
+
method: "typia.assert",
|
|
3122
|
+
path: _path + ".byweekday",
|
|
3123
|
+
expected: "(Array<number> | null | undefined)",
|
|
3124
|
+
value: input.byweekday
|
|
3125
|
+
}, _errorFactory)) && (null === input.count || undefined === input.count || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3126
|
+
method: "typia.assert",
|
|
3127
|
+
path: _path + ".count",
|
|
3128
|
+
expected: "(null | undefined)",
|
|
3129
|
+
value: input.count
|
|
3130
|
+
}, _errorFactory)) && (null === input.until || undefined === input.until || "string" === typeof input.until || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3131
|
+
method: "typia.assert",
|
|
3132
|
+
path: _path + ".until",
|
|
3133
|
+
expected: "(null | string | undefined)",
|
|
3134
|
+
value: input.until
|
|
3135
|
+
}, _errorFactory)); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
3136
|
+
if (false === __is(input)) {
|
|
3137
|
+
_errorFactory = errorFactory;
|
|
3138
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
3139
|
+
method: "typia.assert",
|
|
3140
|
+
path: _path + "",
|
|
3141
|
+
expected: "CalendarEventDomainRecord",
|
|
3142
|
+
value: input
|
|
3143
|
+
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
3144
|
+
method: "typia.assert",
|
|
3145
|
+
path: _path + "",
|
|
3146
|
+
expected: "CalendarEventDomainRecord",
|
|
3147
|
+
value: input
|
|
3148
|
+
}, _errorFactory))(input, "$input", true);
|
|
3149
|
+
}
|
|
3150
|
+
return input;
|
|
3151
|
+
}; })()(input);
|
|
3152
|
+
}
|
|
3035
3153
|
case ":clone": {
|
|
3036
3154
|
return (() => { const _io0 = input => Array.isArray(input.rules) && input.rules.every(elem => "object" === typeof elem && null !== elem && _io1(elem)); const _io1 = input => "string" === typeof input.domain && (null === input.path || undefined === input.path || "string" === typeof input.path) && (null === input.template || undefined === input.template || "string" === typeof input.template); const _ao0 = (input, _path, _exceptionable = true) => (Array.isArray(input.rules) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3037
3155
|
method: "typia.assert",
|
|
@@ -3599,6 +3717,40 @@ function _assertDomainRecord(domain, input) {
|
|
|
3599
3717
|
return input;
|
|
3600
3718
|
}; })()(input);
|
|
3601
3719
|
}
|
|
3720
|
+
case ":condition": {
|
|
3721
|
+
return (() => { const _io0 = input => (undefined === input.field || "string" === typeof input.field) && (undefined === input.type || "string" === typeof input.type) && (undefined === input.op || "string" === typeof input.op) && true; const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.field || "string" === typeof input.field || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3722
|
+
method: "typia.assert",
|
|
3723
|
+
path: _path + ".field",
|
|
3724
|
+
expected: "(string | undefined)",
|
|
3725
|
+
value: input.field
|
|
3726
|
+
}, _errorFactory)) && (undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3727
|
+
method: "typia.assert",
|
|
3728
|
+
path: _path + ".type",
|
|
3729
|
+
expected: "(string | undefined)",
|
|
3730
|
+
value: input.type
|
|
3731
|
+
}, _errorFactory)) && (undefined === input.op || "string" === typeof input.op || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3732
|
+
method: "typia.assert",
|
|
3733
|
+
path: _path + ".op",
|
|
3734
|
+
expected: "(string | undefined)",
|
|
3735
|
+
value: input.op
|
|
3736
|
+
}, _errorFactory)) && true; const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
3737
|
+
if (false === __is(input)) {
|
|
3738
|
+
_errorFactory = errorFactory;
|
|
3739
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
3740
|
+
method: "typia.assert",
|
|
3741
|
+
path: _path + "",
|
|
3742
|
+
expected: "SearchCondition",
|
|
3743
|
+
value: input
|
|
3744
|
+
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
3745
|
+
method: "typia.assert",
|
|
3746
|
+
path: _path + "",
|
|
3747
|
+
expected: "SearchCondition",
|
|
3748
|
+
value: input
|
|
3749
|
+
}, _errorFactory))(input, "$input", true);
|
|
3750
|
+
}
|
|
3751
|
+
return input;
|
|
3752
|
+
}; })()(input);
|
|
3753
|
+
}
|
|
3602
3754
|
case ":connection": {
|
|
3603
3755
|
return (() => { const _io0 = input => (undefined === input.protocol || "ftp" === input.protocol) && (undefined === input.host || "string" === typeof input.host) && (undefined === input.username || "string" === typeof input.username) && (undefined === input.password || "string" === typeof input.password) && (undefined === input.utf8 || "boolean" === typeof input.utf8) && (undefined === input.timezone || "string" === typeof input.timezone) && (undefined === input.type || "file" === input.type) && (undefined === input.port || "string" === typeof input.port || "number" === typeof input.port) && (undefined === input.ignoreMissing || "boolean" === typeof input.ignoreMissing) && (undefined === input.concurrency || "number" === typeof input.concurrency) && (undefined === input.stabilityThreshold || "number" === typeof input.stabilityThreshold) && (undefined === input.pollInterval || "number" === typeof input.pollInterval) && (undefined === input.listConcurrency || "number" === typeof input.listConcurrency) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && false === Array.isArray(input.metafile) && _io1(input.metafile)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io1 = input => undefined === input.content || "string" === typeof input.content; const _io2 = input => (undefined === input.protocol || "http" === input.protocol) && (undefined === input.secure || "boolean" === typeof input.secure) && (undefined === input.authType || "none" === input.authType || "oauth2" === input.authType) && (undefined === input.oauth2 || "object" === typeof input.oauth2 && null !== input.oauth2 && false === Array.isArray(input.oauth2) && _io3(input.oauth2)) && (undefined === input.actions || "object" === typeof input.actions && null !== input.actions && false === Array.isArray(input.actions) && _io8(input.actions)) && (undefined === input.type || "file" === input.type) && (undefined === input.host || "string" === typeof input.host) && (undefined === input.port || "string" === typeof input.port || "number" === typeof input.port) && (undefined === input.ignoreMissing || "boolean" === typeof input.ignoreMissing) && (undefined === input.concurrency || "number" === typeof input.concurrency) && (undefined === input.stabilityThreshold || "number" === typeof input.stabilityThreshold) && (undefined === input.pollInterval || "number" === typeof input.pollInterval) && (undefined === input.listConcurrency || "number" === typeof input.listConcurrency) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && false === Array.isArray(input.metafile) && _io1(input.metafile)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io3 = input => (undefined === input.client || "object" === typeof input.client && null !== input.client && false === Array.isArray(input.client) && _io4(input.client)) && (undefined === input.auth || "object" === typeof input.auth && null !== input.auth && false === Array.isArray(input.auth) && _io5(input.auth)) && (undefined === input.tokenParams || "object" === typeof input.tokenParams && null !== input.tokenParams && false === Array.isArray(input.tokenParams) && _io6(input.tokenParams)) && (undefined === input.grantType || "password" === input.grantType) && (undefined === input.token || "object" === typeof input.token && null !== input.token && _io7(input.token)) && (undefined === input.error || "string" === typeof input.error); const _io4 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.secret || "string" === typeof input.secret) && (undefined === input.secretParamName || "string" === typeof input.secretParamName) && (undefined === input.idParamName || "string" === typeof input.idParamName); const _io5 = input => (undefined === input.tokenHost || "string" === typeof input.tokenHost) && (undefined === input.tokenPath || "string" === typeof input.tokenPath) && (undefined === input.refreshPath || "string" === typeof input.refreshPath) && (undefined === input.revokePath || "string" === typeof input.revokePath); const _io6 = input => Object.keys(input).every(key => {
|
|
3604
3756
|
const value = input[key];
|
|
@@ -8054,6 +8206,159 @@ function _assertDomainRecord(domain, input) {
|
|
|
8054
8206
|
return input;
|
|
8055
8207
|
}; })()(input);
|
|
8056
8208
|
}
|
|
8209
|
+
case ":harvest": {
|
|
8210
|
+
return (() => { const _io0 = input => (undefined === input.active || "boolean" === typeof input.active) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.revisions || "boolean" === typeof input.revisions) && (undefined === input.concurrency || "number" === typeof input.concurrency) && (undefined === input.throttle || "number" === typeof input.throttle); const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.active || "boolean" === typeof input.active || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8211
|
+
method: "typia.assert",
|
|
8212
|
+
path: _path + ".active",
|
|
8213
|
+
expected: "(boolean | undefined)",
|
|
8214
|
+
value: input.active
|
|
8215
|
+
}, _errorFactory)) && (undefined === input.tags || (Array.isArray(input.tags) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8216
|
+
method: "typia.assert",
|
|
8217
|
+
path: _path + ".tags",
|
|
8218
|
+
expected: "(Array<string> | undefined)",
|
|
8219
|
+
value: input.tags
|
|
8220
|
+
}, _errorFactory)) && input.tags.every((elem, _index2) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8221
|
+
method: "typia.assert",
|
|
8222
|
+
path: _path + ".tags[" + _index2 + "]",
|
|
8223
|
+
expected: "string",
|
|
8224
|
+
value: elem
|
|
8225
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8226
|
+
method: "typia.assert",
|
|
8227
|
+
path: _path + ".tags",
|
|
8228
|
+
expected: "(Array<string> | undefined)",
|
|
8229
|
+
value: input.tags
|
|
8230
|
+
}, _errorFactory)) && (undefined === input.revisions || "boolean" === typeof input.revisions || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8231
|
+
method: "typia.assert",
|
|
8232
|
+
path: _path + ".revisions",
|
|
8233
|
+
expected: "(boolean | undefined)",
|
|
8234
|
+
value: input.revisions
|
|
8235
|
+
}, _errorFactory)) && (undefined === input.concurrency || "number" === typeof input.concurrency || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8236
|
+
method: "typia.assert",
|
|
8237
|
+
path: _path + ".concurrency",
|
|
8238
|
+
expected: "(number | undefined)",
|
|
8239
|
+
value: input.concurrency
|
|
8240
|
+
}, _errorFactory)) && (undefined === input.throttle || "number" === typeof input.throttle || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8241
|
+
method: "typia.assert",
|
|
8242
|
+
path: _path + ".throttle",
|
|
8243
|
+
expected: "(number | undefined)",
|
|
8244
|
+
value: input.throttle
|
|
8245
|
+
}, _errorFactory)); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
8246
|
+
if (false === __is(input)) {
|
|
8247
|
+
_errorFactory = errorFactory;
|
|
8248
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
8249
|
+
method: "typia.assert",
|
|
8250
|
+
path: _path + "",
|
|
8251
|
+
expected: "HarvestDomainRecord",
|
|
8252
|
+
value: input
|
|
8253
|
+
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
8254
|
+
method: "typia.assert",
|
|
8255
|
+
path: _path + "",
|
|
8256
|
+
expected: "HarvestDomainRecord",
|
|
8257
|
+
value: input
|
|
8258
|
+
}, _errorFactory))(input, "$input", true);
|
|
8259
|
+
}
|
|
8260
|
+
return input;
|
|
8261
|
+
}; })()(input);
|
|
8262
|
+
}
|
|
8263
|
+
case ":ingestclip": {
|
|
8264
|
+
return (() => { const _io0 = input => (undefined === input.time || "number" === typeof input.time) && (undefined === input.duration || "number" === typeof input.duration) && (undefined === input.type || "string" === typeof input.type) && (undefined === input.record || "string" === typeof input.record) && (undefined === input.data || "boolean" === typeof input.data) && (undefined === input.gallery || "string" === typeof input.gallery) && (undefined === input.rundown || "string" === typeof input.rundown) && (undefined === input.segment || "string" === typeof input.segment) && (undefined === input.story || "string" === typeof input.story) && (undefined === input.event || "string" === typeof input.event) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.channel || "string" === typeof input.channel) && (undefined === input.schedule || "string" === typeof input.schedule) && (undefined === input.parent || "string" === typeof input.parent); const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.time || "number" === typeof input.time || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8265
|
+
method: "typia.assert",
|
|
8266
|
+
path: _path + ".time",
|
|
8267
|
+
expected: "(number | undefined)",
|
|
8268
|
+
value: input.time
|
|
8269
|
+
}, _errorFactory)) && (undefined === input.duration || "number" === typeof input.duration || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8270
|
+
method: "typia.assert",
|
|
8271
|
+
path: _path + ".duration",
|
|
8272
|
+
expected: "(number | undefined)",
|
|
8273
|
+
value: input.duration
|
|
8274
|
+
}, _errorFactory)) && (undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8275
|
+
method: "typia.assert",
|
|
8276
|
+
path: _path + ".type",
|
|
8277
|
+
expected: "(string | undefined)",
|
|
8278
|
+
value: input.type
|
|
8279
|
+
}, _errorFactory)) && (undefined === input.record || "string" === typeof input.record || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8280
|
+
method: "typia.assert",
|
|
8281
|
+
path: _path + ".record",
|
|
8282
|
+
expected: "(string | undefined)",
|
|
8283
|
+
value: input.record
|
|
8284
|
+
}, _errorFactory)) && (undefined === input.data || "boolean" === typeof input.data || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8285
|
+
method: "typia.assert",
|
|
8286
|
+
path: _path + ".data",
|
|
8287
|
+
expected: "(boolean | undefined)",
|
|
8288
|
+
value: input.data
|
|
8289
|
+
}, _errorFactory)) && (undefined === input.gallery || "string" === typeof input.gallery || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8290
|
+
method: "typia.assert",
|
|
8291
|
+
path: _path + ".gallery",
|
|
8292
|
+
expected: "(string | undefined)",
|
|
8293
|
+
value: input.gallery
|
|
8294
|
+
}, _errorFactory)) && (undefined === input.rundown || "string" === typeof input.rundown || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8295
|
+
method: "typia.assert",
|
|
8296
|
+
path: _path + ".rundown",
|
|
8297
|
+
expected: "(string | undefined)",
|
|
8298
|
+
value: input.rundown
|
|
8299
|
+
}, _errorFactory)) && (undefined === input.segment || "string" === typeof input.segment || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8300
|
+
method: "typia.assert",
|
|
8301
|
+
path: _path + ".segment",
|
|
8302
|
+
expected: "(string | undefined)",
|
|
8303
|
+
value: input.segment
|
|
8304
|
+
}, _errorFactory)) && (undefined === input.story || "string" === typeof input.story || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8305
|
+
method: "typia.assert",
|
|
8306
|
+
path: _path + ".story",
|
|
8307
|
+
expected: "(string | undefined)",
|
|
8308
|
+
value: input.story
|
|
8309
|
+
}, _errorFactory)) && (undefined === input.event || "string" === typeof input.event || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8310
|
+
method: "typia.assert",
|
|
8311
|
+
path: _path + ".event",
|
|
8312
|
+
expected: "(string | undefined)",
|
|
8313
|
+
value: input.event
|
|
8314
|
+
}, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8315
|
+
method: "typia.assert",
|
|
8316
|
+
path: _path + ".title",
|
|
8317
|
+
expected: "(string | undefined)",
|
|
8318
|
+
value: input.title
|
|
8319
|
+
}, _errorFactory)) && (undefined === input.start || "number" === typeof input.start || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8320
|
+
method: "typia.assert",
|
|
8321
|
+
path: _path + ".start",
|
|
8322
|
+
expected: "(number | undefined)",
|
|
8323
|
+
value: input.start
|
|
8324
|
+
}, _errorFactory)) && (undefined === input.end || "number" === typeof input.end || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8325
|
+
method: "typia.assert",
|
|
8326
|
+
path: _path + ".end",
|
|
8327
|
+
expected: "(number | undefined)",
|
|
8328
|
+
value: input.end
|
|
8329
|
+
}, _errorFactory)) && (undefined === input.channel || "string" === typeof input.channel || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8330
|
+
method: "typia.assert",
|
|
8331
|
+
path: _path + ".channel",
|
|
8332
|
+
expected: "(string | undefined)",
|
|
8333
|
+
value: input.channel
|
|
8334
|
+
}, _errorFactory)) && (undefined === input.schedule || "string" === typeof input.schedule || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8335
|
+
method: "typia.assert",
|
|
8336
|
+
path: _path + ".schedule",
|
|
8337
|
+
expected: "(string | undefined)",
|
|
8338
|
+
value: input.schedule
|
|
8339
|
+
}, _errorFactory)) && (undefined === input.parent || "string" === typeof input.parent || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8340
|
+
method: "typia.assert",
|
|
8341
|
+
path: _path + ".parent",
|
|
8342
|
+
expected: "(string | undefined)",
|
|
8343
|
+
value: input.parent
|
|
8344
|
+
}, _errorFactory)); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
8345
|
+
if (false === __is(input)) {
|
|
8346
|
+
_errorFactory = errorFactory;
|
|
8347
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
8348
|
+
method: "typia.assert",
|
|
8349
|
+
path: _path + "",
|
|
8350
|
+
expected: "IngestclipDomainRecord",
|
|
8351
|
+
value: input
|
|
8352
|
+
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
8353
|
+
method: "typia.assert",
|
|
8354
|
+
path: _path + "",
|
|
8355
|
+
expected: "IngestclipDomainRecord",
|
|
8356
|
+
value: input
|
|
8357
|
+
}, _errorFactory))(input, "$input", true);
|
|
8358
|
+
}
|
|
8359
|
+
return input;
|
|
8360
|
+
}; })()(input);
|
|
8361
|
+
}
|
|
8057
8362
|
case ":media.source": {
|
|
8058
8363
|
return (() => { const _io0 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (null === input.input || undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && _io1(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && _io2(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io5(input.video)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io7(input.transcribe)); const _io1 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file); const _io2 = input => Object.keys(input).every(key => {
|
|
8059
8364
|
const value = input[key];
|
|
@@ -9923,16 +10228,16 @@ function _assertDomainRecord(domain, input) {
|
|
|
9923
10228
|
}; })()(input);
|
|
9924
10229
|
}
|
|
9925
10230
|
case ":panel": {
|
|
9926
|
-
return (() => { const _io0 = input => (undefined === input.title || "string" === typeof input.title) && (null !== input.supports && (undefined === input.supports || "string" === typeof input.supports || Array.isArray(input.supports) && input.supports.every(elem => "string" === typeof elem))) && (undefined === input.priority || "number" === typeof input.priority) && (undefined === input.editorPriority || "number" === typeof input.editorPriority) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io1(input.properties)) && (undefined === input.layout || "object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) &&
|
|
10231
|
+
return (() => { const _io0 = input => (undefined === input.title || "string" === typeof input.title) && (null !== input.supports && (undefined === input.supports || "string" === typeof input.supports || Array.isArray(input.supports) && input.supports.every(elem => "string" === typeof elem))) && (undefined === input.priority || "number" === typeof input.priority) && (undefined === input.editorPriority || "number" === typeof input.editorPriority) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io1(input.properties)) && (undefined === input.layout || "object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) && _io6(input.layout)) && true && true; const _io1 = input => Object.keys(input).every(key => {
|
|
9927
10232
|
const value = input[key];
|
|
9928
10233
|
if (undefined === value)
|
|
9929
10234
|
return true;
|
|
9930
10235
|
return "object" === typeof value && null !== value && _io2(value);
|
|
9931
|
-
}); const _io2 = input => ("string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.domain || "string" === typeof input.domain) && (undefined === input.path || "string" === typeof input.path) && true && (undefined === input.index || "object" === typeof input.index && null !== input.index && _io3(input.index)) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf)); const _io3 = input => "string" === typeof input.label && "string" === typeof input.path; const _io4 = input => null !== input.panel && (undefined === input.panel || "string" === typeof input.panel || (Array.isArray(input.panel) && (_ia0(input.panel) || false) || "object" === typeof input.panel && null !== input.panel && _iu0(input.panel))) && (null !== input.editor && (undefined === input.editor || "string" === typeof input.editor || (Array.isArray(input.editor) && (_ia0(input.editor) || false) || "object" === typeof input.editor && null !== input.editor && _iu0(input.editor)))); const
|
|
10236
|
+
}); const _io2 = input => ("string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.domain || "string" === typeof input.domain) && (undefined === input.path || "string" === typeof input.path) && true && (undefined === input.index || "object" === typeof input.index && null !== input.index && _io3(input.index)) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io4(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io5(elem))); const _io3 = input => "string" === typeof input.label && "string" === typeof input.path; const _io4 = input => true && (undefined === input.title || "string" === typeof input.title); const _io5 = input => true && (undefined === input.title || "string" === typeof input.title); const _io6 = input => null !== input.panel && (undefined === input.panel || "string" === typeof input.panel || (Array.isArray(input.panel) && (_ia0(input.panel) || false) || "object" === typeof input.panel && null !== input.panel && _iu0(input.panel))) && (null !== input.editor && (undefined === input.editor || "string" === typeof input.editor || (Array.isArray(input.editor) && (_ia0(input.editor) || false) || "object" === typeof input.editor && null !== input.editor && _iu0(input.editor)))); const _io7 = input => "divider" === input.type && (undefined === input.title || "string" === typeof input.title); const _io8 = input => "string" === typeof input.property && (undefined === input.width || "string" === typeof input.width || "number" === typeof input.width) && (null !== input.widget && (undefined === input.widget || "default" === input.widget || "assetTypes" === input.widget || "assetTags" === input.widget || "geopoint" === input.widget || "poster" === input.widget || "textarea" === input.widget || "tags" === input.widget || "object" === typeof input.widget && null !== input.widget && _io9(input.widget))); const _io9 = input => ("default" === input.type || "assetTypes" === input.type || "assetTags" === input.type || "geopoint" === input.type || "poster" === input.type || "textarea" === input.type || "tags" === input.type) && (undefined === input.readOnly || "boolean" === typeof input.readOnly); const _iu0 = input => (() => {
|
|
9932
10237
|
if (undefined !== input.type)
|
|
9933
|
-
return
|
|
10238
|
+
return _io7(input);
|
|
9934
10239
|
else if (undefined !== input.property)
|
|
9935
|
-
return
|
|
10240
|
+
return _io8(input);
|
|
9936
10241
|
else
|
|
9937
10242
|
return false;
|
|
9938
10243
|
})(); const _ia0 = input => input.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || (Array.isArray(elem) && (_ia0(elem) || false) || "object" === typeof elem && null !== elem && _iu0(elem)))); const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -9950,9 +10255,9 @@ function _assertDomainRecord(domain, input) {
|
|
|
9950
10255
|
path: _path + ".supports",
|
|
9951
10256
|
expected: "(Array<string> | string | undefined)",
|
|
9952
10257
|
value: input.supports
|
|
9953
|
-
}, _errorFactory)) && input.supports.every((elem,
|
|
10258
|
+
}, _errorFactory)) && input.supports.every((elem, _index5) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9954
10259
|
method: "typia.assert",
|
|
9955
|
-
path: _path + ".supports[" +
|
|
10260
|
+
path: _path + ".supports[" + _index5 + "]",
|
|
9956
10261
|
expected: "string",
|
|
9957
10262
|
value: elem
|
|
9958
10263
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -9983,44 +10288,14 @@ function _assertDomainRecord(domain, input) {
|
|
|
9983
10288
|
}, _errorFactory)) && (undefined === input.layout || ("object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9984
10289
|
method: "typia.assert",
|
|
9985
10290
|
path: _path + ".layout",
|
|
9986
|
-
expected: "(__type.
|
|
10291
|
+
expected: "(__type.o4 | undefined)",
|
|
9987
10292
|
value: input.layout
|
|
9988
|
-
}, _errorFactory)) &&
|
|
10293
|
+
}, _errorFactory)) && _ao6(input.layout, _path + ".layout", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9989
10294
|
method: "typia.assert",
|
|
9990
10295
|
path: _path + ".layout",
|
|
9991
|
-
expected: "(__type.
|
|
10296
|
+
expected: "(__type.o4 | undefined)",
|
|
9992
10297
|
value: input.layout
|
|
9993
|
-
}, _errorFactory)) &&
|
|
9994
|
-
method: "typia.assert",
|
|
9995
|
-
path: _path + ".filter",
|
|
9996
|
-
expected: "(__type.o3 | string | undefined)",
|
|
9997
|
-
value: input.filter
|
|
9998
|
-
}, _errorFactory)) && (undefined === input.filter || "string" === typeof input.filter || ("object" === typeof input.filter && null !== input.filter || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9999
|
-
method: "typia.assert",
|
|
10000
|
-
path: _path + ".filter",
|
|
10001
|
-
expected: "(__type.o3 | string | undefined)",
|
|
10002
|
-
value: input.filter
|
|
10003
|
-
}, _errorFactory)) && _ao8(input.filter, _path + ".filter", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10004
|
-
method: "typia.assert",
|
|
10005
|
-
path: _path + ".filter",
|
|
10006
|
-
expected: "(__type.o3 | string | undefined)",
|
|
10007
|
-
value: input.filter
|
|
10008
|
-
}, _errorFactory))) && ((null !== input.expand || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10009
|
-
method: "typia.assert",
|
|
10010
|
-
path: _path + ".expand",
|
|
10011
|
-
expected: "(__type.o3 | string | undefined)",
|
|
10012
|
-
value: input.expand
|
|
10013
|
-
}, _errorFactory)) && (undefined === input.expand || "string" === typeof input.expand || ("object" === typeof input.expand && null !== input.expand || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10014
|
-
method: "typia.assert",
|
|
10015
|
-
path: _path + ".expand",
|
|
10016
|
-
expected: "(__type.o3 | string | undefined)",
|
|
10017
|
-
value: input.expand
|
|
10018
|
-
}, _errorFactory)) && _ao8(input.expand, _path + ".expand", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10019
|
-
method: "typia.assert",
|
|
10020
|
-
path: _path + ".expand",
|
|
10021
|
-
expected: "(__type.o3 | string | undefined)",
|
|
10022
|
-
value: input.expand
|
|
10023
|
-
}, _errorFactory))); const _ao1 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
10298
|
+
}, _errorFactory)) && true && true; const _ao1 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
10024
10299
|
const value = input[key];
|
|
10025
10300
|
if (undefined === value)
|
|
10026
10301
|
return true;
|
|
@@ -10075,22 +10350,67 @@ function _assertDomainRecord(domain, input) {
|
|
|
10075
10350
|
path: _path + ".required",
|
|
10076
10351
|
expected: "(boolean | undefined)",
|
|
10077
10352
|
value: input.required
|
|
10078
|
-
}, _errorFactory)) && (undefined === input.oneOf || Array.isArray(input.oneOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10353
|
+
}, _errorFactory)) && (undefined === input.oneOf || (Array.isArray(input.oneOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10079
10354
|
method: "typia.assert",
|
|
10080
10355
|
path: _path + ".oneOf",
|
|
10081
|
-
expected: "(Array<
|
|
10356
|
+
expected: "(Array<__type> | undefined)",
|
|
10082
10357
|
value: input.oneOf
|
|
10083
|
-
}, _errorFactory))
|
|
10358
|
+
}, _errorFactory)) && input.oneOf.every((elem, _index6) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10084
10359
|
method: "typia.assert",
|
|
10085
|
-
path: _path + ".
|
|
10086
|
-
expected: "
|
|
10087
|
-
value:
|
|
10088
|
-
}, _errorFactory)) && ("
|
|
10360
|
+
path: _path + ".oneOf[" + _index6 + "]",
|
|
10361
|
+
expected: "__type.o2",
|
|
10362
|
+
value: elem
|
|
10363
|
+
}, _errorFactory)) && _ao4(elem, _path + ".oneOf[" + _index6 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10089
10364
|
method: "typia.assert",
|
|
10090
|
-
path: _path + ".
|
|
10091
|
-
expected: "
|
|
10092
|
-
value:
|
|
10093
|
-
}, _errorFactory))
|
|
10365
|
+
path: _path + ".oneOf[" + _index6 + "]",
|
|
10366
|
+
expected: "__type.o2",
|
|
10367
|
+
value: elem
|
|
10368
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10369
|
+
method: "typia.assert",
|
|
10370
|
+
path: _path + ".oneOf",
|
|
10371
|
+
expected: "(Array<__type> | undefined)",
|
|
10372
|
+
value: input.oneOf
|
|
10373
|
+
}, _errorFactory)) && (undefined === input.anyOf || (Array.isArray(input.anyOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10374
|
+
method: "typia.assert",
|
|
10375
|
+
path: _path + ".anyOf",
|
|
10376
|
+
expected: "(Array<__type>.o1 | undefined)",
|
|
10377
|
+
value: input.anyOf
|
|
10378
|
+
}, _errorFactory)) && input.anyOf.every((elem, _index7) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10379
|
+
method: "typia.assert",
|
|
10380
|
+
path: _path + ".anyOf[" + _index7 + "]",
|
|
10381
|
+
expected: "__type.o3",
|
|
10382
|
+
value: elem
|
|
10383
|
+
}, _errorFactory)) && _ao5(elem, _path + ".anyOf[" + _index7 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10384
|
+
method: "typia.assert",
|
|
10385
|
+
path: _path + ".anyOf[" + _index7 + "]",
|
|
10386
|
+
expected: "__type.o3",
|
|
10387
|
+
value: elem
|
|
10388
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10389
|
+
method: "typia.assert",
|
|
10390
|
+
path: _path + ".anyOf",
|
|
10391
|
+
expected: "(Array<__type>.o1 | undefined)",
|
|
10392
|
+
value: input.anyOf
|
|
10393
|
+
}, _errorFactory)); const _ao3 = (input, _path, _exceptionable = true) => ("string" === typeof input.label || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10394
|
+
method: "typia.assert",
|
|
10395
|
+
path: _path + ".label",
|
|
10396
|
+
expected: "string",
|
|
10397
|
+
value: input.label
|
|
10398
|
+
}, _errorFactory)) && ("string" === typeof input.path || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10399
|
+
method: "typia.assert",
|
|
10400
|
+
path: _path + ".path",
|
|
10401
|
+
expected: "string",
|
|
10402
|
+
value: input.path
|
|
10403
|
+
}, _errorFactory)); const _ao4 = (input, _path, _exceptionable = true) => true && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10404
|
+
method: "typia.assert",
|
|
10405
|
+
path: _path + ".title",
|
|
10406
|
+
expected: "(string | undefined)",
|
|
10407
|
+
value: input.title
|
|
10408
|
+
}, _errorFactory)); const _ao5 = (input, _path, _exceptionable = true) => true && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10409
|
+
method: "typia.assert",
|
|
10410
|
+
path: _path + ".title",
|
|
10411
|
+
expected: "(string | undefined)",
|
|
10412
|
+
value: input.title
|
|
10413
|
+
}, _errorFactory)); const _ao6 = (input, _path, _exceptionable = true) => (null !== input.panel || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10094
10414
|
method: "typia.assert",
|
|
10095
10415
|
path: _path + ".panel",
|
|
10096
10416
|
expected: "(Array<PanelLayout> | PanelLayoutDivider | PanelLayoutItem | string | undefined)",
|
|
@@ -10130,7 +10450,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
10130
10450
|
path: _path + ".editor",
|
|
10131
10451
|
expected: "(Array<PanelLayout> | PanelLayoutDivider | PanelLayoutItem | string | undefined)",
|
|
10132
10452
|
value: input.editor
|
|
10133
|
-
}, _errorFactory))); const
|
|
10453
|
+
}, _errorFactory))); const _ao7 = (input, _path, _exceptionable = true) => ("divider" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10134
10454
|
method: "typia.assert",
|
|
10135
10455
|
path: _path + ".type",
|
|
10136
10456
|
expected: "\"divider\"",
|
|
@@ -10140,7 +10460,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
10140
10460
|
path: _path + ".title",
|
|
10141
10461
|
expected: "(string | undefined)",
|
|
10142
10462
|
value: input.title
|
|
10143
|
-
}, _errorFactory)); const
|
|
10463
|
+
}, _errorFactory)); const _ao8 = (input, _path, _exceptionable = true) => ("string" === typeof input.property || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10144
10464
|
method: "typia.assert",
|
|
10145
10465
|
path: _path + ".property",
|
|
10146
10466
|
expected: "string",
|
|
@@ -10160,12 +10480,12 @@ function _assertDomainRecord(domain, input) {
|
|
|
10160
10480
|
path: _path + ".widget",
|
|
10161
10481
|
expected: "(\"assetTags\" | \"assetTypes\" | \"default\" | \"geopoint\" | \"poster\" | \"tags\" | \"textarea\" | WidgetItem | undefined)",
|
|
10162
10482
|
value: input.widget
|
|
10163
|
-
}, _errorFactory)) &&
|
|
10483
|
+
}, _errorFactory)) && _ao9(input.widget, _path + ".widget", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10164
10484
|
method: "typia.assert",
|
|
10165
10485
|
path: _path + ".widget",
|
|
10166
10486
|
expected: "(\"assetTags\" | \"assetTypes\" | \"default\" | \"geopoint\" | \"poster\" | \"tags\" | \"textarea\" | WidgetItem | undefined)",
|
|
10167
10487
|
value: input.widget
|
|
10168
|
-
}, _errorFactory))); const
|
|
10488
|
+
}, _errorFactory))); const _ao9 = (input, _path, _exceptionable = true) => ("default" === input.type || "assetTypes" === input.type || "assetTags" === input.type || "geopoint" === input.type || "poster" === input.type || "textarea" === input.type || "tags" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10169
10489
|
method: "typia.assert",
|
|
10170
10490
|
path: _path + ".type",
|
|
10171
10491
|
expected: "(\"assetTags\" | \"assetTypes\" | \"default\" | \"geopoint\" | \"poster\" | \"tags\" | \"textarea\")",
|
|
@@ -10175,26 +10495,11 @@ function _assertDomainRecord(domain, input) {
|
|
|
10175
10495
|
path: _path + ".readOnly",
|
|
10176
10496
|
expected: "(boolean | undefined)",
|
|
10177
10497
|
value: input.readOnly
|
|
10178
|
-
}, _errorFactory)); const
|
|
10179
|
-
method: "typia.assert",
|
|
10180
|
-
path: _path + ".__context",
|
|
10181
|
-
expected: "object",
|
|
10182
|
-
value: input.__context
|
|
10183
|
-
}, _errorFactory)) && _ao9(input.__context, _path + ".__context", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10184
|
-
method: "typia.assert",
|
|
10185
|
-
path: _path + ".__context",
|
|
10186
|
-
expected: "object",
|
|
10187
|
-
value: input.__context
|
|
10188
|
-
}, _errorFactory)) && ("string" === typeof input.__returnValue || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10189
|
-
method: "typia.assert",
|
|
10190
|
-
path: _path + ".__returnValue",
|
|
10191
|
-
expected: "string",
|
|
10192
|
-
value: input.__returnValue
|
|
10193
|
-
}, _errorFactory)); const _ao9 = (input, _path, _exceptionable = true) => true; const _au0 = (input, _path, _exceptionable = true) => (() => {
|
|
10498
|
+
}, _errorFactory)); const _au0 = (input, _path, _exceptionable = true) => (() => {
|
|
10194
10499
|
if (undefined !== input.type)
|
|
10195
|
-
return
|
|
10500
|
+
return _ao7(input, _path, true && _exceptionable);
|
|
10196
10501
|
else if (undefined !== input.property)
|
|
10197
|
-
return
|
|
10502
|
+
return _ao8(input, _path, true && _exceptionable);
|
|
10198
10503
|
else
|
|
10199
10504
|
return __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10200
10505
|
method: "typia.assert",
|
|
@@ -10202,29 +10507,29 @@ function _assertDomainRecord(domain, input) {
|
|
|
10202
10507
|
expected: "(PanelLayoutDivider | PanelLayoutItem)",
|
|
10203
10508
|
value: input
|
|
10204
10509
|
}, _errorFactory);
|
|
10205
|
-
})(); const _aa0 = (input, _path, _exceptionable = true) => input.every((elem,
|
|
10510
|
+
})(); const _aa0 = (input, _path, _exceptionable = true) => input.every((elem, _index8) => (null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10206
10511
|
method: "typia.assert",
|
|
10207
|
-
path: _path + "[" +
|
|
10512
|
+
path: _path + "[" + _index8 + "]",
|
|
10208
10513
|
expected: "(Array<PanelLayout> | PanelLayoutDivider | PanelLayoutItem | string)",
|
|
10209
10514
|
value: elem
|
|
10210
10515
|
}, _errorFactory)) && (undefined !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10211
10516
|
method: "typia.assert",
|
|
10212
|
-
path: _path + "[" +
|
|
10517
|
+
path: _path + "[" + _index8 + "]",
|
|
10213
10518
|
expected: "(Array<PanelLayout> | PanelLayoutDivider | PanelLayoutItem | string)",
|
|
10214
10519
|
value: elem
|
|
10215
|
-
}, _errorFactory)) && ("string" === typeof elem || (Array.isArray(elem) && (_aa0(elem, _path + "[" +
|
|
10520
|
+
}, _errorFactory)) && ("string" === typeof elem || (Array.isArray(elem) && (_aa0(elem, _path + "[" + _index8 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10216
10521
|
method: "typia.assert",
|
|
10217
|
-
path: _path + "[" +
|
|
10522
|
+
path: _path + "[" + _index8 + "]",
|
|
10218
10523
|
expected: "Array<PanelLayout>",
|
|
10219
10524
|
value: elem
|
|
10220
|
-
}, _errorFactory)) || "object" === typeof elem && null !== elem && _au0(elem, _path + "[" +
|
|
10525
|
+
}, _errorFactory)) || "object" === typeof elem && null !== elem && _au0(elem, _path + "[" + _index8 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10221
10526
|
method: "typia.assert",
|
|
10222
|
-
path: _path + "[" +
|
|
10527
|
+
path: _path + "[" + _index8 + "]",
|
|
10223
10528
|
expected: "(Array<PanelLayout> | PanelLayoutDivider | PanelLayoutItem | string)",
|
|
10224
10529
|
value: elem
|
|
10225
10530
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10226
10531
|
method: "typia.assert",
|
|
10227
|
-
path: _path + "[" +
|
|
10532
|
+
path: _path + "[" + _index8 + "]",
|
|
10228
10533
|
expected: "(Array<PanelLayout> | PanelLayoutDivider | PanelLayoutItem | string)",
|
|
10229
10534
|
value: elem
|
|
10230
10535
|
}, _errorFactory))); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
@@ -10843,29 +11148,29 @@ function _assertDomainRecord(domain, input) {
|
|
|
10843
11148
|
}; })()(input);
|
|
10844
11149
|
}
|
|
10845
11150
|
case ":publish": {
|
|
10846
|
-
return (() => { const _io0 = input =>
|
|
11151
|
+
return (() => { const _io0 = input => (null === input.type || undefined === input.type) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && true && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io15(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io16(elem))); const _io1 = input => (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io2(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io10(input.profile)); const _io2 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (null === input.input || undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && _io3(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && _io4(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io7(input.video)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io9(input.transcribe)); const _io3 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file); const _io4 = input => Object.keys(input).every(key => {
|
|
10847
11152
|
const value = input[key];
|
|
10848
11153
|
if (undefined === value)
|
|
10849
11154
|
return true;
|
|
10850
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
10851
|
-
}); const
|
|
11155
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io5(value);
|
|
11156
|
+
}); const _io5 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io6(input.styleOverrides)); const _io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io7 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io8(input.crop); const _io8 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io9 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _io10 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io11(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io12(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io13(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && _io14(input.subtitle))); const _io11 = input => "string" === typeof input.engine; const _io12 = input => "string" === typeof input.language; const _io13 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.pan || "string" === typeof input.pan) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.split || "boolean" === typeof input.split); const _io14 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style); const _io15 = input => "string" === typeof input.method; const _io16 = input => "number" === typeof input.level && "string" === typeof input.code && "string" === typeof input.msg; const _io17 = input => (undefined === input.type || "facebook" === input.type) && (undefined === input.pageId || "string" === typeof input.pageId) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && true && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io15(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io16(elem))); const _io18 = input => (undefined === input.type || "file" === input.type) && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io19(input.renders)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io23(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io24(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io27(input.published)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io15(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io16(elem))); const _io19 = input => Object.keys(input).every(key => {
|
|
10852
11157
|
const value = input[key];
|
|
10853
11158
|
if (undefined === value)
|
|
10854
11159
|
return true;
|
|
10855
11160
|
return null !== value && undefined !== value && ("string" === typeof value || "object" === typeof value && null !== value && _iu0(value));
|
|
10856
|
-
}); const _io20 = input => (undefined === input.name || "string" === typeof input.name) && "string" === typeof input.path && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene) && (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) &&
|
|
11161
|
+
}); const _io20 = input => (undefined === input.name || "string" === typeof input.name) && "string" === typeof input.path && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene) && (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io2(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io10(input.profile)); const _io21 = input => "object" === typeof input.__context && null !== input.__context && _io22(input.__context) && ("object" === typeof input.__returnValue && null !== input.__returnValue && _io20(input.__returnValue)); const _io22 = input => "object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) && _io18(input.publish) && "string" === typeof input.directory && "string" === typeof input.name; const _io23 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename); const _io24 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io25(input.renders)); const _io25 = input => Object.keys(input).every(key => {
|
|
10857
11162
|
const value = input[key];
|
|
10858
11163
|
if (undefined === value)
|
|
10859
11164
|
return true;
|
|
10860
11165
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io26(value);
|
|
10861
|
-
}); const _io26 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem &&
|
|
11166
|
+
}); const _io26 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io16(elem))) && true && (undefined === input.size || "number" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash) && (undefined === input.source || "string" === typeof input.source); const _io27 = input => (undefined === input.directory || "string" === typeof input.directory) && "string" === typeof input.filename; const _io28 = input => (undefined === input.type || "file" === input.type) && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io23(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && _io29(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io27(input.published)) && (null !== input.renders && undefined === input.renders) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io15(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io16(elem))); const _io29 = input => (undefined === input.id || "string" === typeof input.id) && "string" === typeof input.path && "string" === typeof input.filename && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && _io30(input.subtitle)) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && _io31(input.metafile)) && Object.keys(input).every(key => {
|
|
10862
11167
|
if (["id", "path", "filename", "directory", "subtitle", "metafile"].some(prop => key === prop))
|
|
10863
11168
|
return true;
|
|
10864
11169
|
const value = input[key];
|
|
10865
11170
|
if (undefined === value)
|
|
10866
11171
|
return true;
|
|
10867
11172
|
return true;
|
|
10868
|
-
}); const _io30 = input => "string" === typeof input.path; const _io31 = input => "string" === typeof input.path; const _io32 = input => "youtube" === input.type && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io33(input.draft)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render &&
|
|
11173
|
+
}); const _io30 = input => "string" === typeof input.path; const _io31 = input => "string" === typeof input.path; const _io32 = input => (undefined === input.type || "youtube" === input.type) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io33(input.draft)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io15(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io16(elem))); const _io33 = input => undefined === input.snippet || "object" === typeof input.snippet && null !== input.snippet && false === Array.isArray(input.snippet) && _io34(input.snippet); const _io34 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.description || "string" === typeof input.description); const _iu0 = input => (() => {
|
|
10869
11174
|
if (undefined !== input.path)
|
|
10870
11175
|
return _io20(input);
|
|
10871
11176
|
else if (undefined !== input.__context)
|
|
@@ -10873,45 +11178,22 @@ function _assertDomainRecord(domain, input) {
|
|
|
10873
11178
|
else
|
|
10874
11179
|
return false;
|
|
10875
11180
|
})(); const _iu1 = input => (() => {
|
|
10876
|
-
if (
|
|
11181
|
+
if (_io0(input))
|
|
10877
11182
|
return _io0(input);
|
|
10878
|
-
|
|
10879
|
-
return
|
|
10880
|
-
|
|
11183
|
+
if (_io17(input))
|
|
11184
|
+
return _io17(input);
|
|
11185
|
+
if (_io28(input))
|
|
11186
|
+
return _io28(input);
|
|
11187
|
+
if (_io18(input))
|
|
11188
|
+
return _io18(input);
|
|
11189
|
+
if (_io32(input))
|
|
10881
11190
|
return _io32(input);
|
|
10882
|
-
|
|
10883
|
-
|
|
10884
|
-
if (_io28(input))
|
|
10885
|
-
return _io28(input);
|
|
10886
|
-
if (_io18(input))
|
|
10887
|
-
return _io18(input);
|
|
10888
|
-
return false;
|
|
10889
|
-
})();
|
|
10890
|
-
})(); const _ao0 = (input, _path, _exceptionable = true) => (undefined !== input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10891
|
-
method: "typia.assert",
|
|
10892
|
-
path: _path + ".type",
|
|
10893
|
-
expected: "null",
|
|
10894
|
-
value: input.type
|
|
10895
|
-
}, _errorFactory)) && (null === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10896
|
-
method: "typia.assert",
|
|
10897
|
-
path: _path + ".type",
|
|
10898
|
-
expected: "null",
|
|
10899
|
-
value: input.type
|
|
10900
|
-
}, _errorFactory)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10901
|
-
method: "typia.assert",
|
|
10902
|
-
path: _path + ".asset",
|
|
10903
|
-
expected: "(null | string | undefined)",
|
|
10904
|
-
value: input.asset
|
|
10905
|
-
}, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => ("facebook" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11191
|
+
return false;
|
|
11192
|
+
})(); const _ao0 = (input, _path, _exceptionable = true) => (null === input.type || undefined === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10906
11193
|
method: "typia.assert",
|
|
10907
11194
|
path: _path + ".type",
|
|
10908
|
-
expected: "
|
|
11195
|
+
expected: "(null | undefined)",
|
|
10909
11196
|
value: input.type
|
|
10910
|
-
}, _errorFactory)) && (undefined === input.pageId || "string" === typeof input.pageId || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10911
|
-
method: "typia.assert",
|
|
10912
|
-
path: _path + ".pageId",
|
|
10913
|
-
expected: "(string | undefined)",
|
|
10914
|
-
value: input.pageId
|
|
10915
11197
|
}, _errorFactory)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10916
11198
|
method: "typia.assert",
|
|
10917
11199
|
path: _path + ".asset",
|
|
@@ -10927,7 +11209,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
10927
11209
|
path: _path + ".render",
|
|
10928
11210
|
expected: "(PublishRenderBase | undefined)",
|
|
10929
11211
|
value: input.render
|
|
10930
|
-
}, _errorFactory)) &&
|
|
11212
|
+
}, _errorFactory)) && _ao1(input.render, _path + ".render", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10931
11213
|
method: "typia.assert",
|
|
10932
11214
|
path: _path + ".render",
|
|
10933
11215
|
expected: "(PublishRenderBase | undefined)",
|
|
@@ -10937,7 +11219,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
10937
11219
|
path: _path + ".error",
|
|
10938
11220
|
expected: "(__type.o9 | null | undefined)",
|
|
10939
11221
|
value: input.error
|
|
10940
|
-
}, _errorFactory)) &&
|
|
11222
|
+
}, _errorFactory)) && _ao15(input.error, _path + ".error", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10941
11223
|
method: "typia.assert",
|
|
10942
11224
|
path: _path + ".error",
|
|
10943
11225
|
expected: "(__type.o9 | null | undefined)",
|
|
@@ -10947,14 +11229,14 @@ function _assertDomainRecord(domain, input) {
|
|
|
10947
11229
|
path: _path + ".messages",
|
|
10948
11230
|
expected: "(Array<Message> | undefined)",
|
|
10949
11231
|
value: input.messages
|
|
10950
|
-
}, _errorFactory)) && input.messages.every((elem,
|
|
11232
|
+
}, _errorFactory)) && input.messages.every((elem, _index10) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10951
11233
|
method: "typia.assert",
|
|
10952
|
-
path: _path + ".messages[" +
|
|
11234
|
+
path: _path + ".messages[" + _index10 + "]",
|
|
10953
11235
|
expected: "Message",
|
|
10954
11236
|
value: elem
|
|
10955
|
-
}, _errorFactory)) &&
|
|
11237
|
+
}, _errorFactory)) && _ao16(elem, _path + ".messages[" + _index10 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10956
11238
|
method: "typia.assert",
|
|
10957
|
-
path: _path + ".messages[" +
|
|
11239
|
+
path: _path + ".messages[" + _index10 + "]",
|
|
10958
11240
|
expected: "Message",
|
|
10959
11241
|
value: elem
|
|
10960
11242
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -10962,7 +11244,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
10962
11244
|
path: _path + ".messages",
|
|
10963
11245
|
expected: "(Array<Message> | undefined)",
|
|
10964
11246
|
value: input.messages
|
|
10965
|
-
}, _errorFactory)); const
|
|
11247
|
+
}, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => (undefined === input.preset || "string" === typeof input.preset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10966
11248
|
method: "typia.assert",
|
|
10967
11249
|
path: _path + ".preset",
|
|
10968
11250
|
expected: "(string | undefined)",
|
|
@@ -10977,7 +11259,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
10977
11259
|
path: _path + ".scene",
|
|
10978
11260
|
expected: "(RenderSceneObject | undefined)",
|
|
10979
11261
|
value: input.scene
|
|
10980
|
-
}, _errorFactory)) &&
|
|
11262
|
+
}, _errorFactory)) && _ao2(input.scene, _path + ".scene", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10981
11263
|
method: "typia.assert",
|
|
10982
11264
|
path: _path + ".scene",
|
|
10983
11265
|
expected: "(RenderSceneObject | undefined)",
|
|
@@ -10987,12 +11269,12 @@ function _assertDomainRecord(domain, input) {
|
|
|
10987
11269
|
path: _path + ".profile",
|
|
10988
11270
|
expected: "(RenderProfileObject | undefined)",
|
|
10989
11271
|
value: input.profile
|
|
10990
|
-
}, _errorFactory)) &&
|
|
11272
|
+
}, _errorFactory)) && _ao10(input.profile, _path + ".profile", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10991
11273
|
method: "typia.assert",
|
|
10992
11274
|
path: _path + ".profile",
|
|
10993
11275
|
expected: "(RenderProfileObject | undefined)",
|
|
10994
11276
|
value: input.profile
|
|
10995
|
-
}, _errorFactory)); const
|
|
11277
|
+
}, _errorFactory)); const _ao2 = (input, _path, _exceptionable = true) => (undefined === input.id || "string" === typeof input.id || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10996
11278
|
method: "typia.assert",
|
|
10997
11279
|
path: _path + ".id",
|
|
10998
11280
|
expected: "(string | undefined)",
|
|
@@ -11007,7 +11289,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
11007
11289
|
path: _path + ".input",
|
|
11008
11290
|
expected: "(__type | null | undefined)",
|
|
11009
11291
|
value: input.input
|
|
11010
|
-
}, _errorFactory)) &&
|
|
11292
|
+
}, _errorFactory)) && _ao3(input.input, _path + ".input", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11011
11293
|
method: "typia.assert",
|
|
11012
11294
|
path: _path + ".input",
|
|
11013
11295
|
expected: "(__type | null | undefined)",
|
|
@@ -11027,7 +11309,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
11027
11309
|
path: _path + ".subtitleTracks",
|
|
11028
11310
|
expected: "(__type.o1 | undefined)",
|
|
11029
11311
|
value: input.subtitleTracks
|
|
11030
|
-
}, _errorFactory)) &&
|
|
11312
|
+
}, _errorFactory)) && _ao4(input.subtitleTracks, _path + ".subtitleTracks", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11031
11313
|
method: "typia.assert",
|
|
11032
11314
|
path: _path + ".subtitleTracks",
|
|
11033
11315
|
expected: "(__type.o1 | undefined)",
|
|
@@ -11037,7 +11319,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
11037
11319
|
path: _path + ".video",
|
|
11038
11320
|
expected: "(__type.o3 | undefined)",
|
|
11039
11321
|
value: input.video
|
|
11040
|
-
}, _errorFactory)) &&
|
|
11322
|
+
}, _errorFactory)) && _ao7(input.video, _path + ".video", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11041
11323
|
method: "typia.assert",
|
|
11042
11324
|
path: _path + ".video",
|
|
11043
11325
|
expected: "(__type.o3 | undefined)",
|
|
@@ -11057,12 +11339,12 @@ function _assertDomainRecord(domain, input) {
|
|
|
11057
11339
|
path: _path + ".transcribe",
|
|
11058
11340
|
expected: "(__type.o5 | undefined)",
|
|
11059
11341
|
value: input.transcribe
|
|
11060
|
-
}, _errorFactory)) &&
|
|
11342
|
+
}, _errorFactory)) && _ao9(input.transcribe, _path + ".transcribe", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11061
11343
|
method: "typia.assert",
|
|
11062
11344
|
path: _path + ".transcribe",
|
|
11063
11345
|
expected: "(__type.o5 | undefined)",
|
|
11064
11346
|
value: input.transcribe
|
|
11065
|
-
}, _errorFactory)); const
|
|
11347
|
+
}, _errorFactory)); const _ao3 = (input, _path, _exceptionable = true) => (undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11066
11348
|
method: "typia.assert",
|
|
11067
11349
|
path: _path + ".type",
|
|
11068
11350
|
expected: "(string | undefined)",
|
|
@@ -11072,7 +11354,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
11072
11354
|
path: _path + ".file",
|
|
11073
11355
|
expected: "(null | string | undefined)",
|
|
11074
11356
|
value: input.file
|
|
11075
|
-
}, _errorFactory)); const
|
|
11357
|
+
}, _errorFactory)); const _ao4 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
11076
11358
|
const value = input[key];
|
|
11077
11359
|
if (undefined === value)
|
|
11078
11360
|
return true;
|
|
@@ -11081,13 +11363,13 @@ function _assertDomainRecord(domain, input) {
|
|
|
11081
11363
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
11082
11364
|
expected: "__type.o2",
|
|
11083
11365
|
value: value
|
|
11084
|
-
}, _errorFactory)) &&
|
|
11366
|
+
}, _errorFactory)) && _ao5(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11085
11367
|
method: "typia.assert",
|
|
11086
11368
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
11087
11369
|
expected: "__type.o2",
|
|
11088
11370
|
value: value
|
|
11089
11371
|
}, _errorFactory);
|
|
11090
|
-
}); const
|
|
11372
|
+
}); const _ao5 = (input, _path, _exceptionable = true) => (null === input.style || undefined === input.style || "string" === typeof input.style || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11091
11373
|
method: "typia.assert",
|
|
11092
11374
|
path: _path + ".style",
|
|
11093
11375
|
expected: "(null | string | undefined)",
|
|
@@ -11097,12 +11379,12 @@ function _assertDomainRecord(domain, input) {
|
|
|
11097
11379
|
path: _path + ".styleOverrides",
|
|
11098
11380
|
expected: "(SubtitleStyle | undefined)",
|
|
11099
11381
|
value: input.styleOverrides
|
|
11100
|
-
}, _errorFactory)) &&
|
|
11382
|
+
}, _errorFactory)) && _ao6(input.styleOverrides, _path + ".styleOverrides", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11101
11383
|
method: "typia.assert",
|
|
11102
11384
|
path: _path + ".styleOverrides",
|
|
11103
11385
|
expected: "(SubtitleStyle | undefined)",
|
|
11104
11386
|
value: input.styleOverrides
|
|
11105
|
-
}, _errorFactory)); const
|
|
11387
|
+
}, _errorFactory)); const _ao6 = (input, _path, _exceptionable = true) => (undefined === input.name || "string" === typeof input.name || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11106
11388
|
method: "typia.assert",
|
|
11107
11389
|
path: _path + ".name",
|
|
11108
11390
|
expected: "(string | undefined)",
|
|
@@ -11217,17 +11499,17 @@ function _assertDomainRecord(domain, input) {
|
|
|
11217
11499
|
path: _path + ".encoding",
|
|
11218
11500
|
expected: "(string | undefined)",
|
|
11219
11501
|
value: input.encoding
|
|
11220
|
-
}, _errorFactory)); const
|
|
11502
|
+
}, _errorFactory)); const _ao7 = (input, _path, _exceptionable = true) => undefined === input.crop || ("object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11221
11503
|
method: "typia.assert",
|
|
11222
11504
|
path: _path + ".crop",
|
|
11223
11505
|
expected: "(__type.o4 | undefined)",
|
|
11224
11506
|
value: input.crop
|
|
11225
|
-
}, _errorFactory)) &&
|
|
11507
|
+
}, _errorFactory)) && _ao8(input.crop, _path + ".crop", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11226
11508
|
method: "typia.assert",
|
|
11227
11509
|
path: _path + ".crop",
|
|
11228
11510
|
expected: "(__type.o4 | undefined)",
|
|
11229
11511
|
value: input.crop
|
|
11230
|
-
}, _errorFactory); const
|
|
11512
|
+
}, _errorFactory); const _ao8 = (input, _path, _exceptionable = true) => (undefined === input.x || "number" === typeof input.x || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11231
11513
|
method: "typia.assert",
|
|
11232
11514
|
path: _path + ".x",
|
|
11233
11515
|
expected: "(number | undefined)",
|
|
@@ -11247,7 +11529,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
11247
11529
|
path: _path + ".height",
|
|
11248
11530
|
expected: "(number | undefined)",
|
|
11249
11531
|
value: input.height
|
|
11250
|
-
}, _errorFactory)); const
|
|
11532
|
+
}, _errorFactory)); const _ao9 = (input, _path, _exceptionable = true) => (undefined === input.language || "string" === typeof input.language || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11251
11533
|
method: "typia.assert",
|
|
11252
11534
|
path: _path + ".language",
|
|
11253
11535
|
expected: "(string | undefined)",
|
|
@@ -11257,9 +11539,9 @@ function _assertDomainRecord(domain, input) {
|
|
|
11257
11539
|
path: _path + ".pan",
|
|
11258
11540
|
expected: "(Array<number> | undefined)",
|
|
11259
11541
|
value: input.pan
|
|
11260
|
-
}, _errorFactory)) && input.pan.every((elem,
|
|
11542
|
+
}, _errorFactory)) && input.pan.every((elem, _index11) => "number" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11261
11543
|
method: "typia.assert",
|
|
11262
|
-
path: _path + ".pan[" +
|
|
11544
|
+
path: _path + ".pan[" + _index11 + "]",
|
|
11263
11545
|
expected: "number",
|
|
11264
11546
|
value: elem
|
|
11265
11547
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -11267,7 +11549,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
11267
11549
|
path: _path + ".pan",
|
|
11268
11550
|
expected: "(Array<number> | undefined)",
|
|
11269
11551
|
value: input.pan
|
|
11270
|
-
}, _errorFactory)); const
|
|
11552
|
+
}, _errorFactory)); const _ao10 = (input, _path, _exceptionable = true) => ("string" === typeof input.format || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11271
11553
|
method: "typia.assert",
|
|
11272
11554
|
path: _path + ".format",
|
|
11273
11555
|
expected: "string",
|
|
@@ -11277,7 +11559,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
11277
11559
|
path: _path + ".transcribe",
|
|
11278
11560
|
expected: "(__type.o6 | undefined)",
|
|
11279
11561
|
value: input.transcribe
|
|
11280
|
-
}, _errorFactory)) &&
|
|
11562
|
+
}, _errorFactory)) && _ao11(input.transcribe, _path + ".transcribe", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11281
11563
|
method: "typia.assert",
|
|
11282
11564
|
path: _path + ".transcribe",
|
|
11283
11565
|
expected: "(__type.o6 | undefined)",
|
|
@@ -11287,7 +11569,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
11287
11569
|
path: _path + ".translate",
|
|
11288
11570
|
expected: "(__type.o7 | undefined)",
|
|
11289
11571
|
value: input.translate
|
|
11290
|
-
}, _errorFactory)) &&
|
|
11572
|
+
}, _errorFactory)) && _ao12(input.translate, _path + ".translate", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11291
11573
|
method: "typia.assert",
|
|
11292
11574
|
path: _path + ".translate",
|
|
11293
11575
|
expected: "(__type.o7 | undefined)",
|
|
@@ -11297,7 +11579,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
11297
11579
|
path: _path + ".audio",
|
|
11298
11580
|
expected: "(__type.o8 | undefined)",
|
|
11299
11581
|
value: input.audio
|
|
11300
|
-
}, _errorFactory)) &&
|
|
11582
|
+
}, _errorFactory)) && _ao13(input.audio, _path + ".audio", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11301
11583
|
method: "typia.assert",
|
|
11302
11584
|
path: _path + ".audio",
|
|
11303
11585
|
expected: "(__type.o8 | undefined)",
|
|
@@ -11307,9 +11589,9 @@ function _assertDomainRecord(domain, input) {
|
|
|
11307
11589
|
path: _path + ".pick",
|
|
11308
11590
|
expected: "(Array<string> | undefined)",
|
|
11309
11591
|
value: input.pick
|
|
11310
|
-
}, _errorFactory)) && input.pick.every((elem,
|
|
11592
|
+
}, _errorFactory)) && input.pick.every((elem, _index12) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11311
11593
|
method: "typia.assert",
|
|
11312
|
-
path: _path + ".pick[" +
|
|
11594
|
+
path: _path + ".pick[" + _index12 + "]",
|
|
11313
11595
|
expected: "string",
|
|
11314
11596
|
value: elem
|
|
11315
11597
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -11327,22 +11609,22 @@ function _assertDomainRecord(domain, input) {
|
|
|
11327
11609
|
path: _path + ".subtitle",
|
|
11328
11610
|
expected: "(SubtitleProfile | string | undefined)",
|
|
11329
11611
|
value: input.subtitle
|
|
11330
|
-
}, _errorFactory)) &&
|
|
11612
|
+
}, _errorFactory)) && _ao14(input.subtitle, _path + ".subtitle", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11331
11613
|
method: "typia.assert",
|
|
11332
11614
|
path: _path + ".subtitle",
|
|
11333
11615
|
expected: "(SubtitleProfile | string | undefined)",
|
|
11334
11616
|
value: input.subtitle
|
|
11335
|
-
}, _errorFactory))); const
|
|
11617
|
+
}, _errorFactory))); const _ao11 = (input, _path, _exceptionable = true) => "string" === typeof input.engine || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11336
11618
|
method: "typia.assert",
|
|
11337
11619
|
path: _path + ".engine",
|
|
11338
11620
|
expected: "string",
|
|
11339
11621
|
value: input.engine
|
|
11340
|
-
}, _errorFactory); const
|
|
11622
|
+
}, _errorFactory); const _ao12 = (input, _path, _exceptionable = true) => "string" === typeof input.language || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11341
11623
|
method: "typia.assert",
|
|
11342
11624
|
path: _path + ".language",
|
|
11343
11625
|
expected: "string",
|
|
11344
11626
|
value: input.language
|
|
11345
|
-
}, _errorFactory); const
|
|
11627
|
+
}, _errorFactory); const _ao13 = (input, _path, _exceptionable = true) => (undefined === input.codec || "string" === typeof input.codec || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11346
11628
|
method: "typia.assert",
|
|
11347
11629
|
path: _path + ".codec",
|
|
11348
11630
|
expected: "(string | undefined)",
|
|
@@ -11362,7 +11644,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
11362
11644
|
path: _path + ".split",
|
|
11363
11645
|
expected: "(boolean | undefined)",
|
|
11364
11646
|
value: input.split
|
|
11365
|
-
}, _errorFactory)); const
|
|
11647
|
+
}, _errorFactory)); const _ao14 = (input, _path, _exceptionable = true) => (undefined === input.lang || "string" === typeof input.lang || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11366
11648
|
method: "typia.assert",
|
|
11367
11649
|
path: _path + ".lang",
|
|
11368
11650
|
expected: "(string | undefined)",
|
|
@@ -11372,12 +11654,12 @@ function _assertDomainRecord(domain, input) {
|
|
|
11372
11654
|
path: _path + ".style",
|
|
11373
11655
|
expected: "(string | undefined)",
|
|
11374
11656
|
value: input.style
|
|
11375
|
-
}, _errorFactory)); const
|
|
11657
|
+
}, _errorFactory)); const _ao15 = (input, _path, _exceptionable = true) => "string" === typeof input.method || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11376
11658
|
method: "typia.assert",
|
|
11377
11659
|
path: _path + ".method",
|
|
11378
11660
|
expected: "string",
|
|
11379
11661
|
value: input.method
|
|
11380
|
-
}, _errorFactory); const
|
|
11662
|
+
}, _errorFactory); const _ao16 = (input, _path, _exceptionable = true) => ("number" === typeof input.level || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11381
11663
|
method: "typia.assert",
|
|
11382
11664
|
path: _path + ".level",
|
|
11383
11665
|
expected: "number",
|
|
@@ -11392,10 +11674,70 @@ function _assertDomainRecord(domain, input) {
|
|
|
11392
11674
|
path: _path + ".msg",
|
|
11393
11675
|
expected: "string",
|
|
11394
11676
|
value: input.msg
|
|
11395
|
-
}, _errorFactory)); const
|
|
11677
|
+
}, _errorFactory)); const _ao17 = (input, _path, _exceptionable = true) => (undefined === input.type || "facebook" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11678
|
+
method: "typia.assert",
|
|
11679
|
+
path: _path + ".type",
|
|
11680
|
+
expected: "(\"facebook\" | undefined)",
|
|
11681
|
+
value: input.type
|
|
11682
|
+
}, _errorFactory)) && (undefined === input.pageId || "string" === typeof input.pageId || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11683
|
+
method: "typia.assert",
|
|
11684
|
+
path: _path + ".pageId",
|
|
11685
|
+
expected: "(string | undefined)",
|
|
11686
|
+
value: input.pageId
|
|
11687
|
+
}, _errorFactory)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11688
|
+
method: "typia.assert",
|
|
11689
|
+
path: _path + ".asset",
|
|
11690
|
+
expected: "(null | string | undefined)",
|
|
11691
|
+
value: input.asset
|
|
11692
|
+
}, _errorFactory)) && (undefined === input.connection || "string" === typeof input.connection || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11693
|
+
method: "typia.assert",
|
|
11694
|
+
path: _path + ".connection",
|
|
11695
|
+
expected: "(string | undefined)",
|
|
11696
|
+
value: input.connection
|
|
11697
|
+
}, _errorFactory)) && (undefined === input.render || ("object" === typeof input.render && null !== input.render || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11698
|
+
method: "typia.assert",
|
|
11699
|
+
path: _path + ".render",
|
|
11700
|
+
expected: "(PublishRenderBase | undefined)",
|
|
11701
|
+
value: input.render
|
|
11702
|
+
}, _errorFactory)) && _ao1(input.render, _path + ".render", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11703
|
+
method: "typia.assert",
|
|
11704
|
+
path: _path + ".render",
|
|
11705
|
+
expected: "(PublishRenderBase | undefined)",
|
|
11706
|
+
value: input.render
|
|
11707
|
+
}, _errorFactory)) && true && true && true && (null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11708
|
+
method: "typia.assert",
|
|
11709
|
+
path: _path + ".error",
|
|
11710
|
+
expected: "(__type.o9 | null | undefined)",
|
|
11711
|
+
value: input.error
|
|
11712
|
+
}, _errorFactory)) && _ao15(input.error, _path + ".error", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11713
|
+
method: "typia.assert",
|
|
11714
|
+
path: _path + ".error",
|
|
11715
|
+
expected: "(__type.o9 | null | undefined)",
|
|
11716
|
+
value: input.error
|
|
11717
|
+
}, _errorFactory)) && (undefined === input.messages || (Array.isArray(input.messages) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11718
|
+
method: "typia.assert",
|
|
11719
|
+
path: _path + ".messages",
|
|
11720
|
+
expected: "(Array<Message> | undefined)",
|
|
11721
|
+
value: input.messages
|
|
11722
|
+
}, _errorFactory)) && input.messages.every((elem, _index13) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11723
|
+
method: "typia.assert",
|
|
11724
|
+
path: _path + ".messages[" + _index13 + "]",
|
|
11725
|
+
expected: "Message",
|
|
11726
|
+
value: elem
|
|
11727
|
+
}, _errorFactory)) && _ao16(elem, _path + ".messages[" + _index13 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11728
|
+
method: "typia.assert",
|
|
11729
|
+
path: _path + ".messages[" + _index13 + "]",
|
|
11730
|
+
expected: "Message",
|
|
11731
|
+
value: elem
|
|
11732
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11733
|
+
method: "typia.assert",
|
|
11734
|
+
path: _path + ".messages",
|
|
11735
|
+
expected: "(Array<Message> | undefined)",
|
|
11736
|
+
value: input.messages
|
|
11737
|
+
}, _errorFactory)); const _ao18 = (input, _path, _exceptionable = true) => (undefined === input.type || "file" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11396
11738
|
method: "typia.assert",
|
|
11397
11739
|
path: _path + ".type",
|
|
11398
|
-
expected: "\"file\"",
|
|
11740
|
+
expected: "(\"file\" | undefined)",
|
|
11399
11741
|
value: input.type
|
|
11400
11742
|
}, _errorFactory)) && (undefined === input.directory || "string" === typeof input.directory || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11401
11743
|
method: "typia.assert",
|
|
@@ -11462,7 +11804,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
11462
11804
|
path: _path + ".render",
|
|
11463
11805
|
expected: "(PublishRenderBase | undefined)",
|
|
11464
11806
|
value: input.render
|
|
11465
|
-
}, _errorFactory)) &&
|
|
11807
|
+
}, _errorFactory)) && _ao1(input.render, _path + ".render", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11466
11808
|
method: "typia.assert",
|
|
11467
11809
|
path: _path + ".render",
|
|
11468
11810
|
expected: "(PublishRenderBase | undefined)",
|
|
@@ -11472,7 +11814,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
11472
11814
|
path: _path + ".error",
|
|
11473
11815
|
expected: "(__type.o9 | null | undefined)",
|
|
11474
11816
|
value: input.error
|
|
11475
|
-
}, _errorFactory)) &&
|
|
11817
|
+
}, _errorFactory)) && _ao15(input.error, _path + ".error", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11476
11818
|
method: "typia.assert",
|
|
11477
11819
|
path: _path + ".error",
|
|
11478
11820
|
expected: "(__type.o9 | null | undefined)",
|
|
@@ -11482,14 +11824,14 @@ function _assertDomainRecord(domain, input) {
|
|
|
11482
11824
|
path: _path + ".messages",
|
|
11483
11825
|
expected: "(Array<Message> | undefined)",
|
|
11484
11826
|
value: input.messages
|
|
11485
|
-
}, _errorFactory)) && input.messages.every((elem,
|
|
11827
|
+
}, _errorFactory)) && input.messages.every((elem, _index14) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11486
11828
|
method: "typia.assert",
|
|
11487
|
-
path: _path + ".messages[" +
|
|
11829
|
+
path: _path + ".messages[" + _index14 + "]",
|
|
11488
11830
|
expected: "Message",
|
|
11489
11831
|
value: elem
|
|
11490
|
-
}, _errorFactory)) &&
|
|
11832
|
+
}, _errorFactory)) && _ao16(elem, _path + ".messages[" + _index14 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11491
11833
|
method: "typia.assert",
|
|
11492
|
-
path: _path + ".messages[" +
|
|
11834
|
+
path: _path + ".messages[" + _index14 + "]",
|
|
11493
11835
|
expected: "Message",
|
|
11494
11836
|
value: elem
|
|
11495
11837
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -11557,7 +11899,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
11557
11899
|
path: _path + ".scene",
|
|
11558
11900
|
expected: "(RenderSceneObject | undefined)",
|
|
11559
11901
|
value: input.scene
|
|
11560
|
-
}, _errorFactory)) &&
|
|
11902
|
+
}, _errorFactory)) && _ao2(input.scene, _path + ".scene", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11561
11903
|
method: "typia.assert",
|
|
11562
11904
|
path: _path + ".scene",
|
|
11563
11905
|
expected: "(RenderSceneObject | undefined)",
|
|
@@ -11567,7 +11909,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
11567
11909
|
path: _path + ".profile",
|
|
11568
11910
|
expected: "(RenderProfileObject | undefined)",
|
|
11569
11911
|
value: input.profile
|
|
11570
|
-
}, _errorFactory)) &&
|
|
11912
|
+
}, _errorFactory)) && _ao10(input.profile, _path + ".profile", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11571
11913
|
method: "typia.assert",
|
|
11572
11914
|
path: _path + ".profile",
|
|
11573
11915
|
expected: "(RenderProfileObject | undefined)",
|
|
@@ -11592,7 +11934,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
11592
11934
|
path: _path + ".__returnValue",
|
|
11593
11935
|
expected: "ResolvedFilePublishRender",
|
|
11594
11936
|
value: input.__returnValue
|
|
11595
|
-
}, _errorFactory)); const _ao22 = (input, _path, _exceptionable = true) => (("object" === typeof input.publish && null !== input.publish || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11937
|
+
}, _errorFactory)); const _ao22 = (input, _path, _exceptionable = true) => (("object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11596
11938
|
method: "typia.assert",
|
|
11597
11939
|
path: _path + ".publish",
|
|
11598
11940
|
expected: "FilePublishRecord",
|
|
@@ -11667,14 +12009,14 @@ function _assertDomainRecord(domain, input) {
|
|
|
11667
12009
|
path: _path + ".messages",
|
|
11668
12010
|
expected: "(Array<Message> | undefined)",
|
|
11669
12011
|
value: input.messages
|
|
11670
|
-
}, _errorFactory)) && input.messages.every((elem,
|
|
12012
|
+
}, _errorFactory)) && input.messages.every((elem, _index15) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11671
12013
|
method: "typia.assert",
|
|
11672
|
-
path: _path + ".messages[" +
|
|
12014
|
+
path: _path + ".messages[" + _index15 + "]",
|
|
11673
12015
|
expected: "Message",
|
|
11674
12016
|
value: elem
|
|
11675
|
-
}, _errorFactory)) &&
|
|
12017
|
+
}, _errorFactory)) && _ao16(elem, _path + ".messages[" + _index15 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11676
12018
|
method: "typia.assert",
|
|
11677
|
-
path: _path + ".messages[" +
|
|
12019
|
+
path: _path + ".messages[" + _index15 + "]",
|
|
11678
12020
|
expected: "Message",
|
|
11679
12021
|
value: elem
|
|
11680
12022
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -11707,10 +12049,10 @@ function _assertDomainRecord(domain, input) {
|
|
|
11707
12049
|
path: _path + ".filename",
|
|
11708
12050
|
expected: "string",
|
|
11709
12051
|
value: input.filename
|
|
11710
|
-
}, _errorFactory)); const _ao28 = (input, _path, _exceptionable = true) => ("file" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
12052
|
+
}, _errorFactory)); const _ao28 = (input, _path, _exceptionable = true) => (undefined === input.type || "file" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11711
12053
|
method: "typia.assert",
|
|
11712
12054
|
path: _path + ".type",
|
|
11713
|
-
expected: "\"file\"",
|
|
12055
|
+
expected: "(\"file\" | undefined)",
|
|
11714
12056
|
value: input.type
|
|
11715
12057
|
}, _errorFactory)) && (undefined === input.directory || "string" === typeof input.directory || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11716
12058
|
method: "typia.assert",
|
|
@@ -11777,7 +12119,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
11777
12119
|
path: _path + ".render",
|
|
11778
12120
|
expected: "(PublishRenderBase | undefined)",
|
|
11779
12121
|
value: input.render
|
|
11780
|
-
}, _errorFactory)) &&
|
|
12122
|
+
}, _errorFactory)) && _ao1(input.render, _path + ".render", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11781
12123
|
method: "typia.assert",
|
|
11782
12124
|
path: _path + ".render",
|
|
11783
12125
|
expected: "(PublishRenderBase | undefined)",
|
|
@@ -11787,7 +12129,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
11787
12129
|
path: _path + ".error",
|
|
11788
12130
|
expected: "(__type.o9 | null | undefined)",
|
|
11789
12131
|
value: input.error
|
|
11790
|
-
}, _errorFactory)) &&
|
|
12132
|
+
}, _errorFactory)) && _ao15(input.error, _path + ".error", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11791
12133
|
method: "typia.assert",
|
|
11792
12134
|
path: _path + ".error",
|
|
11793
12135
|
expected: "(__type.o9 | null | undefined)",
|
|
@@ -11797,14 +12139,14 @@ function _assertDomainRecord(domain, input) {
|
|
|
11797
12139
|
path: _path + ".messages",
|
|
11798
12140
|
expected: "(Array<Message> | undefined)",
|
|
11799
12141
|
value: input.messages
|
|
11800
|
-
}, _errorFactory)) && input.messages.every((elem,
|
|
12142
|
+
}, _errorFactory)) && input.messages.every((elem, _index16) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11801
12143
|
method: "typia.assert",
|
|
11802
|
-
path: _path + ".messages[" +
|
|
12144
|
+
path: _path + ".messages[" + _index16 + "]",
|
|
11803
12145
|
expected: "Message",
|
|
11804
12146
|
value: elem
|
|
11805
|
-
}, _errorFactory)) &&
|
|
12147
|
+
}, _errorFactory)) && _ao16(elem, _path + ".messages[" + _index16 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11806
12148
|
method: "typia.assert",
|
|
11807
|
-
path: _path + ".messages[" +
|
|
12149
|
+
path: _path + ".messages[" + _index16 + "]",
|
|
11808
12150
|
expected: "Message",
|
|
11809
12151
|
value: elem
|
|
11810
12152
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -11869,10 +12211,10 @@ function _assertDomainRecord(domain, input) {
|
|
|
11869
12211
|
path: _path + ".path",
|
|
11870
12212
|
expected: "string",
|
|
11871
12213
|
value: input.path
|
|
11872
|
-
}, _errorFactory); const _ao32 = (input, _path, _exceptionable = true) => ("youtube" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
12214
|
+
}, _errorFactory); const _ao32 = (input, _path, _exceptionable = true) => (undefined === input.type || "youtube" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11873
12215
|
method: "typia.assert",
|
|
11874
12216
|
path: _path + ".type",
|
|
11875
|
-
expected: "\"youtube\"",
|
|
12217
|
+
expected: "(\"youtube\" | undefined)",
|
|
11876
12218
|
value: input.type
|
|
11877
12219
|
}, _errorFactory)) && (undefined === input.draft || ("object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11878
12220
|
method: "typia.assert",
|
|
@@ -11899,7 +12241,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
11899
12241
|
path: _path + ".render",
|
|
11900
12242
|
expected: "(PublishRenderBase | undefined)",
|
|
11901
12243
|
value: input.render
|
|
11902
|
-
}, _errorFactory)) &&
|
|
12244
|
+
}, _errorFactory)) && _ao1(input.render, _path + ".render", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11903
12245
|
method: "typia.assert",
|
|
11904
12246
|
path: _path + ".render",
|
|
11905
12247
|
expected: "(PublishRenderBase | undefined)",
|
|
@@ -11909,7 +12251,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
11909
12251
|
path: _path + ".error",
|
|
11910
12252
|
expected: "(__type.o9 | null | undefined)",
|
|
11911
12253
|
value: input.error
|
|
11912
|
-
}, _errorFactory)) &&
|
|
12254
|
+
}, _errorFactory)) && _ao15(input.error, _path + ".error", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11913
12255
|
method: "typia.assert",
|
|
11914
12256
|
path: _path + ".error",
|
|
11915
12257
|
expected: "(__type.o9 | null | undefined)",
|
|
@@ -11919,14 +12261,14 @@ function _assertDomainRecord(domain, input) {
|
|
|
11919
12261
|
path: _path + ".messages",
|
|
11920
12262
|
expected: "(Array<Message> | undefined)",
|
|
11921
12263
|
value: input.messages
|
|
11922
|
-
}, _errorFactory)) && input.messages.every((elem,
|
|
12264
|
+
}, _errorFactory)) && input.messages.every((elem, _index17) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11923
12265
|
method: "typia.assert",
|
|
11924
|
-
path: _path + ".messages[" +
|
|
12266
|
+
path: _path + ".messages[" + _index17 + "]",
|
|
11925
12267
|
expected: "Message",
|
|
11926
12268
|
value: elem
|
|
11927
|
-
}, _errorFactory)) &&
|
|
12269
|
+
}, _errorFactory)) && _ao16(elem, _path + ".messages[" + _index17 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11928
12270
|
method: "typia.assert",
|
|
11929
|
-
path: _path + ".messages[" +
|
|
12271
|
+
path: _path + ".messages[" + _index17 + "]",
|
|
11930
12272
|
expected: "Message",
|
|
11931
12273
|
value: elem
|
|
11932
12274
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -11954,9 +12296,9 @@ function _assertDomainRecord(domain, input) {
|
|
|
11954
12296
|
path: _path + ".tags",
|
|
11955
12297
|
expected: "(Array<string> | undefined)",
|
|
11956
12298
|
value: input.tags
|
|
11957
|
-
}, _errorFactory)) && input.tags.every((elem,
|
|
12299
|
+
}, _errorFactory)) && input.tags.every((elem, _index18) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11958
12300
|
method: "typia.assert",
|
|
11959
|
-
path: _path + ".tags[" +
|
|
12301
|
+
path: _path + ".tags[" + _index18 + "]",
|
|
11960
12302
|
expected: "string",
|
|
11961
12303
|
value: elem
|
|
11962
12304
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -11981,24 +12323,15 @@ function _assertDomainRecord(domain, input) {
|
|
|
11981
12323
|
expected: "(ResolvedFilePublishRender | __type.o10)",
|
|
11982
12324
|
value: input
|
|
11983
12325
|
}, _errorFactory);
|
|
11984
|
-
})(); const _au1 = (input, _path, _exceptionable = true) => (()
|
|
11985
|
-
|
|
11986
|
-
|
|
11987
|
-
|
|
11988
|
-
|
|
11989
|
-
|
|
11990
|
-
return _ao32(input, _path, true && _exceptionable);
|
|
11991
|
-
else
|
|
11992
|
-
return _ao28(input, _path, false && _exceptionable) || _ao18(input, _path, false && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11993
|
-
method: "typia.assert",
|
|
11994
|
-
path: _path,
|
|
11995
|
-
expected: "(FilePublishRecordLegacy | FilePublishRecord)",
|
|
11996
|
-
value: input
|
|
11997
|
-
}, _errorFactory);
|
|
11998
|
-
})(); const __is = input => "object" === typeof input && null !== input && _iu1(input); let _errorFactory; return (input, errorFactory) => {
|
|
12326
|
+
})(); const _au1 = (input, _path, _exceptionable = true) => _ao0(input, _path, false && _exceptionable) || _ao17(input, _path, false && _exceptionable) || _ao28(input, _path, false && _exceptionable) || _ao18(input, _path, false && _exceptionable) || _ao32(input, _path, false && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
12327
|
+
method: "typia.assert",
|
|
12328
|
+
path: _path,
|
|
12329
|
+
expected: "(EmptyPublishRecord | FacebookPublishRecord | FilePublishRecordLegacy | FilePublishRecord | YoutubePublishRecord)",
|
|
12330
|
+
value: input
|
|
12331
|
+
}, _errorFactory); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _iu1(input); let _errorFactory; return (input, errorFactory) => {
|
|
11999
12332
|
if (false === __is(input)) {
|
|
12000
12333
|
_errorFactory = errorFactory;
|
|
12001
|
-
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || __typia_transform__assertGuard._assertGuard(true, {
|
|
12334
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
12002
12335
|
method: "typia.assert",
|
|
12003
12336
|
path: _path + "",
|
|
12004
12337
|
expected: "(EmptyPublishRecord | FacebookPublishRecord | FilePublishRecord | FilePublishRecordLegacy | YoutubePublishRecord)",
|
|
@@ -12029,7 +12362,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
12029
12362
|
if (undefined === value)
|
|
12030
12363
|
return true;
|
|
12031
12364
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io13(value);
|
|
12032
|
-
}); const _io13 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io14(input.styleOverrides)); const _io14 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io15 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io16(input.crop); const _io16 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io17 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _io18 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io19(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io20(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io21(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && _io22(input.subtitle))); const _io19 = input => "string" === typeof input.engine; const _io20 = input => "string" === typeof input.language; const _io21 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.pan || "string" === typeof input.pan) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.split || "boolean" === typeof input.split); const _io22 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style); const _io23 = input => "object" === typeof input.__context && null !== input.__context && _io24(input.__context) && ("object" === typeof input.__returnValue && null !== input.__returnValue && _io9(input.__returnValue)); const _io24 = input => "object" === typeof input.publish && null !== input.publish && _io25(input.publish) && "string" === typeof input.directory && "string" === typeof input.name; const _io25 = input => "file" === input.type && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io8(input.renders)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io26(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io27(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io30(input.published)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io31(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io32(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io26 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename); const _io27 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io28(input.renders)); const _io28 = input => Object.keys(input).every(key => {
|
|
12365
|
+
}); const _io13 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io14(input.styleOverrides)); const _io14 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io15 = input => undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io16(input.crop); const _io16 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io17 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _io18 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io19(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io20(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io21(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && _io22(input.subtitle))); const _io19 = input => "string" === typeof input.engine; const _io20 = input => "string" === typeof input.language; const _io21 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.pan || "string" === typeof input.pan) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.split || "boolean" === typeof input.split); const _io22 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style); const _io23 = input => "object" === typeof input.__context && null !== input.__context && _io24(input.__context) && ("object" === typeof input.__returnValue && null !== input.__returnValue && _io9(input.__returnValue)); const _io24 = input => "object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) && _io25(input.publish) && "string" === typeof input.directory && "string" === typeof input.name; const _io25 = input => (undefined === input.type || "file" === input.type) && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io8(input.renders)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io26(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io27(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io30(input.published)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io31(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io32(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io26 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename); const _io27 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io28(input.renders)); const _io28 = input => Object.keys(input).every(key => {
|
|
12033
12366
|
const value = input[key];
|
|
12034
12367
|
if (undefined === value)
|
|
12035
12368
|
return true;
|
|
@@ -12719,7 +13052,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
12719
13052
|
path: _path + ".__returnValue",
|
|
12720
13053
|
expected: "ResolvedFilePublishRender",
|
|
12721
13054
|
value: input.__returnValue
|
|
12722
|
-
}, _errorFactory)); const _ao24 = (input, _path, _exceptionable = true) => (("object" === typeof input.publish && null !== input.publish || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13055
|
+
}, _errorFactory)); const _ao24 = (input, _path, _exceptionable = true) => (("object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
12723
13056
|
method: "typia.assert",
|
|
12724
13057
|
path: _path + ".publish",
|
|
12725
13058
|
expected: "FilePublishRecord",
|
|
@@ -12739,10 +13072,10 @@ function _assertDomainRecord(domain, input) {
|
|
|
12739
13072
|
path: _path + ".name",
|
|
12740
13073
|
expected: "string",
|
|
12741
13074
|
value: input.name
|
|
12742
|
-
}, _errorFactory)); const _ao25 = (input, _path, _exceptionable = true) => ("file" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13075
|
+
}, _errorFactory)); const _ao25 = (input, _path, _exceptionable = true) => (undefined === input.type || "file" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
12743
13076
|
method: "typia.assert",
|
|
12744
13077
|
path: _path + ".type",
|
|
12745
|
-
expected: "\"file\"",
|
|
13078
|
+
expected: "(\"file\" | undefined)",
|
|
12746
13079
|
value: input.type
|
|
12747
13080
|
}, _errorFactory)) && (undefined === input.directory || "string" === typeof input.directory || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
12748
13081
|
method: "typia.assert",
|
|
@@ -13073,41 +13406,66 @@ function _assertDomainRecord(domain, input) {
|
|
|
13073
13406
|
}; })()(input);
|
|
13074
13407
|
}
|
|
13075
13408
|
case ":published": {
|
|
13076
|
-
return (() => { const _io0 = input => "string" === typeof input.type && "string" === typeof input.parent && (Array.isArray(input.asset) && input.asset.every(elem => "string" === typeof elem)) && "number" === typeof input.time && "string" === typeof input.connection && (undefined === input.user || "string" === typeof input.user) && (undefined === input.error || "boolean" === typeof input.error); const _ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13409
|
+
return (() => { const _io0 = input => "string" === typeof input.type && (undefined === input.parent || "string" === typeof input.parent) && (null !== input.asset && (undefined === input.asset || "string" === typeof input.asset || Array.isArray(input.asset) && input.asset.every(elem => "string" === typeof elem))) && (undefined === input.assets || Array.isArray(input.assets) && input.assets.every(elem => "string" === typeof elem)) && "number" === typeof input.time && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.gallery || "string" === typeof input.gallery) && (undefined === input.user || "string" === typeof input.user) && (undefined === input.error || "boolean" === typeof input.error); const _ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13077
13410
|
method: "typia.assert",
|
|
13078
13411
|
path: _path + ".type",
|
|
13079
13412
|
expected: "string",
|
|
13080
13413
|
value: input.type
|
|
13081
|
-
}, _errorFactory)) && ("string" === typeof input.parent || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13414
|
+
}, _errorFactory)) && (undefined === input.parent || "string" === typeof input.parent || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13082
13415
|
method: "typia.assert",
|
|
13083
13416
|
path: _path + ".parent",
|
|
13084
|
-
expected: "string",
|
|
13417
|
+
expected: "(string | undefined)",
|
|
13085
13418
|
value: input.parent
|
|
13086
|
-
}, _errorFactory)) && ((
|
|
13419
|
+
}, _errorFactory)) && ((null !== input.asset || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13087
13420
|
method: "typia.assert",
|
|
13088
13421
|
path: _path + ".asset",
|
|
13089
|
-
expected: "Array<string>",
|
|
13422
|
+
expected: "(Array<string> | string | undefined)",
|
|
13423
|
+
value: input.asset
|
|
13424
|
+
}, _errorFactory)) && (undefined === input.asset || "string" === typeof input.asset || (Array.isArray(input.asset) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13425
|
+
method: "typia.assert",
|
|
13426
|
+
path: _path + ".asset",
|
|
13427
|
+
expected: "(Array<string> | string | undefined)",
|
|
13090
13428
|
value: input.asset
|
|
13091
|
-
}, _errorFactory)) && input.asset.every((elem,
|
|
13429
|
+
}, _errorFactory)) && input.asset.every((elem, _index3) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13092
13430
|
method: "typia.assert",
|
|
13093
|
-
path: _path + ".asset[" +
|
|
13431
|
+
path: _path + ".asset[" + _index3 + "]",
|
|
13094
13432
|
expected: "string",
|
|
13095
13433
|
value: elem
|
|
13096
13434
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13097
13435
|
method: "typia.assert",
|
|
13098
13436
|
path: _path + ".asset",
|
|
13099
|
-
expected: "Array<string>",
|
|
13437
|
+
expected: "(Array<string> | string | undefined)",
|
|
13100
13438
|
value: input.asset
|
|
13439
|
+
}, _errorFactory))) && (undefined === input.assets || (Array.isArray(input.assets) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13440
|
+
method: "typia.assert",
|
|
13441
|
+
path: _path + ".assets",
|
|
13442
|
+
expected: "(Array<string> | undefined)",
|
|
13443
|
+
value: input.assets
|
|
13444
|
+
}, _errorFactory)) && input.assets.every((elem, _index4) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13445
|
+
method: "typia.assert",
|
|
13446
|
+
path: _path + ".assets[" + _index4 + "]",
|
|
13447
|
+
expected: "string",
|
|
13448
|
+
value: elem
|
|
13449
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13450
|
+
method: "typia.assert",
|
|
13451
|
+
path: _path + ".assets",
|
|
13452
|
+
expected: "(Array<string> | undefined)",
|
|
13453
|
+
value: input.assets
|
|
13101
13454
|
}, _errorFactory)) && ("number" === typeof input.time || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13102
13455
|
method: "typia.assert",
|
|
13103
13456
|
path: _path + ".time",
|
|
13104
13457
|
expected: "number",
|
|
13105
13458
|
value: input.time
|
|
13106
|
-
}, _errorFactory)) && ("string" === typeof input.connection || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13459
|
+
}, _errorFactory)) && (undefined === input.connection || "string" === typeof input.connection || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13107
13460
|
method: "typia.assert",
|
|
13108
13461
|
path: _path + ".connection",
|
|
13109
|
-
expected: "string",
|
|
13462
|
+
expected: "(string | undefined)",
|
|
13110
13463
|
value: input.connection
|
|
13464
|
+
}, _errorFactory)) && (undefined === input.gallery || "string" === typeof input.gallery || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13465
|
+
method: "typia.assert",
|
|
13466
|
+
path: _path + ".gallery",
|
|
13467
|
+
expected: "(string | undefined)",
|
|
13468
|
+
value: input.gallery
|
|
13111
13469
|
}, _errorFactory)) && (undefined === input.user || "string" === typeof input.user || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13112
13470
|
method: "typia.assert",
|
|
13113
13471
|
path: _path + ".user",
|
|
@@ -15193,29 +15551,29 @@ function _assertDomainRecord(domain, input) {
|
|
|
15193
15551
|
}; })()(input);
|
|
15194
15552
|
}
|
|
15195
15553
|
case ":search": {
|
|
15196
|
-
return (() => { const _io0 = input => (undefined === input.type || "conditions_and" === input.type) && (undefined === input.sort || Array.isArray(input.sort) && input.sort.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io1(elem))) && (undefined === input.showDefault || "boolean" === typeof input.showDefault) && (undefined === input.showDeleted || "boolean" === typeof input.showDeleted) && (undefined === input.showHidden || "boolean" === typeof input.showHidden) && (undefined === input.view || "GRID_VIEW" === input.view || "LIST_VIEW" === input.view || "CALENDAR_VIEW" === input.view || "MAP_VIEW" === input.view || "AGENDA_VIEW" === input.view || "RESOURCE_VIEW" === input.view) && (undefined === input.conditions || Array.isArray(input.conditions)) && (null === input.visibleColumnKeys || undefined === input.visibleColumnKeys || Array.isArray(input.visibleColumnKeys) && input.visibleColumnKeys.every(elem => "string" === typeof elem)) && (null === input.connectionId || undefined === input.connectionId || "string" === typeof input.connectionId); const _io1 = input => Object.keys(input).every(key => {
|
|
15554
|
+
return (() => { const _io0 = input => (undefined === input.type || "conditions_and" === input.type || "conditions_or" === input.type) && (undefined === input.sort || Array.isArray(input.sort) && input.sort.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io1(elem))) && (undefined === input.showDefault || "boolean" === typeof input.showDefault) && (undefined === input.showDeleted || "boolean" === typeof input.showDeleted) && (undefined === input.showHidden || "boolean" === typeof input.showHidden) && (null === input.view || undefined === input.view || "GRID_VIEW" === input.view || "LIST_VIEW" === input.view || "CALENDAR_VIEW" === input.view || "MAP_VIEW" === input.view || "AGENDA_VIEW" === input.view || "RESOURCE_VIEW" === input.view) && (undefined === input.conditions || Array.isArray(input.conditions) && input.conditions.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io2(elem))) && (null === input.visibleColumnKeys || undefined === input.visibleColumnKeys || Array.isArray(input.visibleColumnKeys) && input.visibleColumnKeys.every(elem => "string" === typeof elem)) && (null === input.connectionId || undefined === input.connectionId || "string" === typeof input.connectionId) && (undefined === input.calendar || "object" === typeof input.calendar && null !== input.calendar && false === Array.isArray(input.calendar) && _io3(input.calendar)) && (undefined === input.refreshInterval || "number" === typeof input.refreshInterval) && (undefined === input.color || "string" === typeof input.color); const _io1 = input => Object.keys(input).every(key => {
|
|
15197
15555
|
const value = input[key];
|
|
15198
15556
|
if (undefined === value)
|
|
15199
15557
|
return true;
|
|
15200
15558
|
return "asc" === value || "desc" === value;
|
|
15201
|
-
}); const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.type || "conditions_and" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15559
|
+
}); const _io2 = input => (undefined === input.field || "string" === typeof input.field) && (undefined === input.type || "string" === typeof input.type) && (undefined === input.op || "string" === typeof input.op) && true; const _io3 = input => (null === input.view || undefined === input.view || "day" === input.view || "week" === input.view || "month" === input.view || "work_week" === input.view) && (null === input.dateAccessor || undefined === input.dateAccessor || "string" === typeof input.dateAccessor) && (undefined === input.agenda || "boolean" === typeof input.agenda); const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.type || "conditions_and" === input.type || "conditions_or" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15202
15560
|
method: "typia.assert",
|
|
15203
15561
|
path: _path + ".type",
|
|
15204
|
-
expected: "(\"conditions_and\" | undefined)",
|
|
15562
|
+
expected: "(\"conditions_and\" | \"conditions_or\" | undefined)",
|
|
15205
15563
|
value: input.type
|
|
15206
15564
|
}, _errorFactory)) && (undefined === input.sort || (Array.isArray(input.sort) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15207
15565
|
method: "typia.assert",
|
|
15208
15566
|
path: _path + ".sort",
|
|
15209
15567
|
expected: "(Array<__type> | undefined)",
|
|
15210
15568
|
value: input.sort
|
|
15211
|
-
}, _errorFactory)) && input.sort.every((elem,
|
|
15569
|
+
}, _errorFactory)) && input.sort.every((elem, _index4) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15212
15570
|
method: "typia.assert",
|
|
15213
|
-
path: _path + ".sort[" +
|
|
15571
|
+
path: _path + ".sort[" + _index4 + "]",
|
|
15214
15572
|
expected: "__type",
|
|
15215
15573
|
value: elem
|
|
15216
|
-
}, _errorFactory)) && _ao1(elem, _path + ".sort[" +
|
|
15574
|
+
}, _errorFactory)) && _ao1(elem, _path + ".sort[" + _index4 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15217
15575
|
method: "typia.assert",
|
|
15218
|
-
path: _path + ".sort[" +
|
|
15576
|
+
path: _path + ".sort[" + _index4 + "]",
|
|
15219
15577
|
expected: "__type",
|
|
15220
15578
|
value: elem
|
|
15221
15579
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -15238,24 +15596,39 @@ function _assertDomainRecord(domain, input) {
|
|
|
15238
15596
|
path: _path + ".showHidden",
|
|
15239
15597
|
expected: "(boolean | undefined)",
|
|
15240
15598
|
value: input.showHidden
|
|
15241
|
-
}, _errorFactory)) && (undefined === input.view || "GRID_VIEW" === input.view || "LIST_VIEW" === input.view || "CALENDAR_VIEW" === input.view || "MAP_VIEW" === input.view || "AGENDA_VIEW" === input.view || "RESOURCE_VIEW" === input.view || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15599
|
+
}, _errorFactory)) && (null === input.view || undefined === input.view || "GRID_VIEW" === input.view || "LIST_VIEW" === input.view || "CALENDAR_VIEW" === input.view || "MAP_VIEW" === input.view || "AGENDA_VIEW" === input.view || "RESOURCE_VIEW" === input.view || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15242
15600
|
method: "typia.assert",
|
|
15243
15601
|
path: _path + ".view",
|
|
15244
|
-
expected: "(\"AGENDA_VIEW\" | \"CALENDAR_VIEW\" | \"GRID_VIEW\" | \"LIST_VIEW\" | \"MAP_VIEW\" | \"RESOURCE_VIEW\" | undefined)",
|
|
15602
|
+
expected: "(\"AGENDA_VIEW\" | \"CALENDAR_VIEW\" | \"GRID_VIEW\" | \"LIST_VIEW\" | \"MAP_VIEW\" | \"RESOURCE_VIEW\" | null | undefined)",
|
|
15245
15603
|
value: input.view
|
|
15246
|
-
}, _errorFactory)) && (undefined === input.conditions || Array.isArray(input.conditions) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15604
|
+
}, _errorFactory)) && (undefined === input.conditions || (Array.isArray(input.conditions) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15247
15605
|
method: "typia.assert",
|
|
15248
15606
|
path: _path + ".conditions",
|
|
15249
|
-
expected: "(Array<
|
|
15607
|
+
expected: "(Array<SearchCondition> | undefined)",
|
|
15608
|
+
value: input.conditions
|
|
15609
|
+
}, _errorFactory)) && input.conditions.every((elem, _index5) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15610
|
+
method: "typia.assert",
|
|
15611
|
+
path: _path + ".conditions[" + _index5 + "]",
|
|
15612
|
+
expected: "SearchCondition",
|
|
15613
|
+
value: elem
|
|
15614
|
+
}, _errorFactory)) && _ao2(elem, _path + ".conditions[" + _index5 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15615
|
+
method: "typia.assert",
|
|
15616
|
+
path: _path + ".conditions[" + _index5 + "]",
|
|
15617
|
+
expected: "SearchCondition",
|
|
15618
|
+
value: elem
|
|
15619
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15620
|
+
method: "typia.assert",
|
|
15621
|
+
path: _path + ".conditions",
|
|
15622
|
+
expected: "(Array<SearchCondition> | undefined)",
|
|
15250
15623
|
value: input.conditions
|
|
15251
15624
|
}, _errorFactory)) && (null === input.visibleColumnKeys || undefined === input.visibleColumnKeys || (Array.isArray(input.visibleColumnKeys) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15252
15625
|
method: "typia.assert",
|
|
15253
15626
|
path: _path + ".visibleColumnKeys",
|
|
15254
15627
|
expected: "(Array<string> | null | undefined)",
|
|
15255
15628
|
value: input.visibleColumnKeys
|
|
15256
|
-
}, _errorFactory)) && input.visibleColumnKeys.every((elem,
|
|
15629
|
+
}, _errorFactory)) && input.visibleColumnKeys.every((elem, _index6) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15257
15630
|
method: "typia.assert",
|
|
15258
|
-
path: _path + ".visibleColumnKeys[" +
|
|
15631
|
+
path: _path + ".visibleColumnKeys[" + _index6 + "]",
|
|
15259
15632
|
expected: "string",
|
|
15260
15633
|
value: elem
|
|
15261
15634
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -15268,6 +15641,26 @@ function _assertDomainRecord(domain, input) {
|
|
|
15268
15641
|
path: _path + ".connectionId",
|
|
15269
15642
|
expected: "(null | string | undefined)",
|
|
15270
15643
|
value: input.connectionId
|
|
15644
|
+
}, _errorFactory)) && (undefined === input.calendar || ("object" === typeof input.calendar && null !== input.calendar && false === Array.isArray(input.calendar) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15645
|
+
method: "typia.assert",
|
|
15646
|
+
path: _path + ".calendar",
|
|
15647
|
+
expected: "(__type.o1 | undefined)",
|
|
15648
|
+
value: input.calendar
|
|
15649
|
+
}, _errorFactory)) && _ao3(input.calendar, _path + ".calendar", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15650
|
+
method: "typia.assert",
|
|
15651
|
+
path: _path + ".calendar",
|
|
15652
|
+
expected: "(__type.o1 | undefined)",
|
|
15653
|
+
value: input.calendar
|
|
15654
|
+
}, _errorFactory)) && (undefined === input.refreshInterval || "number" === typeof input.refreshInterval || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15655
|
+
method: "typia.assert",
|
|
15656
|
+
path: _path + ".refreshInterval",
|
|
15657
|
+
expected: "(number | undefined)",
|
|
15658
|
+
value: input.refreshInterval
|
|
15659
|
+
}, _errorFactory)) && (undefined === input.color || "string" === typeof input.color || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15660
|
+
method: "typia.assert",
|
|
15661
|
+
path: _path + ".color",
|
|
15662
|
+
expected: "(string | undefined)",
|
|
15663
|
+
value: input.color
|
|
15271
15664
|
}, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
15272
15665
|
const value = input[key];
|
|
15273
15666
|
if (undefined === value)
|
|
@@ -15278,7 +15671,37 @@ function _assertDomainRecord(domain, input) {
|
|
|
15278
15671
|
expected: "(\"asc\" | \"desc\")",
|
|
15279
15672
|
value: value
|
|
15280
15673
|
}, _errorFactory);
|
|
15281
|
-
}); const
|
|
15674
|
+
}); const _ao2 = (input, _path, _exceptionable = true) => (undefined === input.field || "string" === typeof input.field || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15675
|
+
method: "typia.assert",
|
|
15676
|
+
path: _path + ".field",
|
|
15677
|
+
expected: "(string | undefined)",
|
|
15678
|
+
value: input.field
|
|
15679
|
+
}, _errorFactory)) && (undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15680
|
+
method: "typia.assert",
|
|
15681
|
+
path: _path + ".type",
|
|
15682
|
+
expected: "(string | undefined)",
|
|
15683
|
+
value: input.type
|
|
15684
|
+
}, _errorFactory)) && (undefined === input.op || "string" === typeof input.op || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15685
|
+
method: "typia.assert",
|
|
15686
|
+
path: _path + ".op",
|
|
15687
|
+
expected: "(string | undefined)",
|
|
15688
|
+
value: input.op
|
|
15689
|
+
}, _errorFactory)) && true; const _ao3 = (input, _path, _exceptionable = true) => (null === input.view || undefined === input.view || "day" === input.view || "week" === input.view || "month" === input.view || "work_week" === input.view || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15690
|
+
method: "typia.assert",
|
|
15691
|
+
path: _path + ".view",
|
|
15692
|
+
expected: "(\"day\" | \"month\" | \"week\" | \"work_week\" | null | undefined)",
|
|
15693
|
+
value: input.view
|
|
15694
|
+
}, _errorFactory)) && (null === input.dateAccessor || undefined === input.dateAccessor || "string" === typeof input.dateAccessor || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15695
|
+
method: "typia.assert",
|
|
15696
|
+
path: _path + ".dateAccessor",
|
|
15697
|
+
expected: "(null | string | undefined)",
|
|
15698
|
+
value: input.dateAccessor
|
|
15699
|
+
}, _errorFactory)) && (undefined === input.agenda || "boolean" === typeof input.agenda || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15700
|
+
method: "typia.assert",
|
|
15701
|
+
path: _path + ".agenda",
|
|
15702
|
+
expected: "(boolean | undefined)",
|
|
15703
|
+
value: input.agenda
|
|
15704
|
+
}, _errorFactory)); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
15282
15705
|
if (false === __is(input)) {
|
|
15283
15706
|
_errorFactory = errorFactory;
|
|
15284
15707
|
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
@@ -15297,10 +15720,10 @@ function _assertDomainRecord(domain, input) {
|
|
|
15297
15720
|
}; })()(input);
|
|
15298
15721
|
}
|
|
15299
15722
|
case ":search?": {
|
|
15300
|
-
return (() => { const _io0 = input => Array.isArray(input.hits) && input.hits.every(elem => "string" === typeof elem) && (undefined === input.total || "number" === typeof input.total) && (undefined === input.relation || "string" === typeof input.relation) && (undefined === input.error || "string" === typeof input.error); const _ao0 = (input, _path, _exceptionable = true) => ((Array.isArray(input.hits) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15723
|
+
return (() => { const _io0 = input => (undefined === input.hits || Array.isArray(input.hits) && input.hits.every(elem => "string" === typeof elem)) && (undefined === input.total || "number" === typeof input.total) && (undefined === input.relation || "string" === typeof input.relation) && (undefined === input.error || "string" === typeof input.error); const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.hits || (Array.isArray(input.hits) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15301
15724
|
method: "typia.assert",
|
|
15302
15725
|
path: _path + ".hits",
|
|
15303
|
-
expected: "Array<string>",
|
|
15726
|
+
expected: "(Array<string> | undefined)",
|
|
15304
15727
|
value: input.hits
|
|
15305
15728
|
}, _errorFactory)) && input.hits.every((elem, _index2) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15306
15729
|
method: "typia.assert",
|
|
@@ -15310,7 +15733,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
15310
15733
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15311
15734
|
method: "typia.assert",
|
|
15312
15735
|
path: _path + ".hits",
|
|
15313
|
-
expected: "Array<string>",
|
|
15736
|
+
expected: "(Array<string> | undefined)",
|
|
15314
15737
|
value: input.hits
|
|
15315
15738
|
}, _errorFactory)) && (undefined === input.total || "number" === typeof input.total || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15316
15739
|
method: "typia.assert",
|
|
@@ -15327,10 +15750,10 @@ function _assertDomainRecord(domain, input) {
|
|
|
15327
15750
|
path: _path + ".error",
|
|
15328
15751
|
expected: "(string | undefined)",
|
|
15329
15752
|
value: input.error
|
|
15330
|
-
}, _errorFactory)); const __is = input => "object" === typeof input && null !== input && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
15753
|
+
}, _errorFactory)); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
15331
15754
|
if (false === __is(input)) {
|
|
15332
15755
|
_errorFactory = errorFactory;
|
|
15333
|
-
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || __typia_transform__assertGuard._assertGuard(true, {
|
|
15756
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
15334
15757
|
method: "typia.assert",
|
|
15335
15758
|
path: _path + "",
|
|
15336
15759
|
expected: "SearchRecordProvided",
|
|
@@ -15345,8 +15768,76 @@ function _assertDomainRecord(domain, input) {
|
|
|
15345
15768
|
return input;
|
|
15346
15769
|
}; })()(input);
|
|
15347
15770
|
}
|
|
15771
|
+
case ":search.conditions": {
|
|
15772
|
+
return (() => { const _io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem); const _ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15773
|
+
method: "typia.assert",
|
|
15774
|
+
path: _path + ".value",
|
|
15775
|
+
expected: "(Array<string> | undefined)",
|
|
15776
|
+
value: input.value
|
|
15777
|
+
}, _errorFactory)) && input.value.every((elem, _index2) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15778
|
+
method: "typia.assert",
|
|
15779
|
+
path: _path + ".value[" + _index2 + "]",
|
|
15780
|
+
expected: "string",
|
|
15781
|
+
value: elem
|
|
15782
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15783
|
+
method: "typia.assert",
|
|
15784
|
+
path: _path + ".value",
|
|
15785
|
+
expected: "(Array<string> | undefined)",
|
|
15786
|
+
value: input.value
|
|
15787
|
+
}, _errorFactory); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
15788
|
+
if (false === __is(input)) {
|
|
15789
|
+
_errorFactory = errorFactory;
|
|
15790
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
15791
|
+
method: "typia.assert",
|
|
15792
|
+
path: _path + "",
|
|
15793
|
+
expected: "SearchDomainConditionsRecord",
|
|
15794
|
+
value: input
|
|
15795
|
+
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
15796
|
+
method: "typia.assert",
|
|
15797
|
+
path: _path + "",
|
|
15798
|
+
expected: "SearchDomainConditionsRecord",
|
|
15799
|
+
value: input
|
|
15800
|
+
}, _errorFactory))(input, "$input", true);
|
|
15801
|
+
}
|
|
15802
|
+
return input;
|
|
15803
|
+
}; })()(input);
|
|
15804
|
+
}
|
|
15805
|
+
case ":search.visibleColumnKeys": {
|
|
15806
|
+
return (() => { const _io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem); const _ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15807
|
+
method: "typia.assert",
|
|
15808
|
+
path: _path + ".value",
|
|
15809
|
+
expected: "(Array<string> | undefined)",
|
|
15810
|
+
value: input.value
|
|
15811
|
+
}, _errorFactory)) && input.value.every((elem, _index2) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15812
|
+
method: "typia.assert",
|
|
15813
|
+
path: _path + ".value[" + _index2 + "]",
|
|
15814
|
+
expected: "string",
|
|
15815
|
+
value: elem
|
|
15816
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15817
|
+
method: "typia.assert",
|
|
15818
|
+
path: _path + ".value",
|
|
15819
|
+
expected: "(Array<string> | undefined)",
|
|
15820
|
+
value: input.value
|
|
15821
|
+
}, _errorFactory); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
15822
|
+
if (false === __is(input)) {
|
|
15823
|
+
_errorFactory = errorFactory;
|
|
15824
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
15825
|
+
method: "typia.assert",
|
|
15826
|
+
path: _path + "",
|
|
15827
|
+
expected: "SearchDomainVisibleColumnKeysRecord",
|
|
15828
|
+
value: input
|
|
15829
|
+
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
15830
|
+
method: "typia.assert",
|
|
15831
|
+
path: _path + "",
|
|
15832
|
+
expected: "SearchDomainVisibleColumnKeysRecord",
|
|
15833
|
+
value: input
|
|
15834
|
+
}, _errorFactory))(input, "$input", true);
|
|
15835
|
+
}
|
|
15836
|
+
return input;
|
|
15837
|
+
}; })()(input);
|
|
15838
|
+
}
|
|
15348
15839
|
case ":settings": {
|
|
15349
|
-
return (() => { const _iv21 = new Set(["name", "fontname", "fontsize", "primaryColour", "secondaryColour", "outlineColour", "backColour", "bold", "italic", "underline", "strikeOut", "scaleX", "scaleY", "spacing", "angle", "borderStyle", "outline", "shadow", "alignment", "marginL", "marginR", "marginV", "encoding"]); const _iv25 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]); const
|
|
15840
|
+
return (() => { const _iv21 = new Set(["name", "fontname", "fontsize", "primaryColour", "secondaryColour", "outlineColour", "backColour", "bold", "italic", "underline", "strikeOut", "scaleX", "scaleY", "spacing", "angle", "borderStyle", "outline", "shadow", "alignment", "marginL", "marginR", "marginV", "encoding"]); const _iv25 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]); const _av52 = new Set(["name", "fontname", "fontsize", "primaryColour", "secondaryColour", "outlineColour", "backColour", "bold", "italic", "underline", "strikeOut", "scaleX", "scaleY", "spacing", "angle", "borderStyle", "outline", "shadow", "alignment", "marginL", "marginR", "marginV", "encoding"]); const _av56 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]); const _io0 = input => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime) && (undefined === input.permission || "object" === typeof input.permission && null !== input.permission && false === Array.isArray(input.permission) && _io1(input.permission)) && (undefined === input["module"] || "object" === typeof input["module"] && null !== input["module"] && false === Array.isArray(input["module"]) && _io2(input["module"])) && (undefined === input.upload || "object" === typeof input.upload && null !== input.upload && false === Array.isArray(input.upload) && _io6(input.upload)) && (undefined === input.download || "object" === typeof input.download && null !== input.download && false === Array.isArray(input.download) && _io7(input.download)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && _io8(input.browser)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && _io12(input.toolbarTags)) && (undefined === input.exclusiveTagGroups || Array.isArray(input.exclusiveTagGroups) && input.exclusiveTagGroups.every(elem => Array.isArray(elem) && elem.every(elem => "string" === typeof elem))) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && _io13(input.deadlines)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && _io14(input.assignees)) && (undefined === input.comments || "object" === typeof input.comments && null !== input.comments && false === Array.isArray(input.comments) && _io15(input.comments)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && _io16(input.clock)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && _io17(input.swarm)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && _io18(input.dashboard)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && _io19(input.script)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io24(input.events)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && _io27(input.rundown)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && _io28(input.gallery)) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.keymap || "object" === typeof input.keymap && null !== input.keymap && false === Array.isArray(input.keymap) && _io29(input.keymap)) && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && _io42(input.media)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && _io55(input.edit)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io57(elem))) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every(elem => "string" === typeof elem)) && (undefined === input.storyboard || "object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) && _io58(input.storyboard)) && (undefined === input.print || "object" === typeof input.print && null !== input.print && false === Array.isArray(input.print) && _io67(input.print)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io68(elem))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && _io69(input.plugins)) && (undefined === input.crashScreen || "boolean" === typeof input.crashScreen) && (undefined === input.debug || "boolean" === typeof input.debug) && (undefined === input.featurePreview || "object" === typeof input.featurePreview && null !== input.featurePreview && false === Array.isArray(input.featurePreview) && _io72(input.featurePreview)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && _io73(input.flags)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && _io74(input.notifications)) && (undefined === input.suppressDeleteAlert || "boolean" === typeof input.suppressDeleteAlert) && (undefined === input.utilsAssetEditorPanel || "object" === typeof input.utilsAssetEditorPanel && null !== input.utilsAssetEditorPanel && false === Array.isArray(input.utilsAssetEditorPanel) && _io77(input.utilsAssetEditorPanel)); const _io1 = input => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin); const _io2 = input => undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && _io3(input.tabs); const _io3 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) && _io4(input.settingsPanelStore)) && Object.keys(input).every(key => {
|
|
15350
15841
|
if (["settingsPanelStore"].some(prop => key === prop))
|
|
15351
15842
|
return true;
|
|
15352
15843
|
const value = input[key];
|
|
@@ -15418,12 +15909,12 @@ function _assertDomainRecord(domain, input) {
|
|
|
15418
15909
|
if (undefined === value)
|
|
15419
15910
|
return true;
|
|
15420
15911
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io31(value);
|
|
15421
|
-
}); const _io42 = input => (undefined === input.defaultFrameRate || "number" === typeof input.defaultFrameRate) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && _io43(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && _io44(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && _io45(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io48(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && _io49(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io50(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && _io54(input.openCommand))); const _io43 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe); const _io44 = input => (undefined === input.preview || "disabled" === input.preview || "play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "boolean" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress); const _io45 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine) && (undefined === input.suggestions || Array.isArray(input.suggestions) && input.suggestions.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io46(elem))) && (undefined === input.colors || Array.isArray(input.colors) && input.colors.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io47(elem))) && (undefined === input.overridableProperties || Array.isArray(input.overridableProperties) && input.overridableProperties.every(elem => null === elem || true === _iv21.has(elem))); const _io46 = input => (null === input.ifAspectRatio || undefined === input.ifAspectRatio || "string" === typeof input.ifAspectRatio) && (null === input.ifLang || undefined === input.ifLang || "string" === typeof input.ifLang) && (null === input.thenStyle || undefined === input.thenStyle || "string" === typeof input.thenStyle) && (null === input.thenMaxCharactersPerLine || undefined === input.thenMaxCharactersPerLine || "number" === typeof input.thenMaxCharactersPerLine); const _io47 = input => (null === input.label || undefined === input.label || "string" === typeof input.label) && (null === input.color || undefined === input.color || "string" === typeof input.color); const _io48 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.aspectRatio || "string" === typeof input.aspectRatio); const _io49 = input => (undefined === input.enabled || "boolean" === typeof input.enabled) && (undefined === input.defaultEnterOption || "edit" === input.defaultEnterOption || "createNew" === input.defaultEnterOption || "none" === input.defaultEnterOption) && (undefined === input.defaultExitOption || "none" === input.defaultExitOption || "update" === input.defaultExitOption || "leave" === input.defaultExitOption); const _io50 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && _io51(input.subtitleDisclaimer); const _io51 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && _io52(input.defaultValue)); const _io52 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io53(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration); const _io53 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.value || "string" === typeof input.value); const _io54 = input => (undefined === input.url || "string" === typeof input.url) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.app || "string" === typeof input.app) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem)); const _io55 = input => (undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView) && (undefined === input.voiceOver || "object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) && _io56(input.voiceOver)); const _io56 = input => (undefined === input.inputDevice || "string" === typeof input.inputDevice) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.backgroundReductionDb || "number" === typeof input.backgroundReductionDb) && (undefined === input.recordMode || "instant" === input.recordMode || "punchAndRoll" === input.recordMode) && (undefined === input.preRollDuration || "number" === typeof input.preRollDuration); const _io57 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem)); const _io58 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && _io59(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && _io60(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && _io64(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && _io66(input.item)); const _io59 = input => undefined === input.auto || "boolean" === typeof input.auto; const _io60 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && _io61(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && _io63(input.note)); const _io61 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && _io62(input.excerpt); const _io62 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode) && (undefined === input.comments || "boolean" === typeof input.comments); const _io63 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight; const _io64 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && _io65(input.search)) && (undefined === input.sortMode || true === _iv25.has(input.sortMode)); const _io65 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed; const _io66 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight; const _io67 = input => undefined === input.fontFamilies || Array.isArray(input.fontFamilies) && input.fontFamilies.every(elem => "string" === typeof elem); const _io68 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.folded || "boolean" === typeof input.folded); const _io69 = input => (undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && _io70(input.adobe)) && (undefined === input.rive || "object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) && _io71(input.rive)); const _io70 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies; const _io71 = input => undefined === input.template || "string" === typeof input.template; const _io72 = input => (undefined === input.collections || "boolean" === typeof input.collections) && (undefined === input.semanticSearch || "boolean" === typeof input.semanticSearch) && (undefined === input.ameRemoteRendering || "boolean" === typeof input.ameRemoteRendering); const _io73 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute) && (undefined === input.devWarnings || "boolean" === typeof input.devWarnings) && (undefined === input.multiplexWebSockets || "boolean" === typeof input.multiplexWebSockets) && (undefined === input.systemHealth || "boolean" === typeof input.systemHealth); const _io74 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io75(input.events); const _io75 = input => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.publishSucceeded || "object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && _io76(input.publishSucceeded)); const _io76 = input => Object.keys(input).every(key => {
|
|
15912
|
+
}); const _io42 = input => (undefined === input.defaultFrameRate || "number" === typeof input.defaultFrameRate) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && _io43(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && _io44(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && _io45(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io48(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && _io49(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io50(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && _io54(input.openCommand))); const _io43 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe); const _io44 = input => (undefined === input.preview || "disabled" === input.preview || "play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "boolean" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress); const _io45 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine) && (undefined === input.suggestions || Array.isArray(input.suggestions) && input.suggestions.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io46(elem))) && (undefined === input.colors || Array.isArray(input.colors) && input.colors.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io47(elem))) && (undefined === input.overridableProperties || Array.isArray(input.overridableProperties) && input.overridableProperties.every(elem => null === elem || true === _iv21.has(elem))); const _io46 = input => (null === input.ifAspectRatio || undefined === input.ifAspectRatio || "string" === typeof input.ifAspectRatio) && (null === input.ifLang || undefined === input.ifLang || "string" === typeof input.ifLang) && (null === input.thenStyle || undefined === input.thenStyle || "string" === typeof input.thenStyle) && (null === input.thenMaxCharactersPerLine || undefined === input.thenMaxCharactersPerLine || "number" === typeof input.thenMaxCharactersPerLine); const _io47 = input => (null === input.label || undefined === input.label || "string" === typeof input.label) && (null === input.color || undefined === input.color || "string" === typeof input.color); const _io48 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.aspectRatio || "string" === typeof input.aspectRatio); const _io49 = input => (undefined === input.enabled || "boolean" === typeof input.enabled) && (undefined === input.defaultEnterOption || "edit" === input.defaultEnterOption || "createNew" === input.defaultEnterOption || "none" === input.defaultEnterOption) && (undefined === input.defaultExitOption || "none" === input.defaultExitOption || "update" === input.defaultExitOption || "leave" === input.defaultExitOption); const _io50 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && _io51(input.subtitleDisclaimer); const _io51 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && _io52(input.defaultValue)); const _io52 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io53(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration); const _io53 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.value || "string" === typeof input.value); const _io54 = input => (undefined === input.url || "string" === typeof input.url) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.app || "string" === typeof input.app) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem)); const _io55 = input => (undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView) && (undefined === input.voiceOver || "object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) && _io56(input.voiceOver)); const _io56 = input => (undefined === input.inputDevice || "string" === typeof input.inputDevice) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.backgroundReductionDb || "number" === typeof input.backgroundReductionDb) && (undefined === input.recordMode || "instant" === input.recordMode || "punchAndRoll" === input.recordMode) && (undefined === input.preRollDuration || "number" === typeof input.preRollDuration); const _io57 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem)); const _io58 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && _io59(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && _io60(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && _io64(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && _io66(input.item)); const _io59 = input => undefined === input.auto || "boolean" === typeof input.auto; const _io60 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && _io61(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && _io63(input.note)); const _io61 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && _io62(input.excerpt); const _io62 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode) && (undefined === input.comments || "boolean" === typeof input.comments); const _io63 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight; const _io64 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && _io65(input.search)) && (undefined === input.sortMode || true === _iv25.has(input.sortMode)); const _io65 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed; const _io66 = input => (undefined === input.maxHeight || "number" === typeof input.maxHeight) && (undefined === input.titleLines || "number" === typeof input.titleLines); const _io67 = input => undefined === input.fontFamilies || Array.isArray(input.fontFamilies) && input.fontFamilies.every(elem => "string" === typeof elem); const _io68 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.folded || "boolean" === typeof input.folded); const _io69 = input => (undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && _io70(input.adobe)) && (undefined === input.rive || "object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) && _io71(input.rive)); const _io70 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies; const _io71 = input => undefined === input.template || "string" === typeof input.template; const _io72 = input => (undefined === input.collections || "boolean" === typeof input.collections) && (undefined === input.semanticSearch || "boolean" === typeof input.semanticSearch) && (undefined === input.ameRemoteRendering || "boolean" === typeof input.ameRemoteRendering); const _io73 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.utilsAssetEditor || "boolean" === typeof input.utilsAssetEditor) && (undefined === input.utilsAssetPanel || "boolean" === typeof input.utilsAssetPanel) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute) && (undefined === input.devWarnings || "boolean" === typeof input.devWarnings) && (undefined === input.multiplexWebSockets || "boolean" === typeof input.multiplexWebSockets) && (undefined === input.systemHealth || "boolean" === typeof input.systemHealth); const _io74 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io75(input.events); const _io75 = input => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.publishSucceeded || "object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && _io76(input.publishSucceeded)); const _io76 = input => Object.keys(input).every(key => {
|
|
15422
15913
|
const value = input[key];
|
|
15423
15914
|
if (undefined === value)
|
|
15424
15915
|
return true;
|
|
15425
15916
|
return Array.isArray(value) && value.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem);
|
|
15426
|
-
}); const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15917
|
+
}); const _io77 = input => (undefined === input.stateFilter || Array.isArray(input.stateFilter) && input.stateFilter.every(elem => "number" === typeof elem)) && (undefined === input.textFilter || "string" === typeof input.textFilter) && (undefined === input.showEmpty || "boolean" === typeof input.showEmpty) && (undefined === input.selectedRecord || "string" === typeof input.selectedRecord) && (undefined === input.subscribeSearchHits || "boolean" === typeof input.subscribeSearchHits) && (undefined === input.parseRegex || "boolean" === typeof input.parseRegex); const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15427
15918
|
method: "typia.assert",
|
|
15428
15919
|
path: _path + ".autoLogoutTime",
|
|
15429
15920
|
expected: "(number | undefined)",
|
|
@@ -15493,19 +15984,19 @@ function _assertDomainRecord(domain, input) {
|
|
|
15493
15984
|
path: _path + ".exclusiveTagGroups",
|
|
15494
15985
|
expected: "(Array<Array<string>> | undefined)",
|
|
15495
15986
|
value: input.exclusiveTagGroups
|
|
15496
|
-
}, _errorFactory)) && input.exclusiveTagGroups.every((elem,
|
|
15987
|
+
}, _errorFactory)) && input.exclusiveTagGroups.every((elem, _index32) => (Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15497
15988
|
method: "typia.assert",
|
|
15498
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
15989
|
+
path: _path + ".exclusiveTagGroups[" + _index32 + "]",
|
|
15499
15990
|
expected: "Array<string>",
|
|
15500
15991
|
value: elem
|
|
15501
|
-
}, _errorFactory)) && elem.every((elem,
|
|
15992
|
+
}, _errorFactory)) && elem.every((elem, _index33) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15502
15993
|
method: "typia.assert",
|
|
15503
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
15994
|
+
path: _path + ".exclusiveTagGroups[" + _index32 + "][" + _index33 + "]",
|
|
15504
15995
|
expected: "string",
|
|
15505
15996
|
value: elem
|
|
15506
15997
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15507
15998
|
method: "typia.assert",
|
|
15508
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
15999
|
+
path: _path + ".exclusiveTagGroups[" + _index32 + "]",
|
|
15509
16000
|
expected: "Array<string>",
|
|
15510
16001
|
value: elem
|
|
15511
16002
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -15653,14 +16144,14 @@ function _assertDomainRecord(domain, input) {
|
|
|
15653
16144
|
path: _path + ".commands",
|
|
15654
16145
|
expected: "(Array<__type>.o4 | undefined)",
|
|
15655
16146
|
value: input.commands
|
|
15656
|
-
}, _errorFactory)) && input.commands.every((elem,
|
|
16147
|
+
}, _errorFactory)) && input.commands.every((elem, _index34) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15657
16148
|
method: "typia.assert",
|
|
15658
|
-
path: _path + ".commands[" +
|
|
16149
|
+
path: _path + ".commands[" + _index34 + "]",
|
|
15659
16150
|
expected: "__type.o50",
|
|
15660
16151
|
value: elem
|
|
15661
|
-
}, _errorFactory)) && _ao57(elem, _path + ".commands[" +
|
|
16152
|
+
}, _errorFactory)) && _ao57(elem, _path + ".commands[" + _index34 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15662
16153
|
method: "typia.assert",
|
|
15663
|
-
path: _path + ".commands[" +
|
|
16154
|
+
path: _path + ".commands[" + _index34 + "]",
|
|
15664
16155
|
expected: "__type.o50",
|
|
15665
16156
|
value: elem
|
|
15666
16157
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -15673,9 +16164,9 @@ function _assertDomainRecord(domain, input) {
|
|
|
15673
16164
|
path: _path + ".predefinedTags",
|
|
15674
16165
|
expected: "(Array<string> | undefined)",
|
|
15675
16166
|
value: input.predefinedTags
|
|
15676
|
-
}, _errorFactory)) && input.predefinedTags.every((elem,
|
|
16167
|
+
}, _errorFactory)) && input.predefinedTags.every((elem, _index35) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15677
16168
|
method: "typia.assert",
|
|
15678
|
-
path: _path + ".predefinedTags[" +
|
|
16169
|
+
path: _path + ".predefinedTags[" + _index35 + "]",
|
|
15679
16170
|
expected: "string",
|
|
15680
16171
|
value: elem
|
|
15681
16172
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -15708,14 +16199,14 @@ function _assertDomainRecord(domain, input) {
|
|
|
15708
16199
|
path: _path + ".hiddenPreviews",
|
|
15709
16200
|
expected: "(Array<__type>.o5 | undefined)",
|
|
15710
16201
|
value: input.hiddenPreviews
|
|
15711
|
-
}, _errorFactory)) && input.hiddenPreviews.every((elem,
|
|
16202
|
+
}, _errorFactory)) && input.hiddenPreviews.every((elem, _index36) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15712
16203
|
method: "typia.assert",
|
|
15713
|
-
path: _path + ".hiddenPreviews[" +
|
|
16204
|
+
path: _path + ".hiddenPreviews[" + _index36 + "]",
|
|
15714
16205
|
expected: "__type.o61",
|
|
15715
16206
|
value: elem
|
|
15716
|
-
}, _errorFactory)) && _ao68(elem, _path + ".hiddenPreviews[" +
|
|
16207
|
+
}, _errorFactory)) && _ao68(elem, _path + ".hiddenPreviews[" + _index36 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15717
16208
|
method: "typia.assert",
|
|
15718
|
-
path: _path + ".hiddenPreviews[" +
|
|
16209
|
+
path: _path + ".hiddenPreviews[" + _index36 + "]",
|
|
15719
16210
|
expected: "__type.o61",
|
|
15720
16211
|
value: elem
|
|
15721
16212
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -15778,6 +16269,16 @@ function _assertDomainRecord(domain, input) {
|
|
|
15778
16269
|
path: _path + ".suppressDeleteAlert",
|
|
15779
16270
|
expected: "(boolean | undefined)",
|
|
15780
16271
|
value: input.suppressDeleteAlert
|
|
16272
|
+
}, _errorFactory)) && (undefined === input.utilsAssetEditorPanel || ("object" === typeof input.utilsAssetEditorPanel && null !== input.utilsAssetEditorPanel && false === Array.isArray(input.utilsAssetEditorPanel) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
16273
|
+
method: "typia.assert",
|
|
16274
|
+
path: _path + ".utilsAssetEditorPanel",
|
|
16275
|
+
expected: "(__type.o70 | undefined)",
|
|
16276
|
+
value: input.utilsAssetEditorPanel
|
|
16277
|
+
}, _errorFactory)) && _ao77(input.utilsAssetEditorPanel, _path + ".utilsAssetEditorPanel", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
16278
|
+
method: "typia.assert",
|
|
16279
|
+
path: _path + ".utilsAssetEditorPanel",
|
|
16280
|
+
expected: "(__type.o70 | undefined)",
|
|
16281
|
+
value: input.utilsAssetEditorPanel
|
|
15781
16282
|
}, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15782
16283
|
method: "typia.assert",
|
|
15783
16284
|
path: _path + ".overrideUserContact",
|
|
@@ -15920,9 +16421,9 @@ function _assertDomainRecord(domain, input) {
|
|
|
15920
16421
|
path: _path + ".sortOrder",
|
|
15921
16422
|
expected: "(Array<string> | undefined)",
|
|
15922
16423
|
value: input.sortOrder
|
|
15923
|
-
}, _errorFactory)) && input.sortOrder.every((elem,
|
|
16424
|
+
}, _errorFactory)) && input.sortOrder.every((elem, _index37) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15924
16425
|
method: "typia.assert",
|
|
15925
|
-
path: _path + ".sortOrder[" +
|
|
16426
|
+
path: _path + ".sortOrder[" + _index37 + "]",
|
|
15926
16427
|
expected: "string",
|
|
15927
16428
|
value: elem
|
|
15928
16429
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -15935,9 +16436,9 @@ function _assertDomainRecord(domain, input) {
|
|
|
15935
16436
|
path: _path + ".exclude",
|
|
15936
16437
|
expected: "(Array<string> | undefined)",
|
|
15937
16438
|
value: input.exclude
|
|
15938
|
-
}, _errorFactory)) && input.exclude.every((elem,
|
|
16439
|
+
}, _errorFactory)) && input.exclude.every((elem, _index38) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15939
16440
|
method: "typia.assert",
|
|
15940
|
-
path: _path + ".exclude[" +
|
|
16441
|
+
path: _path + ".exclude[" + _index38 + "]",
|
|
15941
16442
|
expected: "string",
|
|
15942
16443
|
value: elem
|
|
15943
16444
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -15950,9 +16451,9 @@ function _assertDomainRecord(domain, input) {
|
|
|
15950
16451
|
path: _path + ".include",
|
|
15951
16452
|
expected: "(Array<string> | undefined)",
|
|
15952
16453
|
value: input.include
|
|
15953
|
-
}, _errorFactory)) && input.include.every((elem,
|
|
16454
|
+
}, _errorFactory)) && input.include.every((elem, _index39) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15954
16455
|
method: "typia.assert",
|
|
15955
|
-
path: _path + ".include[" +
|
|
16456
|
+
path: _path + ".include[" + _index39 + "]",
|
|
15956
16457
|
expected: "string",
|
|
15957
16458
|
value: elem
|
|
15958
16459
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -15965,9 +16466,9 @@ function _assertDomainRecord(domain, input) {
|
|
|
15965
16466
|
path: _path + ".exclude",
|
|
15966
16467
|
expected: "(Array<string> | undefined)",
|
|
15967
16468
|
value: input.exclude
|
|
15968
|
-
}, _errorFactory)) && input.exclude.every((elem,
|
|
16469
|
+
}, _errorFactory)) && input.exclude.every((elem, _index40) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15969
16470
|
method: "typia.assert",
|
|
15970
|
-
path: _path + ".exclude[" +
|
|
16471
|
+
path: _path + ".exclude[" + _index40 + "]",
|
|
15971
16472
|
expected: "string",
|
|
15972
16473
|
value: elem
|
|
15973
16474
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -15980,9 +16481,9 @@ function _assertDomainRecord(domain, input) {
|
|
|
15980
16481
|
path: _path + ".include",
|
|
15981
16482
|
expected: "(Array<string> | undefined)",
|
|
15982
16483
|
value: input.include
|
|
15983
|
-
}, _errorFactory)) && input.include.every((elem,
|
|
16484
|
+
}, _errorFactory)) && input.include.every((elem, _index41) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15984
16485
|
method: "typia.assert",
|
|
15985
|
-
path: _path + ".include[" +
|
|
16486
|
+
path: _path + ".include[" + _index41 + "]",
|
|
15986
16487
|
expected: "string",
|
|
15987
16488
|
value: elem
|
|
15988
16489
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -15995,9 +16496,9 @@ function _assertDomainRecord(domain, input) {
|
|
|
15995
16496
|
path: _path + ".exclude",
|
|
15996
16497
|
expected: "(Array<string> | undefined)",
|
|
15997
16498
|
value: input.exclude
|
|
15998
|
-
}, _errorFactory)) && input.exclude.every((elem,
|
|
16499
|
+
}, _errorFactory)) && input.exclude.every((elem, _index42) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15999
16500
|
method: "typia.assert",
|
|
16000
|
-
path: _path + ".exclude[" +
|
|
16501
|
+
path: _path + ".exclude[" + _index42 + "]",
|
|
16001
16502
|
expected: "string",
|
|
16002
16503
|
value: elem
|
|
16003
16504
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -16010,9 +16511,9 @@ function _assertDomainRecord(domain, input) {
|
|
|
16010
16511
|
path: _path + ".include",
|
|
16011
16512
|
expected: "(Array<string> | undefined)",
|
|
16012
16513
|
value: input.include
|
|
16013
|
-
}, _errorFactory)) && input.include.every((elem,
|
|
16514
|
+
}, _errorFactory)) && input.include.every((elem, _index43) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
16014
16515
|
method: "typia.assert",
|
|
16015
|
-
path: _path + ".include[" +
|
|
16516
|
+
path: _path + ".include[" + _index43 + "]",
|
|
16016
16517
|
expected: "string",
|
|
16017
16518
|
value: elem
|
|
16018
16519
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -16025,9 +16526,9 @@ function _assertDomainRecord(domain, input) {
|
|
|
16025
16526
|
path: _path + ".exclude",
|
|
16026
16527
|
expected: "(Array<string> | undefined)",
|
|
16027
16528
|
value: input.exclude
|
|
16028
|
-
}, _errorFactory)) && input.exclude.every((elem,
|
|
16529
|
+
}, _errorFactory)) && input.exclude.every((elem, _index44) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
16029
16530
|
method: "typia.assert",
|
|
16030
|
-
path: _path + ".exclude[" +
|
|
16531
|
+
path: _path + ".exclude[" + _index44 + "]",
|
|
16031
16532
|
expected: "string",
|
|
16032
16533
|
value: elem
|
|
16033
16534
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -16105,14 +16606,14 @@ function _assertDomainRecord(domain, input) {
|
|
|
16105
16606
|
path: _path + ".colorTags",
|
|
16106
16607
|
expected: "(Array<PromotedTag> | undefined)",
|
|
16107
16608
|
value: input.colorTags
|
|
16108
|
-
}, _errorFactory)) && input.colorTags.every((elem,
|
|
16609
|
+
}, _errorFactory)) && input.colorTags.every((elem, _index45) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
16109
16610
|
method: "typia.assert",
|
|
16110
|
-
path: _path + ".colorTags[" +
|
|
16611
|
+
path: _path + ".colorTags[" + _index45 + "]",
|
|
16111
16612
|
expected: "PromotedTag",
|
|
16112
16613
|
value: elem
|
|
16113
|
-
}, _errorFactory)) && _ao21(elem, _path + ".colorTags[" +
|
|
16614
|
+
}, _errorFactory)) && _ao21(elem, _path + ".colorTags[" + _index45 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
16114
16615
|
method: "typia.assert",
|
|
16115
|
-
path: _path + ".colorTags[" +
|
|
16616
|
+
path: _path + ".colorTags[" + _index45 + "]",
|
|
16116
16617
|
expected: "PromotedTag",
|
|
16117
16618
|
value: elem
|
|
16118
16619
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -16205,9 +16706,9 @@ function _assertDomainRecord(domain, input) {
|
|
|
16205
16706
|
path: _path + ".favorites",
|
|
16206
16707
|
expected: "(Array<string> | undefined)",
|
|
16207
16708
|
value: input.favorites
|
|
16208
|
-
}, _errorFactory)) && input.favorites.every((elem,
|
|
16709
|
+
}, _errorFactory)) && input.favorites.every((elem, _index46) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
16209
16710
|
method: "typia.assert",
|
|
16210
|
-
path: _path + ".favorites[" +
|
|
16711
|
+
path: _path + ".favorites[" + _index46 + "]",
|
|
16211
16712
|
expected: "string",
|
|
16212
16713
|
value: elem
|
|
16213
16714
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -16625,9 +17126,9 @@ function _assertDomainRecord(domain, input) {
|
|
|
16625
17126
|
path: _path + ".playbackRates",
|
|
16626
17127
|
expected: "(Array<number> | undefined)",
|
|
16627
17128
|
value: input.playbackRates
|
|
16628
|
-
}, _errorFactory)) && input.playbackRates.every((elem,
|
|
17129
|
+
}, _errorFactory)) && input.playbackRates.every((elem, _index47) => "number" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
16629
17130
|
method: "typia.assert",
|
|
16630
|
-
path: _path + ".playbackRates[" +
|
|
17131
|
+
path: _path + ".playbackRates[" + _index47 + "]",
|
|
16631
17132
|
expected: "number",
|
|
16632
17133
|
value: elem
|
|
16633
17134
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -16660,14 +17161,14 @@ function _assertDomainRecord(domain, input) {
|
|
|
16660
17161
|
path: _path + ".guides",
|
|
16661
17162
|
expected: "(Array<__type>.o2 | undefined)",
|
|
16662
17163
|
value: input.guides
|
|
16663
|
-
}, _errorFactory)) && input.guides.every((elem,
|
|
17164
|
+
}, _errorFactory)) && input.guides.every((elem, _index48) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
16664
17165
|
method: "typia.assert",
|
|
16665
|
-
path: _path + ".guides[" +
|
|
17166
|
+
path: _path + ".guides[" + _index48 + "]",
|
|
16666
17167
|
expected: "__type.o41",
|
|
16667
17168
|
value: elem
|
|
16668
|
-
}, _errorFactory)) && _ao48(elem, _path + ".guides[" +
|
|
17169
|
+
}, _errorFactory)) && _ao48(elem, _path + ".guides[" + _index48 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
16669
17170
|
method: "typia.assert",
|
|
16670
|
-
path: _path + ".guides[" +
|
|
17171
|
+
path: _path + ".guides[" + _index48 + "]",
|
|
16671
17172
|
expected: "__type.o41",
|
|
16672
17173
|
value: elem
|
|
16673
17174
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -16755,14 +17256,14 @@ function _assertDomainRecord(domain, input) {
|
|
|
16755
17256
|
path: _path + ".suggestions",
|
|
16756
17257
|
expected: "(Array<__type> | undefined)",
|
|
16757
17258
|
value: input.suggestions
|
|
16758
|
-
}, _errorFactory)) && input.suggestions.every((elem,
|
|
17259
|
+
}, _errorFactory)) && input.suggestions.every((elem, _index49) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
16759
17260
|
method: "typia.assert",
|
|
16760
|
-
path: _path + ".suggestions[" +
|
|
17261
|
+
path: _path + ".suggestions[" + _index49 + "]",
|
|
16761
17262
|
expected: "__type.o39",
|
|
16762
17263
|
value: elem
|
|
16763
|
-
}, _errorFactory)) && _ao46(elem, _path + ".suggestions[" +
|
|
17264
|
+
}, _errorFactory)) && _ao46(elem, _path + ".suggestions[" + _index49 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
16764
17265
|
method: "typia.assert",
|
|
16765
|
-
path: _path + ".suggestions[" +
|
|
17266
|
+
path: _path + ".suggestions[" + _index49 + "]",
|
|
16766
17267
|
expected: "__type.o39",
|
|
16767
17268
|
value: elem
|
|
16768
17269
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -16775,14 +17276,14 @@ function _assertDomainRecord(domain, input) {
|
|
|
16775
17276
|
path: _path + ".colors",
|
|
16776
17277
|
expected: "(Array<__type>.o1 | undefined)",
|
|
16777
17278
|
value: input.colors
|
|
16778
|
-
}, _errorFactory)) && input.colors.every((elem,
|
|
17279
|
+
}, _errorFactory)) && input.colors.every((elem, _index50) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
16779
17280
|
method: "typia.assert",
|
|
16780
|
-
path: _path + ".colors[" +
|
|
17281
|
+
path: _path + ".colors[" + _index50 + "]",
|
|
16781
17282
|
expected: "__type.o40",
|
|
16782
17283
|
value: elem
|
|
16783
|
-
}, _errorFactory)) && _ao47(elem, _path + ".colors[" +
|
|
17284
|
+
}, _errorFactory)) && _ao47(elem, _path + ".colors[" + _index50 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
16784
17285
|
method: "typia.assert",
|
|
16785
|
-
path: _path + ".colors[" +
|
|
17286
|
+
path: _path + ".colors[" + _index50 + "]",
|
|
16786
17287
|
expected: "__type.o40",
|
|
16787
17288
|
value: elem
|
|
16788
17289
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -16795,9 +17296,9 @@ function _assertDomainRecord(domain, input) {
|
|
|
16795
17296
|
path: _path + ".overridableProperties",
|
|
16796
17297
|
expected: "(Array<keyof SubtitleStyle | null> | undefined)",
|
|
16797
17298
|
value: input.overridableProperties
|
|
16798
|
-
}, _errorFactory)) && input.overridableProperties.every((elem,
|
|
17299
|
+
}, _errorFactory)) && input.overridableProperties.every((elem, _index51) => null === elem || true === _av52.has(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
16799
17300
|
method: "typia.assert",
|
|
16800
|
-
path: _path + ".overridableProperties[" +
|
|
17301
|
+
path: _path + ".overridableProperties[" + _index51 + "]",
|
|
16801
17302
|
expected: "(\"alignment\" | \"angle\" | \"backColour\" | \"bold\" | \"borderStyle\" | \"encoding\" | \"fontname\" | \"fontsize\" | \"italic\" | \"marginL\" | \"marginR\" | \"marginV\" | \"name\" | \"outline\" | \"outlineColour\" | \"primaryColour\" | \"scaleX\" | \"scaleY\" | \"secondaryColour\" | \"shadow\" | \"spacing\" | \"strikeOut\" | \"underline\" | null)",
|
|
16802
17303
|
value: elem
|
|
16803
17304
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -16895,14 +17396,14 @@ function _assertDomainRecord(domain, input) {
|
|
|
16895
17396
|
path: _path + ".text",
|
|
16896
17397
|
expected: "(Array<__type>.o3 | undefined)",
|
|
16897
17398
|
value: input.text
|
|
16898
|
-
}, _errorFactory)) && input.text.every((elem,
|
|
17399
|
+
}, _errorFactory)) && input.text.every((elem, _index53) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
16899
17400
|
method: "typia.assert",
|
|
16900
|
-
path: _path + ".text[" +
|
|
17401
|
+
path: _path + ".text[" + _index53 + "]",
|
|
16901
17402
|
expected: "__type.o46",
|
|
16902
17403
|
value: elem
|
|
16903
|
-
}, _errorFactory)) && _ao53(elem, _path + ".text[" +
|
|
17404
|
+
}, _errorFactory)) && _ao53(elem, _path + ".text[" + _index53 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
16904
17405
|
method: "typia.assert",
|
|
16905
|
-
path: _path + ".text[" +
|
|
17406
|
+
path: _path + ".text[" + _index53 + "]",
|
|
16906
17407
|
expected: "__type.o46",
|
|
16907
17408
|
value: elem
|
|
16908
17409
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -16950,9 +17451,9 @@ function _assertDomainRecord(domain, input) {
|
|
|
16950
17451
|
path: _path + ".args",
|
|
16951
17452
|
expected: "(Array<string> | undefined)",
|
|
16952
17453
|
value: input.args
|
|
16953
|
-
}, _errorFactory)) && input.args.every((elem,
|
|
17454
|
+
}, _errorFactory)) && input.args.every((elem, _index54) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
16954
17455
|
method: "typia.assert",
|
|
16955
|
-
path: _path + ".args[" +
|
|
17456
|
+
path: _path + ".args[" + _index54 + "]",
|
|
16956
17457
|
expected: "string",
|
|
16957
17458
|
value: elem
|
|
16958
17459
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -17015,9 +17516,9 @@ function _assertDomainRecord(domain, input) {
|
|
|
17015
17516
|
path: _path + ".args",
|
|
17016
17517
|
expected: "(Array<string> | undefined)",
|
|
17017
17518
|
value: input.args
|
|
17018
|
-
}, _errorFactory)) && input.args.every((elem,
|
|
17519
|
+
}, _errorFactory)) && input.args.every((elem, _index55) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
17019
17520
|
method: "typia.assert",
|
|
17020
|
-
path: _path + ".args[" +
|
|
17521
|
+
path: _path + ".args[" + _index55 + "]",
|
|
17021
17522
|
expected: "string",
|
|
17022
17523
|
value: elem
|
|
17023
17524
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -17130,7 +17631,7 @@ function _assertDomainRecord(domain, input) {
|
|
|
17130
17631
|
path: _path + ".search",
|
|
17131
17632
|
expected: "(__type.o58 | undefined)",
|
|
17132
17633
|
value: input.search
|
|
17133
|
-
}, _errorFactory)) && (undefined === input.sortMode || true ===
|
|
17634
|
+
}, _errorFactory)) && (undefined === input.sortMode || true === _av56.has(input.sortMode) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
17134
17635
|
method: "typia.assert",
|
|
17135
17636
|
path: _path + ".sortMode",
|
|
17136
17637
|
expected: "(\"az\" | \"default\" | \"earliestdeadline\" | \"latestdeadline\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\" | undefined)",
|
|
@@ -17140,19 +17641,24 @@ function _assertDomainRecord(domain, input) {
|
|
|
17140
17641
|
path: _path + ".maxItemsDisplayed",
|
|
17141
17642
|
expected: "(number | undefined)",
|
|
17142
17643
|
value: input.maxItemsDisplayed
|
|
17143
|
-
}, _errorFactory); const _ao66 = (input, _path, _exceptionable = true) => undefined === input.maxHeight || "number" === typeof input.maxHeight || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
17644
|
+
}, _errorFactory); const _ao66 = (input, _path, _exceptionable = true) => (undefined === input.maxHeight || "number" === typeof input.maxHeight || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
17144
17645
|
method: "typia.assert",
|
|
17145
17646
|
path: _path + ".maxHeight",
|
|
17146
17647
|
expected: "(number | undefined)",
|
|
17147
17648
|
value: input.maxHeight
|
|
17148
|
-
}, _errorFactory)
|
|
17649
|
+
}, _errorFactory)) && (undefined === input.titleLines || "number" === typeof input.titleLines || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
17650
|
+
method: "typia.assert",
|
|
17651
|
+
path: _path + ".titleLines",
|
|
17652
|
+
expected: "(number | undefined)",
|
|
17653
|
+
value: input.titleLines
|
|
17654
|
+
}, _errorFactory)); const _ao67 = (input, _path, _exceptionable = true) => undefined === input.fontFamilies || (Array.isArray(input.fontFamilies) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
17149
17655
|
method: "typia.assert",
|
|
17150
17656
|
path: _path + ".fontFamilies",
|
|
17151
17657
|
expected: "(Array<string> | undefined)",
|
|
17152
17658
|
value: input.fontFamilies
|
|
17153
|
-
}, _errorFactory)) && input.fontFamilies.every((elem,
|
|
17659
|
+
}, _errorFactory)) && input.fontFamilies.every((elem, _index57) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
17154
17660
|
method: "typia.assert",
|
|
17155
|
-
path: _path + ".fontFamilies[" +
|
|
17661
|
+
path: _path + ".fontFamilies[" + _index57 + "]",
|
|
17156
17662
|
expected: "string",
|
|
17157
17663
|
value: elem
|
|
17158
17664
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -17220,6 +17726,16 @@ function _assertDomainRecord(domain, input) {
|
|
|
17220
17726
|
path: _path + ".utils",
|
|
17221
17727
|
expected: "(boolean | undefined)",
|
|
17222
17728
|
value: input.utils
|
|
17729
|
+
}, _errorFactory)) && (undefined === input.utilsAssetEditor || "boolean" === typeof input.utilsAssetEditor || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
17730
|
+
method: "typia.assert",
|
|
17731
|
+
path: _path + ".utilsAssetEditor",
|
|
17732
|
+
expected: "(boolean | undefined)",
|
|
17733
|
+
value: input.utilsAssetEditor
|
|
17734
|
+
}, _errorFactory)) && (undefined === input.utilsAssetPanel || "boolean" === typeof input.utilsAssetPanel || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
17735
|
+
method: "typia.assert",
|
|
17736
|
+
path: _path + ".utilsAssetPanel",
|
|
17737
|
+
expected: "(boolean | undefined)",
|
|
17738
|
+
value: input.utilsAssetPanel
|
|
17223
17739
|
}, _errorFactory)) && (undefined === input.history || "boolean" === typeof input.history || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
17224
17740
|
method: "typia.assert",
|
|
17225
17741
|
path: _path + ".history",
|
|
@@ -17315,9 +17831,9 @@ function _assertDomainRecord(domain, input) {
|
|
|
17315
17831
|
path: _path + ".comment",
|
|
17316
17832
|
expected: "(Array<NotificationReason> | undefined)",
|
|
17317
17833
|
value: input.comment
|
|
17318
|
-
}, _errorFactory)) && input.comment.every((elem,
|
|
17834
|
+
}, _errorFactory)) && input.comment.every((elem, _index58) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
17319
17835
|
method: "typia.assert",
|
|
17320
|
-
path: _path + ".comment[" +
|
|
17836
|
+
path: _path + ".comment[" + _index58 + "]",
|
|
17321
17837
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
17322
17838
|
value: elem
|
|
17323
17839
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -17330,9 +17846,9 @@ function _assertDomainRecord(domain, input) {
|
|
|
17330
17846
|
path: _path + ".assigned",
|
|
17331
17847
|
expected: "(Array<NotificationReason> | undefined)",
|
|
17332
17848
|
value: input.assigned
|
|
17333
|
-
}, _errorFactory)) && input.assigned.every((elem,
|
|
17849
|
+
}, _errorFactory)) && input.assigned.every((elem, _index59) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
17334
17850
|
method: "typia.assert",
|
|
17335
|
-
path: _path + ".assigned[" +
|
|
17851
|
+
path: _path + ".assigned[" + _index59 + "]",
|
|
17336
17852
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
17337
17853
|
value: elem
|
|
17338
17854
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -17345,9 +17861,9 @@ function _assertDomainRecord(domain, input) {
|
|
|
17345
17861
|
path: _path + ".unassigned",
|
|
17346
17862
|
expected: "(Array<NotificationReason> | undefined)",
|
|
17347
17863
|
value: input.unassigned
|
|
17348
|
-
}, _errorFactory)) && input.unassigned.every((elem,
|
|
17864
|
+
}, _errorFactory)) && input.unassigned.every((elem, _index60) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
17349
17865
|
method: "typia.assert",
|
|
17350
|
-
path: _path + ".unassigned[" +
|
|
17866
|
+
path: _path + ".unassigned[" + _index60 + "]",
|
|
17351
17867
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
17352
17868
|
value: elem
|
|
17353
17869
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -17374,9 +17890,9 @@ function _assertDomainRecord(domain, input) {
|
|
|
17374
17890
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
17375
17891
|
expected: "Array<NotificationReason>",
|
|
17376
17892
|
value: value
|
|
17377
|
-
}, _errorFactory)) && value.every((elem,
|
|
17893
|
+
}, _errorFactory)) && value.every((elem, _index61) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
17378
17894
|
method: "typia.assert",
|
|
17379
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" +
|
|
17895
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" + _index61 + "]",
|
|
17380
17896
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
17381
17897
|
value: elem
|
|
17382
17898
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -17385,7 +17901,47 @@ function _assertDomainRecord(domain, input) {
|
|
|
17385
17901
|
expected: "Array<NotificationReason>",
|
|
17386
17902
|
value: value
|
|
17387
17903
|
}, _errorFactory);
|
|
17388
|
-
}); const
|
|
17904
|
+
}); const _ao77 = (input, _path, _exceptionable = true) => (undefined === input.stateFilter || (Array.isArray(input.stateFilter) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
17905
|
+
method: "typia.assert",
|
|
17906
|
+
path: _path + ".stateFilter",
|
|
17907
|
+
expected: "(Array<number> | undefined)",
|
|
17908
|
+
value: input.stateFilter
|
|
17909
|
+
}, _errorFactory)) && input.stateFilter.every((elem, _index62) => "number" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
17910
|
+
method: "typia.assert",
|
|
17911
|
+
path: _path + ".stateFilter[" + _index62 + "]",
|
|
17912
|
+
expected: "number",
|
|
17913
|
+
value: elem
|
|
17914
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
17915
|
+
method: "typia.assert",
|
|
17916
|
+
path: _path + ".stateFilter",
|
|
17917
|
+
expected: "(Array<number> | undefined)",
|
|
17918
|
+
value: input.stateFilter
|
|
17919
|
+
}, _errorFactory)) && (undefined === input.textFilter || "string" === typeof input.textFilter || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
17920
|
+
method: "typia.assert",
|
|
17921
|
+
path: _path + ".textFilter",
|
|
17922
|
+
expected: "(string | undefined)",
|
|
17923
|
+
value: input.textFilter
|
|
17924
|
+
}, _errorFactory)) && (undefined === input.showEmpty || "boolean" === typeof input.showEmpty || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
17925
|
+
method: "typia.assert",
|
|
17926
|
+
path: _path + ".showEmpty",
|
|
17927
|
+
expected: "(boolean | undefined)",
|
|
17928
|
+
value: input.showEmpty
|
|
17929
|
+
}, _errorFactory)) && (undefined === input.selectedRecord || "string" === typeof input.selectedRecord || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
17930
|
+
method: "typia.assert",
|
|
17931
|
+
path: _path + ".selectedRecord",
|
|
17932
|
+
expected: "(string | undefined)",
|
|
17933
|
+
value: input.selectedRecord
|
|
17934
|
+
}, _errorFactory)) && (undefined === input.subscribeSearchHits || "boolean" === typeof input.subscribeSearchHits || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
17935
|
+
method: "typia.assert",
|
|
17936
|
+
path: _path + ".subscribeSearchHits",
|
|
17937
|
+
expected: "(boolean | undefined)",
|
|
17938
|
+
value: input.subscribeSearchHits
|
|
17939
|
+
}, _errorFactory)) && (undefined === input.parseRegex || "boolean" === typeof input.parseRegex || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
17940
|
+
method: "typia.assert",
|
|
17941
|
+
path: _path + ".parseRegex",
|
|
17942
|
+
expected: "(boolean | undefined)",
|
|
17943
|
+
value: input.parseRegex
|
|
17944
|
+
}, _errorFactory)); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
17389
17945
|
if (false === __is(input)) {
|
|
17390
17946
|
_errorFactory = errorFactory;
|
|
17391
17947
|
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
@@ -17403,6 +17959,210 @@ function _assertDomainRecord(domain, input) {
|
|
|
17403
17959
|
return input;
|
|
17404
17960
|
}; })()(input);
|
|
17405
17961
|
}
|
|
17962
|
+
case ":shotbox": {
|
|
17963
|
+
return (() => { const _io0 = input => undefined === input.pages || Array.isArray(input.pages) && input.pages.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io1(elem)); const _io1 = input => (undefined === input.stickyTopRow || "boolean" === typeof input.stickyTopRow) && (undefined === input.inferGroups || "boolean" === typeof input.inferGroups) && (undefined === input.layout || Array.isArray(input.layout) && input.layout.every(elem => null !== elem && undefined !== elem && (Array.isArray(elem) && elem.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)))); const _io2 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.sticky || "boolean" === typeof input.sticky) && (undefined === input.type || "trigger" === input.type || "toggle" === input.type) && (undefined === input.width || "string" === typeof input.width) && (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)) && (undefined === input.states || "object" === typeof input.states && null !== input.states && _io3(input.states)) && (undefined === input.flow || "column" === input.flow || "row" === input.flow) && (undefined === input.minRows || "number" === typeof input.minRows) && (undefined === input.maxRows || "number" === typeof input.maxRows); const _io3 = input => "boolean" === typeof input.completed; const _io4 = input => "stream" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.width || "string" === typeof input.width) && (undefined === input.source || "string" === typeof input.source); const _iu0 = input => (() => {
|
|
17964
|
+
if ("stream" === input.type)
|
|
17965
|
+
return _io4(input);
|
|
17966
|
+
else
|
|
17967
|
+
return _io2(input);
|
|
17968
|
+
})(); const _ao0 = (input, _path, _exceptionable = true) => undefined === input.pages || (Array.isArray(input.pages) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
17969
|
+
method: "typia.assert",
|
|
17970
|
+
path: _path + ".pages",
|
|
17971
|
+
expected: "(Array<ShotboxPage> | undefined)",
|
|
17972
|
+
value: input.pages
|
|
17973
|
+
}, _errorFactory)) && input.pages.every((elem, _index6) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
17974
|
+
method: "typia.assert",
|
|
17975
|
+
path: _path + ".pages[" + _index6 + "]",
|
|
17976
|
+
expected: "ShotboxPage",
|
|
17977
|
+
value: elem
|
|
17978
|
+
}, _errorFactory)) && _ao1(elem, _path + ".pages[" + _index6 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
17979
|
+
method: "typia.assert",
|
|
17980
|
+
path: _path + ".pages[" + _index6 + "]",
|
|
17981
|
+
expected: "ShotboxPage",
|
|
17982
|
+
value: elem
|
|
17983
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
17984
|
+
method: "typia.assert",
|
|
17985
|
+
path: _path + ".pages",
|
|
17986
|
+
expected: "(Array<ShotboxPage> | undefined)",
|
|
17987
|
+
value: input.pages
|
|
17988
|
+
}, _errorFactory); const _ao1 = (input, _path, _exceptionable = true) => (undefined === input.stickyTopRow || "boolean" === typeof input.stickyTopRow || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
17989
|
+
method: "typia.assert",
|
|
17990
|
+
path: _path + ".stickyTopRow",
|
|
17991
|
+
expected: "(boolean | undefined)",
|
|
17992
|
+
value: input.stickyTopRow
|
|
17993
|
+
}, _errorFactory)) && (undefined === input.inferGroups || "boolean" === typeof input.inferGroups || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
17994
|
+
method: "typia.assert",
|
|
17995
|
+
path: _path + ".inferGroups",
|
|
17996
|
+
expected: "(boolean | undefined)",
|
|
17997
|
+
value: input.inferGroups
|
|
17998
|
+
}, _errorFactory)) && (undefined === input.layout || (Array.isArray(input.layout) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
17999
|
+
method: "typia.assert",
|
|
18000
|
+
path: _path + ".layout",
|
|
18001
|
+
expected: "(Array<ShotboxGroup | ShotboxGroup[]> | undefined)",
|
|
18002
|
+
value: input.layout
|
|
18003
|
+
}, _errorFactory)) && input.layout.every((elem, _index7) => (null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
18004
|
+
method: "typia.assert",
|
|
18005
|
+
path: _path + ".layout[" + _index7 + "]",
|
|
18006
|
+
expected: "(Array<ShotboxGroup> | ShotboxEventGroup | ShotboxStreamGroup)",
|
|
18007
|
+
value: elem
|
|
18008
|
+
}, _errorFactory)) && (undefined !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
18009
|
+
method: "typia.assert",
|
|
18010
|
+
path: _path + ".layout[" + _index7 + "]",
|
|
18011
|
+
expected: "(Array<ShotboxGroup> | ShotboxEventGroup | ShotboxStreamGroup)",
|
|
18012
|
+
value: elem
|
|
18013
|
+
}, _errorFactory)) && (Array.isArray(elem) && elem.every((elem, _index8) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
18014
|
+
method: "typia.assert",
|
|
18015
|
+
path: _path + ".layout[" + _index7 + "][" + _index8 + "]",
|
|
18016
|
+
expected: "(ShotboxEventGroup | ShotboxStreamGroup)",
|
|
18017
|
+
value: elem
|
|
18018
|
+
}, _errorFactory)) && _au0(elem, _path + ".layout[" + _index7 + "][" + _index8 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
18019
|
+
method: "typia.assert",
|
|
18020
|
+
path: _path + ".layout[" + _index7 + "][" + _index8 + "]",
|
|
18021
|
+
expected: "(ShotboxEventGroup | ShotboxStreamGroup)",
|
|
18022
|
+
value: elem
|
|
18023
|
+
}, _errorFactory)) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _au0(elem, _path + ".layout[" + _index7 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
18024
|
+
method: "typia.assert",
|
|
18025
|
+
path: _path + ".layout[" + _index7 + "]",
|
|
18026
|
+
expected: "(Array<ShotboxGroup> | ShotboxEventGroup | ShotboxStreamGroup)",
|
|
18027
|
+
value: elem
|
|
18028
|
+
}, _errorFactory) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
18029
|
+
method: "typia.assert",
|
|
18030
|
+
path: _path + ".layout[" + _index7 + "]",
|
|
18031
|
+
expected: "(Array<ShotboxGroup> | ShotboxEventGroup | ShotboxStreamGroup)",
|
|
18032
|
+
value: elem
|
|
18033
|
+
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
18034
|
+
method: "typia.assert",
|
|
18035
|
+
path: _path + ".layout",
|
|
18036
|
+
expected: "(Array<ShotboxGroup | ShotboxGroup[]> | undefined)",
|
|
18037
|
+
value: input.layout
|
|
18038
|
+
}, _errorFactory)); const _ao2 = (input, _path, _exceptionable = true) => (undefined === input.id || "string" === typeof input.id || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
18039
|
+
method: "typia.assert",
|
|
18040
|
+
path: _path + ".id",
|
|
18041
|
+
expected: "(string | undefined)",
|
|
18042
|
+
value: input.id
|
|
18043
|
+
}, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
18044
|
+
method: "typia.assert",
|
|
18045
|
+
path: _path + ".title",
|
|
18046
|
+
expected: "(string | undefined)",
|
|
18047
|
+
value: input.title
|
|
18048
|
+
}, _errorFactory)) && (undefined === input.sticky || "boolean" === typeof input.sticky || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
18049
|
+
method: "typia.assert",
|
|
18050
|
+
path: _path + ".sticky",
|
|
18051
|
+
expected: "(boolean | undefined)",
|
|
18052
|
+
value: input.sticky
|
|
18053
|
+
}, _errorFactory)) && (undefined === input.type || "trigger" === input.type || "toggle" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
18054
|
+
method: "typia.assert",
|
|
18055
|
+
path: _path + ".type",
|
|
18056
|
+
expected: "(\"toggle\" | \"trigger\" | undefined)",
|
|
18057
|
+
value: input.type
|
|
18058
|
+
}, _errorFactory)) && (undefined === input.width || "string" === typeof input.width || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
18059
|
+
method: "typia.assert",
|
|
18060
|
+
path: _path + ".width",
|
|
18061
|
+
expected: "(string | undefined)",
|
|
18062
|
+
value: input.width
|
|
18063
|
+
}, _errorFactory)) && (undefined === input.include || (Array.isArray(input.include) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
18064
|
+
method: "typia.assert",
|
|
18065
|
+
path: _path + ".include",
|
|
18066
|
+
expected: "(Array<string> | undefined)",
|
|
18067
|
+
value: input.include
|
|
18068
|
+
}, _errorFactory)) && input.include.every((elem, _index9) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
18069
|
+
method: "typia.assert",
|
|
18070
|
+
path: _path + ".include[" + _index9 + "]",
|
|
18071
|
+
expected: "string",
|
|
18072
|
+
value: elem
|
|
18073
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
18074
|
+
method: "typia.assert",
|
|
18075
|
+
path: _path + ".include",
|
|
18076
|
+
expected: "(Array<string> | undefined)",
|
|
18077
|
+
value: input.include
|
|
18078
|
+
}, _errorFactory)) && (undefined === input.exclude || (Array.isArray(input.exclude) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
18079
|
+
method: "typia.assert",
|
|
18080
|
+
path: _path + ".exclude",
|
|
18081
|
+
expected: "(Array<string> | undefined)",
|
|
18082
|
+
value: input.exclude
|
|
18083
|
+
}, _errorFactory)) && input.exclude.every((elem, _index10) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
18084
|
+
method: "typia.assert",
|
|
18085
|
+
path: _path + ".exclude[" + _index10 + "]",
|
|
18086
|
+
expected: "string",
|
|
18087
|
+
value: elem
|
|
18088
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
18089
|
+
method: "typia.assert",
|
|
18090
|
+
path: _path + ".exclude",
|
|
18091
|
+
expected: "(Array<string> | undefined)",
|
|
18092
|
+
value: input.exclude
|
|
18093
|
+
}, _errorFactory)) && (undefined === input.states || ("object" === typeof input.states && null !== input.states || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
18094
|
+
method: "typia.assert",
|
|
18095
|
+
path: _path + ".states",
|
|
18096
|
+
expected: "(__type | undefined)",
|
|
18097
|
+
value: input.states
|
|
18098
|
+
}, _errorFactory)) && _ao3(input.states, _path + ".states", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
18099
|
+
method: "typia.assert",
|
|
18100
|
+
path: _path + ".states",
|
|
18101
|
+
expected: "(__type | undefined)",
|
|
18102
|
+
value: input.states
|
|
18103
|
+
}, _errorFactory)) && (undefined === input.flow || "column" === input.flow || "row" === input.flow || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
18104
|
+
method: "typia.assert",
|
|
18105
|
+
path: _path + ".flow",
|
|
18106
|
+
expected: "(\"column\" | \"row\" | undefined)",
|
|
18107
|
+
value: input.flow
|
|
18108
|
+
}, _errorFactory)) && (undefined === input.minRows || "number" === typeof input.minRows || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
18109
|
+
method: "typia.assert",
|
|
18110
|
+
path: _path + ".minRows",
|
|
18111
|
+
expected: "(number | undefined)",
|
|
18112
|
+
value: input.minRows
|
|
18113
|
+
}, _errorFactory)) && (undefined === input.maxRows || "number" === typeof input.maxRows || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
18114
|
+
method: "typia.assert",
|
|
18115
|
+
path: _path + ".maxRows",
|
|
18116
|
+
expected: "(number | undefined)",
|
|
18117
|
+
value: input.maxRows
|
|
18118
|
+
}, _errorFactory)); const _ao3 = (input, _path, _exceptionable = true) => "boolean" === typeof input.completed || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
18119
|
+
method: "typia.assert",
|
|
18120
|
+
path: _path + ".completed",
|
|
18121
|
+
expected: "boolean",
|
|
18122
|
+
value: input.completed
|
|
18123
|
+
}, _errorFactory); const _ao4 = (input, _path, _exceptionable = true) => ("stream" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
18124
|
+
method: "typia.assert",
|
|
18125
|
+
path: _path + ".type",
|
|
18126
|
+
expected: "\"stream\"",
|
|
18127
|
+
value: input.type
|
|
18128
|
+
}, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
18129
|
+
method: "typia.assert",
|
|
18130
|
+
path: _path + ".title",
|
|
18131
|
+
expected: "(string | undefined)",
|
|
18132
|
+
value: input.title
|
|
18133
|
+
}, _errorFactory)) && (undefined === input.width || "string" === typeof input.width || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
18134
|
+
method: "typia.assert",
|
|
18135
|
+
path: _path + ".width",
|
|
18136
|
+
expected: "(string | undefined)",
|
|
18137
|
+
value: input.width
|
|
18138
|
+
}, _errorFactory)) && (undefined === input.source || "string" === typeof input.source || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
18139
|
+
method: "typia.assert",
|
|
18140
|
+
path: _path + ".source",
|
|
18141
|
+
expected: "(string | undefined)",
|
|
18142
|
+
value: input.source
|
|
18143
|
+
}, _errorFactory)); const _au0 = (input, _path, _exceptionable = true) => (() => {
|
|
18144
|
+
if ("stream" === input.type)
|
|
18145
|
+
return _ao4(input, _path, true && _exceptionable);
|
|
18146
|
+
else
|
|
18147
|
+
return _ao2(input, _path, true && _exceptionable);
|
|
18148
|
+
})(); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
|
|
18149
|
+
if (false === __is(input)) {
|
|
18150
|
+
_errorFactory = errorFactory;
|
|
18151
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
18152
|
+
method: "typia.assert",
|
|
18153
|
+
path: _path + "",
|
|
18154
|
+
expected: "ShotboxDomainRecord",
|
|
18155
|
+
value: input
|
|
18156
|
+
}, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
18157
|
+
method: "typia.assert",
|
|
18158
|
+
path: _path + "",
|
|
18159
|
+
expected: "ShotboxDomainRecord",
|
|
18160
|
+
value: input
|
|
18161
|
+
}, _errorFactory))(input, "$input", true);
|
|
18162
|
+
}
|
|
18163
|
+
return input;
|
|
18164
|
+
}; })()(input);
|
|
18165
|
+
}
|
|
17406
18166
|
case ":storyboard": {
|
|
17407
18167
|
return (() => { const _io0 = input => Object.keys(input).every(key => {
|
|
17408
18168
|
const value = input[key];
|