@nxtedition/types 23.0.57 → 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 +177 -10
- 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/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 +871 -180
- package/dist/records/validate/assert.js +878 -180
- package/dist/records/validate/is.js +37 -11
- package/dist/records/validate/schemas.js +615 -64
- package/dist/records/validate/stringify.js +71 -40
- package/dist/records/validate/utils.js +1 -1
- package/dist/records/validate/validate-equals.js +1291 -278
- package/dist/records/validate/validate.js +833 -169
- package/dist/rpc.d.ts +4 -1
- package/package.json +1 -1
|
@@ -3192,6 +3192,88 @@ function _validateDomainRecord(domain, input) {
|
|
|
3192
3192
|
};
|
|
3193
3193
|
}; })()(input);
|
|
3194
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
|
+
}
|
|
3195
3277
|
case ":clone": {
|
|
3196
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, {
|
|
3197
3279
|
path: _path + ".rules",
|
|
@@ -3758,6 +3840,48 @@ function _validateDomainRecord(domain, input) {
|
|
|
3758
3840
|
};
|
|
3759
3841
|
}; })()(input);
|
|
3760
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
|
+
}
|
|
3761
3885
|
case ":connection": {
|
|
3762
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 => {
|
|
3763
3887
|
const value = input[key];
|
|
@@ -7769,6 +7893,158 @@ function _validateDomainRecord(domain, input) {
|
|
|
7769
7893
|
};
|
|
7770
7894
|
}; })()(input);
|
|
7771
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
|
+
}
|
|
7772
8048
|
case ":media.source": {
|
|
7773
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 => {
|
|
7774
8050
|
const value = input[key];
|
|
@@ -9442,16 +9718,16 @@ function _validateDomainRecord(domain, input) {
|
|
|
9442
9718
|
}; })()(input);
|
|
9443
9719
|
}
|
|
9444
9720
|
case ":panel": {
|
|
9445
|
-
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 => {
|
|
9446
9722
|
const value = input[key];
|
|
9447
9723
|
if (undefined === value)
|
|
9448
9724
|
return true;
|
|
9449
9725
|
return "object" === typeof value && null !== value && _io2(value);
|
|
9450
|
-
}); 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 => (() => {
|
|
9451
9727
|
if (undefined !== input.type)
|
|
9452
|
-
return
|
|
9728
|
+
return _io7(input);
|
|
9453
9729
|
else if (undefined !== input.property)
|
|
9454
|
-
return
|
|
9730
|
+
return _io8(input);
|
|
9455
9731
|
else
|
|
9456
9732
|
return false;
|
|
9457
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, {
|
|
@@ -9466,8 +9742,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
9466
9742
|
path: _path + ".supports",
|
|
9467
9743
|
expected: "(Array<string> | string | undefined)",
|
|
9468
9744
|
value: input.supports
|
|
9469
|
-
})) && input.supports.map((elem,
|
|
9470
|
-
path: _path + ".supports[" +
|
|
9745
|
+
})) && input.supports.map((elem, _index5) => "string" === typeof elem || _report(_exceptionable, {
|
|
9746
|
+
path: _path + ".supports[" + _index5 + "]",
|
|
9471
9747
|
expected: "string",
|
|
9472
9748
|
value: elem
|
|
9473
9749
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -9492,37 +9768,13 @@ function _validateDomainRecord(domain, input) {
|
|
|
9492
9768
|
value: input.properties
|
|
9493
9769
|
}), undefined === input.layout || ("object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) || _report(_exceptionable, {
|
|
9494
9770
|
path: _path + ".layout",
|
|
9495
|
-
expected: "(__type.
|
|
9771
|
+
expected: "(__type.o4 | undefined)",
|
|
9496
9772
|
value: input.layout
|
|
9497
|
-
})) &&
|
|
9773
|
+
})) && _vo6(input.layout, _path + ".layout", true && _exceptionable) || _report(_exceptionable, {
|
|
9498
9774
|
path: _path + ".layout",
|
|
9499
|
-
expected: "(__type.
|
|
9775
|
+
expected: "(__type.o4 | undefined)",
|
|
9500
9776
|
value: input.layout
|
|
9501
|
-
}), (
|
|
9502
|
-
path: _path + ".filter",
|
|
9503
|
-
expected: "(__type.o3 | string | undefined)",
|
|
9504
|
-
value: input.filter
|
|
9505
|
-
})) && (undefined === input.filter || "string" === typeof input.filter || ("object" === typeof input.filter && null !== input.filter || _report(_exceptionable, {
|
|
9506
|
-
path: _path + ".filter",
|
|
9507
|
-
expected: "(__type.o3 | string | undefined)",
|
|
9508
|
-
value: input.filter
|
|
9509
|
-
})) && _vo8(input.filter, _path + ".filter", true && _exceptionable) || _report(_exceptionable, {
|
|
9510
|
-
path: _path + ".filter",
|
|
9511
|
-
expected: "(__type.o3 | string | undefined)",
|
|
9512
|
-
value: input.filter
|
|
9513
|
-
})), (null !== input.expand || _report(_exceptionable, {
|
|
9514
|
-
path: _path + ".expand",
|
|
9515
|
-
expected: "(__type.o3 | string | undefined)",
|
|
9516
|
-
value: input.expand
|
|
9517
|
-
})) && (undefined === input.expand || "string" === typeof input.expand || ("object" === typeof input.expand && null !== input.expand || _report(_exceptionable, {
|
|
9518
|
-
path: _path + ".expand",
|
|
9519
|
-
expected: "(__type.o3 | string | undefined)",
|
|
9520
|
-
value: input.expand
|
|
9521
|
-
})) && _vo8(input.expand, _path + ".expand", true && _exceptionable) || _report(_exceptionable, {
|
|
9522
|
-
path: _path + ".expand",
|
|
9523
|
-
expected: "(__type.o3 | string | undefined)",
|
|
9524
|
-
value: input.expand
|
|
9525
|
-
}))].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 => {
|
|
9526
9778
|
const value = input[key];
|
|
9527
9779
|
if (undefined === value)
|
|
9528
9780
|
return true;
|
|
@@ -9567,10 +9819,38 @@ function _validateDomainRecord(domain, input) {
|
|
|
9567
9819
|
path: _path + ".required",
|
|
9568
9820
|
expected: "(boolean | undefined)",
|
|
9569
9821
|
value: input.required
|
|
9570
|
-
}), undefined === input.oneOf || Array.isArray(input.oneOf) || _report(_exceptionable, {
|
|
9822
|
+
}), undefined === input.oneOf || (Array.isArray(input.oneOf) || _report(_exceptionable, {
|
|
9823
|
+
path: _path + ".oneOf",
|
|
9824
|
+
expected: "(Array<__type> | undefined)",
|
|
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, {
|
|
9571
9835
|
path: _path + ".oneOf",
|
|
9572
|
-
expected: "(Array<
|
|
9836
|
+
expected: "(Array<__type> | undefined)",
|
|
9573
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
|
|
9574
9854
|
})].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => ["string" === typeof input.label || _report(_exceptionable, {
|
|
9575
9855
|
path: _path + ".label",
|
|
9576
9856
|
expected: "string",
|
|
@@ -9579,7 +9859,15 @@ function _validateDomainRecord(domain, input) {
|
|
|
9579
9859
|
path: _path + ".path",
|
|
9580
9860
|
expected: "string",
|
|
9581
9861
|
value: input.path
|
|
9582
|
-
})].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, {
|
|
9583
9871
|
path: _path + ".panel",
|
|
9584
9872
|
expected: "(Array<PanelLayout> | PanelLayoutDivider | PanelLayoutItem | string | undefined)",
|
|
9585
9873
|
value: input.panel
|
|
@@ -9611,7 +9899,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9611
9899
|
path: _path + ".editor",
|
|
9612
9900
|
expected: "(Array<PanelLayout> | PanelLayoutDivider | PanelLayoutItem | string | undefined)",
|
|
9613
9901
|
value: input.editor
|
|
9614
|
-
}))].every(flag => flag); const
|
|
9902
|
+
}))].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => ["divider" === input.type || _report(_exceptionable, {
|
|
9615
9903
|
path: _path + ".type",
|
|
9616
9904
|
expected: "\"divider\"",
|
|
9617
9905
|
value: input.type
|
|
@@ -9619,7 +9907,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
9619
9907
|
path: _path + ".title",
|
|
9620
9908
|
expected: "(string | undefined)",
|
|
9621
9909
|
value: input.title
|
|
9622
|
-
})].every(flag => flag); const
|
|
9910
|
+
})].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => ["string" === typeof input.property || _report(_exceptionable, {
|
|
9623
9911
|
path: _path + ".property",
|
|
9624
9912
|
expected: "string",
|
|
9625
9913
|
value: input.property
|
|
@@ -9635,11 +9923,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
9635
9923
|
path: _path + ".widget",
|
|
9636
9924
|
expected: "(\"assetTags\" | \"assetTypes\" | \"default\" | \"geopoint\" | \"poster\" | \"tags\" | \"textarea\" | WidgetItem | undefined)",
|
|
9637
9925
|
value: input.widget
|
|
9638
|
-
})) &&
|
|
9926
|
+
})) && _vo9(input.widget, _path + ".widget", true && _exceptionable) || _report(_exceptionable, {
|
|
9639
9927
|
path: _path + ".widget",
|
|
9640
9928
|
expected: "(\"assetTags\" | \"assetTypes\" | \"default\" | \"geopoint\" | \"poster\" | \"tags\" | \"textarea\" | WidgetItem | undefined)",
|
|
9641
9929
|
value: input.widget
|
|
9642
|
-
}))].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, {
|
|
9643
9931
|
path: _path + ".type",
|
|
9644
9932
|
expected: "(\"assetTags\" | \"assetTypes\" | \"default\" | \"geopoint\" | \"poster\" | \"tags\" | \"textarea\")",
|
|
9645
9933
|
value: input.type
|
|
@@ -9647,47 +9935,35 @@ function _validateDomainRecord(domain, input) {
|
|
|
9647
9935
|
path: _path + ".readOnly",
|
|
9648
9936
|
expected: "(boolean | undefined)",
|
|
9649
9937
|
value: input.readOnly
|
|
9650
|
-
})].every(flag => flag); const
|
|
9651
|
-
path: _path + ".__context",
|
|
9652
|
-
expected: "object",
|
|
9653
|
-
value: input.__context
|
|
9654
|
-
})) && _vo9(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
9655
|
-
path: _path + ".__context",
|
|
9656
|
-
expected: "object",
|
|
9657
|
-
value: input.__context
|
|
9658
|
-
}), "string" === typeof input.__returnValue || _report(_exceptionable, {
|
|
9659
|
-
path: _path + ".__returnValue",
|
|
9660
|
-
expected: "string",
|
|
9661
|
-
value: input.__returnValue
|
|
9662
|
-
})].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) => (() => {
|
|
9663
9939
|
if (undefined !== input.type)
|
|
9664
|
-
return
|
|
9940
|
+
return _vo7(input, _path, true && _exceptionable);
|
|
9665
9941
|
else if (undefined !== input.property)
|
|
9666
|
-
return
|
|
9942
|
+
return _vo8(input, _path, true && _exceptionable);
|
|
9667
9943
|
else
|
|
9668
9944
|
return _report(_exceptionable, {
|
|
9669
9945
|
path: _path,
|
|
9670
9946
|
expected: "(PanelLayoutDivider | PanelLayoutItem)",
|
|
9671
9947
|
value: input
|
|
9672
9948
|
});
|
|
9673
|
-
})(); const _va0 = (input, _path, _exceptionable = true) => input.map((elem,
|
|
9674
|
-
path: _path + "[" +
|
|
9949
|
+
})(); const _va0 = (input, _path, _exceptionable = true) => input.map((elem, _index8) => (null !== elem || _report(_exceptionable, {
|
|
9950
|
+
path: _path + "[" + _index8 + "]",
|
|
9675
9951
|
expected: "(Array<PanelLayout> | PanelLayoutDivider | PanelLayoutItem | string)",
|
|
9676
9952
|
value: elem
|
|
9677
9953
|
})) && (undefined !== elem || _report(_exceptionable, {
|
|
9678
|
-
path: _path + "[" +
|
|
9954
|
+
path: _path + "[" + _index8 + "]",
|
|
9679
9955
|
expected: "(Array<PanelLayout> | PanelLayoutDivider | PanelLayoutItem | string)",
|
|
9680
9956
|
value: elem
|
|
9681
|
-
})) && ("string" === typeof elem || (Array.isArray(elem) && (_va0(elem, _path + "[" +
|
|
9682
|
-
path: _path + "[" +
|
|
9957
|
+
})) && ("string" === typeof elem || (Array.isArray(elem) && (_va0(elem, _path + "[" + _index8 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
9958
|
+
path: _path + "[" + _index8 + "]",
|
|
9683
9959
|
expected: "Array<PanelLayout>",
|
|
9684
9960
|
value: elem
|
|
9685
|
-
})) || "object" === typeof elem && null !== elem && _vu0(elem, _path + "[" +
|
|
9686
|
-
path: _path + "[" +
|
|
9961
|
+
})) || "object" === typeof elem && null !== elem && _vu0(elem, _path + "[" + _index8 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
9962
|
+
path: _path + "[" + _index8 + "]",
|
|
9687
9963
|
expected: "(Array<PanelLayout> | PanelLayoutDivider | PanelLayoutItem | string)",
|
|
9688
9964
|
value: elem
|
|
9689
9965
|
})) || _report(_exceptionable, {
|
|
9690
|
-
path: _path + "[" +
|
|
9966
|
+
path: _path + "[" + _index8 + "]",
|
|
9691
9967
|
expected: "(Array<PanelLayout> | PanelLayoutDivider | PanelLayoutItem | string)",
|
|
9692
9968
|
value: elem
|
|
9693
9969
|
}))).every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
@@ -12226,34 +12502,54 @@ function _validateDomainRecord(domain, input) {
|
|
|
12226
12502
|
}; })()(input);
|
|
12227
12503
|
}
|
|
12228
12504
|
case ":published": {
|
|
12229
|
-
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, {
|
|
12230
12506
|
path: _path + ".type",
|
|
12231
12507
|
expected: "string",
|
|
12232
12508
|
value: input.type
|
|
12233
|
-
}), "string" === typeof input.parent || _report(_exceptionable, {
|
|
12509
|
+
}), undefined === input.parent || "string" === typeof input.parent || _report(_exceptionable, {
|
|
12234
12510
|
path: _path + ".parent",
|
|
12235
|
-
expected: "string",
|
|
12511
|
+
expected: "(string | undefined)",
|
|
12236
12512
|
value: input.parent
|
|
12237
|
-
}), (
|
|
12513
|
+
}), (null !== input.asset || _report(_exceptionable, {
|
|
12238
12514
|
path: _path + ".asset",
|
|
12239
|
-
expected: "Array<string>",
|
|
12515
|
+
expected: "(Array<string> | string | undefined)",
|
|
12516
|
+
value: input.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)",
|
|
12240
12520
|
value: input.asset
|
|
12241
|
-
})) && input.asset.map((elem,
|
|
12242
|
-
path: _path + ".asset[" +
|
|
12521
|
+
})) && input.asset.map((elem, _index3) => "string" === typeof elem || _report(_exceptionable, {
|
|
12522
|
+
path: _path + ".asset[" + _index3 + "]",
|
|
12243
12523
|
expected: "string",
|
|
12244
12524
|
value: elem
|
|
12245
12525
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
12246
12526
|
path: _path + ".asset",
|
|
12247
|
-
expected: "Array<string>",
|
|
12527
|
+
expected: "(Array<string> | string | undefined)",
|
|
12248
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
|
|
12249
12541
|
}), "number" === typeof input.time || _report(_exceptionable, {
|
|
12250
12542
|
path: _path + ".time",
|
|
12251
12543
|
expected: "number",
|
|
12252
12544
|
value: input.time
|
|
12253
|
-
}), "string" === typeof input.connection || _report(_exceptionable, {
|
|
12545
|
+
}), undefined === input.connection || "string" === typeof input.connection || _report(_exceptionable, {
|
|
12254
12546
|
path: _path + ".connection",
|
|
12255
|
-
expected: "string",
|
|
12547
|
+
expected: "(string | undefined)",
|
|
12256
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
|
|
12257
12553
|
}), undefined === input.user || "string" === typeof input.user || _report(_exceptionable, {
|
|
12258
12554
|
path: _path + ".user",
|
|
12259
12555
|
expected: "(string | undefined)",
|
|
@@ -14186,25 +14482,25 @@ function _validateDomainRecord(domain, input) {
|
|
|
14186
14482
|
}; })()(input);
|
|
14187
14483
|
}
|
|
14188
14484
|
case ":search": {
|
|
14189
|
-
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 => {
|
|
14190
14486
|
const value = input[key];
|
|
14191
14487
|
if (undefined === value)
|
|
14192
14488
|
return true;
|
|
14193
14489
|
return "asc" === value || "desc" === value;
|
|
14194
|
-
}); 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, {
|
|
14195
14491
|
path: _path + ".type",
|
|
14196
|
-
expected: "(\"conditions_and\" | undefined)",
|
|
14492
|
+
expected: "(\"conditions_and\" | \"conditions_or\" | undefined)",
|
|
14197
14493
|
value: input.type
|
|
14198
14494
|
}), undefined === input.sort || (Array.isArray(input.sort) || _report(_exceptionable, {
|
|
14199
14495
|
path: _path + ".sort",
|
|
14200
14496
|
expected: "(Array<__type> | undefined)",
|
|
14201
14497
|
value: input.sort
|
|
14202
|
-
})) && input.sort.map((elem,
|
|
14203
|
-
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 + "]",
|
|
14204
14500
|
expected: "__type",
|
|
14205
14501
|
value: elem
|
|
14206
|
-
})) && _vo1(elem, _path + ".sort[" +
|
|
14207
|
-
path: _path + ".sort[" +
|
|
14502
|
+
})) && _vo1(elem, _path + ".sort[" + _index4 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
14503
|
+
path: _path + ".sort[" + _index4 + "]",
|
|
14208
14504
|
expected: "__type",
|
|
14209
14505
|
value: elem
|
|
14210
14506
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -14223,20 +14519,32 @@ function _validateDomainRecord(domain, input) {
|
|
|
14223
14519
|
path: _path + ".showHidden",
|
|
14224
14520
|
expected: "(boolean | undefined)",
|
|
14225
14521
|
value: input.showHidden
|
|
14226
|
-
}), 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, {
|
|
14227
14523
|
path: _path + ".view",
|
|
14228
|
-
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)",
|
|
14229
14525
|
value: input.view
|
|
14230
|
-
}), 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, {
|
|
14231
14539
|
path: _path + ".conditions",
|
|
14232
|
-
expected: "(Array<
|
|
14540
|
+
expected: "(Array<SearchCondition> | undefined)",
|
|
14233
14541
|
value: input.conditions
|
|
14234
14542
|
}), null === input.visibleColumnKeys || undefined === input.visibleColumnKeys || (Array.isArray(input.visibleColumnKeys) || _report(_exceptionable, {
|
|
14235
14543
|
path: _path + ".visibleColumnKeys",
|
|
14236
14544
|
expected: "(Array<string> | null | undefined)",
|
|
14237
14545
|
value: input.visibleColumnKeys
|
|
14238
|
-
})) && input.visibleColumnKeys.map((elem,
|
|
14239
|
-
path: _path + ".visibleColumnKeys[" +
|
|
14546
|
+
})) && input.visibleColumnKeys.map((elem, _index6) => "string" === typeof elem || _report(_exceptionable, {
|
|
14547
|
+
path: _path + ".visibleColumnKeys[" + _index6 + "]",
|
|
14240
14548
|
expected: "string",
|
|
14241
14549
|
value: elem
|
|
14242
14550
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -14247,6 +14555,22 @@ function _validateDomainRecord(domain, input) {
|
|
|
14247
14555
|
path: _path + ".connectionId",
|
|
14248
14556
|
expected: "(null | string | undefined)",
|
|
14249
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
|
|
14250
14574
|
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
14251
14575
|
const value = input[key];
|
|
14252
14576
|
if (undefined === value)
|
|
@@ -14256,7 +14580,31 @@ function _validateDomainRecord(domain, input) {
|
|
|
14256
14580
|
expected: "(\"asc\" | \"desc\")",
|
|
14257
14581
|
value: value
|
|
14258
14582
|
});
|
|
14259
|
-
}).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 => {
|
|
14260
14608
|
if (false === __is(input)) {
|
|
14261
14609
|
errors = [];
|
|
14262
14610
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
@@ -14286,9 +14634,9 @@ function _validateDomainRecord(domain, input) {
|
|
|
14286
14634
|
}; })()(input);
|
|
14287
14635
|
}
|
|
14288
14636
|
case ":search?": {
|
|
14289
|
-
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, {
|
|
14290
14638
|
path: _path + ".hits",
|
|
14291
|
-
expected: "Array<string>",
|
|
14639
|
+
expected: "(Array<string> | undefined)",
|
|
14292
14640
|
value: input.hits
|
|
14293
14641
|
})) && input.hits.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
|
|
14294
14642
|
path: _path + ".hits[" + _index2 + "]",
|
|
@@ -14296,7 +14644,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
14296
14644
|
value: elem
|
|
14297
14645
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
14298
14646
|
path: _path + ".hits",
|
|
14299
|
-
expected: "Array<string>",
|
|
14647
|
+
expected: "(Array<string> | undefined)",
|
|
14300
14648
|
value: input.hits
|
|
14301
14649
|
}), undefined === input.total || "number" === typeof input.total || _report(_exceptionable, {
|
|
14302
14650
|
path: _path + ".total",
|
|
@@ -14310,11 +14658,11 @@ function _validateDomainRecord(domain, input) {
|
|
|
14310
14658
|
path: _path + ".error",
|
|
14311
14659
|
expected: "(string | undefined)",
|
|
14312
14660
|
value: input.error
|
|
14313
|
-
})].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 => {
|
|
14314
14662
|
if (false === __is(input)) {
|
|
14315
14663
|
errors = [];
|
|
14316
14664
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
14317
|
-
((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, {
|
|
14318
14666
|
path: _path + "",
|
|
14319
14667
|
expected: "SearchRecordProvided",
|
|
14320
14668
|
value: input
|
|
@@ -14339,8 +14687,92 @@ function _validateDomainRecord(domain, input) {
|
|
|
14339
14687
|
};
|
|
14340
14688
|
}; })()(input);
|
|
14341
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
|
+
}
|
|
14342
14774
|
case ":settings": {
|
|
14343
|
-
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 => {
|
|
14344
14776
|
if (["settingsPanelStore"].some(prop => key === prop))
|
|
14345
14777
|
return true;
|
|
14346
14778
|
const value = input[key];
|
|
@@ -14412,12 +14844,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
14412
14844
|
if (undefined === value)
|
|
14413
14845
|
return true;
|
|
14414
14846
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io31(value);
|
|
14415
|
-
}); 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 => {
|
|
14416
14848
|
const value = input[key];
|
|
14417
14849
|
if (undefined === value)
|
|
14418
14850
|
return true;
|
|
14419
14851
|
return Array.isArray(value) && value.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem);
|
|
14420
|
-
}); 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, {
|
|
14421
14853
|
path: _path + ".autoLogoutTime",
|
|
14422
14854
|
expected: "(number | undefined)",
|
|
14423
14855
|
value: input.autoLogoutTime
|
|
@@ -14473,16 +14905,16 @@ function _validateDomainRecord(domain, input) {
|
|
|
14473
14905
|
path: _path + ".exclusiveTagGroups",
|
|
14474
14906
|
expected: "(Array<Array<string>> | undefined)",
|
|
14475
14907
|
value: input.exclusiveTagGroups
|
|
14476
|
-
})) && input.exclusiveTagGroups.map((elem,
|
|
14477
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
14908
|
+
})) && input.exclusiveTagGroups.map((elem, _index32) => (Array.isArray(elem) || _report(_exceptionable, {
|
|
14909
|
+
path: _path + ".exclusiveTagGroups[" + _index32 + "]",
|
|
14478
14910
|
expected: "Array<string>",
|
|
14479
14911
|
value: elem
|
|
14480
|
-
})) && elem.map((elem,
|
|
14481
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
14912
|
+
})) && elem.map((elem, _index33) => "string" === typeof elem || _report(_exceptionable, {
|
|
14913
|
+
path: _path + ".exclusiveTagGroups[" + _index32 + "][" + _index33 + "]",
|
|
14482
14914
|
expected: "string",
|
|
14483
14915
|
value: elem
|
|
14484
14916
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
14485
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
14917
|
+
path: _path + ".exclusiveTagGroups[" + _index32 + "]",
|
|
14486
14918
|
expected: "Array<string>",
|
|
14487
14919
|
value: elem
|
|
14488
14920
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -14601,12 +15033,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
14601
15033
|
path: _path + ".commands",
|
|
14602
15034
|
expected: "(Array<__type>.o4 | undefined)",
|
|
14603
15035
|
value: input.commands
|
|
14604
|
-
})) && input.commands.map((elem,
|
|
14605
|
-
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 + "]",
|
|
14606
15038
|
expected: "__type.o50",
|
|
14607
15039
|
value: elem
|
|
14608
|
-
})) && _vo57(elem, _path + ".commands[" +
|
|
14609
|
-
path: _path + ".commands[" +
|
|
15040
|
+
})) && _vo57(elem, _path + ".commands[" + _index34 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
15041
|
+
path: _path + ".commands[" + _index34 + "]",
|
|
14610
15042
|
expected: "__type.o50",
|
|
14611
15043
|
value: elem
|
|
14612
15044
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -14617,8 +15049,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
14617
15049
|
path: _path + ".predefinedTags",
|
|
14618
15050
|
expected: "(Array<string> | undefined)",
|
|
14619
15051
|
value: input.predefinedTags
|
|
14620
|
-
})) && input.predefinedTags.map((elem,
|
|
14621
|
-
path: _path + ".predefinedTags[" +
|
|
15052
|
+
})) && input.predefinedTags.map((elem, _index35) => "string" === typeof elem || _report(_exceptionable, {
|
|
15053
|
+
path: _path + ".predefinedTags[" + _index35 + "]",
|
|
14622
15054
|
expected: "string",
|
|
14623
15055
|
value: elem
|
|
14624
15056
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -14645,12 +15077,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
14645
15077
|
path: _path + ".hiddenPreviews",
|
|
14646
15078
|
expected: "(Array<__type>.o5 | undefined)",
|
|
14647
15079
|
value: input.hiddenPreviews
|
|
14648
|
-
})) && input.hiddenPreviews.map((elem,
|
|
14649
|
-
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 + "]",
|
|
14650
15082
|
expected: "__type.o61",
|
|
14651
15083
|
value: elem
|
|
14652
|
-
})) && _vo68(elem, _path + ".hiddenPreviews[" +
|
|
14653
|
-
path: _path + ".hiddenPreviews[" +
|
|
15084
|
+
})) && _vo68(elem, _path + ".hiddenPreviews[" + _index36 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
15085
|
+
path: _path + ".hiddenPreviews[" + _index36 + "]",
|
|
14654
15086
|
expected: "__type.o61",
|
|
14655
15087
|
value: elem
|
|
14656
15088
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -14701,6 +15133,14 @@ function _validateDomainRecord(domain, input) {
|
|
|
14701
15133
|
path: _path + ".suppressDeleteAlert",
|
|
14702
15134
|
expected: "(boolean | undefined)",
|
|
14703
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
|
|
14704
15144
|
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact || _report(_exceptionable, {
|
|
14705
15145
|
path: _path + ".overrideUserContact",
|
|
14706
15146
|
expected: "(boolean | undefined)",
|
|
@@ -14816,8 +15256,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
14816
15256
|
path: _path + ".sortOrder",
|
|
14817
15257
|
expected: "(Array<string> | undefined)",
|
|
14818
15258
|
value: input.sortOrder
|
|
14819
|
-
})) && input.sortOrder.map((elem,
|
|
14820
|
-
path: _path + ".sortOrder[" +
|
|
15259
|
+
})) && input.sortOrder.map((elem, _index37) => "string" === typeof elem || _report(_exceptionable, {
|
|
15260
|
+
path: _path + ".sortOrder[" + _index37 + "]",
|
|
14821
15261
|
expected: "string",
|
|
14822
15262
|
value: elem
|
|
14823
15263
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -14828,8 +15268,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
14828
15268
|
path: _path + ".exclude",
|
|
14829
15269
|
expected: "(Array<string> | undefined)",
|
|
14830
15270
|
value: input.exclude
|
|
14831
|
-
})) && input.exclude.map((elem,
|
|
14832
|
-
path: _path + ".exclude[" +
|
|
15271
|
+
})) && input.exclude.map((elem, _index38) => "string" === typeof elem || _report(_exceptionable, {
|
|
15272
|
+
path: _path + ".exclude[" + _index38 + "]",
|
|
14833
15273
|
expected: "string",
|
|
14834
15274
|
value: elem
|
|
14835
15275
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -14840,8 +15280,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
14840
15280
|
path: _path + ".include",
|
|
14841
15281
|
expected: "(Array<string> | undefined)",
|
|
14842
15282
|
value: input.include
|
|
14843
|
-
})) && input.include.map((elem,
|
|
14844
|
-
path: _path + ".include[" +
|
|
15283
|
+
})) && input.include.map((elem, _index39) => "string" === typeof elem || _report(_exceptionable, {
|
|
15284
|
+
path: _path + ".include[" + _index39 + "]",
|
|
14845
15285
|
expected: "string",
|
|
14846
15286
|
value: elem
|
|
14847
15287
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -14852,8 +15292,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
14852
15292
|
path: _path + ".exclude",
|
|
14853
15293
|
expected: "(Array<string> | undefined)",
|
|
14854
15294
|
value: input.exclude
|
|
14855
|
-
})) && input.exclude.map((elem,
|
|
14856
|
-
path: _path + ".exclude[" +
|
|
15295
|
+
})) && input.exclude.map((elem, _index40) => "string" === typeof elem || _report(_exceptionable, {
|
|
15296
|
+
path: _path + ".exclude[" + _index40 + "]",
|
|
14857
15297
|
expected: "string",
|
|
14858
15298
|
value: elem
|
|
14859
15299
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -14864,8 +15304,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
14864
15304
|
path: _path + ".include",
|
|
14865
15305
|
expected: "(Array<string> | undefined)",
|
|
14866
15306
|
value: input.include
|
|
14867
|
-
})) && input.include.map((elem,
|
|
14868
|
-
path: _path + ".include[" +
|
|
15307
|
+
})) && input.include.map((elem, _index41) => "string" === typeof elem || _report(_exceptionable, {
|
|
15308
|
+
path: _path + ".include[" + _index41 + "]",
|
|
14869
15309
|
expected: "string",
|
|
14870
15310
|
value: elem
|
|
14871
15311
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -14876,8 +15316,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
14876
15316
|
path: _path + ".exclude",
|
|
14877
15317
|
expected: "(Array<string> | undefined)",
|
|
14878
15318
|
value: input.exclude
|
|
14879
|
-
})) && input.exclude.map((elem,
|
|
14880
|
-
path: _path + ".exclude[" +
|
|
15319
|
+
})) && input.exclude.map((elem, _index42) => "string" === typeof elem || _report(_exceptionable, {
|
|
15320
|
+
path: _path + ".exclude[" + _index42 + "]",
|
|
14881
15321
|
expected: "string",
|
|
14882
15322
|
value: elem
|
|
14883
15323
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -14888,8 +15328,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
14888
15328
|
path: _path + ".include",
|
|
14889
15329
|
expected: "(Array<string> | undefined)",
|
|
14890
15330
|
value: input.include
|
|
14891
|
-
})) && input.include.map((elem,
|
|
14892
|
-
path: _path + ".include[" +
|
|
15331
|
+
})) && input.include.map((elem, _index43) => "string" === typeof elem || _report(_exceptionable, {
|
|
15332
|
+
path: _path + ".include[" + _index43 + "]",
|
|
14893
15333
|
expected: "string",
|
|
14894
15334
|
value: elem
|
|
14895
15335
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -14900,8 +15340,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
14900
15340
|
path: _path + ".exclude",
|
|
14901
15341
|
expected: "(Array<string> | undefined)",
|
|
14902
15342
|
value: input.exclude
|
|
14903
|
-
})) && input.exclude.map((elem,
|
|
14904
|
-
path: _path + ".exclude[" +
|
|
15343
|
+
})) && input.exclude.map((elem, _index44) => "string" === typeof elem || _report(_exceptionable, {
|
|
15344
|
+
path: _path + ".exclude[" + _index44 + "]",
|
|
14905
15345
|
expected: "string",
|
|
14906
15346
|
value: elem
|
|
14907
15347
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -14964,12 +15404,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
14964
15404
|
path: _path + ".colorTags",
|
|
14965
15405
|
expected: "(Array<PromotedTag> | undefined)",
|
|
14966
15406
|
value: input.colorTags
|
|
14967
|
-
})) && input.colorTags.map((elem,
|
|
14968
|
-
path: _path + ".colorTags[" +
|
|
15407
|
+
})) && input.colorTags.map((elem, _index45) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
15408
|
+
path: _path + ".colorTags[" + _index45 + "]",
|
|
14969
15409
|
expected: "PromotedTag",
|
|
14970
15410
|
value: elem
|
|
14971
|
-
})) && _vo21(elem, _path + ".colorTags[" +
|
|
14972
|
-
path: _path + ".colorTags[" +
|
|
15411
|
+
})) && _vo21(elem, _path + ".colorTags[" + _index45 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
15412
|
+
path: _path + ".colorTags[" + _index45 + "]",
|
|
14973
15413
|
expected: "PromotedTag",
|
|
14974
15414
|
value: elem
|
|
14975
15415
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -15045,8 +15485,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
15045
15485
|
path: _path + ".favorites",
|
|
15046
15486
|
expected: "(Array<string> | undefined)",
|
|
15047
15487
|
value: input.favorites
|
|
15048
|
-
})) && input.favorites.map((elem,
|
|
15049
|
-
path: _path + ".favorites[" +
|
|
15488
|
+
})) && input.favorites.map((elem, _index46) => "string" === typeof elem || _report(_exceptionable, {
|
|
15489
|
+
path: _path + ".favorites[" + _index46 + "]",
|
|
15050
15490
|
expected: "string",
|
|
15051
15491
|
value: elem
|
|
15052
15492
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -15393,8 +15833,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
15393
15833
|
path: _path + ".playbackRates",
|
|
15394
15834
|
expected: "(Array<number> | undefined)",
|
|
15395
15835
|
value: input.playbackRates
|
|
15396
|
-
})) && input.playbackRates.map((elem,
|
|
15397
|
-
path: _path + ".playbackRates[" +
|
|
15836
|
+
})) && input.playbackRates.map((elem, _index47) => "number" === typeof elem || _report(_exceptionable, {
|
|
15837
|
+
path: _path + ".playbackRates[" + _index47 + "]",
|
|
15398
15838
|
expected: "number",
|
|
15399
15839
|
value: elem
|
|
15400
15840
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -15421,12 +15861,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
15421
15861
|
path: _path + ".guides",
|
|
15422
15862
|
expected: "(Array<__type>.o2 | undefined)",
|
|
15423
15863
|
value: input.guides
|
|
15424
|
-
})) && input.guides.map((elem,
|
|
15425
|
-
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 + "]",
|
|
15426
15866
|
expected: "__type.o41",
|
|
15427
15867
|
value: elem
|
|
15428
|
-
})) && _vo48(elem, _path + ".guides[" +
|
|
15429
|
-
path: _path + ".guides[" +
|
|
15868
|
+
})) && _vo48(elem, _path + ".guides[" + _index48 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
15869
|
+
path: _path + ".guides[" + _index48 + "]",
|
|
15430
15870
|
expected: "__type.o41",
|
|
15431
15871
|
value: elem
|
|
15432
15872
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -15497,12 +15937,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
15497
15937
|
path: _path + ".suggestions",
|
|
15498
15938
|
expected: "(Array<__type> | undefined)",
|
|
15499
15939
|
value: input.suggestions
|
|
15500
|
-
})) && input.suggestions.map((elem,
|
|
15501
|
-
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 + "]",
|
|
15502
15942
|
expected: "__type.o39",
|
|
15503
15943
|
value: elem
|
|
15504
|
-
})) && _vo46(elem, _path + ".suggestions[" +
|
|
15505
|
-
path: _path + ".suggestions[" +
|
|
15944
|
+
})) && _vo46(elem, _path + ".suggestions[" + _index49 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
15945
|
+
path: _path + ".suggestions[" + _index49 + "]",
|
|
15506
15946
|
expected: "__type.o39",
|
|
15507
15947
|
value: elem
|
|
15508
15948
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -15513,12 +15953,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
15513
15953
|
path: _path + ".colors",
|
|
15514
15954
|
expected: "(Array<__type>.o1 | undefined)",
|
|
15515
15955
|
value: input.colors
|
|
15516
|
-
})) && input.colors.map((elem,
|
|
15517
|
-
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 + "]",
|
|
15518
15958
|
expected: "__type.o40",
|
|
15519
15959
|
value: elem
|
|
15520
|
-
})) && _vo47(elem, _path + ".colors[" +
|
|
15521
|
-
path: _path + ".colors[" +
|
|
15960
|
+
})) && _vo47(elem, _path + ".colors[" + _index50 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
15961
|
+
path: _path + ".colors[" + _index50 + "]",
|
|
15522
15962
|
expected: "__type.o40",
|
|
15523
15963
|
value: elem
|
|
15524
15964
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -15529,8 +15969,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
15529
15969
|
path: _path + ".overridableProperties",
|
|
15530
15970
|
expected: "(Array<keyof SubtitleStyle | null> | undefined)",
|
|
15531
15971
|
value: input.overridableProperties
|
|
15532
|
-
})) && input.overridableProperties.map((elem,
|
|
15533
|
-
path: _path + ".overridableProperties[" +
|
|
15972
|
+
})) && input.overridableProperties.map((elem, _index51) => null === elem || true === _vv52.has(elem) || _report(_exceptionable, {
|
|
15973
|
+
path: _path + ".overridableProperties[" + _index51 + "]",
|
|
15534
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)",
|
|
15535
15975
|
value: elem
|
|
15536
15976
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -15609,12 +16049,12 @@ function _validateDomainRecord(domain, input) {
|
|
|
15609
16049
|
path: _path + ".text",
|
|
15610
16050
|
expected: "(Array<__type>.o3 | undefined)",
|
|
15611
16051
|
value: input.text
|
|
15612
|
-
})) && input.text.map((elem,
|
|
15613
|
-
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 + "]",
|
|
15614
16054
|
expected: "__type.o46",
|
|
15615
16055
|
value: elem
|
|
15616
|
-
})) && _vo53(elem, _path + ".text[" +
|
|
15617
|
-
path: _path + ".text[" +
|
|
16056
|
+
})) && _vo53(elem, _path + ".text[" + _index53 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
16057
|
+
path: _path + ".text[" + _index53 + "]",
|
|
15618
16058
|
expected: "__type.o46",
|
|
15619
16059
|
value: elem
|
|
15620
16060
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -15653,8 +16093,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
15653
16093
|
path: _path + ".args",
|
|
15654
16094
|
expected: "(Array<string> | undefined)",
|
|
15655
16095
|
value: input.args
|
|
15656
|
-
})) && input.args.map((elem,
|
|
15657
|
-
path: _path + ".args[" +
|
|
16096
|
+
})) && input.args.map((elem, _index54) => "string" === typeof elem || _report(_exceptionable, {
|
|
16097
|
+
path: _path + ".args[" + _index54 + "]",
|
|
15658
16098
|
expected: "string",
|
|
15659
16099
|
value: elem
|
|
15660
16100
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -15705,8 +16145,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
15705
16145
|
path: _path + ".args",
|
|
15706
16146
|
expected: "(Array<string> | undefined)",
|
|
15707
16147
|
value: input.args
|
|
15708
|
-
})) && input.args.map((elem,
|
|
15709
|
-
path: _path + ".args[" +
|
|
16148
|
+
})) && input.args.map((elem, _index55) => "string" === typeof elem || _report(_exceptionable, {
|
|
16149
|
+
path: _path + ".args[" + _index55 + "]",
|
|
15710
16150
|
expected: "string",
|
|
15711
16151
|
value: elem
|
|
15712
16152
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -15797,7 +16237,7 @@ function _validateDomainRecord(domain, input) {
|
|
|
15797
16237
|
path: _path + ".search",
|
|
15798
16238
|
expected: "(__type.o58 | undefined)",
|
|
15799
16239
|
value: input.search
|
|
15800
|
-
}), undefined === input.sortMode || true ===
|
|
16240
|
+
}), undefined === input.sortMode || true === _vv56.has(input.sortMode) || _report(_exceptionable, {
|
|
15801
16241
|
path: _path + ".sortMode",
|
|
15802
16242
|
expected: "(\"az\" | \"default\" | \"earliestdeadline\" | \"latestdeadline\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\" | undefined)",
|
|
15803
16243
|
value: input.sortMode
|
|
@@ -15809,12 +16249,16 @@ function _validateDomainRecord(domain, input) {
|
|
|
15809
16249
|
path: _path + ".maxHeight",
|
|
15810
16250
|
expected: "(number | undefined)",
|
|
15811
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
|
|
15812
16256
|
})].every(flag => flag); const _vo67 = (input, _path, _exceptionable = true) => [undefined === input.fontFamilies || (Array.isArray(input.fontFamilies) || _report(_exceptionable, {
|
|
15813
16257
|
path: _path + ".fontFamilies",
|
|
15814
16258
|
expected: "(Array<string> | undefined)",
|
|
15815
16259
|
value: input.fontFamilies
|
|
15816
|
-
})) && input.fontFamilies.map((elem,
|
|
15817
|
-
path: _path + ".fontFamilies[" +
|
|
16260
|
+
})) && input.fontFamilies.map((elem, _index57) => "string" === typeof elem || _report(_exceptionable, {
|
|
16261
|
+
path: _path + ".fontFamilies[" + _index57 + "]",
|
|
15818
16262
|
expected: "string",
|
|
15819
16263
|
value: elem
|
|
15820
16264
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -15869,6 +16313,14 @@ function _validateDomainRecord(domain, input) {
|
|
|
15869
16313
|
path: _path + ".utils",
|
|
15870
16314
|
expected: "(boolean | undefined)",
|
|
15871
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
|
|
15872
16324
|
}), undefined === input.history || "boolean" === typeof input.history || _report(_exceptionable, {
|
|
15873
16325
|
path: _path + ".history",
|
|
15874
16326
|
expected: "(boolean | undefined)",
|
|
@@ -15945,8 +16397,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
15945
16397
|
path: _path + ".comment",
|
|
15946
16398
|
expected: "(Array<NotificationReason> | undefined)",
|
|
15947
16399
|
value: input.comment
|
|
15948
|
-
})) && input.comment.map((elem,
|
|
15949
|
-
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 + "]",
|
|
15950
16402
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
15951
16403
|
value: elem
|
|
15952
16404
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -15957,8 +16409,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
15957
16409
|
path: _path + ".assigned",
|
|
15958
16410
|
expected: "(Array<NotificationReason> | undefined)",
|
|
15959
16411
|
value: input.assigned
|
|
15960
|
-
})) && input.assigned.map((elem,
|
|
15961
|
-
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 + "]",
|
|
15962
16414
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
15963
16415
|
value: elem
|
|
15964
16416
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -15969,8 +16421,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
15969
16421
|
path: _path + ".unassigned",
|
|
15970
16422
|
expected: "(Array<NotificationReason> | undefined)",
|
|
15971
16423
|
value: input.unassigned
|
|
15972
|
-
})) && input.unassigned.map((elem,
|
|
15973
|
-
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 + "]",
|
|
15974
16426
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
15975
16427
|
value: elem
|
|
15976
16428
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -15993,8 +16445,8 @@ function _validateDomainRecord(domain, input) {
|
|
|
15993
16445
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
15994
16446
|
expected: "Array<NotificationReason>",
|
|
15995
16447
|
value: value
|
|
15996
|
-
})) && value.map((elem,
|
|
15997
|
-
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 + "]",
|
|
15998
16450
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
15999
16451
|
value: elem
|
|
16000
16452
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -16002,7 +16454,39 @@ function _validateDomainRecord(domain, input) {
|
|
|
16002
16454
|
expected: "Array<NotificationReason>",
|
|
16003
16455
|
value: value
|
|
16004
16456
|
});
|
|
16005
|
-
}).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 => {
|
|
16006
16490
|
if (false === __is(input)) {
|
|
16007
16491
|
errors = [];
|
|
16008
16492
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
@@ -16031,6 +16515,186 @@ function _validateDomainRecord(domain, input) {
|
|
|
16031
16515
|
};
|
|
16032
16516
|
}; })()(input);
|
|
16033
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
|
+
}
|
|
16034
16698
|
case ":storyboard": {
|
|
16035
16699
|
return (() => { const _io0 = input => Object.keys(input).every(key => {
|
|
16036
16700
|
const value = input[key];
|