@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
|
@@ -2132,6 +2132,48 @@ function _validateDomainRecord(domain, input) {
|
|
|
2132
2132
|
};
|
|
2133
2133
|
}; })()(input);
|
|
2134
2134
|
}
|
|
2135
|
+
case ":asset.rawTypes?": {
|
|
2136
|
+
return (() => { const _io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.value || (Array.isArray(input.value) || _report(_exceptionable, {
|
|
2137
|
+
path: _path + ".value",
|
|
2138
|
+
expected: "(Array<string> | undefined)",
|
|
2139
|
+
value: input.value
|
|
2140
|
+
})) && input.value.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
|
|
2141
|
+
path: _path + ".value[" + _index2 + "]",
|
|
2142
|
+
expected: "string",
|
|
2143
|
+
value: elem
|
|
2144
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
2145
|
+
path: _path + ".value",
|
|
2146
|
+
expected: "(Array<string> | undefined)",
|
|
2147
|
+
value: input.value
|
|
2148
|
+
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
2149
|
+
if (false === __is(input)) {
|
|
2150
|
+
errors = [];
|
|
2151
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
2152
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
2153
|
+
path: _path + "",
|
|
2154
|
+
expected: "AssetRawTypesProvidedRecord",
|
|
2155
|
+
value: input
|
|
2156
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
2157
|
+
path: _path + "",
|
|
2158
|
+
expected: "AssetRawTypesProvidedRecord",
|
|
2159
|
+
value: input
|
|
2160
|
+
}))(input, "$input", true);
|
|
2161
|
+
const success = 0 === errors.length;
|
|
2162
|
+
return success ? {
|
|
2163
|
+
success,
|
|
2164
|
+
data: input
|
|
2165
|
+
} : {
|
|
2166
|
+
success,
|
|
2167
|
+
errors,
|
|
2168
|
+
data: input
|
|
2169
|
+
};
|
|
2170
|
+
}
|
|
2171
|
+
return {
|
|
2172
|
+
success: true,
|
|
2173
|
+
data: input
|
|
2174
|
+
};
|
|
2175
|
+
}; })()(input);
|
|
2176
|
+
}
|
|
2135
2177
|
case ":asset.types?": {
|
|
2136
2178
|
return (() => { const _io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.value || (Array.isArray(input.value) || _report(_exceptionable, {
|
|
2137
2179
|
path: _path + ".value",
|
|
@@ -3150,6 +3192,88 @@ function _validateDomainRecord(domain, input) {
|
|
|
3150
3192
|
};
|
|
3151
3193
|
}; })()(input);
|
|
3152
3194
|
}
|
|
3195
|
+
case ":calendarevent": {
|
|
3196
|
+
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 _vo0 = (input, _path, _exceptionable = true) => [null === input.start || undefined === input.start || "string" === typeof input.start || _report(_exceptionable, {
|
|
3197
|
+
path: _path + ".start",
|
|
3198
|
+
expected: "(null | string | undefined)",
|
|
3199
|
+
value: input.start
|
|
3200
|
+
}), null === input.end || undefined === input.end || "string" === typeof input.end || _report(_exceptionable, {
|
|
3201
|
+
path: _path + ".end",
|
|
3202
|
+
expected: "(null | string | undefined)",
|
|
3203
|
+
value: input.end
|
|
3204
|
+
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
3205
|
+
path: _path + ".description",
|
|
3206
|
+
expected: "(string | undefined)",
|
|
3207
|
+
value: input.description
|
|
3208
|
+
}), null === input.recurrence || undefined === input.recurrence || ("object" === typeof input.recurrence && null !== input.recurrence && false === Array.isArray(input.recurrence) || _report(_exceptionable, {
|
|
3209
|
+
path: _path + ".recurrence",
|
|
3210
|
+
expected: "(CalendarEventDomainRecurrenceRule | null | undefined)",
|
|
3211
|
+
value: input.recurrence
|
|
3212
|
+
})) && _vo1(input.recurrence, _path + ".recurrence", true && _exceptionable) || _report(_exceptionable, {
|
|
3213
|
+
path: _path + ".recurrence",
|
|
3214
|
+
expected: "(CalendarEventDomainRecurrenceRule | null | undefined)",
|
|
3215
|
+
value: input.recurrence
|
|
3216
|
+
}), undefined === input.color || "string" === typeof input.color || _report(_exceptionable, {
|
|
3217
|
+
path: _path + ".color",
|
|
3218
|
+
expected: "(string | undefined)",
|
|
3219
|
+
value: input.color
|
|
3220
|
+
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [undefined === input.interval || "number" === typeof input.interval || _report(_exceptionable, {
|
|
3221
|
+
path: _path + ".interval",
|
|
3222
|
+
expected: "(number | undefined)",
|
|
3223
|
+
value: input.interval
|
|
3224
|
+
}), null === input.frequency || undefined === input.frequency || "days" === input.frequency || "weeks" === input.frequency || "months" === input.frequency || "years" === input.frequency || _report(_exceptionable, {
|
|
3225
|
+
path: _path + ".frequency",
|
|
3226
|
+
expected: "(\"days\" | \"months\" | \"weeks\" | \"years\" | null | undefined)",
|
|
3227
|
+
value: input.frequency
|
|
3228
|
+
}), null === input.byweekday || undefined === input.byweekday || (Array.isArray(input.byweekday) || _report(_exceptionable, {
|
|
3229
|
+
path: _path + ".byweekday",
|
|
3230
|
+
expected: "(Array<number> | null | undefined)",
|
|
3231
|
+
value: input.byweekday
|
|
3232
|
+
})) && input.byweekday.map((elem, _index2) => "number" === typeof elem || _report(_exceptionable, {
|
|
3233
|
+
path: _path + ".byweekday[" + _index2 + "]",
|
|
3234
|
+
expected: "number",
|
|
3235
|
+
value: elem
|
|
3236
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
3237
|
+
path: _path + ".byweekday",
|
|
3238
|
+
expected: "(Array<number> | null | undefined)",
|
|
3239
|
+
value: input.byweekday
|
|
3240
|
+
}), null === input.count || undefined === input.count || _report(_exceptionable, {
|
|
3241
|
+
path: _path + ".count",
|
|
3242
|
+
expected: "(null | undefined)",
|
|
3243
|
+
value: input.count
|
|
3244
|
+
}), null === input.until || undefined === input.until || "string" === typeof input.until || _report(_exceptionable, {
|
|
3245
|
+
path: _path + ".until",
|
|
3246
|
+
expected: "(null | string | undefined)",
|
|
3247
|
+
value: input.until
|
|
3248
|
+
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
3249
|
+
if (false === __is(input)) {
|
|
3250
|
+
errors = [];
|
|
3251
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
3252
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
3253
|
+
path: _path + "",
|
|
3254
|
+
expected: "CalendarEventDomainRecord",
|
|
3255
|
+
value: input
|
|
3256
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
3257
|
+
path: _path + "",
|
|
3258
|
+
expected: "CalendarEventDomainRecord",
|
|
3259
|
+
value: input
|
|
3260
|
+
}))(input, "$input", true);
|
|
3261
|
+
const success = 0 === errors.length;
|
|
3262
|
+
return success ? {
|
|
3263
|
+
success,
|
|
3264
|
+
data: input
|
|
3265
|
+
} : {
|
|
3266
|
+
success,
|
|
3267
|
+
errors,
|
|
3268
|
+
data: input
|
|
3269
|
+
};
|
|
3270
|
+
}
|
|
3271
|
+
return {
|
|
3272
|
+
success: true,
|
|
3273
|
+
data: input
|
|
3274
|
+
};
|
|
3275
|
+
}; })()(input);
|
|
3276
|
+
}
|
|
3153
3277
|
case ":clone": {
|
|
3154
3278
|
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 _vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.rules) || _report(_exceptionable, {
|
|
3155
3279
|
path: _path + ".rules",
|
|
@@ -3716,6 +3840,48 @@ function _validateDomainRecord(domain, input) {
|
|
|
3716
3840
|
};
|
|
3717
3841
|
}; })()(input);
|
|
3718
3842
|
}
|
|
3843
|
+
case ":condition": {
|
|
3844
|
+
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 _vo0 = (input, _path, _exceptionable = true) => [undefined === input.field || "string" === typeof input.field || _report(_exceptionable, {
|
|
3845
|
+
path: _path + ".field",
|
|
3846
|
+
expected: "(string | undefined)",
|
|
3847
|
+
value: input.field
|
|
3848
|
+
}), undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
|
|
3849
|
+
path: _path + ".type",
|
|
3850
|
+
expected: "(string | undefined)",
|
|
3851
|
+
value: input.type
|
|
3852
|
+
}), undefined === input.op || "string" === typeof input.op || _report(_exceptionable, {
|
|
3853
|
+
path: _path + ".op",
|
|
3854
|
+
expected: "(string | undefined)",
|
|
3855
|
+
value: input.op
|
|
3856
|
+
}), true].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
3857
|
+
if (false === __is(input)) {
|
|
3858
|
+
errors = [];
|
|
3859
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
3860
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
3861
|
+
path: _path + "",
|
|
3862
|
+
expected: "SearchCondition",
|
|
3863
|
+
value: input
|
|
3864
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
3865
|
+
path: _path + "",
|
|
3866
|
+
expected: "SearchCondition",
|
|
3867
|
+
value: input
|
|
3868
|
+
}))(input, "$input", true);
|
|
3869
|
+
const success = 0 === errors.length;
|
|
3870
|
+
return success ? {
|
|
3871
|
+
success,
|
|
3872
|
+
data: input
|
|
3873
|
+
} : {
|
|
3874
|
+
success,
|
|
3875
|
+
errors,
|
|
3876
|
+
data: input
|
|
3877
|
+
};
|
|
3878
|
+
}
|
|
3879
|
+
return {
|
|
3880
|
+
success: true,
|
|
3881
|
+
data: input
|
|
3882
|
+
};
|
|
3883
|
+
}; })()(input);
|
|
3884
|
+
}
|
|
3719
3885
|
case ":connection": {
|
|
3720
3886
|
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 => {
|
|
3721
3887
|
const value = input[key];
|
|
@@ -7727,6 +7893,158 @@ function _validateDomainRecord(domain, input) {
|
|
|
7727
7893
|
};
|
|
7728
7894
|
}; })()(input);
|
|
7729
7895
|
}
|
|
7896
|
+
case ":harvest": {
|
|
7897
|
+
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 _vo0 = (input, _path, _exceptionable = true) => [undefined === input.active || "boolean" === typeof input.active || _report(_exceptionable, {
|
|
7898
|
+
path: _path + ".active",
|
|
7899
|
+
expected: "(boolean | undefined)",
|
|
7900
|
+
value: input.active
|
|
7901
|
+
}), undefined === input.tags || (Array.isArray(input.tags) || _report(_exceptionable, {
|
|
7902
|
+
path: _path + ".tags",
|
|
7903
|
+
expected: "(Array<string> | undefined)",
|
|
7904
|
+
value: input.tags
|
|
7905
|
+
})) && input.tags.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
|
|
7906
|
+
path: _path + ".tags[" + _index2 + "]",
|
|
7907
|
+
expected: "string",
|
|
7908
|
+
value: elem
|
|
7909
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
7910
|
+
path: _path + ".tags",
|
|
7911
|
+
expected: "(Array<string> | undefined)",
|
|
7912
|
+
value: input.tags
|
|
7913
|
+
}), undefined === input.revisions || "boolean" === typeof input.revisions || _report(_exceptionable, {
|
|
7914
|
+
path: _path + ".revisions",
|
|
7915
|
+
expected: "(boolean | undefined)",
|
|
7916
|
+
value: input.revisions
|
|
7917
|
+
}), undefined === input.concurrency || "number" === typeof input.concurrency || _report(_exceptionable, {
|
|
7918
|
+
path: _path + ".concurrency",
|
|
7919
|
+
expected: "(number | undefined)",
|
|
7920
|
+
value: input.concurrency
|
|
7921
|
+
}), undefined === input.throttle || "number" === typeof input.throttle || _report(_exceptionable, {
|
|
7922
|
+
path: _path + ".throttle",
|
|
7923
|
+
expected: "(number | undefined)",
|
|
7924
|
+
value: input.throttle
|
|
7925
|
+
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
7926
|
+
if (false === __is(input)) {
|
|
7927
|
+
errors = [];
|
|
7928
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
7929
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
7930
|
+
path: _path + "",
|
|
7931
|
+
expected: "HarvestDomainRecord",
|
|
7932
|
+
value: input
|
|
7933
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
7934
|
+
path: _path + "",
|
|
7935
|
+
expected: "HarvestDomainRecord",
|
|
7936
|
+
value: input
|
|
7937
|
+
}))(input, "$input", true);
|
|
7938
|
+
const success = 0 === errors.length;
|
|
7939
|
+
return success ? {
|
|
7940
|
+
success,
|
|
7941
|
+
data: input
|
|
7942
|
+
} : {
|
|
7943
|
+
success,
|
|
7944
|
+
errors,
|
|
7945
|
+
data: input
|
|
7946
|
+
};
|
|
7947
|
+
}
|
|
7948
|
+
return {
|
|
7949
|
+
success: true,
|
|
7950
|
+
data: input
|
|
7951
|
+
};
|
|
7952
|
+
}; })()(input);
|
|
7953
|
+
}
|
|
7954
|
+
case ":ingestclip": {
|
|
7955
|
+
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 _vo0 = (input, _path, _exceptionable = true) => [undefined === input.time || "number" === typeof input.time || _report(_exceptionable, {
|
|
7956
|
+
path: _path + ".time",
|
|
7957
|
+
expected: "(number | undefined)",
|
|
7958
|
+
value: input.time
|
|
7959
|
+
}), undefined === input.duration || "number" === typeof input.duration || _report(_exceptionable, {
|
|
7960
|
+
path: _path + ".duration",
|
|
7961
|
+
expected: "(number | undefined)",
|
|
7962
|
+
value: input.duration
|
|
7963
|
+
}), undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
|
|
7964
|
+
path: _path + ".type",
|
|
7965
|
+
expected: "(string | undefined)",
|
|
7966
|
+
value: input.type
|
|
7967
|
+
}), undefined === input.record || "string" === typeof input.record || _report(_exceptionable, {
|
|
7968
|
+
path: _path + ".record",
|
|
7969
|
+
expected: "(string | undefined)",
|
|
7970
|
+
value: input.record
|
|
7971
|
+
}), undefined === input.data || "boolean" === typeof input.data || _report(_exceptionable, {
|
|
7972
|
+
path: _path + ".data",
|
|
7973
|
+
expected: "(boolean | undefined)",
|
|
7974
|
+
value: input.data
|
|
7975
|
+
}), undefined === input.gallery || "string" === typeof input.gallery || _report(_exceptionable, {
|
|
7976
|
+
path: _path + ".gallery",
|
|
7977
|
+
expected: "(string | undefined)",
|
|
7978
|
+
value: input.gallery
|
|
7979
|
+
}), undefined === input.rundown || "string" === typeof input.rundown || _report(_exceptionable, {
|
|
7980
|
+
path: _path + ".rundown",
|
|
7981
|
+
expected: "(string | undefined)",
|
|
7982
|
+
value: input.rundown
|
|
7983
|
+
}), undefined === input.segment || "string" === typeof input.segment || _report(_exceptionable, {
|
|
7984
|
+
path: _path + ".segment",
|
|
7985
|
+
expected: "(string | undefined)",
|
|
7986
|
+
value: input.segment
|
|
7987
|
+
}), undefined === input.story || "string" === typeof input.story || _report(_exceptionable, {
|
|
7988
|
+
path: _path + ".story",
|
|
7989
|
+
expected: "(string | undefined)",
|
|
7990
|
+
value: input.story
|
|
7991
|
+
}), undefined === input.event || "string" === typeof input.event || _report(_exceptionable, {
|
|
7992
|
+
path: _path + ".event",
|
|
7993
|
+
expected: "(string | undefined)",
|
|
7994
|
+
value: input.event
|
|
7995
|
+
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
7996
|
+
path: _path + ".title",
|
|
7997
|
+
expected: "(string | undefined)",
|
|
7998
|
+
value: input.title
|
|
7999
|
+
}), undefined === input.start || "number" === typeof input.start || _report(_exceptionable, {
|
|
8000
|
+
path: _path + ".start",
|
|
8001
|
+
expected: "(number | undefined)",
|
|
8002
|
+
value: input.start
|
|
8003
|
+
}), undefined === input.end || "number" === typeof input.end || _report(_exceptionable, {
|
|
8004
|
+
path: _path + ".end",
|
|
8005
|
+
expected: "(number | undefined)",
|
|
8006
|
+
value: input.end
|
|
8007
|
+
}), undefined === input.channel || "string" === typeof input.channel || _report(_exceptionable, {
|
|
8008
|
+
path: _path + ".channel",
|
|
8009
|
+
expected: "(string | undefined)",
|
|
8010
|
+
value: input.channel
|
|
8011
|
+
}), undefined === input.schedule || "string" === typeof input.schedule || _report(_exceptionable, {
|
|
8012
|
+
path: _path + ".schedule",
|
|
8013
|
+
expected: "(string | undefined)",
|
|
8014
|
+
value: input.schedule
|
|
8015
|
+
}), undefined === input.parent || "string" === typeof input.parent || _report(_exceptionable, {
|
|
8016
|
+
path: _path + ".parent",
|
|
8017
|
+
expected: "(string | undefined)",
|
|
8018
|
+
value: input.parent
|
|
8019
|
+
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
8020
|
+
if (false === __is(input)) {
|
|
8021
|
+
errors = [];
|
|
8022
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
8023
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
8024
|
+
path: _path + "",
|
|
8025
|
+
expected: "IngestclipDomainRecord",
|
|
8026
|
+
value: input
|
|
8027
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
8028
|
+
path: _path + "",
|
|
8029
|
+
expected: "IngestclipDomainRecord",
|
|
8030
|
+
value: input
|
|
8031
|
+
}))(input, "$input", true);
|
|
8032
|
+
const success = 0 === errors.length;
|
|
8033
|
+
return success ? {
|
|
8034
|
+
success,
|
|
8035
|
+
data: input
|
|
8036
|
+
} : {
|
|
8037
|
+
success,
|
|
8038
|
+
errors,
|
|
8039
|
+
data: input
|
|
8040
|
+
};
|
|
8041
|
+
}
|
|
8042
|
+
return {
|
|
8043
|
+
success: true,
|
|
8044
|
+
data: input
|
|
8045
|
+
};
|
|
8046
|
+
}; })()(input);
|
|
8047
|
+
}
|
|
7730
8048
|
case ":media.source": {
|
|
7731
8049
|
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 => {
|
|
7732
8050
|
const value = input[key];
|
|
@@ -9400,16 +9718,16 @@ function _validateDomainRecord(domain, input) {
|
|
|
9400
9718
|
}; })()(input);
|
|
9401
9719
|
}
|
|
9402
9720
|
case ":panel": {
|
|
9403
|
-
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) &&
|
|
9721
|
+
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 => {
|
|
9404
9722
|
const value = input[key];
|
|
9405
9723
|
if (undefined === value)
|
|
9406
9724
|
return true;
|
|
9407
9725
|
return "object" === typeof value && null !== value && _io2(value);
|
|
9408
|
-
}); 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
|
|
9726
|
+
}); 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 => (() => {
|
|
9409
9727
|
if (undefined !== input.type)
|
|
9410
|
-
return
|
|
9728
|
+
return _io7(input);
|
|
9411
9729
|
else if (undefined !== input.property)
|
|
9412
|
-
return
|
|
9730
|
+
return _io8(input);
|
|
9413
9731
|
else
|
|
9414
9732
|
return false;
|
|
9415
9733
|
})(); 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 _vo0 = (input, _path, _exceptionable = true) => [undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
@@ -9424,8 +9742,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
9424
9742
|
path: _path + ".supports",
|
|
9425
9743
|
expected: "(Array<string> | string | undefined)",
|
|
9426
9744
|
value: input.supports
|
|
9427
|
-
})) && input.supports.map((elem,
|
|
9428
|
-
path: _path + ".supports[" +
|
|
9745
|
+
})) && input.supports.map((elem, _index5) => "string" === typeof elem || _report(_exceptionable, {
|
|
9746
|
+
path: _path + ".supports[" + _index5 + "]",
|
|
9429
9747
|
expected: "string",
|
|
9430
9748
|
value: elem
|
|
9431
9749
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -9450,37 +9768,13 @@ function _validateDomainRecord(domain, input) {
|
|
|
9450
9768
|
value: input.properties
|
|
9451
9769
|
}), undefined === input.layout || ("object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) || _report(_exceptionable, {
|
|
9452
9770
|
path: _path + ".layout",
|
|
9453
|
-
expected: "(__type.
|
|
9771
|
+
expected: "(__type.o4 | undefined)",
|
|
9454
9772
|
value: input.layout
|
|
9455
|
-
})) &&
|
|
9773
|
+
})) && _vo6(input.layout, _path + ".layout", true && _exceptionable) || _report(_exceptionable, {
|
|
9456
9774
|
path: _path + ".layout",
|
|
9457
|
-
expected: "(__type.
|
|
9775
|
+
expected: "(__type.o4 | undefined)",
|
|
9458
9776
|
value: input.layout
|
|
9459
|
-
}), (
|
|
9460
|
-
path: _path + ".filter",
|
|
9461
|
-
expected: "(__type.o3 | string | undefined)",
|
|
9462
|
-
value: input.filter
|
|
9463
|
-
})) && (undefined === input.filter || "string" === typeof input.filter || ("object" === typeof input.filter && null !== input.filter || _report(_exceptionable, {
|
|
9464
|
-
path: _path + ".filter",
|
|
9465
|
-
expected: "(__type.o3 | string | undefined)",
|
|
9466
|
-
value: input.filter
|
|
9467
|
-
})) && _vo8(input.filter, _path + ".filter", true && _exceptionable) || _report(_exceptionable, {
|
|
9468
|
-
path: _path + ".filter",
|
|
9469
|
-
expected: "(__type.o3 | string | undefined)",
|
|
9470
|
-
value: input.filter
|
|
9471
|
-
})), (null !== input.expand || _report(_exceptionable, {
|
|
9472
|
-
path: _path + ".expand",
|
|
9473
|
-
expected: "(__type.o3 | string | undefined)",
|
|
9474
|
-
value: input.expand
|
|
9475
|
-
})) && (undefined === input.expand || "string" === typeof input.expand || ("object" === typeof input.expand && null !== input.expand || _report(_exceptionable, {
|
|
9476
|
-
path: _path + ".expand",
|
|
9477
|
-
expected: "(__type.o3 | string | undefined)",
|
|
9478
|
-
value: input.expand
|
|
9479
|
-
})) && _vo8(input.expand, _path + ".expand", true && _exceptionable) || _report(_exceptionable, {
|
|
9480
|
-
path: _path + ".expand",
|
|
9481
|
-
expected: "(__type.o3 | string | undefined)",
|
|
9482
|
-
value: input.expand
|
|
9483
|
-
}))].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
9777
|
+
}), true, true].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
9484
9778
|
const value = input[key];
|
|
9485
9779
|
if (undefined === value)
|
|
9486
9780
|
return true;
|
|
@@ -9525,10 +9819,38 @@ function _validateDomainRecord(domain, input) {
|
|
|
9525
9819
|
path: _path + ".required",
|
|
9526
9820
|
expected: "(boolean | undefined)",
|
|
9527
9821
|
value: input.required
|
|
9528
|
-
}), undefined === input.oneOf || Array.isArray(input.oneOf) || _report(_exceptionable, {
|
|
9822
|
+
}), undefined === input.oneOf || (Array.isArray(input.oneOf) || _report(_exceptionable, {
|
|
9529
9823
|
path: _path + ".oneOf",
|
|
9530
|
-
expected: "(Array<
|
|
9824
|
+
expected: "(Array<__type> | undefined)",
|
|
9531
9825
|
value: input.oneOf
|
|
9826
|
+
})) && input.oneOf.map((elem, _index6) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
9827
|
+
path: _path + ".oneOf[" + _index6 + "]",
|
|
9828
|
+
expected: "__type.o2",
|
|
9829
|
+
value: elem
|
|
9830
|
+
})) && _vo4(elem, _path + ".oneOf[" + _index6 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
9831
|
+
path: _path + ".oneOf[" + _index6 + "]",
|
|
9832
|
+
expected: "__type.o2",
|
|
9833
|
+
value: elem
|
|
9834
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
9835
|
+
path: _path + ".oneOf",
|
|
9836
|
+
expected: "(Array<__type> | undefined)",
|
|
9837
|
+
value: input.oneOf
|
|
9838
|
+
}), undefined === input.anyOf || (Array.isArray(input.anyOf) || _report(_exceptionable, {
|
|
9839
|
+
path: _path + ".anyOf",
|
|
9840
|
+
expected: "(Array<__type>.o1 | undefined)",
|
|
9841
|
+
value: input.anyOf
|
|
9842
|
+
})) && input.anyOf.map((elem, _index7) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
9843
|
+
path: _path + ".anyOf[" + _index7 + "]",
|
|
9844
|
+
expected: "__type.o3",
|
|
9845
|
+
value: elem
|
|
9846
|
+
})) && _vo5(elem, _path + ".anyOf[" + _index7 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
9847
|
+
path: _path + ".anyOf[" + _index7 + "]",
|
|
9848
|
+
expected: "__type.o3",
|
|
9849
|
+
value: elem
|
|
9850
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
9851
|
+
path: _path + ".anyOf",
|
|
9852
|
+
expected: "(Array<__type>.o1 | undefined)",
|
|
9853
|
+
value: input.anyOf
|
|
9532
9854
|
})].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => ["string" === typeof input.label || _report(_exceptionable, {
|
|
9533
9855
|
path: _path + ".label",
|
|
9534
9856
|
expected: "string",
|
|
@@ -9537,7 +9859,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
9537
9859
|
path: _path + ".path",
|
|
9538
9860
|
expected: "string",
|
|
9539
9861
|
value: input.path
|
|
9540
|
-
})].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [
|
|
9862
|
+
})].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [true, undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
9863
|
+
path: _path + ".title",
|
|
9864
|
+
expected: "(string | undefined)",
|
|
9865
|
+
value: input.title
|
|
9866
|
+
})].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => [true, undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
9867
|
+
path: _path + ".title",
|
|
9868
|
+
expected: "(string | undefined)",
|
|
9869
|
+
value: input.title
|
|
9870
|
+
})].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => [(null !== input.panel || _report(_exceptionable, {
|
|
9541
9871
|
path: _path + ".panel",
|
|
9542
9872
|
expected: "(Array<PanelLayout> | PanelLayoutDivider | PanelLayoutItem | string | undefined)",
|
|
9543
9873
|
value: input.panel
|
|
@@ -9569,7 +9899,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9569
9899
|
path: _path + ".editor",
|
|
9570
9900
|
expected: "(Array<PanelLayout> | PanelLayoutDivider | PanelLayoutItem | string | undefined)",
|
|
9571
9901
|
value: input.editor
|
|
9572
|
-
}))].every(flag => flag); const
|
|
9902
|
+
}))].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => ["divider" === input.type || _report(_exceptionable, {
|
|
9573
9903
|
path: _path + ".type",
|
|
9574
9904
|
expected: "\"divider\"",
|
|
9575
9905
|
value: input.type
|
|
@@ -9577,7 +9907,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9577
9907
|
path: _path + ".title",
|
|
9578
9908
|
expected: "(string | undefined)",
|
|
9579
9909
|
value: input.title
|
|
9580
|
-
})].every(flag => flag); const
|
|
9910
|
+
})].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => ["string" === typeof input.property || _report(_exceptionable, {
|
|
9581
9911
|
path: _path + ".property",
|
|
9582
9912
|
expected: "string",
|
|
9583
9913
|
value: input.property
|
|
@@ -9593,11 +9923,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
9593
9923
|
path: _path + ".widget",
|
|
9594
9924
|
expected: "(\"assetTags\" | \"assetTypes\" | \"default\" | \"geopoint\" | \"poster\" | \"tags\" | \"textarea\" | WidgetItem | undefined)",
|
|
9595
9925
|
value: input.widget
|
|
9596
|
-
})) &&
|
|
9926
|
+
})) && _vo9(input.widget, _path + ".widget", true && _exceptionable) || _report(_exceptionable, {
|
|
9597
9927
|
path: _path + ".widget",
|
|
9598
9928
|
expected: "(\"assetTags\" | \"assetTypes\" | \"default\" | \"geopoint\" | \"poster\" | \"tags\" | \"textarea\" | WidgetItem | undefined)",
|
|
9599
9929
|
value: input.widget
|
|
9600
|
-
}))].every(flag => flag); const
|
|
9930
|
+
}))].every(flag => flag); const _vo9 = (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 || _report(_exceptionable, {
|
|
9601
9931
|
path: _path + ".type",
|
|
9602
9932
|
expected: "(\"assetTags\" | \"assetTypes\" | \"default\" | \"geopoint\" | \"poster\" | \"tags\" | \"textarea\")",
|
|
9603
9933
|
value: input.type
|
|
@@ -9605,47 +9935,35 @@ function _validateDomainRecord(domain, input) {
|
|
|
9605
9935
|
path: _path + ".readOnly",
|
|
9606
9936
|
expected: "(boolean | undefined)",
|
|
9607
9937
|
value: input.readOnly
|
|
9608
|
-
})].every(flag => flag); const
|
|
9609
|
-
path: _path + ".__context",
|
|
9610
|
-
expected: "object",
|
|
9611
|
-
value: input.__context
|
|
9612
|
-
})) && _vo9(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
9613
|
-
path: _path + ".__context",
|
|
9614
|
-
expected: "object",
|
|
9615
|
-
value: input.__context
|
|
9616
|
-
}), "string" === typeof input.__returnValue || _report(_exceptionable, {
|
|
9617
|
-
path: _path + ".__returnValue",
|
|
9618
|
-
expected: "string",
|
|
9619
|
-
value: input.__returnValue
|
|
9620
|
-
})].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => true; const _vu0 = (input, _path, _exceptionable = true) => (() => {
|
|
9938
|
+
})].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
|
|
9621
9939
|
if (undefined !== input.type)
|
|
9622
|
-
return
|
|
9940
|
+
return _vo7(input, _path, true && _exceptionable);
|
|
9623
9941
|
else if (undefined !== input.property)
|
|
9624
|
-
return
|
|
9942
|
+
return _vo8(input, _path, true && _exceptionable);
|
|
9625
9943
|
else
|
|
9626
9944
|
return _report(_exceptionable, {
|
|
9627
9945
|
path: _path,
|
|
9628
9946
|
expected: "(PanelLayoutDivider | PanelLayoutItem)",
|
|
9629
9947
|
value: input
|
|
9630
9948
|
});
|
|
9631
|
-
})(); const _va0 = (input, _path, _exceptionable = true) => input.map((elem,
|
|
9632
|
-
path: _path + "[" +
|
|
9949
|
+
})(); const _va0 = (input, _path, _exceptionable = true) => input.map((elem, _index8) => (null !== elem || _report(_exceptionable, {
|
|
9950
|
+
path: _path + "[" + _index8 + "]",
|
|
9633
9951
|
expected: "(Array<PanelLayout> | PanelLayoutDivider | PanelLayoutItem | string)",
|
|
9634
9952
|
value: elem
|
|
9635
9953
|
})) && (undefined !== elem || _report(_exceptionable, {
|
|
9636
|
-
path: _path + "[" +
|
|
9954
|
+
path: _path + "[" + _index8 + "]",
|
|
9637
9955
|
expected: "(Array<PanelLayout> | PanelLayoutDivider | PanelLayoutItem | string)",
|
|
9638
9956
|
value: elem
|
|
9639
|
-
})) && ("string" === typeof elem || (Array.isArray(elem) && (_va0(elem, _path + "[" +
|
|
9640
|
-
path: _path + "[" +
|
|
9957
|
+
})) && ("string" === typeof elem || (Array.isArray(elem) && (_va0(elem, _path + "[" + _index8 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
9958
|
+
path: _path + "[" + _index8 + "]",
|
|
9641
9959
|
expected: "Array<PanelLayout>",
|
|
9642
9960
|
value: elem
|
|
9643
|
-
})) || "object" === typeof elem && null !== elem && _vu0(elem, _path + "[" +
|
|
9644
|
-
path: _path + "[" +
|
|
9961
|
+
})) || "object" === typeof elem && null !== elem && _vu0(elem, _path + "[" + _index8 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
9962
|
+
path: _path + "[" + _index8 + "]",
|
|
9645
9963
|
expected: "(Array<PanelLayout> | PanelLayoutDivider | PanelLayoutItem | string)",
|
|
9646
9964
|
value: elem
|
|
9647
9965
|
})) || _report(_exceptionable, {
|
|
9648
|
-
path: _path + "[" +
|
|
9966
|
+
path: _path + "[" + _index8 + "]",
|
|
9649
9967
|
expected: "(Array<PanelLayout> | PanelLayoutDivider | PanelLayoutItem | string)",
|
|
9650
9968
|
value: elem
|
|
9651
9969
|
}))).every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
@@ -10298,29 +10616,29 @@ function _validateDomainRecord(domain, input) {
|
|
|
10298
10616
|
}; })()(input);
|
|
10299
10617
|
}
|
|
10300
10618
|
case ":publish": {
|
|
10301
|
-
return (() => { const _io0 = input =>
|
|
10619
|
+
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 => {
|
|
10302
10620
|
const value = input[key];
|
|
10303
10621
|
if (undefined === value)
|
|
10304
10622
|
return true;
|
|
10305
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
10306
|
-
}); const
|
|
10623
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io5(value);
|
|
10624
|
+
}); 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 => {
|
|
10307
10625
|
const value = input[key];
|
|
10308
10626
|
if (undefined === value)
|
|
10309
10627
|
return true;
|
|
10310
10628
|
return null !== value && undefined !== value && ("string" === typeof value || "object" === typeof value && null !== value && _iu0(value));
|
|
10311
|
-
}); 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) &&
|
|
10629
|
+
}); 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 => {
|
|
10312
10630
|
const value = input[key];
|
|
10313
10631
|
if (undefined === value)
|
|
10314
10632
|
return true;
|
|
10315
10633
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io26(value);
|
|
10316
|
-
}); 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 &&
|
|
10634
|
+
}); 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 => {
|
|
10317
10635
|
if (["id", "path", "filename", "directory", "subtitle", "metafile"].some(prop => key === prop))
|
|
10318
10636
|
return true;
|
|
10319
10637
|
const value = input[key];
|
|
10320
10638
|
if (undefined === value)
|
|
10321
10639
|
return true;
|
|
10322
10640
|
return true;
|
|
10323
|
-
}); 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 &&
|
|
10641
|
+
}); 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 => (() => {
|
|
10324
10642
|
if (undefined !== input.path)
|
|
10325
10643
|
return _io20(input);
|
|
10326
10644
|
else if (undefined !== input.__context)
|
|
@@ -10328,40 +10646,21 @@ function _validateDomainRecord(domain, input) {
|
|
|
10328
10646
|
else
|
|
10329
10647
|
return false;
|
|
10330
10648
|
})(); const _iu1 = input => (() => {
|
|
10331
|
-
if (
|
|
10649
|
+
if (_io0(input))
|
|
10332
10650
|
return _io0(input);
|
|
10333
|
-
|
|
10334
|
-
return
|
|
10335
|
-
|
|
10651
|
+
if (_io17(input))
|
|
10652
|
+
return _io17(input);
|
|
10653
|
+
if (_io28(input))
|
|
10654
|
+
return _io28(input);
|
|
10655
|
+
if (_io18(input))
|
|
10656
|
+
return _io18(input);
|
|
10657
|
+
if (_io32(input))
|
|
10336
10658
|
return _io32(input);
|
|
10337
|
-
|
|
10338
|
-
|
|
10339
|
-
if (_io28(input))
|
|
10340
|
-
return _io28(input);
|
|
10341
|
-
if (_io18(input))
|
|
10342
|
-
return _io18(input);
|
|
10343
|
-
return false;
|
|
10344
|
-
})();
|
|
10345
|
-
})(); const _vo0 = (input, _path, _exceptionable = true) => [(undefined !== input.type || _report(_exceptionable, {
|
|
10346
|
-
path: _path + ".type",
|
|
10347
|
-
expected: "null",
|
|
10348
|
-
value: input.type
|
|
10349
|
-
})) && (null === input.type || _report(_exceptionable, {
|
|
10350
|
-
path: _path + ".type",
|
|
10351
|
-
expected: "null",
|
|
10352
|
-
value: input.type
|
|
10353
|
-
})), null === input.asset || undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
|
|
10354
|
-
path: _path + ".asset",
|
|
10355
|
-
expected: "(null | string | undefined)",
|
|
10356
|
-
value: input.asset
|
|
10357
|
-
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => ["facebook" === input.type || _report(_exceptionable, {
|
|
10659
|
+
return false;
|
|
10660
|
+
})(); const _vo0 = (input, _path, _exceptionable = true) => [null === input.type || undefined === input.type || _report(_exceptionable, {
|
|
10358
10661
|
path: _path + ".type",
|
|
10359
|
-
expected: "
|
|
10662
|
+
expected: "(null | undefined)",
|
|
10360
10663
|
value: input.type
|
|
10361
|
-
}), undefined === input.pageId || "string" === typeof input.pageId || _report(_exceptionable, {
|
|
10362
|
-
path: _path + ".pageId",
|
|
10363
|
-
expected: "(string | undefined)",
|
|
10364
|
-
value: input.pageId
|
|
10365
10664
|
}), null === input.asset || undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
|
|
10366
10665
|
path: _path + ".asset",
|
|
10367
10666
|
expected: "(null | string | undefined)",
|
|
@@ -10374,7 +10673,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10374
10673
|
path: _path + ".render",
|
|
10375
10674
|
expected: "(PublishRenderBase | undefined)",
|
|
10376
10675
|
value: input.render
|
|
10377
|
-
})) &&
|
|
10676
|
+
})) && _vo1(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
10378
10677
|
path: _path + ".render",
|
|
10379
10678
|
expected: "(PublishRenderBase | undefined)",
|
|
10380
10679
|
value: input.render
|
|
@@ -10382,7 +10681,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10382
10681
|
path: _path + ".error",
|
|
10383
10682
|
expected: "(__type.o9 | null | undefined)",
|
|
10384
10683
|
value: input.error
|
|
10385
|
-
})) &&
|
|
10684
|
+
})) && _vo15(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
10386
10685
|
path: _path + ".error",
|
|
10387
10686
|
expected: "(__type.o9 | null | undefined)",
|
|
10388
10687
|
value: input.error
|
|
@@ -10390,19 +10689,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
10390
10689
|
path: _path + ".messages",
|
|
10391
10690
|
expected: "(Array<Message> | undefined)",
|
|
10392
10691
|
value: input.messages
|
|
10393
|
-
})) && input.messages.map((elem,
|
|
10394
|
-
path: _path + ".messages[" +
|
|
10692
|
+
})) && input.messages.map((elem, _index10) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
10693
|
+
path: _path + ".messages[" + _index10 + "]",
|
|
10395
10694
|
expected: "Message",
|
|
10396
10695
|
value: elem
|
|
10397
|
-
})) &&
|
|
10398
|
-
path: _path + ".messages[" +
|
|
10696
|
+
})) && _vo16(elem, _path + ".messages[" + _index10 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
10697
|
+
path: _path + ".messages[" + _index10 + "]",
|
|
10399
10698
|
expected: "Message",
|
|
10400
10699
|
value: elem
|
|
10401
10700
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
10402
10701
|
path: _path + ".messages",
|
|
10403
10702
|
expected: "(Array<Message> | undefined)",
|
|
10404
10703
|
value: input.messages
|
|
10405
|
-
})].every(flag => flag); const
|
|
10704
|
+
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [undefined === input.preset || "string" === typeof input.preset || _report(_exceptionable, {
|
|
10406
10705
|
path: _path + ".preset",
|
|
10407
10706
|
expected: "(string | undefined)",
|
|
10408
10707
|
value: input.preset
|
|
@@ -10414,7 +10713,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10414
10713
|
path: _path + ".scene",
|
|
10415
10714
|
expected: "(RenderSceneObject | undefined)",
|
|
10416
10715
|
value: input.scene
|
|
10417
|
-
})) &&
|
|
10716
|
+
})) && _vo2(input.scene, _path + ".scene", true && _exceptionable) || _report(_exceptionable, {
|
|
10418
10717
|
path: _path + ".scene",
|
|
10419
10718
|
expected: "(RenderSceneObject | undefined)",
|
|
10420
10719
|
value: input.scene
|
|
@@ -10422,11 +10721,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
10422
10721
|
path: _path + ".profile",
|
|
10423
10722
|
expected: "(RenderProfileObject | undefined)",
|
|
10424
10723
|
value: input.profile
|
|
10425
|
-
})) &&
|
|
10724
|
+
})) && _vo10(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
10426
10725
|
path: _path + ".profile",
|
|
10427
10726
|
expected: "(RenderProfileObject | undefined)",
|
|
10428
10727
|
value: input.profile
|
|
10429
|
-
})].every(flag => flag); const
|
|
10728
|
+
})].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
10430
10729
|
path: _path + ".id",
|
|
10431
10730
|
expected: "(string | undefined)",
|
|
10432
10731
|
value: input.id
|
|
@@ -10438,7 +10737,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10438
10737
|
path: _path + ".input",
|
|
10439
10738
|
expected: "(__type | null | undefined)",
|
|
10440
10739
|
value: input.input
|
|
10441
|
-
})) &&
|
|
10740
|
+
})) && _vo3(input.input, _path + ".input", true && _exceptionable) || _report(_exceptionable, {
|
|
10442
10741
|
path: _path + ".input",
|
|
10443
10742
|
expected: "(__type | null | undefined)",
|
|
10444
10743
|
value: input.input
|
|
@@ -10454,7 +10753,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10454
10753
|
path: _path + ".subtitleTracks",
|
|
10455
10754
|
expected: "(__type.o1 | undefined)",
|
|
10456
10755
|
value: input.subtitleTracks
|
|
10457
|
-
})) &&
|
|
10756
|
+
})) && _vo4(input.subtitleTracks, _path + ".subtitleTracks", true && _exceptionable) || _report(_exceptionable, {
|
|
10458
10757
|
path: _path + ".subtitleTracks",
|
|
10459
10758
|
expected: "(__type.o1 | undefined)",
|
|
10460
10759
|
value: input.subtitleTracks
|
|
@@ -10462,7 +10761,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10462
10761
|
path: _path + ".video",
|
|
10463
10762
|
expected: "(__type.o3 | undefined)",
|
|
10464
10763
|
value: input.video
|
|
10465
|
-
})) &&
|
|
10764
|
+
})) && _vo7(input.video, _path + ".video", true && _exceptionable) || _report(_exceptionable, {
|
|
10466
10765
|
path: _path + ".video",
|
|
10467
10766
|
expected: "(__type.o3 | undefined)",
|
|
10468
10767
|
value: input.video
|
|
@@ -10478,11 +10777,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
10478
10777
|
path: _path + ".transcribe",
|
|
10479
10778
|
expected: "(__type.o5 | undefined)",
|
|
10480
10779
|
value: input.transcribe
|
|
10481
|
-
})) &&
|
|
10780
|
+
})) && _vo9(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
10482
10781
|
path: _path + ".transcribe",
|
|
10483
10782
|
expected: "(__type.o5 | undefined)",
|
|
10484
10783
|
value: input.transcribe
|
|
10485
|
-
})].every(flag => flag); const
|
|
10784
|
+
})].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
|
|
10486
10785
|
path: _path + ".type",
|
|
10487
10786
|
expected: "(string | undefined)",
|
|
10488
10787
|
value: input.type
|
|
@@ -10490,7 +10789,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10490
10789
|
path: _path + ".file",
|
|
10491
10790
|
expected: "(null | string | undefined)",
|
|
10492
10791
|
value: input.file
|
|
10493
|
-
})].every(flag => flag); const
|
|
10792
|
+
})].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
10494
10793
|
const value = input[key];
|
|
10495
10794
|
if (undefined === value)
|
|
10496
10795
|
return true;
|
|
@@ -10498,12 +10797,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
10498
10797
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
10499
10798
|
expected: "__type.o2",
|
|
10500
10799
|
value: value
|
|
10501
|
-
})) &&
|
|
10800
|
+
})) && _vo5(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
10502
10801
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
10503
10802
|
expected: "__type.o2",
|
|
10504
10803
|
value: value
|
|
10505
10804
|
});
|
|
10506
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
10805
|
+
}).every(flag => flag)].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => [null === input.style || undefined === input.style || "string" === typeof input.style || _report(_exceptionable, {
|
|
10507
10806
|
path: _path + ".style",
|
|
10508
10807
|
expected: "(null | string | undefined)",
|
|
10509
10808
|
value: input.style
|
|
@@ -10511,11 +10810,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
10511
10810
|
path: _path + ".styleOverrides",
|
|
10512
10811
|
expected: "(SubtitleStyle | undefined)",
|
|
10513
10812
|
value: input.styleOverrides
|
|
10514
|
-
})) &&
|
|
10813
|
+
})) && _vo6(input.styleOverrides, _path + ".styleOverrides", true && _exceptionable) || _report(_exceptionable, {
|
|
10515
10814
|
path: _path + ".styleOverrides",
|
|
10516
10815
|
expected: "(SubtitleStyle | undefined)",
|
|
10517
10816
|
value: input.styleOverrides
|
|
10518
|
-
})].every(flag => flag); const
|
|
10817
|
+
})].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => [undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
10519
10818
|
path: _path + ".name",
|
|
10520
10819
|
expected: "(string | undefined)",
|
|
10521
10820
|
value: input.name
|
|
@@ -10607,15 +10906,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
10607
10906
|
path: _path + ".encoding",
|
|
10608
10907
|
expected: "(string | undefined)",
|
|
10609
10908
|
value: input.encoding
|
|
10610
|
-
})].every(flag => flag); const
|
|
10909
|
+
})].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => [undefined === input.crop || ("object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) || _report(_exceptionable, {
|
|
10611
10910
|
path: _path + ".crop",
|
|
10612
10911
|
expected: "(__type.o4 | undefined)",
|
|
10613
10912
|
value: input.crop
|
|
10614
|
-
})) &&
|
|
10913
|
+
})) && _vo8(input.crop, _path + ".crop", true && _exceptionable) || _report(_exceptionable, {
|
|
10615
10914
|
path: _path + ".crop",
|
|
10616
10915
|
expected: "(__type.o4 | undefined)",
|
|
10617
10916
|
value: input.crop
|
|
10618
|
-
})].every(flag => flag); const
|
|
10917
|
+
})].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => [undefined === input.x || "number" === typeof input.x || _report(_exceptionable, {
|
|
10619
10918
|
path: _path + ".x",
|
|
10620
10919
|
expected: "(number | undefined)",
|
|
10621
10920
|
value: input.x
|
|
@@ -10631,7 +10930,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10631
10930
|
path: _path + ".height",
|
|
10632
10931
|
expected: "(number | undefined)",
|
|
10633
10932
|
value: input.height
|
|
10634
|
-
})].every(flag => flag); const
|
|
10933
|
+
})].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => [undefined === input.language || "string" === typeof input.language || _report(_exceptionable, {
|
|
10635
10934
|
path: _path + ".language",
|
|
10636
10935
|
expected: "(string | undefined)",
|
|
10637
10936
|
value: input.language
|
|
@@ -10639,15 +10938,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
10639
10938
|
path: _path + ".pan",
|
|
10640
10939
|
expected: "(Array<number> | undefined)",
|
|
10641
10940
|
value: input.pan
|
|
10642
|
-
})) && input.pan.map((elem,
|
|
10643
|
-
path: _path + ".pan[" +
|
|
10941
|
+
})) && input.pan.map((elem, _index11) => "number" === typeof elem || _report(_exceptionable, {
|
|
10942
|
+
path: _path + ".pan[" + _index11 + "]",
|
|
10644
10943
|
expected: "number",
|
|
10645
10944
|
value: elem
|
|
10646
10945
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
10647
10946
|
path: _path + ".pan",
|
|
10648
10947
|
expected: "(Array<number> | undefined)",
|
|
10649
10948
|
value: input.pan
|
|
10650
|
-
})].every(flag => flag); const
|
|
10949
|
+
})].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => ["string" === typeof input.format || _report(_exceptionable, {
|
|
10651
10950
|
path: _path + ".format",
|
|
10652
10951
|
expected: "string",
|
|
10653
10952
|
value: input.format
|
|
@@ -10655,7 +10954,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10655
10954
|
path: _path + ".transcribe",
|
|
10656
10955
|
expected: "(__type.o6 | undefined)",
|
|
10657
10956
|
value: input.transcribe
|
|
10658
|
-
})) &&
|
|
10957
|
+
})) && _vo11(input.transcribe, _path + ".transcribe", true && _exceptionable) || _report(_exceptionable, {
|
|
10659
10958
|
path: _path + ".transcribe",
|
|
10660
10959
|
expected: "(__type.o6 | undefined)",
|
|
10661
10960
|
value: input.transcribe
|
|
@@ -10663,7 +10962,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10663
10962
|
path: _path + ".translate",
|
|
10664
10963
|
expected: "(__type.o7 | undefined)",
|
|
10665
10964
|
value: input.translate
|
|
10666
|
-
})) &&
|
|
10965
|
+
})) && _vo12(input.translate, _path + ".translate", true && _exceptionable) || _report(_exceptionable, {
|
|
10667
10966
|
path: _path + ".translate",
|
|
10668
10967
|
expected: "(__type.o7 | undefined)",
|
|
10669
10968
|
value: input.translate
|
|
@@ -10671,7 +10970,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10671
10970
|
path: _path + ".audio",
|
|
10672
10971
|
expected: "(__type.o8 | undefined)",
|
|
10673
10972
|
value: input.audio
|
|
10674
|
-
})) &&
|
|
10973
|
+
})) && _vo13(input.audio, _path + ".audio", true && _exceptionable) || _report(_exceptionable, {
|
|
10675
10974
|
path: _path + ".audio",
|
|
10676
10975
|
expected: "(__type.o8 | undefined)",
|
|
10677
10976
|
value: input.audio
|
|
@@ -10679,8 +10978,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
10679
10978
|
path: _path + ".pick",
|
|
10680
10979
|
expected: "(Array<string> | undefined)",
|
|
10681
10980
|
value: input.pick
|
|
10682
|
-
})) && input.pick.map((elem,
|
|
10683
|
-
path: _path + ".pick[" +
|
|
10981
|
+
})) && input.pick.map((elem, _index12) => "string" === typeof elem || _report(_exceptionable, {
|
|
10982
|
+
path: _path + ".pick[" + _index12 + "]",
|
|
10684
10983
|
expected: "string",
|
|
10685
10984
|
value: elem
|
|
10686
10985
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -10695,19 +10994,19 @@ function _validateDomainRecord(domain, input) {
|
|
|
10695
10994
|
path: _path + ".subtitle",
|
|
10696
10995
|
expected: "(SubtitleProfile | string | undefined)",
|
|
10697
10996
|
value: input.subtitle
|
|
10698
|
-
})) &&
|
|
10997
|
+
})) && _vo14(input.subtitle, _path + ".subtitle", true && _exceptionable) || _report(_exceptionable, {
|
|
10699
10998
|
path: _path + ".subtitle",
|
|
10700
10999
|
expected: "(SubtitleProfile | string | undefined)",
|
|
10701
11000
|
value: input.subtitle
|
|
10702
|
-
}))].every(flag => flag); const
|
|
11001
|
+
}))].every(flag => flag); const _vo11 = (input, _path, _exceptionable = true) => ["string" === typeof input.engine || _report(_exceptionable, {
|
|
10703
11002
|
path: _path + ".engine",
|
|
10704
11003
|
expected: "string",
|
|
10705
11004
|
value: input.engine
|
|
10706
|
-
})].every(flag => flag); const
|
|
11005
|
+
})].every(flag => flag); const _vo12 = (input, _path, _exceptionable = true) => ["string" === typeof input.language || _report(_exceptionable, {
|
|
10707
11006
|
path: _path + ".language",
|
|
10708
11007
|
expected: "string",
|
|
10709
11008
|
value: input.language
|
|
10710
|
-
})].every(flag => flag); const
|
|
11009
|
+
})].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => [undefined === input.codec || "string" === typeof input.codec || _report(_exceptionable, {
|
|
10711
11010
|
path: _path + ".codec",
|
|
10712
11011
|
expected: "(string | undefined)",
|
|
10713
11012
|
value: input.codec
|
|
@@ -10723,7 +11022,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10723
11022
|
path: _path + ".split",
|
|
10724
11023
|
expected: "(boolean | undefined)",
|
|
10725
11024
|
value: input.split
|
|
10726
|
-
})].every(flag => flag); const
|
|
11025
|
+
})].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => [undefined === input.lang || "string" === typeof input.lang || _report(_exceptionable, {
|
|
10727
11026
|
path: _path + ".lang",
|
|
10728
11027
|
expected: "(string | undefined)",
|
|
10729
11028
|
value: input.lang
|
|
@@ -10731,11 +11030,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
10731
11030
|
path: _path + ".style",
|
|
10732
11031
|
expected: "(string | undefined)",
|
|
10733
11032
|
value: input.style
|
|
10734
|
-
})].every(flag => flag); const
|
|
11033
|
+
})].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => ["string" === typeof input.method || _report(_exceptionable, {
|
|
10735
11034
|
path: _path + ".method",
|
|
10736
11035
|
expected: "string",
|
|
10737
11036
|
value: input.method
|
|
10738
|
-
})].every(flag => flag); const
|
|
11037
|
+
})].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => ["number" === typeof input.level || _report(_exceptionable, {
|
|
10739
11038
|
path: _path + ".level",
|
|
10740
11039
|
expected: "number",
|
|
10741
11040
|
value: input.level
|
|
@@ -10747,9 +11046,57 @@ function _validateDomainRecord(domain, input) {
|
|
|
10747
11046
|
path: _path + ".msg",
|
|
10748
11047
|
expected: "string",
|
|
10749
11048
|
value: input.msg
|
|
10750
|
-
})].every(flag => flag); const
|
|
11049
|
+
})].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => [undefined === input.type || "facebook" === input.type || _report(_exceptionable, {
|
|
11050
|
+
path: _path + ".type",
|
|
11051
|
+
expected: "(\"facebook\" | undefined)",
|
|
11052
|
+
value: input.type
|
|
11053
|
+
}), undefined === input.pageId || "string" === typeof input.pageId || _report(_exceptionable, {
|
|
11054
|
+
path: _path + ".pageId",
|
|
11055
|
+
expected: "(string | undefined)",
|
|
11056
|
+
value: input.pageId
|
|
11057
|
+
}), null === input.asset || undefined === input.asset || "string" === typeof input.asset || _report(_exceptionable, {
|
|
11058
|
+
path: _path + ".asset",
|
|
11059
|
+
expected: "(null | string | undefined)",
|
|
11060
|
+
value: input.asset
|
|
11061
|
+
}), undefined === input.connection || "string" === typeof input.connection || _report(_exceptionable, {
|
|
11062
|
+
path: _path + ".connection",
|
|
11063
|
+
expected: "(string | undefined)",
|
|
11064
|
+
value: input.connection
|
|
11065
|
+
}), undefined === input.render || ("object" === typeof input.render && null !== input.render || _report(_exceptionable, {
|
|
11066
|
+
path: _path + ".render",
|
|
11067
|
+
expected: "(PublishRenderBase | undefined)",
|
|
11068
|
+
value: input.render
|
|
11069
|
+
})) && _vo1(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
11070
|
+
path: _path + ".render",
|
|
11071
|
+
expected: "(PublishRenderBase | undefined)",
|
|
11072
|
+
value: input.render
|
|
11073
|
+
}), true, true, true, null === input.error || undefined === input.error || ("object" === typeof input.error && null !== input.error || _report(_exceptionable, {
|
|
11074
|
+
path: _path + ".error",
|
|
11075
|
+
expected: "(__type.o9 | null | undefined)",
|
|
11076
|
+
value: input.error
|
|
11077
|
+
})) && _vo15(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
11078
|
+
path: _path + ".error",
|
|
11079
|
+
expected: "(__type.o9 | null | undefined)",
|
|
11080
|
+
value: input.error
|
|
11081
|
+
}), undefined === input.messages || (Array.isArray(input.messages) || _report(_exceptionable, {
|
|
11082
|
+
path: _path + ".messages",
|
|
11083
|
+
expected: "(Array<Message> | undefined)",
|
|
11084
|
+
value: input.messages
|
|
11085
|
+
})) && input.messages.map((elem, _index13) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
11086
|
+
path: _path + ".messages[" + _index13 + "]",
|
|
11087
|
+
expected: "Message",
|
|
11088
|
+
value: elem
|
|
11089
|
+
})) && _vo16(elem, _path + ".messages[" + _index13 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
11090
|
+
path: _path + ".messages[" + _index13 + "]",
|
|
11091
|
+
expected: "Message",
|
|
11092
|
+
value: elem
|
|
11093
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
11094
|
+
path: _path + ".messages",
|
|
11095
|
+
expected: "(Array<Message> | undefined)",
|
|
11096
|
+
value: input.messages
|
|
11097
|
+
})].every(flag => flag); const _vo18 = (input, _path, _exceptionable = true) => [undefined === input.type || "file" === input.type || _report(_exceptionable, {
|
|
10751
11098
|
path: _path + ".type",
|
|
10752
|
-
expected: "\"file\"",
|
|
11099
|
+
expected: "(\"file\" | undefined)",
|
|
10753
11100
|
value: input.type
|
|
10754
11101
|
}), undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
10755
11102
|
path: _path + ".directory",
|
|
@@ -10803,7 +11150,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10803
11150
|
path: _path + ".render",
|
|
10804
11151
|
expected: "(PublishRenderBase | undefined)",
|
|
10805
11152
|
value: input.render
|
|
10806
|
-
})) &&
|
|
11153
|
+
})) && _vo1(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
10807
11154
|
path: _path + ".render",
|
|
10808
11155
|
expected: "(PublishRenderBase | undefined)",
|
|
10809
11156
|
value: input.render
|
|
@@ -10811,7 +11158,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10811
11158
|
path: _path + ".error",
|
|
10812
11159
|
expected: "(__type.o9 | null | undefined)",
|
|
10813
11160
|
value: input.error
|
|
10814
|
-
})) &&
|
|
11161
|
+
})) && _vo15(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
10815
11162
|
path: _path + ".error",
|
|
10816
11163
|
expected: "(__type.o9 | null | undefined)",
|
|
10817
11164
|
value: input.error
|
|
@@ -10819,12 +11166,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
10819
11166
|
path: _path + ".messages",
|
|
10820
11167
|
expected: "(Array<Message> | undefined)",
|
|
10821
11168
|
value: input.messages
|
|
10822
|
-
})) && input.messages.map((elem,
|
|
10823
|
-
path: _path + ".messages[" +
|
|
11169
|
+
})) && input.messages.map((elem, _index14) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
11170
|
+
path: _path + ".messages[" + _index14 + "]",
|
|
10824
11171
|
expected: "Message",
|
|
10825
11172
|
value: elem
|
|
10826
|
-
})) &&
|
|
10827
|
-
path: _path + ".messages[" +
|
|
11173
|
+
})) && _vo16(elem, _path + ".messages[" + _index14 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
11174
|
+
path: _path + ".messages[" + _index14 + "]",
|
|
10828
11175
|
expected: "Message",
|
|
10829
11176
|
value: elem
|
|
10830
11177
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -10880,7 +11227,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10880
11227
|
path: _path + ".scene",
|
|
10881
11228
|
expected: "(RenderSceneObject | undefined)",
|
|
10882
11229
|
value: input.scene
|
|
10883
|
-
})) &&
|
|
11230
|
+
})) && _vo2(input.scene, _path + ".scene", true && _exceptionable) || _report(_exceptionable, {
|
|
10884
11231
|
path: _path + ".scene",
|
|
10885
11232
|
expected: "(RenderSceneObject | undefined)",
|
|
10886
11233
|
value: input.scene
|
|
@@ -10888,7 +11235,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10888
11235
|
path: _path + ".profile",
|
|
10889
11236
|
expected: "(RenderProfileObject | undefined)",
|
|
10890
11237
|
value: input.profile
|
|
10891
|
-
})) &&
|
|
11238
|
+
})) && _vo10(input.profile, _path + ".profile", true && _exceptionable) || _report(_exceptionable, {
|
|
10892
11239
|
path: _path + ".profile",
|
|
10893
11240
|
expected: "(RenderProfileObject | undefined)",
|
|
10894
11241
|
value: input.profile
|
|
@@ -10908,7 +11255,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
10908
11255
|
path: _path + ".__returnValue",
|
|
10909
11256
|
expected: "ResolvedFilePublishRender",
|
|
10910
11257
|
value: input.__returnValue
|
|
10911
|
-
})].every(flag => flag); const _vo22 = (input, _path, _exceptionable = true) => [("object" === typeof input.publish && null !== input.publish || _report(_exceptionable, {
|
|
11258
|
+
})].every(flag => flag); const _vo22 = (input, _path, _exceptionable = true) => [("object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) || _report(_exceptionable, {
|
|
10912
11259
|
path: _path + ".publish",
|
|
10913
11260
|
expected: "FilePublishRecord",
|
|
10914
11261
|
value: input.publish
|
|
@@ -10969,12 +11316,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
10969
11316
|
path: _path + ".messages",
|
|
10970
11317
|
expected: "(Array<Message> | undefined)",
|
|
10971
11318
|
value: input.messages
|
|
10972
|
-
})) && input.messages.map((elem,
|
|
10973
|
-
path: _path + ".messages[" +
|
|
11319
|
+
})) && input.messages.map((elem, _index15) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
11320
|
+
path: _path + ".messages[" + _index15 + "]",
|
|
10974
11321
|
expected: "Message",
|
|
10975
11322
|
value: elem
|
|
10976
|
-
})) &&
|
|
10977
|
-
path: _path + ".messages[" +
|
|
11323
|
+
})) && _vo16(elem, _path + ".messages[" + _index15 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
11324
|
+
path: _path + ".messages[" + _index15 + "]",
|
|
10978
11325
|
expected: "Message",
|
|
10979
11326
|
value: elem
|
|
10980
11327
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -11001,9 +11348,9 @@ function _validateDomainRecord(domain, input) {
|
|
|
11001
11348
|
path: _path + ".filename",
|
|
11002
11349
|
expected: "string",
|
|
11003
11350
|
value: input.filename
|
|
11004
|
-
})].every(flag => flag); const _vo28 = (input, _path, _exceptionable = true) => ["file" === input.type || _report(_exceptionable, {
|
|
11351
|
+
})].every(flag => flag); const _vo28 = (input, _path, _exceptionable = true) => [undefined === input.type || "file" === input.type || _report(_exceptionable, {
|
|
11005
11352
|
path: _path + ".type",
|
|
11006
|
-
expected: "\"file\"",
|
|
11353
|
+
expected: "(\"file\" | undefined)",
|
|
11007
11354
|
value: input.type
|
|
11008
11355
|
}), undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
11009
11356
|
path: _path + ".directory",
|
|
@@ -11057,7 +11404,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
11057
11404
|
path: _path + ".render",
|
|
11058
11405
|
expected: "(PublishRenderBase | undefined)",
|
|
11059
11406
|
value: input.render
|
|
11060
|
-
})) &&
|
|
11407
|
+
})) && _vo1(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
11061
11408
|
path: _path + ".render",
|
|
11062
11409
|
expected: "(PublishRenderBase | undefined)",
|
|
11063
11410
|
value: input.render
|
|
@@ -11065,7 +11412,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
11065
11412
|
path: _path + ".error",
|
|
11066
11413
|
expected: "(__type.o9 | null | undefined)",
|
|
11067
11414
|
value: input.error
|
|
11068
|
-
})) &&
|
|
11415
|
+
})) && _vo15(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
11069
11416
|
path: _path + ".error",
|
|
11070
11417
|
expected: "(__type.o9 | null | undefined)",
|
|
11071
11418
|
value: input.error
|
|
@@ -11073,12 +11420,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
11073
11420
|
path: _path + ".messages",
|
|
11074
11421
|
expected: "(Array<Message> | undefined)",
|
|
11075
11422
|
value: input.messages
|
|
11076
|
-
})) && input.messages.map((elem,
|
|
11077
|
-
path: _path + ".messages[" +
|
|
11423
|
+
})) && input.messages.map((elem, _index16) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
11424
|
+
path: _path + ".messages[" + _index16 + "]",
|
|
11078
11425
|
expected: "Message",
|
|
11079
11426
|
value: elem
|
|
11080
|
-
})) &&
|
|
11081
|
-
path: _path + ".messages[" +
|
|
11427
|
+
})) && _vo16(elem, _path + ".messages[" + _index16 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
11428
|
+
path: _path + ".messages[" + _index16 + "]",
|
|
11082
11429
|
expected: "Message",
|
|
11083
11430
|
value: elem
|
|
11084
11431
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -11132,9 +11479,9 @@ function _validateDomainRecord(domain, input) {
|
|
|
11132
11479
|
path: _path + ".path",
|
|
11133
11480
|
expected: "string",
|
|
11134
11481
|
value: input.path
|
|
11135
|
-
})].every(flag => flag); const _vo32 = (input, _path, _exceptionable = true) => ["youtube" === input.type || _report(_exceptionable, {
|
|
11482
|
+
})].every(flag => flag); const _vo32 = (input, _path, _exceptionable = true) => [undefined === input.type || "youtube" === input.type || _report(_exceptionable, {
|
|
11136
11483
|
path: _path + ".type",
|
|
11137
|
-
expected: "\"youtube\"",
|
|
11484
|
+
expected: "(\"youtube\" | undefined)",
|
|
11138
11485
|
value: input.type
|
|
11139
11486
|
}), undefined === input.draft || ("object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) || _report(_exceptionable, {
|
|
11140
11487
|
path: _path + ".draft",
|
|
@@ -11156,7 +11503,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
11156
11503
|
path: _path + ".render",
|
|
11157
11504
|
expected: "(PublishRenderBase | undefined)",
|
|
11158
11505
|
value: input.render
|
|
11159
|
-
})) &&
|
|
11506
|
+
})) && _vo1(input.render, _path + ".render", true && _exceptionable) || _report(_exceptionable, {
|
|
11160
11507
|
path: _path + ".render",
|
|
11161
11508
|
expected: "(PublishRenderBase | undefined)",
|
|
11162
11509
|
value: input.render
|
|
@@ -11164,7 +11511,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
11164
11511
|
path: _path + ".error",
|
|
11165
11512
|
expected: "(__type.o9 | null | undefined)",
|
|
11166
11513
|
value: input.error
|
|
11167
|
-
})) &&
|
|
11514
|
+
})) && _vo15(input.error, _path + ".error", true && _exceptionable) || _report(_exceptionable, {
|
|
11168
11515
|
path: _path + ".error",
|
|
11169
11516
|
expected: "(__type.o9 | null | undefined)",
|
|
11170
11517
|
value: input.error
|
|
@@ -11172,12 +11519,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
11172
11519
|
path: _path + ".messages",
|
|
11173
11520
|
expected: "(Array<Message> | undefined)",
|
|
11174
11521
|
value: input.messages
|
|
11175
|
-
})) && input.messages.map((elem,
|
|
11176
|
-
path: _path + ".messages[" +
|
|
11522
|
+
})) && input.messages.map((elem, _index17) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
11523
|
+
path: _path + ".messages[" + _index17 + "]",
|
|
11177
11524
|
expected: "Message",
|
|
11178
11525
|
value: elem
|
|
11179
|
-
})) &&
|
|
11180
|
-
path: _path + ".messages[" +
|
|
11526
|
+
})) && _vo16(elem, _path + ".messages[" + _index17 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
11527
|
+
path: _path + ".messages[" + _index17 + "]",
|
|
11181
11528
|
expected: "Message",
|
|
11182
11529
|
value: elem
|
|
11183
11530
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -11200,8 +11547,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
11200
11547
|
path: _path + ".tags",
|
|
11201
11548
|
expected: "(Array<string> | undefined)",
|
|
11202
11549
|
value: input.tags
|
|
11203
|
-
})) && input.tags.map((elem,
|
|
11204
|
-
path: _path + ".tags[" +
|
|
11550
|
+
})) && input.tags.map((elem, _index18) => "string" === typeof elem || _report(_exceptionable, {
|
|
11551
|
+
path: _path + ".tags[" + _index18 + "]",
|
|
11205
11552
|
expected: "string",
|
|
11206
11553
|
value: elem
|
|
11207
11554
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -11223,20 +11570,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
11223
11570
|
expected: "(ResolvedFilePublishRender | __type.o10)",
|
|
11224
11571
|
value: input
|
|
11225
11572
|
});
|
|
11226
|
-
})(); const _vu1 = (input, _path, _exceptionable = true) => (() => {
|
|
11227
|
-
if (undefined !== input.type && null === input.type)
|
|
11228
|
-
return _vo0(input, _path, true && _exceptionable);
|
|
11229
|
-
else if ("facebook" === input.type)
|
|
11230
|
-
return _vo1(input, _path, true && _exceptionable);
|
|
11231
|
-
else if ("youtube" === input.type)
|
|
11232
|
-
return _vo32(input, _path, true && _exceptionable);
|
|
11233
|
-
else
|
|
11234
|
-
return _vo28(input, _path, false && _exceptionable) || _vo18(input, _path, false && _exceptionable);
|
|
11235
|
-
})(); const __is = input => "object" === typeof input && null !== input && _iu1(input); let errors; let _report; return input => {
|
|
11573
|
+
})(); const _vu1 = (input, _path, _exceptionable = true) => _vo0(input, _path, false && _exceptionable) || _vo17(input, _path, false && _exceptionable) || _vo28(input, _path, false && _exceptionable) || _vo18(input, _path, false && _exceptionable) || _vo32(input, _path, false && _exceptionable); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _iu1(input); let errors; let _report; return input => {
|
|
11236
11574
|
if (false === __is(input)) {
|
|
11237
11575
|
errors = [];
|
|
11238
11576
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
11239
|
-
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
|
|
11577
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
11240
11578
|
path: _path + "",
|
|
11241
11579
|
expected: "(EmptyPublishRecord | FacebookPublishRecord | FilePublishRecord | FilePublishRecordLegacy | YoutubePublishRecord)",
|
|
11242
11580
|
value: input
|
|
@@ -11277,7 +11615,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
11277
11615
|
if (undefined === value)
|
|
11278
11616
|
return true;
|
|
11279
11617
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io13(value);
|
|
11280
|
-
}); 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 => {
|
|
11618
|
+
}); 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 => {
|
|
11281
11619
|
const value = input[key];
|
|
11282
11620
|
if (undefined === value)
|
|
11283
11621
|
return true;
|
|
@@ -11836,7 +12174,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
11836
12174
|
path: _path + ".__returnValue",
|
|
11837
12175
|
expected: "ResolvedFilePublishRender",
|
|
11838
12176
|
value: input.__returnValue
|
|
11839
|
-
})].every(flag => flag); const _vo24 = (input, _path, _exceptionable = true) => [("object" === typeof input.publish && null !== input.publish || _report(_exceptionable, {
|
|
12177
|
+
})].every(flag => flag); const _vo24 = (input, _path, _exceptionable = true) => [("object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) || _report(_exceptionable, {
|
|
11840
12178
|
path: _path + ".publish",
|
|
11841
12179
|
expected: "FilePublishRecord",
|
|
11842
12180
|
value: input.publish
|
|
@@ -11852,9 +12190,9 @@ function _validateDomainRecord(domain, input) {
|
|
|
11852
12190
|
path: _path + ".name",
|
|
11853
12191
|
expected: "string",
|
|
11854
12192
|
value: input.name
|
|
11855
|
-
})].every(flag => flag); const _vo25 = (input, _path, _exceptionable = true) => ["file" === input.type || _report(_exceptionable, {
|
|
12193
|
+
})].every(flag => flag); const _vo25 = (input, _path, _exceptionable = true) => [undefined === input.type || "file" === input.type || _report(_exceptionable, {
|
|
11856
12194
|
path: _path + ".type",
|
|
11857
|
-
expected: "\"file\"",
|
|
12195
|
+
expected: "(\"file\" | undefined)",
|
|
11858
12196
|
value: input.type
|
|
11859
12197
|
}), undefined === input.directory || "string" === typeof input.directory || _report(_exceptionable, {
|
|
11860
12198
|
path: _path + ".directory",
|
|
@@ -12164,34 +12502,54 @@ function _validateDomainRecord(domain, input) {
|
|
|
12164
12502
|
}; })()(input);
|
|
12165
12503
|
}
|
|
12166
12504
|
case ":published": {
|
|
12167
|
-
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 _vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.type || _report(_exceptionable, {
|
|
12505
|
+
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 _vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.type || _report(_exceptionable, {
|
|
12168
12506
|
path: _path + ".type",
|
|
12169
12507
|
expected: "string",
|
|
12170
12508
|
value: input.type
|
|
12171
|
-
}), "string" === typeof input.parent || _report(_exceptionable, {
|
|
12509
|
+
}), undefined === input.parent || "string" === typeof input.parent || _report(_exceptionable, {
|
|
12172
12510
|
path: _path + ".parent",
|
|
12173
|
-
expected: "string",
|
|
12511
|
+
expected: "(string | undefined)",
|
|
12174
12512
|
value: input.parent
|
|
12175
|
-
}), (
|
|
12513
|
+
}), (null !== input.asset || _report(_exceptionable, {
|
|
12176
12514
|
path: _path + ".asset",
|
|
12177
|
-
expected: "Array<string>",
|
|
12515
|
+
expected: "(Array<string> | string | undefined)",
|
|
12178
12516
|
value: input.asset
|
|
12179
|
-
})) && input.asset
|
|
12180
|
-
path: _path + ".asset
|
|
12517
|
+
})) && (undefined === input.asset || "string" === typeof input.asset || (Array.isArray(input.asset) || _report(_exceptionable, {
|
|
12518
|
+
path: _path + ".asset",
|
|
12519
|
+
expected: "(Array<string> | string | undefined)",
|
|
12520
|
+
value: input.asset
|
|
12521
|
+
})) && input.asset.map((elem, _index3) => "string" === typeof elem || _report(_exceptionable, {
|
|
12522
|
+
path: _path + ".asset[" + _index3 + "]",
|
|
12181
12523
|
expected: "string",
|
|
12182
12524
|
value: elem
|
|
12183
12525
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
12184
12526
|
path: _path + ".asset",
|
|
12185
|
-
expected: "Array<string>",
|
|
12527
|
+
expected: "(Array<string> | string | undefined)",
|
|
12186
12528
|
value: input.asset
|
|
12529
|
+
})), undefined === input.assets || (Array.isArray(input.assets) || _report(_exceptionable, {
|
|
12530
|
+
path: _path + ".assets",
|
|
12531
|
+
expected: "(Array<string> | undefined)",
|
|
12532
|
+
value: input.assets
|
|
12533
|
+
})) && input.assets.map((elem, _index4) => "string" === typeof elem || _report(_exceptionable, {
|
|
12534
|
+
path: _path + ".assets[" + _index4 + "]",
|
|
12535
|
+
expected: "string",
|
|
12536
|
+
value: elem
|
|
12537
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
12538
|
+
path: _path + ".assets",
|
|
12539
|
+
expected: "(Array<string> | undefined)",
|
|
12540
|
+
value: input.assets
|
|
12187
12541
|
}), "number" === typeof input.time || _report(_exceptionable, {
|
|
12188
12542
|
path: _path + ".time",
|
|
12189
12543
|
expected: "number",
|
|
12190
12544
|
value: input.time
|
|
12191
|
-
}), "string" === typeof input.connection || _report(_exceptionable, {
|
|
12545
|
+
}), undefined === input.connection || "string" === typeof input.connection || _report(_exceptionable, {
|
|
12192
12546
|
path: _path + ".connection",
|
|
12193
|
-
expected: "string",
|
|
12547
|
+
expected: "(string | undefined)",
|
|
12194
12548
|
value: input.connection
|
|
12549
|
+
}), undefined === input.gallery || "string" === typeof input.gallery || _report(_exceptionable, {
|
|
12550
|
+
path: _path + ".gallery",
|
|
12551
|
+
expected: "(string | undefined)",
|
|
12552
|
+
value: input.gallery
|
|
12195
12553
|
}), undefined === input.user || "string" === typeof input.user || _report(_exceptionable, {
|
|
12196
12554
|
path: _path + ".user",
|
|
12197
12555
|
expected: "(string | undefined)",
|
|
@@ -14124,25 +14482,25 @@ function _validateDomainRecord(domain, input) {
|
|
|
14124
14482
|
}; })()(input);
|
|
14125
14483
|
}
|
|
14126
14484
|
case ":search": {
|
|
14127
|
-
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 => {
|
|
14485
|
+
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 => {
|
|
14128
14486
|
const value = input[key];
|
|
14129
14487
|
if (undefined === value)
|
|
14130
14488
|
return true;
|
|
14131
14489
|
return "asc" === value || "desc" === value;
|
|
14132
|
-
}); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.type || "conditions_and" === input.type || _report(_exceptionable, {
|
|
14490
|
+
}); 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 _vo0 = (input, _path, _exceptionable = true) => [undefined === input.type || "conditions_and" === input.type || "conditions_or" === input.type || _report(_exceptionable, {
|
|
14133
14491
|
path: _path + ".type",
|
|
14134
|
-
expected: "(\"conditions_and\" | undefined)",
|
|
14492
|
+
expected: "(\"conditions_and\" | \"conditions_or\" | undefined)",
|
|
14135
14493
|
value: input.type
|
|
14136
14494
|
}), undefined === input.sort || (Array.isArray(input.sort) || _report(_exceptionable, {
|
|
14137
14495
|
path: _path + ".sort",
|
|
14138
14496
|
expected: "(Array<__type> | undefined)",
|
|
14139
14497
|
value: input.sort
|
|
14140
|
-
})) && input.sort.map((elem,
|
|
14141
|
-
path: _path + ".sort[" +
|
|
14498
|
+
})) && input.sort.map((elem, _index4) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
14499
|
+
path: _path + ".sort[" + _index4 + "]",
|
|
14142
14500
|
expected: "__type",
|
|
14143
14501
|
value: elem
|
|
14144
|
-
})) && _vo1(elem, _path + ".sort[" +
|
|
14145
|
-
path: _path + ".sort[" +
|
|
14502
|
+
})) && _vo1(elem, _path + ".sort[" + _index4 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
14503
|
+
path: _path + ".sort[" + _index4 + "]",
|
|
14146
14504
|
expected: "__type",
|
|
14147
14505
|
value: elem
|
|
14148
14506
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -14161,20 +14519,32 @@ function _validateDomainRecord(domain, input) {
|
|
|
14161
14519
|
path: _path + ".showHidden",
|
|
14162
14520
|
expected: "(boolean | undefined)",
|
|
14163
14521
|
value: input.showHidden
|
|
14164
|
-
}), 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 || _report(_exceptionable, {
|
|
14522
|
+
}), 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 || _report(_exceptionable, {
|
|
14165
14523
|
path: _path + ".view",
|
|
14166
|
-
expected: "(\"AGENDA_VIEW\" | \"CALENDAR_VIEW\" | \"GRID_VIEW\" | \"LIST_VIEW\" | \"MAP_VIEW\" | \"RESOURCE_VIEW\" | undefined)",
|
|
14524
|
+
expected: "(\"AGENDA_VIEW\" | \"CALENDAR_VIEW\" | \"GRID_VIEW\" | \"LIST_VIEW\" | \"MAP_VIEW\" | \"RESOURCE_VIEW\" | null | undefined)",
|
|
14167
14525
|
value: input.view
|
|
14168
|
-
}), undefined === input.conditions || Array.isArray(input.conditions) || _report(_exceptionable, {
|
|
14526
|
+
}), undefined === input.conditions || (Array.isArray(input.conditions) || _report(_exceptionable, {
|
|
14527
|
+
path: _path + ".conditions",
|
|
14528
|
+
expected: "(Array<SearchCondition> | undefined)",
|
|
14529
|
+
value: input.conditions
|
|
14530
|
+
})) && input.conditions.map((elem, _index5) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
14531
|
+
path: _path + ".conditions[" + _index5 + "]",
|
|
14532
|
+
expected: "SearchCondition",
|
|
14533
|
+
value: elem
|
|
14534
|
+
})) && _vo2(elem, _path + ".conditions[" + _index5 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
14535
|
+
path: _path + ".conditions[" + _index5 + "]",
|
|
14536
|
+
expected: "SearchCondition",
|
|
14537
|
+
value: elem
|
|
14538
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
14169
14539
|
path: _path + ".conditions",
|
|
14170
|
-
expected: "(Array<
|
|
14540
|
+
expected: "(Array<SearchCondition> | undefined)",
|
|
14171
14541
|
value: input.conditions
|
|
14172
14542
|
}), null === input.visibleColumnKeys || undefined === input.visibleColumnKeys || (Array.isArray(input.visibleColumnKeys) || _report(_exceptionable, {
|
|
14173
14543
|
path: _path + ".visibleColumnKeys",
|
|
14174
14544
|
expected: "(Array<string> | null | undefined)",
|
|
14175
14545
|
value: input.visibleColumnKeys
|
|
14176
|
-
})) && input.visibleColumnKeys.map((elem,
|
|
14177
|
-
path: _path + ".visibleColumnKeys[" +
|
|
14546
|
+
})) && input.visibleColumnKeys.map((elem, _index6) => "string" === typeof elem || _report(_exceptionable, {
|
|
14547
|
+
path: _path + ".visibleColumnKeys[" + _index6 + "]",
|
|
14178
14548
|
expected: "string",
|
|
14179
14549
|
value: elem
|
|
14180
14550
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -14185,6 +14555,22 @@ function _validateDomainRecord(domain, input) {
|
|
|
14185
14555
|
path: _path + ".connectionId",
|
|
14186
14556
|
expected: "(null | string | undefined)",
|
|
14187
14557
|
value: input.connectionId
|
|
14558
|
+
}), undefined === input.calendar || ("object" === typeof input.calendar && null !== input.calendar && false === Array.isArray(input.calendar) || _report(_exceptionable, {
|
|
14559
|
+
path: _path + ".calendar",
|
|
14560
|
+
expected: "(__type.o1 | undefined)",
|
|
14561
|
+
value: input.calendar
|
|
14562
|
+
})) && _vo3(input.calendar, _path + ".calendar", true && _exceptionable) || _report(_exceptionable, {
|
|
14563
|
+
path: _path + ".calendar",
|
|
14564
|
+
expected: "(__type.o1 | undefined)",
|
|
14565
|
+
value: input.calendar
|
|
14566
|
+
}), undefined === input.refreshInterval || "number" === typeof input.refreshInterval || _report(_exceptionable, {
|
|
14567
|
+
path: _path + ".refreshInterval",
|
|
14568
|
+
expected: "(number | undefined)",
|
|
14569
|
+
value: input.refreshInterval
|
|
14570
|
+
}), undefined === input.color || "string" === typeof input.color || _report(_exceptionable, {
|
|
14571
|
+
path: _path + ".color",
|
|
14572
|
+
expected: "(string | undefined)",
|
|
14573
|
+
value: input.color
|
|
14188
14574
|
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
14189
14575
|
const value = input[key];
|
|
14190
14576
|
if (undefined === value)
|
|
@@ -14194,7 +14580,31 @@ function _validateDomainRecord(domain, input) {
|
|
|
14194
14580
|
expected: "(\"asc\" | \"desc\")",
|
|
14195
14581
|
value: value
|
|
14196
14582
|
});
|
|
14197
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
14583
|
+
}).every(flag => flag)].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.field || "string" === typeof input.field || _report(_exceptionable, {
|
|
14584
|
+
path: _path + ".field",
|
|
14585
|
+
expected: "(string | undefined)",
|
|
14586
|
+
value: input.field
|
|
14587
|
+
}), undefined === input.type || "string" === typeof input.type || _report(_exceptionable, {
|
|
14588
|
+
path: _path + ".type",
|
|
14589
|
+
expected: "(string | undefined)",
|
|
14590
|
+
value: input.type
|
|
14591
|
+
}), undefined === input.op || "string" === typeof input.op || _report(_exceptionable, {
|
|
14592
|
+
path: _path + ".op",
|
|
14593
|
+
expected: "(string | undefined)",
|
|
14594
|
+
value: input.op
|
|
14595
|
+
}), true].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [null === input.view || undefined === input.view || "day" === input.view || "week" === input.view || "month" === input.view || "work_week" === input.view || _report(_exceptionable, {
|
|
14596
|
+
path: _path + ".view",
|
|
14597
|
+
expected: "(\"day\" | \"month\" | \"week\" | \"work_week\" | null | undefined)",
|
|
14598
|
+
value: input.view
|
|
14599
|
+
}), null === input.dateAccessor || undefined === input.dateAccessor || "string" === typeof input.dateAccessor || _report(_exceptionable, {
|
|
14600
|
+
path: _path + ".dateAccessor",
|
|
14601
|
+
expected: "(null | string | undefined)",
|
|
14602
|
+
value: input.dateAccessor
|
|
14603
|
+
}), undefined === input.agenda || "boolean" === typeof input.agenda || _report(_exceptionable, {
|
|
14604
|
+
path: _path + ".agenda",
|
|
14605
|
+
expected: "(boolean | undefined)",
|
|
14606
|
+
value: input.agenda
|
|
14607
|
+
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
14198
14608
|
if (false === __is(input)) {
|
|
14199
14609
|
errors = [];
|
|
14200
14610
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
@@ -14224,9 +14634,9 @@ function _validateDomainRecord(domain, input) {
|
|
|
14224
14634
|
}; })()(input);
|
|
14225
14635
|
}
|
|
14226
14636
|
case ":search?": {
|
|
14227
|
-
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 _vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.hits) || _report(_exceptionable, {
|
|
14637
|
+
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 _vo0 = (input, _path, _exceptionable = true) => [undefined === input.hits || (Array.isArray(input.hits) || _report(_exceptionable, {
|
|
14228
14638
|
path: _path + ".hits",
|
|
14229
|
-
expected: "Array<string>",
|
|
14639
|
+
expected: "(Array<string> | undefined)",
|
|
14230
14640
|
value: input.hits
|
|
14231
14641
|
})) && input.hits.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
|
|
14232
14642
|
path: _path + ".hits[" + _index2 + "]",
|
|
@@ -14234,7 +14644,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14234
14644
|
value: elem
|
|
14235
14645
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
14236
14646
|
path: _path + ".hits",
|
|
14237
|
-
expected: "Array<string>",
|
|
14647
|
+
expected: "(Array<string> | undefined)",
|
|
14238
14648
|
value: input.hits
|
|
14239
14649
|
}), undefined === input.total || "number" === typeof input.total || _report(_exceptionable, {
|
|
14240
14650
|
path: _path + ".total",
|
|
@@ -14248,11 +14658,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
14248
14658
|
path: _path + ".error",
|
|
14249
14659
|
expected: "(string | undefined)",
|
|
14250
14660
|
value: input.error
|
|
14251
|
-
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
|
|
14661
|
+
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
14252
14662
|
if (false === __is(input)) {
|
|
14253
14663
|
errors = [];
|
|
14254
14664
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
14255
|
-
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
|
|
14665
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
14256
14666
|
path: _path + "",
|
|
14257
14667
|
expected: "SearchRecordProvided",
|
|
14258
14668
|
value: input
|
|
@@ -14277,8 +14687,92 @@ function _validateDomainRecord(domain, input) {
|
|
|
14277
14687
|
};
|
|
14278
14688
|
}; })()(input);
|
|
14279
14689
|
}
|
|
14690
|
+
case ":search.conditions": {
|
|
14691
|
+
return (() => { const _io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.value || (Array.isArray(input.value) || _report(_exceptionable, {
|
|
14692
|
+
path: _path + ".value",
|
|
14693
|
+
expected: "(Array<string> | undefined)",
|
|
14694
|
+
value: input.value
|
|
14695
|
+
})) && input.value.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
|
|
14696
|
+
path: _path + ".value[" + _index2 + "]",
|
|
14697
|
+
expected: "string",
|
|
14698
|
+
value: elem
|
|
14699
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
14700
|
+
path: _path + ".value",
|
|
14701
|
+
expected: "(Array<string> | undefined)",
|
|
14702
|
+
value: input.value
|
|
14703
|
+
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
14704
|
+
if (false === __is(input)) {
|
|
14705
|
+
errors = [];
|
|
14706
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
14707
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
14708
|
+
path: _path + "",
|
|
14709
|
+
expected: "SearchDomainConditionsRecord",
|
|
14710
|
+
value: input
|
|
14711
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
14712
|
+
path: _path + "",
|
|
14713
|
+
expected: "SearchDomainConditionsRecord",
|
|
14714
|
+
value: input
|
|
14715
|
+
}))(input, "$input", true);
|
|
14716
|
+
const success = 0 === errors.length;
|
|
14717
|
+
return success ? {
|
|
14718
|
+
success,
|
|
14719
|
+
data: input
|
|
14720
|
+
} : {
|
|
14721
|
+
success,
|
|
14722
|
+
errors,
|
|
14723
|
+
data: input
|
|
14724
|
+
};
|
|
14725
|
+
}
|
|
14726
|
+
return {
|
|
14727
|
+
success: true,
|
|
14728
|
+
data: input
|
|
14729
|
+
};
|
|
14730
|
+
}; })()(input);
|
|
14731
|
+
}
|
|
14732
|
+
case ":search.visibleColumnKeys": {
|
|
14733
|
+
return (() => { const _io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.value || (Array.isArray(input.value) || _report(_exceptionable, {
|
|
14734
|
+
path: _path + ".value",
|
|
14735
|
+
expected: "(Array<string> | undefined)",
|
|
14736
|
+
value: input.value
|
|
14737
|
+
})) && input.value.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
|
|
14738
|
+
path: _path + ".value[" + _index2 + "]",
|
|
14739
|
+
expected: "string",
|
|
14740
|
+
value: elem
|
|
14741
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
14742
|
+
path: _path + ".value",
|
|
14743
|
+
expected: "(Array<string> | undefined)",
|
|
14744
|
+
value: input.value
|
|
14745
|
+
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
14746
|
+
if (false === __is(input)) {
|
|
14747
|
+
errors = [];
|
|
14748
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
14749
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
14750
|
+
path: _path + "",
|
|
14751
|
+
expected: "SearchDomainVisibleColumnKeysRecord",
|
|
14752
|
+
value: input
|
|
14753
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
14754
|
+
path: _path + "",
|
|
14755
|
+
expected: "SearchDomainVisibleColumnKeysRecord",
|
|
14756
|
+
value: input
|
|
14757
|
+
}))(input, "$input", true);
|
|
14758
|
+
const success = 0 === errors.length;
|
|
14759
|
+
return success ? {
|
|
14760
|
+
success,
|
|
14761
|
+
data: input
|
|
14762
|
+
} : {
|
|
14763
|
+
success,
|
|
14764
|
+
errors,
|
|
14765
|
+
data: input
|
|
14766
|
+
};
|
|
14767
|
+
}
|
|
14768
|
+
return {
|
|
14769
|
+
success: true,
|
|
14770
|
+
data: input
|
|
14771
|
+
};
|
|
14772
|
+
}; })()(input);
|
|
14773
|
+
}
|
|
14280
14774
|
case ":settings": {
|
|
14281
|
-
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
|
|
14775
|
+
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 _vv52 = 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 _vv56 = 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 => {
|
|
14282
14776
|
if (["settingsPanelStore"].some(prop => key === prop))
|
|
14283
14777
|
return true;
|
|
14284
14778
|
const value = input[key];
|
|
@@ -14350,12 +14844,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
14350
14844
|
if (undefined === value)
|
|
14351
14845
|
return true;
|
|
14352
14846
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io31(value);
|
|
14353
|
-
}); 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 => {
|
|
14847
|
+
}); 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 => {
|
|
14354
14848
|
const value = input[key];
|
|
14355
14849
|
if (undefined === value)
|
|
14356
14850
|
return true;
|
|
14357
14851
|
return Array.isArray(value) && value.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem);
|
|
14358
|
-
}); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime || _report(_exceptionable, {
|
|
14852
|
+
}); 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 _vo0 = (input, _path, _exceptionable = true) => [undefined === input.autoLogoutTime || "number" === typeof input.autoLogoutTime || _report(_exceptionable, {
|
|
14359
14853
|
path: _path + ".autoLogoutTime",
|
|
14360
14854
|
expected: "(number | undefined)",
|
|
14361
14855
|
value: input.autoLogoutTime
|
|
@@ -14411,16 +14905,16 @@ function _validateDomainRecord(domain, input) {
|
|
|
14411
14905
|
path: _path + ".exclusiveTagGroups",
|
|
14412
14906
|
expected: "(Array<Array<string>> | undefined)",
|
|
14413
14907
|
value: input.exclusiveTagGroups
|
|
14414
|
-
})) && input.exclusiveTagGroups.map((elem,
|
|
14415
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
14908
|
+
})) && input.exclusiveTagGroups.map((elem, _index32) => (Array.isArray(elem) || _report(_exceptionable, {
|
|
14909
|
+
path: _path + ".exclusiveTagGroups[" + _index32 + "]",
|
|
14416
14910
|
expected: "Array<string>",
|
|
14417
14911
|
value: elem
|
|
14418
|
-
})) && elem.map((elem,
|
|
14419
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
14912
|
+
})) && elem.map((elem, _index33) => "string" === typeof elem || _report(_exceptionable, {
|
|
14913
|
+
path: _path + ".exclusiveTagGroups[" + _index32 + "][" + _index33 + "]",
|
|
14420
14914
|
expected: "string",
|
|
14421
14915
|
value: elem
|
|
14422
14916
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
14423
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
14917
|
+
path: _path + ".exclusiveTagGroups[" + _index32 + "]",
|
|
14424
14918
|
expected: "Array<string>",
|
|
14425
14919
|
value: elem
|
|
14426
14920
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -14539,12 +15033,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
14539
15033
|
path: _path + ".commands",
|
|
14540
15034
|
expected: "(Array<__type>.o4 | undefined)",
|
|
14541
15035
|
value: input.commands
|
|
14542
|
-
})) && input.commands.map((elem,
|
|
14543
|
-
path: _path + ".commands[" +
|
|
15036
|
+
})) && input.commands.map((elem, _index34) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
15037
|
+
path: _path + ".commands[" + _index34 + "]",
|
|
14544
15038
|
expected: "__type.o50",
|
|
14545
15039
|
value: elem
|
|
14546
|
-
})) && _vo57(elem, _path + ".commands[" +
|
|
14547
|
-
path: _path + ".commands[" +
|
|
15040
|
+
})) && _vo57(elem, _path + ".commands[" + _index34 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
15041
|
+
path: _path + ".commands[" + _index34 + "]",
|
|
14548
15042
|
expected: "__type.o50",
|
|
14549
15043
|
value: elem
|
|
14550
15044
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -14555,8 +15049,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
14555
15049
|
path: _path + ".predefinedTags",
|
|
14556
15050
|
expected: "(Array<string> | undefined)",
|
|
14557
15051
|
value: input.predefinedTags
|
|
14558
|
-
})) && input.predefinedTags.map((elem,
|
|
14559
|
-
path: _path + ".predefinedTags[" +
|
|
15052
|
+
})) && input.predefinedTags.map((elem, _index35) => "string" === typeof elem || _report(_exceptionable, {
|
|
15053
|
+
path: _path + ".predefinedTags[" + _index35 + "]",
|
|
14560
15054
|
expected: "string",
|
|
14561
15055
|
value: elem
|
|
14562
15056
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -14583,12 +15077,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
14583
15077
|
path: _path + ".hiddenPreviews",
|
|
14584
15078
|
expected: "(Array<__type>.o5 | undefined)",
|
|
14585
15079
|
value: input.hiddenPreviews
|
|
14586
|
-
})) && input.hiddenPreviews.map((elem,
|
|
14587
|
-
path: _path + ".hiddenPreviews[" +
|
|
15080
|
+
})) && input.hiddenPreviews.map((elem, _index36) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
15081
|
+
path: _path + ".hiddenPreviews[" + _index36 + "]",
|
|
14588
15082
|
expected: "__type.o61",
|
|
14589
15083
|
value: elem
|
|
14590
|
-
})) && _vo68(elem, _path + ".hiddenPreviews[" +
|
|
14591
|
-
path: _path + ".hiddenPreviews[" +
|
|
15084
|
+
})) && _vo68(elem, _path + ".hiddenPreviews[" + _index36 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
15085
|
+
path: _path + ".hiddenPreviews[" + _index36 + "]",
|
|
14592
15086
|
expected: "__type.o61",
|
|
14593
15087
|
value: elem
|
|
14594
15088
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -14639,6 +15133,14 @@ function _validateDomainRecord(domain, input) {
|
|
|
14639
15133
|
path: _path + ".suppressDeleteAlert",
|
|
14640
15134
|
expected: "(boolean | undefined)",
|
|
14641
15135
|
value: input.suppressDeleteAlert
|
|
15136
|
+
}), undefined === input.utilsAssetEditorPanel || ("object" === typeof input.utilsAssetEditorPanel && null !== input.utilsAssetEditorPanel && false === Array.isArray(input.utilsAssetEditorPanel) || _report(_exceptionable, {
|
|
15137
|
+
path: _path + ".utilsAssetEditorPanel",
|
|
15138
|
+
expected: "(__type.o70 | undefined)",
|
|
15139
|
+
value: input.utilsAssetEditorPanel
|
|
15140
|
+
})) && _vo77(input.utilsAssetEditorPanel, _path + ".utilsAssetEditorPanel", true && _exceptionable) || _report(_exceptionable, {
|
|
15141
|
+
path: _path + ".utilsAssetEditorPanel",
|
|
15142
|
+
expected: "(__type.o70 | undefined)",
|
|
15143
|
+
value: input.utilsAssetEditorPanel
|
|
14642
15144
|
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact || _report(_exceptionable, {
|
|
14643
15145
|
path: _path + ".overrideUserContact",
|
|
14644
15146
|
expected: "(boolean | undefined)",
|
|
@@ -14754,8 +15256,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
14754
15256
|
path: _path + ".sortOrder",
|
|
14755
15257
|
expected: "(Array<string> | undefined)",
|
|
14756
15258
|
value: input.sortOrder
|
|
14757
|
-
})) && input.sortOrder.map((elem,
|
|
14758
|
-
path: _path + ".sortOrder[" +
|
|
15259
|
+
})) && input.sortOrder.map((elem, _index37) => "string" === typeof elem || _report(_exceptionable, {
|
|
15260
|
+
path: _path + ".sortOrder[" + _index37 + "]",
|
|
14759
15261
|
expected: "string",
|
|
14760
15262
|
value: elem
|
|
14761
15263
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -14766,8 +15268,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
14766
15268
|
path: _path + ".exclude",
|
|
14767
15269
|
expected: "(Array<string> | undefined)",
|
|
14768
15270
|
value: input.exclude
|
|
14769
|
-
})) && input.exclude.map((elem,
|
|
14770
|
-
path: _path + ".exclude[" +
|
|
15271
|
+
})) && input.exclude.map((elem, _index38) => "string" === typeof elem || _report(_exceptionable, {
|
|
15272
|
+
path: _path + ".exclude[" + _index38 + "]",
|
|
14771
15273
|
expected: "string",
|
|
14772
15274
|
value: elem
|
|
14773
15275
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -14778,8 +15280,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
14778
15280
|
path: _path + ".include",
|
|
14779
15281
|
expected: "(Array<string> | undefined)",
|
|
14780
15282
|
value: input.include
|
|
14781
|
-
})) && input.include.map((elem,
|
|
14782
|
-
path: _path + ".include[" +
|
|
15283
|
+
})) && input.include.map((elem, _index39) => "string" === typeof elem || _report(_exceptionable, {
|
|
15284
|
+
path: _path + ".include[" + _index39 + "]",
|
|
14783
15285
|
expected: "string",
|
|
14784
15286
|
value: elem
|
|
14785
15287
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -14790,8 +15292,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
14790
15292
|
path: _path + ".exclude",
|
|
14791
15293
|
expected: "(Array<string> | undefined)",
|
|
14792
15294
|
value: input.exclude
|
|
14793
|
-
})) && input.exclude.map((elem,
|
|
14794
|
-
path: _path + ".exclude[" +
|
|
15295
|
+
})) && input.exclude.map((elem, _index40) => "string" === typeof elem || _report(_exceptionable, {
|
|
15296
|
+
path: _path + ".exclude[" + _index40 + "]",
|
|
14795
15297
|
expected: "string",
|
|
14796
15298
|
value: elem
|
|
14797
15299
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -14802,8 +15304,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
14802
15304
|
path: _path + ".include",
|
|
14803
15305
|
expected: "(Array<string> | undefined)",
|
|
14804
15306
|
value: input.include
|
|
14805
|
-
})) && input.include.map((elem,
|
|
14806
|
-
path: _path + ".include[" +
|
|
15307
|
+
})) && input.include.map((elem, _index41) => "string" === typeof elem || _report(_exceptionable, {
|
|
15308
|
+
path: _path + ".include[" + _index41 + "]",
|
|
14807
15309
|
expected: "string",
|
|
14808
15310
|
value: elem
|
|
14809
15311
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -14814,8 +15316,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
14814
15316
|
path: _path + ".exclude",
|
|
14815
15317
|
expected: "(Array<string> | undefined)",
|
|
14816
15318
|
value: input.exclude
|
|
14817
|
-
})) && input.exclude.map((elem,
|
|
14818
|
-
path: _path + ".exclude[" +
|
|
15319
|
+
})) && input.exclude.map((elem, _index42) => "string" === typeof elem || _report(_exceptionable, {
|
|
15320
|
+
path: _path + ".exclude[" + _index42 + "]",
|
|
14819
15321
|
expected: "string",
|
|
14820
15322
|
value: elem
|
|
14821
15323
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -14826,8 +15328,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
14826
15328
|
path: _path + ".include",
|
|
14827
15329
|
expected: "(Array<string> | undefined)",
|
|
14828
15330
|
value: input.include
|
|
14829
|
-
})) && input.include.map((elem,
|
|
14830
|
-
path: _path + ".include[" +
|
|
15331
|
+
})) && input.include.map((elem, _index43) => "string" === typeof elem || _report(_exceptionable, {
|
|
15332
|
+
path: _path + ".include[" + _index43 + "]",
|
|
14831
15333
|
expected: "string",
|
|
14832
15334
|
value: elem
|
|
14833
15335
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -14838,8 +15340,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
14838
15340
|
path: _path + ".exclude",
|
|
14839
15341
|
expected: "(Array<string> | undefined)",
|
|
14840
15342
|
value: input.exclude
|
|
14841
|
-
})) && input.exclude.map((elem,
|
|
14842
|
-
path: _path + ".exclude[" +
|
|
15343
|
+
})) && input.exclude.map((elem, _index44) => "string" === typeof elem || _report(_exceptionable, {
|
|
15344
|
+
path: _path + ".exclude[" + _index44 + "]",
|
|
14843
15345
|
expected: "string",
|
|
14844
15346
|
value: elem
|
|
14845
15347
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -14902,12 +15404,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
14902
15404
|
path: _path + ".colorTags",
|
|
14903
15405
|
expected: "(Array<PromotedTag> | undefined)",
|
|
14904
15406
|
value: input.colorTags
|
|
14905
|
-
})) && input.colorTags.map((elem,
|
|
14906
|
-
path: _path + ".colorTags[" +
|
|
15407
|
+
})) && input.colorTags.map((elem, _index45) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
15408
|
+
path: _path + ".colorTags[" + _index45 + "]",
|
|
14907
15409
|
expected: "PromotedTag",
|
|
14908
15410
|
value: elem
|
|
14909
|
-
})) && _vo21(elem, _path + ".colorTags[" +
|
|
14910
|
-
path: _path + ".colorTags[" +
|
|
15411
|
+
})) && _vo21(elem, _path + ".colorTags[" + _index45 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
15412
|
+
path: _path + ".colorTags[" + _index45 + "]",
|
|
14911
15413
|
expected: "PromotedTag",
|
|
14912
15414
|
value: elem
|
|
14913
15415
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -14983,8 +15485,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
14983
15485
|
path: _path + ".favorites",
|
|
14984
15486
|
expected: "(Array<string> | undefined)",
|
|
14985
15487
|
value: input.favorites
|
|
14986
|
-
})) && input.favorites.map((elem,
|
|
14987
|
-
path: _path + ".favorites[" +
|
|
15488
|
+
})) && input.favorites.map((elem, _index46) => "string" === typeof elem || _report(_exceptionable, {
|
|
15489
|
+
path: _path + ".favorites[" + _index46 + "]",
|
|
14988
15490
|
expected: "string",
|
|
14989
15491
|
value: elem
|
|
14990
15492
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -15331,8 +15833,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
15331
15833
|
path: _path + ".playbackRates",
|
|
15332
15834
|
expected: "(Array<number> | undefined)",
|
|
15333
15835
|
value: input.playbackRates
|
|
15334
|
-
})) && input.playbackRates.map((elem,
|
|
15335
|
-
path: _path + ".playbackRates[" +
|
|
15836
|
+
})) && input.playbackRates.map((elem, _index47) => "number" === typeof elem || _report(_exceptionable, {
|
|
15837
|
+
path: _path + ".playbackRates[" + _index47 + "]",
|
|
15336
15838
|
expected: "number",
|
|
15337
15839
|
value: elem
|
|
15338
15840
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -15359,12 +15861,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
15359
15861
|
path: _path + ".guides",
|
|
15360
15862
|
expected: "(Array<__type>.o2 | undefined)",
|
|
15361
15863
|
value: input.guides
|
|
15362
|
-
})) && input.guides.map((elem,
|
|
15363
|
-
path: _path + ".guides[" +
|
|
15864
|
+
})) && input.guides.map((elem, _index48) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
15865
|
+
path: _path + ".guides[" + _index48 + "]",
|
|
15364
15866
|
expected: "__type.o41",
|
|
15365
15867
|
value: elem
|
|
15366
|
-
})) && _vo48(elem, _path + ".guides[" +
|
|
15367
|
-
path: _path + ".guides[" +
|
|
15868
|
+
})) && _vo48(elem, _path + ".guides[" + _index48 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
15869
|
+
path: _path + ".guides[" + _index48 + "]",
|
|
15368
15870
|
expected: "__type.o41",
|
|
15369
15871
|
value: elem
|
|
15370
15872
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -15435,12 +15937,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
15435
15937
|
path: _path + ".suggestions",
|
|
15436
15938
|
expected: "(Array<__type> | undefined)",
|
|
15437
15939
|
value: input.suggestions
|
|
15438
|
-
})) && input.suggestions.map((elem,
|
|
15439
|
-
path: _path + ".suggestions[" +
|
|
15940
|
+
})) && input.suggestions.map((elem, _index49) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
15941
|
+
path: _path + ".suggestions[" + _index49 + "]",
|
|
15440
15942
|
expected: "__type.o39",
|
|
15441
15943
|
value: elem
|
|
15442
|
-
})) && _vo46(elem, _path + ".suggestions[" +
|
|
15443
|
-
path: _path + ".suggestions[" +
|
|
15944
|
+
})) && _vo46(elem, _path + ".suggestions[" + _index49 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
15945
|
+
path: _path + ".suggestions[" + _index49 + "]",
|
|
15444
15946
|
expected: "__type.o39",
|
|
15445
15947
|
value: elem
|
|
15446
15948
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -15451,12 +15953,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
15451
15953
|
path: _path + ".colors",
|
|
15452
15954
|
expected: "(Array<__type>.o1 | undefined)",
|
|
15453
15955
|
value: input.colors
|
|
15454
|
-
})) && input.colors.map((elem,
|
|
15455
|
-
path: _path + ".colors[" +
|
|
15956
|
+
})) && input.colors.map((elem, _index50) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
15957
|
+
path: _path + ".colors[" + _index50 + "]",
|
|
15456
15958
|
expected: "__type.o40",
|
|
15457
15959
|
value: elem
|
|
15458
|
-
})) && _vo47(elem, _path + ".colors[" +
|
|
15459
|
-
path: _path + ".colors[" +
|
|
15960
|
+
})) && _vo47(elem, _path + ".colors[" + _index50 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
15961
|
+
path: _path + ".colors[" + _index50 + "]",
|
|
15460
15962
|
expected: "__type.o40",
|
|
15461
15963
|
value: elem
|
|
15462
15964
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -15467,8 +15969,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
15467
15969
|
path: _path + ".overridableProperties",
|
|
15468
15970
|
expected: "(Array<keyof SubtitleStyle | null> | undefined)",
|
|
15469
15971
|
value: input.overridableProperties
|
|
15470
|
-
})) && input.overridableProperties.map((elem,
|
|
15471
|
-
path: _path + ".overridableProperties[" +
|
|
15972
|
+
})) && input.overridableProperties.map((elem, _index51) => null === elem || true === _vv52.has(elem) || _report(_exceptionable, {
|
|
15973
|
+
path: _path + ".overridableProperties[" + _index51 + "]",
|
|
15472
15974
|
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)",
|
|
15473
15975
|
value: elem
|
|
15474
15976
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -15547,12 +16049,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
15547
16049
|
path: _path + ".text",
|
|
15548
16050
|
expected: "(Array<__type>.o3 | undefined)",
|
|
15549
16051
|
value: input.text
|
|
15550
|
-
})) && input.text.map((elem,
|
|
15551
|
-
path: _path + ".text[" +
|
|
16052
|
+
})) && input.text.map((elem, _index53) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
16053
|
+
path: _path + ".text[" + _index53 + "]",
|
|
15552
16054
|
expected: "__type.o46",
|
|
15553
16055
|
value: elem
|
|
15554
|
-
})) && _vo53(elem, _path + ".text[" +
|
|
15555
|
-
path: _path + ".text[" +
|
|
16056
|
+
})) && _vo53(elem, _path + ".text[" + _index53 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
16057
|
+
path: _path + ".text[" + _index53 + "]",
|
|
15556
16058
|
expected: "__type.o46",
|
|
15557
16059
|
value: elem
|
|
15558
16060
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -15591,8 +16093,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
15591
16093
|
path: _path + ".args",
|
|
15592
16094
|
expected: "(Array<string> | undefined)",
|
|
15593
16095
|
value: input.args
|
|
15594
|
-
})) && input.args.map((elem,
|
|
15595
|
-
path: _path + ".args[" +
|
|
16096
|
+
})) && input.args.map((elem, _index54) => "string" === typeof elem || _report(_exceptionable, {
|
|
16097
|
+
path: _path + ".args[" + _index54 + "]",
|
|
15596
16098
|
expected: "string",
|
|
15597
16099
|
value: elem
|
|
15598
16100
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -15643,8 +16145,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
15643
16145
|
path: _path + ".args",
|
|
15644
16146
|
expected: "(Array<string> | undefined)",
|
|
15645
16147
|
value: input.args
|
|
15646
|
-
})) && input.args.map((elem,
|
|
15647
|
-
path: _path + ".args[" +
|
|
16148
|
+
})) && input.args.map((elem, _index55) => "string" === typeof elem || _report(_exceptionable, {
|
|
16149
|
+
path: _path + ".args[" + _index55 + "]",
|
|
15648
16150
|
expected: "string",
|
|
15649
16151
|
value: elem
|
|
15650
16152
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -15735,7 +16237,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
15735
16237
|
path: _path + ".search",
|
|
15736
16238
|
expected: "(__type.o58 | undefined)",
|
|
15737
16239
|
value: input.search
|
|
15738
|
-
}), undefined === input.sortMode || true ===
|
|
16240
|
+
}), undefined === input.sortMode || true === _vv56.has(input.sortMode) || _report(_exceptionable, {
|
|
15739
16241
|
path: _path + ".sortMode",
|
|
15740
16242
|
expected: "(\"az\" | \"default\" | \"earliestdeadline\" | \"latestdeadline\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\" | undefined)",
|
|
15741
16243
|
value: input.sortMode
|
|
@@ -15747,12 +16249,16 @@ function _validateDomainRecord(domain, input) {
|
|
|
15747
16249
|
path: _path + ".maxHeight",
|
|
15748
16250
|
expected: "(number | undefined)",
|
|
15749
16251
|
value: input.maxHeight
|
|
16252
|
+
}), undefined === input.titleLines || "number" === typeof input.titleLines || _report(_exceptionable, {
|
|
16253
|
+
path: _path + ".titleLines",
|
|
16254
|
+
expected: "(number | undefined)",
|
|
16255
|
+
value: input.titleLines
|
|
15750
16256
|
})].every(flag => flag); const _vo67 = (input, _path, _exceptionable = true) => [undefined === input.fontFamilies || (Array.isArray(input.fontFamilies) || _report(_exceptionable, {
|
|
15751
16257
|
path: _path + ".fontFamilies",
|
|
15752
16258
|
expected: "(Array<string> | undefined)",
|
|
15753
16259
|
value: input.fontFamilies
|
|
15754
|
-
})) && input.fontFamilies.map((elem,
|
|
15755
|
-
path: _path + ".fontFamilies[" +
|
|
16260
|
+
})) && input.fontFamilies.map((elem, _index57) => "string" === typeof elem || _report(_exceptionable, {
|
|
16261
|
+
path: _path + ".fontFamilies[" + _index57 + "]",
|
|
15756
16262
|
expected: "string",
|
|
15757
16263
|
value: elem
|
|
15758
16264
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -15807,6 +16313,14 @@ function _validateDomainRecord(domain, input) {
|
|
|
15807
16313
|
path: _path + ".utils",
|
|
15808
16314
|
expected: "(boolean | undefined)",
|
|
15809
16315
|
value: input.utils
|
|
16316
|
+
}), undefined === input.utilsAssetEditor || "boolean" === typeof input.utilsAssetEditor || _report(_exceptionable, {
|
|
16317
|
+
path: _path + ".utilsAssetEditor",
|
|
16318
|
+
expected: "(boolean | undefined)",
|
|
16319
|
+
value: input.utilsAssetEditor
|
|
16320
|
+
}), undefined === input.utilsAssetPanel || "boolean" === typeof input.utilsAssetPanel || _report(_exceptionable, {
|
|
16321
|
+
path: _path + ".utilsAssetPanel",
|
|
16322
|
+
expected: "(boolean | undefined)",
|
|
16323
|
+
value: input.utilsAssetPanel
|
|
15810
16324
|
}), undefined === input.history || "boolean" === typeof input.history || _report(_exceptionable, {
|
|
15811
16325
|
path: _path + ".history",
|
|
15812
16326
|
expected: "(boolean | undefined)",
|
|
@@ -15883,8 +16397,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
15883
16397
|
path: _path + ".comment",
|
|
15884
16398
|
expected: "(Array<NotificationReason> | undefined)",
|
|
15885
16399
|
value: input.comment
|
|
15886
|
-
})) && input.comment.map((elem,
|
|
15887
|
-
path: _path + ".comment[" +
|
|
16400
|
+
})) && input.comment.map((elem, _index58) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
16401
|
+
path: _path + ".comment[" + _index58 + "]",
|
|
15888
16402
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
15889
16403
|
value: elem
|
|
15890
16404
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -15895,8 +16409,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
15895
16409
|
path: _path + ".assigned",
|
|
15896
16410
|
expected: "(Array<NotificationReason> | undefined)",
|
|
15897
16411
|
value: input.assigned
|
|
15898
|
-
})) && input.assigned.map((elem,
|
|
15899
|
-
path: _path + ".assigned[" +
|
|
16412
|
+
})) && input.assigned.map((elem, _index59) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
16413
|
+
path: _path + ".assigned[" + _index59 + "]",
|
|
15900
16414
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
15901
16415
|
value: elem
|
|
15902
16416
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -15907,8 +16421,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
15907
16421
|
path: _path + ".unassigned",
|
|
15908
16422
|
expected: "(Array<NotificationReason> | undefined)",
|
|
15909
16423
|
value: input.unassigned
|
|
15910
|
-
})) && input.unassigned.map((elem,
|
|
15911
|
-
path: _path + ".unassigned[" +
|
|
16424
|
+
})) && input.unassigned.map((elem, _index60) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
16425
|
+
path: _path + ".unassigned[" + _index60 + "]",
|
|
15912
16426
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
15913
16427
|
value: elem
|
|
15914
16428
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -15931,8 +16445,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
15931
16445
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
15932
16446
|
expected: "Array<NotificationReason>",
|
|
15933
16447
|
value: value
|
|
15934
|
-
})) && value.map((elem,
|
|
15935
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" +
|
|
16448
|
+
})) && value.map((elem, _index61) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
16449
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" + _index61 + "]",
|
|
15936
16450
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
15937
16451
|
value: elem
|
|
15938
16452
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -15940,7 +16454,39 @@ function _validateDomainRecord(domain, input) {
|
|
|
15940
16454
|
expected: "Array<NotificationReason>",
|
|
15941
16455
|
value: value
|
|
15942
16456
|
});
|
|
15943
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
16457
|
+
}).every(flag => flag)].every(flag => flag); const _vo77 = (input, _path, _exceptionable = true) => [undefined === input.stateFilter || (Array.isArray(input.stateFilter) || _report(_exceptionable, {
|
|
16458
|
+
path: _path + ".stateFilter",
|
|
16459
|
+
expected: "(Array<number> | undefined)",
|
|
16460
|
+
value: input.stateFilter
|
|
16461
|
+
})) && input.stateFilter.map((elem, _index62) => "number" === typeof elem || _report(_exceptionable, {
|
|
16462
|
+
path: _path + ".stateFilter[" + _index62 + "]",
|
|
16463
|
+
expected: "number",
|
|
16464
|
+
value: elem
|
|
16465
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
16466
|
+
path: _path + ".stateFilter",
|
|
16467
|
+
expected: "(Array<number> | undefined)",
|
|
16468
|
+
value: input.stateFilter
|
|
16469
|
+
}), undefined === input.textFilter || "string" === typeof input.textFilter || _report(_exceptionable, {
|
|
16470
|
+
path: _path + ".textFilter",
|
|
16471
|
+
expected: "(string | undefined)",
|
|
16472
|
+
value: input.textFilter
|
|
16473
|
+
}), undefined === input.showEmpty || "boolean" === typeof input.showEmpty || _report(_exceptionable, {
|
|
16474
|
+
path: _path + ".showEmpty",
|
|
16475
|
+
expected: "(boolean | undefined)",
|
|
16476
|
+
value: input.showEmpty
|
|
16477
|
+
}), undefined === input.selectedRecord || "string" === typeof input.selectedRecord || _report(_exceptionable, {
|
|
16478
|
+
path: _path + ".selectedRecord",
|
|
16479
|
+
expected: "(string | undefined)",
|
|
16480
|
+
value: input.selectedRecord
|
|
16481
|
+
}), undefined === input.subscribeSearchHits || "boolean" === typeof input.subscribeSearchHits || _report(_exceptionable, {
|
|
16482
|
+
path: _path + ".subscribeSearchHits",
|
|
16483
|
+
expected: "(boolean | undefined)",
|
|
16484
|
+
value: input.subscribeSearchHits
|
|
16485
|
+
}), undefined === input.parseRegex || "boolean" === typeof input.parseRegex || _report(_exceptionable, {
|
|
16486
|
+
path: _path + ".parseRegex",
|
|
16487
|
+
expected: "(boolean | undefined)",
|
|
16488
|
+
value: input.parseRegex
|
|
16489
|
+
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
15944
16490
|
if (false === __is(input)) {
|
|
15945
16491
|
errors = [];
|
|
15946
16492
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
@@ -15969,6 +16515,186 @@ function _validateDomainRecord(domain, input) {
|
|
|
15969
16515
|
};
|
|
15970
16516
|
}; })()(input);
|
|
15971
16517
|
}
|
|
16518
|
+
case ":shotbox": {
|
|
16519
|
+
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 => (() => {
|
|
16520
|
+
if ("stream" === input.type)
|
|
16521
|
+
return _io4(input);
|
|
16522
|
+
else
|
|
16523
|
+
return _io2(input);
|
|
16524
|
+
})(); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.pages || (Array.isArray(input.pages) || _report(_exceptionable, {
|
|
16525
|
+
path: _path + ".pages",
|
|
16526
|
+
expected: "(Array<ShotboxPage> | undefined)",
|
|
16527
|
+
value: input.pages
|
|
16528
|
+
})) && input.pages.map((elem, _index6) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
16529
|
+
path: _path + ".pages[" + _index6 + "]",
|
|
16530
|
+
expected: "ShotboxPage",
|
|
16531
|
+
value: elem
|
|
16532
|
+
})) && _vo1(elem, _path + ".pages[" + _index6 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
16533
|
+
path: _path + ".pages[" + _index6 + "]",
|
|
16534
|
+
expected: "ShotboxPage",
|
|
16535
|
+
value: elem
|
|
16536
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
16537
|
+
path: _path + ".pages",
|
|
16538
|
+
expected: "(Array<ShotboxPage> | undefined)",
|
|
16539
|
+
value: input.pages
|
|
16540
|
+
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [undefined === input.stickyTopRow || "boolean" === typeof input.stickyTopRow || _report(_exceptionable, {
|
|
16541
|
+
path: _path + ".stickyTopRow",
|
|
16542
|
+
expected: "(boolean | undefined)",
|
|
16543
|
+
value: input.stickyTopRow
|
|
16544
|
+
}), undefined === input.inferGroups || "boolean" === typeof input.inferGroups || _report(_exceptionable, {
|
|
16545
|
+
path: _path + ".inferGroups",
|
|
16546
|
+
expected: "(boolean | undefined)",
|
|
16547
|
+
value: input.inferGroups
|
|
16548
|
+
}), undefined === input.layout || (Array.isArray(input.layout) || _report(_exceptionable, {
|
|
16549
|
+
path: _path + ".layout",
|
|
16550
|
+
expected: "(Array<ShotboxGroup | ShotboxGroup[]> | undefined)",
|
|
16551
|
+
value: input.layout
|
|
16552
|
+
})) && input.layout.map((elem, _index7) => (null !== elem || _report(_exceptionable, {
|
|
16553
|
+
path: _path + ".layout[" + _index7 + "]",
|
|
16554
|
+
expected: "(Array<ShotboxGroup> | ShotboxEventGroup | ShotboxStreamGroup)",
|
|
16555
|
+
value: elem
|
|
16556
|
+
})) && (undefined !== elem || _report(_exceptionable, {
|
|
16557
|
+
path: _path + ".layout[" + _index7 + "]",
|
|
16558
|
+
expected: "(Array<ShotboxGroup> | ShotboxEventGroup | ShotboxStreamGroup)",
|
|
16559
|
+
value: elem
|
|
16560
|
+
})) && (Array.isArray(elem) && elem.map((elem, _index8) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
16561
|
+
path: _path + ".layout[" + _index7 + "][" + _index8 + "]",
|
|
16562
|
+
expected: "(ShotboxEventGroup | ShotboxStreamGroup)",
|
|
16563
|
+
value: elem
|
|
16564
|
+
})) && _vu0(elem, _path + ".layout[" + _index7 + "][" + _index8 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
16565
|
+
path: _path + ".layout[" + _index7 + "][" + _index8 + "]",
|
|
16566
|
+
expected: "(ShotboxEventGroup | ShotboxStreamGroup)",
|
|
16567
|
+
value: elem
|
|
16568
|
+
})).every(flag => flag) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _vu0(elem, _path + ".layout[" + _index7 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
16569
|
+
path: _path + ".layout[" + _index7 + "]",
|
|
16570
|
+
expected: "(Array<ShotboxGroup> | ShotboxEventGroup | ShotboxStreamGroup)",
|
|
16571
|
+
value: elem
|
|
16572
|
+
}) || _report(_exceptionable, {
|
|
16573
|
+
path: _path + ".layout[" + _index7 + "]",
|
|
16574
|
+
expected: "(Array<ShotboxGroup> | ShotboxEventGroup | ShotboxStreamGroup)",
|
|
16575
|
+
value: elem
|
|
16576
|
+
}))).every(flag => flag) || _report(_exceptionable, {
|
|
16577
|
+
path: _path + ".layout",
|
|
16578
|
+
expected: "(Array<ShotboxGroup | ShotboxGroup[]> | undefined)",
|
|
16579
|
+
value: input.layout
|
|
16580
|
+
})].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
16581
|
+
path: _path + ".id",
|
|
16582
|
+
expected: "(string | undefined)",
|
|
16583
|
+
value: input.id
|
|
16584
|
+
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
16585
|
+
path: _path + ".title",
|
|
16586
|
+
expected: "(string | undefined)",
|
|
16587
|
+
value: input.title
|
|
16588
|
+
}), undefined === input.sticky || "boolean" === typeof input.sticky || _report(_exceptionable, {
|
|
16589
|
+
path: _path + ".sticky",
|
|
16590
|
+
expected: "(boolean | undefined)",
|
|
16591
|
+
value: input.sticky
|
|
16592
|
+
}), undefined === input.type || "trigger" === input.type || "toggle" === input.type || _report(_exceptionable, {
|
|
16593
|
+
path: _path + ".type",
|
|
16594
|
+
expected: "(\"toggle\" | \"trigger\" | undefined)",
|
|
16595
|
+
value: input.type
|
|
16596
|
+
}), undefined === input.width || "string" === typeof input.width || _report(_exceptionable, {
|
|
16597
|
+
path: _path + ".width",
|
|
16598
|
+
expected: "(string | undefined)",
|
|
16599
|
+
value: input.width
|
|
16600
|
+
}), undefined === input.include || (Array.isArray(input.include) || _report(_exceptionable, {
|
|
16601
|
+
path: _path + ".include",
|
|
16602
|
+
expected: "(Array<string> | undefined)",
|
|
16603
|
+
value: input.include
|
|
16604
|
+
})) && input.include.map((elem, _index9) => "string" === typeof elem || _report(_exceptionable, {
|
|
16605
|
+
path: _path + ".include[" + _index9 + "]",
|
|
16606
|
+
expected: "string",
|
|
16607
|
+
value: elem
|
|
16608
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
16609
|
+
path: _path + ".include",
|
|
16610
|
+
expected: "(Array<string> | undefined)",
|
|
16611
|
+
value: input.include
|
|
16612
|
+
}), undefined === input.exclude || (Array.isArray(input.exclude) || _report(_exceptionable, {
|
|
16613
|
+
path: _path + ".exclude",
|
|
16614
|
+
expected: "(Array<string> | undefined)",
|
|
16615
|
+
value: input.exclude
|
|
16616
|
+
})) && input.exclude.map((elem, _index10) => "string" === typeof elem || _report(_exceptionable, {
|
|
16617
|
+
path: _path + ".exclude[" + _index10 + "]",
|
|
16618
|
+
expected: "string",
|
|
16619
|
+
value: elem
|
|
16620
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
16621
|
+
path: _path + ".exclude",
|
|
16622
|
+
expected: "(Array<string> | undefined)",
|
|
16623
|
+
value: input.exclude
|
|
16624
|
+
}), undefined === input.states || ("object" === typeof input.states && null !== input.states || _report(_exceptionable, {
|
|
16625
|
+
path: _path + ".states",
|
|
16626
|
+
expected: "(__type | undefined)",
|
|
16627
|
+
value: input.states
|
|
16628
|
+
})) && _vo3(input.states, _path + ".states", true && _exceptionable) || _report(_exceptionable, {
|
|
16629
|
+
path: _path + ".states",
|
|
16630
|
+
expected: "(__type | undefined)",
|
|
16631
|
+
value: input.states
|
|
16632
|
+
}), undefined === input.flow || "column" === input.flow || "row" === input.flow || _report(_exceptionable, {
|
|
16633
|
+
path: _path + ".flow",
|
|
16634
|
+
expected: "(\"column\" | \"row\" | undefined)",
|
|
16635
|
+
value: input.flow
|
|
16636
|
+
}), undefined === input.minRows || "number" === typeof input.minRows || _report(_exceptionable, {
|
|
16637
|
+
path: _path + ".minRows",
|
|
16638
|
+
expected: "(number | undefined)",
|
|
16639
|
+
value: input.minRows
|
|
16640
|
+
}), undefined === input.maxRows || "number" === typeof input.maxRows || _report(_exceptionable, {
|
|
16641
|
+
path: _path + ".maxRows",
|
|
16642
|
+
expected: "(number | undefined)",
|
|
16643
|
+
value: input.maxRows
|
|
16644
|
+
})].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => ["boolean" === typeof input.completed || _report(_exceptionable, {
|
|
16645
|
+
path: _path + ".completed",
|
|
16646
|
+
expected: "boolean",
|
|
16647
|
+
value: input.completed
|
|
16648
|
+
})].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => ["stream" === input.type || _report(_exceptionable, {
|
|
16649
|
+
path: _path + ".type",
|
|
16650
|
+
expected: "\"stream\"",
|
|
16651
|
+
value: input.type
|
|
16652
|
+
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
16653
|
+
path: _path + ".title",
|
|
16654
|
+
expected: "(string | undefined)",
|
|
16655
|
+
value: input.title
|
|
16656
|
+
}), undefined === input.width || "string" === typeof input.width || _report(_exceptionable, {
|
|
16657
|
+
path: _path + ".width",
|
|
16658
|
+
expected: "(string | undefined)",
|
|
16659
|
+
value: input.width
|
|
16660
|
+
}), undefined === input.source || "string" === typeof input.source || _report(_exceptionable, {
|
|
16661
|
+
path: _path + ".source",
|
|
16662
|
+
expected: "(string | undefined)",
|
|
16663
|
+
value: input.source
|
|
16664
|
+
})].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
|
|
16665
|
+
if ("stream" === input.type)
|
|
16666
|
+
return _vo4(input, _path, true && _exceptionable);
|
|
16667
|
+
else
|
|
16668
|
+
return _vo2(input, _path, true && _exceptionable);
|
|
16669
|
+
})(); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
16670
|
+
if (false === __is(input)) {
|
|
16671
|
+
errors = [];
|
|
16672
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
16673
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
16674
|
+
path: _path + "",
|
|
16675
|
+
expected: "ShotboxDomainRecord",
|
|
16676
|
+
value: input
|
|
16677
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
16678
|
+
path: _path + "",
|
|
16679
|
+
expected: "ShotboxDomainRecord",
|
|
16680
|
+
value: input
|
|
16681
|
+
}))(input, "$input", true);
|
|
16682
|
+
const success = 0 === errors.length;
|
|
16683
|
+
return success ? {
|
|
16684
|
+
success,
|
|
16685
|
+
data: input
|
|
16686
|
+
} : {
|
|
16687
|
+
success,
|
|
16688
|
+
errors,
|
|
16689
|
+
data: input
|
|
16690
|
+
};
|
|
16691
|
+
}
|
|
16692
|
+
return {
|
|
16693
|
+
success: true,
|
|
16694
|
+
data: input
|
|
16695
|
+
};
|
|
16696
|
+
}; })()(input);
|
|
16697
|
+
}
|
|
15972
16698
|
case ":storyboard": {
|
|
15973
16699
|
return (() => { const _io0 = input => Object.keys(input).every(key => {
|
|
15974
16700
|
const value = input[key];
|