@nxtedition/types 23.0.61 → 23.0.62
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/index.d.ts +1 -0
- package/dist/common/index.js +1 -0
- package/dist/common/settings.d.ts +10 -0
- package/dist/common/subtitle.d.ts +4 -0
- package/dist/common/subtitle.js +1 -0
- package/dist/nxtpression.d.ts +69 -2
- package/dist/records/domains/asset.d.ts +1 -1
- package/dist/records/domains/folder.d.ts +6 -0
- package/dist/records/domains/folder.js +1 -0
- package/dist/records/domains/index.d.ts +3 -1
- package/dist/records/domains/index.js +1 -0
- package/dist/records/domains/settings.d.ts +5 -0
- package/dist/records/exact/media.d.ts +40 -1
- package/dist/records/validate/assert-guard.js +911 -219
- package/dist/records/validate/assert.js +914 -219
- package/dist/records/validate/is.js +50 -7
- package/dist/records/validate/schemas.js +505 -2
- package/dist/records/validate/stringify.js +183 -11
- package/dist/records/validate/utils.js +2 -2
- package/dist/records/validate/validate-equals.js +1320 -246
- package/dist/records/validate/validate.js +806 -192
- package/dist/rpc.d.ts +3 -2
- package/package.json +1 -1
|
@@ -2988,9 +2988,488 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
2988
2988
|
};
|
|
2989
2989
|
}; })()(input);
|
|
2990
2990
|
}
|
|
2991
|
+
case "media.transcribe": {
|
|
2992
|
+
return (() => { const _io0 = (input, _exceptionable = true) => "object" === typeof input.engines && null !== input.engines && false === Array.isArray(input.engines) && _io1(input.engines, true && _exceptionable) && ("object" === typeof input.languages && null !== input.languages && false === Array.isArray(input.languages) && _io1(input.languages, true && _exceptionable)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io2(input.translate, true && _exceptionable)) && (undefined === input.replacers || "object" === typeof input.replacers && null !== input.replacers && false === Array.isArray(input.replacers) && _io3(input.replacers, true && _exceptionable)) && (2 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
2993
|
+
if (["engines", "languages", "translate", "replacers"].some(prop => key === prop))
|
|
2994
|
+
return true;
|
|
2995
|
+
const value = input[key];
|
|
2996
|
+
if (undefined === value)
|
|
2997
|
+
return true;
|
|
2998
|
+
return false;
|
|
2999
|
+
})); const _io1 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
3000
|
+
const value = input[key];
|
|
3001
|
+
if (undefined === value)
|
|
3002
|
+
return true;
|
|
3003
|
+
return "string" === typeof value;
|
|
3004
|
+
}); const _io2 = (input, _exceptionable = true) => "object" === typeof input.languages && null !== input.languages && false === Array.isArray(input.languages) && _io1(input.languages, true && _exceptionable) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
3005
|
+
if (["languages"].some(prop => key === prop))
|
|
3006
|
+
return true;
|
|
3007
|
+
const value = input[key];
|
|
3008
|
+
if (undefined === value)
|
|
3009
|
+
return true;
|
|
3010
|
+
return false;
|
|
3011
|
+
})); const _io3 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
3012
|
+
const value = input[key];
|
|
3013
|
+
if (undefined === value)
|
|
3014
|
+
return true;
|
|
3015
|
+
return null !== value && undefined !== value && (Array.isArray(value) && value.every((elem, _index1) => "object" === typeof elem && null !== elem && _iu0(elem, true && _exceptionable)) || "object" === typeof value && null !== value && _iu0(value, true && _exceptionable));
|
|
3016
|
+
}); const _io4 = (input, _exceptionable = true) => (undefined === input.type || "replace" === input.type) && true && (null !== input.replacement && undefined !== input.replacement && ("function" === typeof input.replacement || "string" === typeof input.replacement || "object" === typeof input.replacement && null !== input.replacement && _io5(input.replacement, true && _exceptionable))) && (undefined === input.flags || "string" === typeof input.flags) && (undefined === input._comment || "string" === typeof input._comment) && (2 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
3017
|
+
if (["type", "pattern", "replacement", "flags", "_comment"].some(prop => key === prop))
|
|
3018
|
+
return true;
|
|
3019
|
+
const value = input[key];
|
|
3020
|
+
if (undefined === value)
|
|
3021
|
+
return true;
|
|
3022
|
+
return false;
|
|
3023
|
+
})); const _io5 = (input, _exceptionable = true) => "object" === typeof input.__context && null !== input.__context && _io6(input.__context, true && _exceptionable) && (null !== input.__returnValue && undefined !== input.__returnValue && ("function" === typeof input.__returnValue || "string" === typeof input.__returnValue)) && (2 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
3024
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
3025
|
+
return true;
|
|
3026
|
+
const value = input[key];
|
|
3027
|
+
if (undefined === value)
|
|
3028
|
+
return true;
|
|
3029
|
+
return false;
|
|
3030
|
+
})); const _io6 = (input, _exceptionable = true) => "string" === typeof input.item && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
3031
|
+
if (["item"].some(prop => key === prop))
|
|
3032
|
+
return true;
|
|
3033
|
+
const value = input[key];
|
|
3034
|
+
if (undefined === value)
|
|
3035
|
+
return true;
|
|
3036
|
+
return false;
|
|
3037
|
+
})); const _io7 = (input, _exceptionable = true) => "items" === input.type && (Array.isArray(input.items) && input.items.every((elem, _index2) => "string" === typeof elem)) && (undefined === input._comment || "string" === typeof input._comment) && (Array.isArray(input.replacers) && input.replacers.every((elem, _index3) => "object" === typeof elem && null !== elem && _io8(elem, true && _exceptionable))) && (3 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
3038
|
+
if (["type", "items", "_comment", "replacers"].some(prop => key === prop))
|
|
3039
|
+
return true;
|
|
3040
|
+
const value = input[key];
|
|
3041
|
+
if (undefined === value)
|
|
3042
|
+
return true;
|
|
3043
|
+
return false;
|
|
3044
|
+
})); const _io8 = (input, _exceptionable = true) => true && (null !== input.replacement && undefined !== input.replacement && ("function" === typeof input.replacement || "string" === typeof input.replacement || "object" === typeof input.replacement && null !== input.replacement && _io9(input.replacement, true && _exceptionable))) && (undefined === input.flags || "string" === typeof input.flags) && (undefined === input._comment || "string" === typeof input._comment) && (2 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
3045
|
+
if (["pattern", "replacement", "flags", "_comment"].some(prop => key === prop))
|
|
3046
|
+
return true;
|
|
3047
|
+
const value = input[key];
|
|
3048
|
+
if (undefined === value)
|
|
3049
|
+
return true;
|
|
3050
|
+
return false;
|
|
3051
|
+
})); const _io9 = (input, _exceptionable = true) => "object" === typeof input.__context && null !== input.__context && _io10(input.__context, true && _exceptionable) && (null !== input.__returnValue && undefined !== input.__returnValue && ("function" === typeof input.__returnValue || "string" === typeof input.__returnValue)) && (2 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
3052
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
3053
|
+
return true;
|
|
3054
|
+
const value = input[key];
|
|
3055
|
+
if (undefined === value)
|
|
3056
|
+
return true;
|
|
3057
|
+
return false;
|
|
3058
|
+
})); const _io10 = (input, _exceptionable = true) => "string" === typeof input.item && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
3059
|
+
if (["item"].some(prop => key === prop))
|
|
3060
|
+
return true;
|
|
3061
|
+
const value = input[key];
|
|
3062
|
+
if (undefined === value)
|
|
3063
|
+
return true;
|
|
3064
|
+
return false;
|
|
3065
|
+
})); const _iu0 = (input, _exceptionable = true) => (() => {
|
|
3066
|
+
if (undefined !== input.pattern)
|
|
3067
|
+
return _io4(input, true && _exceptionable);
|
|
3068
|
+
else if ("items" === input.type)
|
|
3069
|
+
return _io7(input, true && _exceptionable);
|
|
3070
|
+
else
|
|
3071
|
+
return false;
|
|
3072
|
+
})(); const _vo0 = (input, _path, _exceptionable = true) => [("object" === typeof input.engines && null !== input.engines && false === Array.isArray(input.engines) || _report(_exceptionable, {
|
|
3073
|
+
path: _path + ".engines",
|
|
3074
|
+
expected: "Record<string, string>",
|
|
3075
|
+
value: input.engines
|
|
3076
|
+
})) && _vo1(input.engines, _path + ".engines", true && _exceptionable) || _report(_exceptionable, {
|
|
3077
|
+
path: _path + ".engines",
|
|
3078
|
+
expected: "Record<string, string>",
|
|
3079
|
+
value: input.engines
|
|
3080
|
+
}), ("object" === typeof input.languages && null !== input.languages && false === Array.isArray(input.languages) || _report(_exceptionable, {
|
|
3081
|
+
path: _path + ".languages",
|
|
3082
|
+
expected: "Record<string, string>",
|
|
3083
|
+
value: input.languages
|
|
3084
|
+
})) && _vo1(input.languages, _path + ".languages", true && _exceptionable) || _report(_exceptionable, {
|
|
3085
|
+
path: _path + ".languages",
|
|
3086
|
+
expected: "Record<string, string>",
|
|
3087
|
+
value: input.languages
|
|
3088
|
+
}), undefined === input.translate || ("object" === typeof input.translate && null !== input.translate || _report(_exceptionable, {
|
|
3089
|
+
path: _path + ".translate",
|
|
3090
|
+
expected: "(__type | undefined)",
|
|
3091
|
+
value: input.translate
|
|
3092
|
+
})) && _vo2(input.translate, _path + ".translate", true && _exceptionable) || _report(_exceptionable, {
|
|
3093
|
+
path: _path + ".translate",
|
|
3094
|
+
expected: "(__type | undefined)",
|
|
3095
|
+
value: input.translate
|
|
3096
|
+
}), undefined === input.replacers || ("object" === typeof input.replacers && null !== input.replacers && false === Array.isArray(input.replacers) || _report(_exceptionable, {
|
|
3097
|
+
path: _path + ".replacers",
|
|
3098
|
+
expected: "(Record<string, TranscribeReplacer | TranscribeReplacer[]> | undefined)",
|
|
3099
|
+
value: input.replacers
|
|
3100
|
+
})) && _vo3(input.replacers, _path + ".replacers", true && _exceptionable) || _report(_exceptionable, {
|
|
3101
|
+
path: _path + ".replacers",
|
|
3102
|
+
expected: "(Record<string, TranscribeReplacer | TranscribeReplacer[]> | undefined)",
|
|
3103
|
+
value: input.replacers
|
|
3104
|
+
}), 2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
3105
|
+
if (["engines", "languages", "translate", "replacers"].some(prop => key === prop))
|
|
3106
|
+
return true;
|
|
3107
|
+
const value = input[key];
|
|
3108
|
+
if (undefined === value)
|
|
3109
|
+
return true;
|
|
3110
|
+
return _report(_exceptionable, {
|
|
3111
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
3112
|
+
expected: "undefined",
|
|
3113
|
+
value: value,
|
|
3114
|
+
description: [
|
|
3115
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
3116
|
+
"",
|
|
3117
|
+
"Please remove the property next time."
|
|
3118
|
+
].join("\n")
|
|
3119
|
+
});
|
|
3120
|
+
}).every(flag => flag))].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
3121
|
+
const value = input[key];
|
|
3122
|
+
if (undefined === value)
|
|
3123
|
+
return true;
|
|
3124
|
+
return "string" === typeof value || _report(_exceptionable, {
|
|
3125
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
3126
|
+
expected: "string",
|
|
3127
|
+
value: value
|
|
3128
|
+
});
|
|
3129
|
+
}).every(flag => flag)].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [("object" === typeof input.languages && null !== input.languages && false === Array.isArray(input.languages) || _report(_exceptionable, {
|
|
3130
|
+
path: _path + ".languages",
|
|
3131
|
+
expected: "Record<string, string>",
|
|
3132
|
+
value: input.languages
|
|
3133
|
+
})) && _vo1(input.languages, _path + ".languages", true && _exceptionable) || _report(_exceptionable, {
|
|
3134
|
+
path: _path + ".languages",
|
|
3135
|
+
expected: "Record<string, string>",
|
|
3136
|
+
value: input.languages
|
|
3137
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
3138
|
+
if (["languages"].some(prop => key === prop))
|
|
3139
|
+
return true;
|
|
3140
|
+
const value = input[key];
|
|
3141
|
+
if (undefined === value)
|
|
3142
|
+
return true;
|
|
3143
|
+
return _report(_exceptionable, {
|
|
3144
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
3145
|
+
expected: "undefined",
|
|
3146
|
+
value: value,
|
|
3147
|
+
description: [
|
|
3148
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
3149
|
+
"",
|
|
3150
|
+
"Please remove the property next time."
|
|
3151
|
+
].join("\n")
|
|
3152
|
+
});
|
|
3153
|
+
}).every(flag => flag))].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
3154
|
+
const value = input[key];
|
|
3155
|
+
if (undefined === value)
|
|
3156
|
+
return true;
|
|
3157
|
+
return (null !== value || _report(_exceptionable, {
|
|
3158
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
3159
|
+
expected: "(Array<TranscribeReplacer> | TranscribeForEachWordReplacer | TranscribeReplaceReplacer)",
|
|
3160
|
+
value: value
|
|
3161
|
+
})) && (undefined !== value || _report(_exceptionable, {
|
|
3162
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
3163
|
+
expected: "(Array<TranscribeReplacer> | TranscribeForEachWordReplacer | TranscribeReplaceReplacer)",
|
|
3164
|
+
value: value
|
|
3165
|
+
})) && (Array.isArray(value) && value.map((elem, _index4) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
3166
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" + _index4 + "]",
|
|
3167
|
+
expected: "(TranscribeForEachWordReplacer | TranscribeReplaceReplacer)",
|
|
3168
|
+
value: elem
|
|
3169
|
+
})) && _vu0(elem, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" + _index4 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
3170
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" + _index4 + "]",
|
|
3171
|
+
expected: "(TranscribeForEachWordReplacer | TranscribeReplaceReplacer)",
|
|
3172
|
+
value: elem
|
|
3173
|
+
})).every(flag => flag) || "object" === typeof value && null !== value && _vu0(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
3174
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
3175
|
+
expected: "(Array<TranscribeReplacer> | TranscribeForEachWordReplacer | TranscribeReplaceReplacer)",
|
|
3176
|
+
value: value
|
|
3177
|
+
}) || _report(_exceptionable, {
|
|
3178
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
3179
|
+
expected: "(Array<TranscribeReplacer> | TranscribeForEachWordReplacer | TranscribeReplaceReplacer)",
|
|
3180
|
+
value: value
|
|
3181
|
+
}));
|
|
3182
|
+
}).every(flag => flag)].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [undefined === input.type || "replace" === input.type || _report(_exceptionable, {
|
|
3183
|
+
path: _path + ".type",
|
|
3184
|
+
expected: "(\"replace\" | undefined)",
|
|
3185
|
+
value: input.type
|
|
3186
|
+
}), true, (null !== input.replacement || _report(_exceptionable, {
|
|
3187
|
+
path: _path + ".replacement",
|
|
3188
|
+
expected: "(__type.o1 | string)",
|
|
3189
|
+
value: input.replacement
|
|
3190
|
+
})) && (undefined !== input.replacement || _report(_exceptionable, {
|
|
3191
|
+
path: _path + ".replacement",
|
|
3192
|
+
expected: "(__type.o1 | string)",
|
|
3193
|
+
value: input.replacement
|
|
3194
|
+
})) && ("function" === typeof input.replacement || "string" === typeof input.replacement || ("object" === typeof input.replacement && null !== input.replacement || _report(_exceptionable, {
|
|
3195
|
+
path: _path + ".replacement",
|
|
3196
|
+
expected: "(__type.o1 | string)",
|
|
3197
|
+
value: input.replacement
|
|
3198
|
+
})) && _vo5(input.replacement, _path + ".replacement", true && _exceptionable) || _report(_exceptionable, {
|
|
3199
|
+
path: _path + ".replacement",
|
|
3200
|
+
expected: "(__type.o1 | string)",
|
|
3201
|
+
value: input.replacement
|
|
3202
|
+
})), undefined === input.flags || "string" === typeof input.flags || _report(_exceptionable, {
|
|
3203
|
+
path: _path + ".flags",
|
|
3204
|
+
expected: "(string | undefined)",
|
|
3205
|
+
value: input.flags
|
|
3206
|
+
}), undefined === input._comment || "string" === typeof input._comment || _report(_exceptionable, {
|
|
3207
|
+
path: _path + "._comment",
|
|
3208
|
+
expected: "(string | undefined)",
|
|
3209
|
+
value: input._comment
|
|
3210
|
+
}), 2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
3211
|
+
if (["type", "pattern", "replacement", "flags", "_comment"].some(prop => key === prop))
|
|
3212
|
+
return true;
|
|
3213
|
+
const value = input[key];
|
|
3214
|
+
if (undefined === value)
|
|
3215
|
+
return true;
|
|
3216
|
+
return _report(_exceptionable, {
|
|
3217
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
3218
|
+
expected: "undefined",
|
|
3219
|
+
value: value,
|
|
3220
|
+
description: [
|
|
3221
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
3222
|
+
"",
|
|
3223
|
+
"Please remove the property next time."
|
|
3224
|
+
].join("\n")
|
|
3225
|
+
});
|
|
3226
|
+
}).every(flag => flag))].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
3227
|
+
path: _path + ".__context",
|
|
3228
|
+
expected: "__type.o2",
|
|
3229
|
+
value: input.__context
|
|
3230
|
+
})) && _vo6(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
3231
|
+
path: _path + ".__context",
|
|
3232
|
+
expected: "__type.o2",
|
|
3233
|
+
value: input.__context
|
|
3234
|
+
}), (null !== input.__returnValue || _report(_exceptionable, {
|
|
3235
|
+
path: _path + ".__returnValue",
|
|
3236
|
+
expected: "string",
|
|
3237
|
+
value: input.__returnValue
|
|
3238
|
+
})) && (undefined !== input.__returnValue || _report(_exceptionable, {
|
|
3239
|
+
path: _path + ".__returnValue",
|
|
3240
|
+
expected: "string",
|
|
3241
|
+
value: input.__returnValue
|
|
3242
|
+
})) && ("function" === typeof input.__returnValue || "string" === typeof input.__returnValue || _report(_exceptionable, {
|
|
3243
|
+
path: _path + ".__returnValue",
|
|
3244
|
+
expected: "string",
|
|
3245
|
+
value: input.__returnValue
|
|
3246
|
+
})), 2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
3247
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
3248
|
+
return true;
|
|
3249
|
+
const value = input[key];
|
|
3250
|
+
if (undefined === value)
|
|
3251
|
+
return true;
|
|
3252
|
+
return _report(_exceptionable, {
|
|
3253
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
3254
|
+
expected: "undefined",
|
|
3255
|
+
value: value,
|
|
3256
|
+
description: [
|
|
3257
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
3258
|
+
"",
|
|
3259
|
+
"Please remove the property next time."
|
|
3260
|
+
].join("\n")
|
|
3261
|
+
});
|
|
3262
|
+
}).every(flag => flag))].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => ["string" === typeof input.item || _report(_exceptionable, {
|
|
3263
|
+
path: _path + ".item",
|
|
3264
|
+
expected: "string",
|
|
3265
|
+
value: input.item
|
|
3266
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
3267
|
+
if (["item"].some(prop => key === prop))
|
|
3268
|
+
return true;
|
|
3269
|
+
const value = input[key];
|
|
3270
|
+
if (undefined === value)
|
|
3271
|
+
return true;
|
|
3272
|
+
return _report(_exceptionable, {
|
|
3273
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
3274
|
+
expected: "undefined",
|
|
3275
|
+
value: value,
|
|
3276
|
+
description: [
|
|
3277
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
3278
|
+
"",
|
|
3279
|
+
"Please remove the property next time."
|
|
3280
|
+
].join("\n")
|
|
3281
|
+
});
|
|
3282
|
+
}).every(flag => flag))].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => ["items" === input.type || _report(_exceptionable, {
|
|
3283
|
+
path: _path + ".type",
|
|
3284
|
+
expected: "\"items\"",
|
|
3285
|
+
value: input.type
|
|
3286
|
+
}), (Array.isArray(input.items) || _report(_exceptionable, {
|
|
3287
|
+
path: _path + ".items",
|
|
3288
|
+
expected: "Array<string>",
|
|
3289
|
+
value: input.items
|
|
3290
|
+
})) && input.items.map((elem, _index5) => "string" === typeof elem || _report(_exceptionable, {
|
|
3291
|
+
path: _path + ".items[" + _index5 + "]",
|
|
3292
|
+
expected: "string",
|
|
3293
|
+
value: elem
|
|
3294
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
3295
|
+
path: _path + ".items",
|
|
3296
|
+
expected: "Array<string>",
|
|
3297
|
+
value: input.items
|
|
3298
|
+
}), undefined === input._comment || "string" === typeof input._comment || _report(_exceptionable, {
|
|
3299
|
+
path: _path + "._comment",
|
|
3300
|
+
expected: "(string | undefined)",
|
|
3301
|
+
value: input._comment
|
|
3302
|
+
}), (Array.isArray(input.replacers) || _report(_exceptionable, {
|
|
3303
|
+
path: _path + ".replacers",
|
|
3304
|
+
expected: "Array<__type>",
|
|
3305
|
+
value: input.replacers
|
|
3306
|
+
})) && input.replacers.map((elem, _index6) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
3307
|
+
path: _path + ".replacers[" + _index6 + "]",
|
|
3308
|
+
expected: "__type.o3",
|
|
3309
|
+
value: elem
|
|
3310
|
+
})) && _vo8(elem, _path + ".replacers[" + _index6 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
3311
|
+
path: _path + ".replacers[" + _index6 + "]",
|
|
3312
|
+
expected: "__type.o3",
|
|
3313
|
+
value: elem
|
|
3314
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
3315
|
+
path: _path + ".replacers",
|
|
3316
|
+
expected: "Array<__type>",
|
|
3317
|
+
value: input.replacers
|
|
3318
|
+
}), 3 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
3319
|
+
if (["type", "items", "_comment", "replacers"].some(prop => key === prop))
|
|
3320
|
+
return true;
|
|
3321
|
+
const value = input[key];
|
|
3322
|
+
if (undefined === value)
|
|
3323
|
+
return true;
|
|
3324
|
+
return _report(_exceptionable, {
|
|
3325
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
3326
|
+
expected: "undefined",
|
|
3327
|
+
value: value,
|
|
3328
|
+
description: [
|
|
3329
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
3330
|
+
"",
|
|
3331
|
+
"Please remove the property next time."
|
|
3332
|
+
].join("\n")
|
|
3333
|
+
});
|
|
3334
|
+
}).every(flag => flag))].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => [true, (null !== input.replacement || _report(_exceptionable, {
|
|
3335
|
+
path: _path + ".replacement",
|
|
3336
|
+
expected: "(__type.o4 | string)",
|
|
3337
|
+
value: input.replacement
|
|
3338
|
+
})) && (undefined !== input.replacement || _report(_exceptionable, {
|
|
3339
|
+
path: _path + ".replacement",
|
|
3340
|
+
expected: "(__type.o4 | string)",
|
|
3341
|
+
value: input.replacement
|
|
3342
|
+
})) && ("function" === typeof input.replacement || "string" === typeof input.replacement || ("object" === typeof input.replacement && null !== input.replacement || _report(_exceptionable, {
|
|
3343
|
+
path: _path + ".replacement",
|
|
3344
|
+
expected: "(__type.o4 | string)",
|
|
3345
|
+
value: input.replacement
|
|
3346
|
+
})) && _vo9(input.replacement, _path + ".replacement", true && _exceptionable) || _report(_exceptionable, {
|
|
3347
|
+
path: _path + ".replacement",
|
|
3348
|
+
expected: "(__type.o4 | string)",
|
|
3349
|
+
value: input.replacement
|
|
3350
|
+
})), undefined === input.flags || "string" === typeof input.flags || _report(_exceptionable, {
|
|
3351
|
+
path: _path + ".flags",
|
|
3352
|
+
expected: "(string | undefined)",
|
|
3353
|
+
value: input.flags
|
|
3354
|
+
}), undefined === input._comment || "string" === typeof input._comment || _report(_exceptionable, {
|
|
3355
|
+
path: _path + "._comment",
|
|
3356
|
+
expected: "(string | undefined)",
|
|
3357
|
+
value: input._comment
|
|
3358
|
+
}), 2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
3359
|
+
if (["pattern", "replacement", "flags", "_comment"].some(prop => key === prop))
|
|
3360
|
+
return true;
|
|
3361
|
+
const value = input[key];
|
|
3362
|
+
if (undefined === value)
|
|
3363
|
+
return true;
|
|
3364
|
+
return _report(_exceptionable, {
|
|
3365
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
3366
|
+
expected: "undefined",
|
|
3367
|
+
value: value,
|
|
3368
|
+
description: [
|
|
3369
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
3370
|
+
"",
|
|
3371
|
+
"Please remove the property next time."
|
|
3372
|
+
].join("\n")
|
|
3373
|
+
});
|
|
3374
|
+
}).every(flag => flag))].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
3375
|
+
path: _path + ".__context",
|
|
3376
|
+
expected: "__type.o5",
|
|
3377
|
+
value: input.__context
|
|
3378
|
+
})) && _vo10(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
3379
|
+
path: _path + ".__context",
|
|
3380
|
+
expected: "__type.o5",
|
|
3381
|
+
value: input.__context
|
|
3382
|
+
}), (null !== input.__returnValue || _report(_exceptionable, {
|
|
3383
|
+
path: _path + ".__returnValue",
|
|
3384
|
+
expected: "string",
|
|
3385
|
+
value: input.__returnValue
|
|
3386
|
+
})) && (undefined !== input.__returnValue || _report(_exceptionable, {
|
|
3387
|
+
path: _path + ".__returnValue",
|
|
3388
|
+
expected: "string",
|
|
3389
|
+
value: input.__returnValue
|
|
3390
|
+
})) && ("function" === typeof input.__returnValue || "string" === typeof input.__returnValue || _report(_exceptionable, {
|
|
3391
|
+
path: _path + ".__returnValue",
|
|
3392
|
+
expected: "string",
|
|
3393
|
+
value: input.__returnValue
|
|
3394
|
+
})), 2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
3395
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
3396
|
+
return true;
|
|
3397
|
+
const value = input[key];
|
|
3398
|
+
if (undefined === value)
|
|
3399
|
+
return true;
|
|
3400
|
+
return _report(_exceptionable, {
|
|
3401
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
3402
|
+
expected: "undefined",
|
|
3403
|
+
value: value,
|
|
3404
|
+
description: [
|
|
3405
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
3406
|
+
"",
|
|
3407
|
+
"Please remove the property next time."
|
|
3408
|
+
].join("\n")
|
|
3409
|
+
});
|
|
3410
|
+
}).every(flag => flag))].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => ["string" === typeof input.item || _report(_exceptionable, {
|
|
3411
|
+
path: _path + ".item",
|
|
3412
|
+
expected: "string",
|
|
3413
|
+
value: input.item
|
|
3414
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
3415
|
+
if (["item"].some(prop => key === prop))
|
|
3416
|
+
return true;
|
|
3417
|
+
const value = input[key];
|
|
3418
|
+
if (undefined === value)
|
|
3419
|
+
return true;
|
|
3420
|
+
return _report(_exceptionable, {
|
|
3421
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
3422
|
+
expected: "undefined",
|
|
3423
|
+
value: value,
|
|
3424
|
+
description: [
|
|
3425
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
3426
|
+
"",
|
|
3427
|
+
"Please remove the property next time."
|
|
3428
|
+
].join("\n")
|
|
3429
|
+
});
|
|
3430
|
+
}).every(flag => flag))].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
|
|
3431
|
+
if (undefined !== input.pattern)
|
|
3432
|
+
return _vo4(input, _path, true && _exceptionable);
|
|
3433
|
+
else if ("items" === input.type)
|
|
3434
|
+
return _vo7(input, _path, true && _exceptionable);
|
|
3435
|
+
else
|
|
3436
|
+
return _report(_exceptionable, {
|
|
3437
|
+
path: _path,
|
|
3438
|
+
expected: "(TranscribeReplaceReplacer | TranscribeForEachWordReplacer)",
|
|
3439
|
+
value: input
|
|
3440
|
+
});
|
|
3441
|
+
})(); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && _io0(input, true); let errors; let _report; return input => {
|
|
3442
|
+
if (false === __is(input)) {
|
|
3443
|
+
errors = [];
|
|
3444
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
3445
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
|
|
3446
|
+
path: _path + "",
|
|
3447
|
+
expected: "MediaTranscribeRecord",
|
|
3448
|
+
value: input
|
|
3449
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
3450
|
+
path: _path + "",
|
|
3451
|
+
expected: "MediaTranscribeRecord",
|
|
3452
|
+
value: input
|
|
3453
|
+
}))(input, "$input", true);
|
|
3454
|
+
const success = 0 === errors.length;
|
|
3455
|
+
return success ? {
|
|
3456
|
+
success,
|
|
3457
|
+
data: input
|
|
3458
|
+
} : {
|
|
3459
|
+
success,
|
|
3460
|
+
errors,
|
|
3461
|
+
data: input
|
|
3462
|
+
};
|
|
3463
|
+
}
|
|
3464
|
+
return {
|
|
3465
|
+
success: true,
|
|
3466
|
+
data: input
|
|
3467
|
+
};
|
|
3468
|
+
}; })()(input);
|
|
3469
|
+
}
|
|
2991
3470
|
case "media.transcribe?": {
|
|
2992
|
-
return (() => { const _io0 = (input, _exceptionable = true) => "object" === typeof input.engines && null !== input.engines && false === Array.isArray(input.engines) && _io1(input.engines, true && _exceptionable) && ("object" === typeof input.languages && null !== input.languages && false === Array.isArray(input.languages) && _io1(input.languages, true && _exceptionable)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io2(input.translate, true && _exceptionable)) && (2 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
2993
|
-
if (["engines", "languages", "translate"].some(prop => key === prop))
|
|
3471
|
+
return (() => { const _io0 = (input, _exceptionable = true) => "object" === typeof input.engines && null !== input.engines && false === Array.isArray(input.engines) && _io1(input.engines, true && _exceptionable) && ("object" === typeof input.languages && null !== input.languages && false === Array.isArray(input.languages) && _io1(input.languages, true && _exceptionable)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io2(input.translate, true && _exceptionable)) && (undefined === input.replacers || "object" === typeof input.replacers && null !== input.replacers && false === Array.isArray(input.replacers) && _io3(input.replacers, true && _exceptionable)) && (2 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
3472
|
+
if (["engines", "languages", "translate", "replacers"].some(prop => key === prop))
|
|
2994
3473
|
return true;
|
|
2995
3474
|
const value = input[key];
|
|
2996
3475
|
if (undefined === value)
|
|
@@ -3008,7 +3487,68 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
3008
3487
|
if (undefined === value)
|
|
3009
3488
|
return true;
|
|
3010
3489
|
return false;
|
|
3011
|
-
})); const
|
|
3490
|
+
})); const _io3 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
3491
|
+
const value = input[key];
|
|
3492
|
+
if (undefined === value)
|
|
3493
|
+
return true;
|
|
3494
|
+
return null !== value && undefined !== value && (Array.isArray(value) && value.every((elem, _index1) => "object" === typeof elem && null !== elem && _iu0(elem, true && _exceptionable)) || "object" === typeof value && null !== value && _iu0(value, true && _exceptionable));
|
|
3495
|
+
}); const _io4 = (input, _exceptionable = true) => (undefined === input.type || "replace" === input.type) && true && (null !== input.replacement && undefined !== input.replacement && ("function" === typeof input.replacement || "string" === typeof input.replacement || "object" === typeof input.replacement && null !== input.replacement && _io5(input.replacement, true && _exceptionable))) && (undefined === input.flags || "string" === typeof input.flags) && (undefined === input._comment || "string" === typeof input._comment) && (2 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
3496
|
+
if (["type", "pattern", "replacement", "flags", "_comment"].some(prop => key === prop))
|
|
3497
|
+
return true;
|
|
3498
|
+
const value = input[key];
|
|
3499
|
+
if (undefined === value)
|
|
3500
|
+
return true;
|
|
3501
|
+
return false;
|
|
3502
|
+
})); const _io5 = (input, _exceptionable = true) => "object" === typeof input.__context && null !== input.__context && _io6(input.__context, true && _exceptionable) && (null !== input.__returnValue && undefined !== input.__returnValue && ("function" === typeof input.__returnValue || "string" === typeof input.__returnValue)) && (2 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
3503
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
3504
|
+
return true;
|
|
3505
|
+
const value = input[key];
|
|
3506
|
+
if (undefined === value)
|
|
3507
|
+
return true;
|
|
3508
|
+
return false;
|
|
3509
|
+
})); const _io6 = (input, _exceptionable = true) => "string" === typeof input.item && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
3510
|
+
if (["item"].some(prop => key === prop))
|
|
3511
|
+
return true;
|
|
3512
|
+
const value = input[key];
|
|
3513
|
+
if (undefined === value)
|
|
3514
|
+
return true;
|
|
3515
|
+
return false;
|
|
3516
|
+
})); const _io7 = (input, _exceptionable = true) => "items" === input.type && (Array.isArray(input.items) && input.items.every((elem, _index2) => "string" === typeof elem)) && (undefined === input._comment || "string" === typeof input._comment) && (Array.isArray(input.replacers) && input.replacers.every((elem, _index3) => "object" === typeof elem && null !== elem && _io8(elem, true && _exceptionable))) && (3 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
3517
|
+
if (["type", "items", "_comment", "replacers"].some(prop => key === prop))
|
|
3518
|
+
return true;
|
|
3519
|
+
const value = input[key];
|
|
3520
|
+
if (undefined === value)
|
|
3521
|
+
return true;
|
|
3522
|
+
return false;
|
|
3523
|
+
})); const _io8 = (input, _exceptionable = true) => true && (null !== input.replacement && undefined !== input.replacement && ("function" === typeof input.replacement || "string" === typeof input.replacement || "object" === typeof input.replacement && null !== input.replacement && _io9(input.replacement, true && _exceptionable))) && (undefined === input.flags || "string" === typeof input.flags) && (undefined === input._comment || "string" === typeof input._comment) && (2 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
3524
|
+
if (["pattern", "replacement", "flags", "_comment"].some(prop => key === prop))
|
|
3525
|
+
return true;
|
|
3526
|
+
const value = input[key];
|
|
3527
|
+
if (undefined === value)
|
|
3528
|
+
return true;
|
|
3529
|
+
return false;
|
|
3530
|
+
})); const _io9 = (input, _exceptionable = true) => "object" === typeof input.__context && null !== input.__context && _io10(input.__context, true && _exceptionable) && (null !== input.__returnValue && undefined !== input.__returnValue && ("function" === typeof input.__returnValue || "string" === typeof input.__returnValue)) && (2 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
3531
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
3532
|
+
return true;
|
|
3533
|
+
const value = input[key];
|
|
3534
|
+
if (undefined === value)
|
|
3535
|
+
return true;
|
|
3536
|
+
return false;
|
|
3537
|
+
})); const _io10 = (input, _exceptionable = true) => "string" === typeof input.item && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
3538
|
+
if (["item"].some(prop => key === prop))
|
|
3539
|
+
return true;
|
|
3540
|
+
const value = input[key];
|
|
3541
|
+
if (undefined === value)
|
|
3542
|
+
return true;
|
|
3543
|
+
return false;
|
|
3544
|
+
})); const _iu0 = (input, _exceptionable = true) => (() => {
|
|
3545
|
+
if (undefined !== input.pattern)
|
|
3546
|
+
return _io4(input, true && _exceptionable);
|
|
3547
|
+
else if ("items" === input.type)
|
|
3548
|
+
return _io7(input, true && _exceptionable);
|
|
3549
|
+
else
|
|
3550
|
+
return false;
|
|
3551
|
+
})(); const _vo0 = (input, _path, _exceptionable = true) => [("object" === typeof input.engines && null !== input.engines && false === Array.isArray(input.engines) || _report(_exceptionable, {
|
|
3012
3552
|
path: _path + ".engines",
|
|
3013
3553
|
expected: "Record<string, string>",
|
|
3014
3554
|
value: input.engines
|
|
@@ -3032,8 +3572,49 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
3032
3572
|
path: _path + ".translate",
|
|
3033
3573
|
expected: "(__type | undefined)",
|
|
3034
3574
|
value: input.translate
|
|
3575
|
+
}), undefined === input.replacers || ("object" === typeof input.replacers && null !== input.replacers && false === Array.isArray(input.replacers) || _report(_exceptionable, {
|
|
3576
|
+
path: _path + ".replacers",
|
|
3577
|
+
expected: "(Record<string, TranscribeReplacer | TranscribeReplacer[]> | undefined)",
|
|
3578
|
+
value: input.replacers
|
|
3579
|
+
})) && _vo3(input.replacers, _path + ".replacers", true && _exceptionable) || _report(_exceptionable, {
|
|
3580
|
+
path: _path + ".replacers",
|
|
3581
|
+
expected: "(Record<string, TranscribeReplacer | TranscribeReplacer[]> | undefined)",
|
|
3582
|
+
value: input.replacers
|
|
3035
3583
|
}), 2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
3036
|
-
if (["engines", "languages", "translate"].some(prop => key === prop))
|
|
3584
|
+
if (["engines", "languages", "translate", "replacers"].some(prop => key === prop))
|
|
3585
|
+
return true;
|
|
3586
|
+
const value = input[key];
|
|
3587
|
+
if (undefined === value)
|
|
3588
|
+
return true;
|
|
3589
|
+
return _report(_exceptionable, {
|
|
3590
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
3591
|
+
expected: "undefined",
|
|
3592
|
+
value: value,
|
|
3593
|
+
description: [
|
|
3594
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
3595
|
+
"",
|
|
3596
|
+
"Please remove the property next time."
|
|
3597
|
+
].join("\n")
|
|
3598
|
+
});
|
|
3599
|
+
}).every(flag => flag))].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
3600
|
+
const value = input[key];
|
|
3601
|
+
if (undefined === value)
|
|
3602
|
+
return true;
|
|
3603
|
+
return "string" === typeof value || _report(_exceptionable, {
|
|
3604
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
3605
|
+
expected: "string",
|
|
3606
|
+
value: value
|
|
3607
|
+
});
|
|
3608
|
+
}).every(flag => flag)].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [("object" === typeof input.languages && null !== input.languages && false === Array.isArray(input.languages) || _report(_exceptionable, {
|
|
3609
|
+
path: _path + ".languages",
|
|
3610
|
+
expected: "Record<string, string>",
|
|
3611
|
+
value: input.languages
|
|
3612
|
+
})) && _vo1(input.languages, _path + ".languages", true && _exceptionable) || _report(_exceptionable, {
|
|
3613
|
+
path: _path + ".languages",
|
|
3614
|
+
expected: "Record<string, string>",
|
|
3615
|
+
value: input.languages
|
|
3616
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
3617
|
+
if (["languages"].some(prop => key === prop))
|
|
3037
3618
|
return true;
|
|
3038
3619
|
const value = input[key];
|
|
3039
3620
|
if (undefined === value)
|
|
@@ -3048,25 +3629,121 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
3048
3629
|
"Please remove the property next time."
|
|
3049
3630
|
].join("\n")
|
|
3050
3631
|
});
|
|
3051
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
3632
|
+
}).every(flag => flag))].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
3052
3633
|
const value = input[key];
|
|
3053
3634
|
if (undefined === value)
|
|
3054
3635
|
return true;
|
|
3055
|
-
return
|
|
3636
|
+
return (null !== value || _report(_exceptionable, {
|
|
3056
3637
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
3057
|
-
expected: "
|
|
3638
|
+
expected: "(Array<TranscribeReplacer> | TranscribeForEachWordReplacer | TranscribeReplaceReplacer)",
|
|
3639
|
+
value: value
|
|
3640
|
+
})) && (undefined !== value || _report(_exceptionable, {
|
|
3641
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
3642
|
+
expected: "(Array<TranscribeReplacer> | TranscribeForEachWordReplacer | TranscribeReplaceReplacer)",
|
|
3643
|
+
value: value
|
|
3644
|
+
})) && (Array.isArray(value) && value.map((elem, _index4) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
3645
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" + _index4 + "]",
|
|
3646
|
+
expected: "(TranscribeForEachWordReplacer | TranscribeReplaceReplacer)",
|
|
3647
|
+
value: elem
|
|
3648
|
+
})) && _vu0(elem, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" + _index4 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
3649
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" + _index4 + "]",
|
|
3650
|
+
expected: "(TranscribeForEachWordReplacer | TranscribeReplaceReplacer)",
|
|
3651
|
+
value: elem
|
|
3652
|
+
})).every(flag => flag) || "object" === typeof value && null !== value && _vu0(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
3653
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
3654
|
+
expected: "(Array<TranscribeReplacer> | TranscribeForEachWordReplacer | TranscribeReplaceReplacer)",
|
|
3655
|
+
value: value
|
|
3656
|
+
}) || _report(_exceptionable, {
|
|
3657
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
3658
|
+
expected: "(Array<TranscribeReplacer> | TranscribeForEachWordReplacer | TranscribeReplaceReplacer)",
|
|
3058
3659
|
value: value
|
|
3660
|
+
}));
|
|
3661
|
+
}).every(flag => flag)].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [undefined === input.type || "replace" === input.type || _report(_exceptionable, {
|
|
3662
|
+
path: _path + ".type",
|
|
3663
|
+
expected: "(\"replace\" | undefined)",
|
|
3664
|
+
value: input.type
|
|
3665
|
+
}), true, (null !== input.replacement || _report(_exceptionable, {
|
|
3666
|
+
path: _path + ".replacement",
|
|
3667
|
+
expected: "(__type.o1 | string)",
|
|
3668
|
+
value: input.replacement
|
|
3669
|
+
})) && (undefined !== input.replacement || _report(_exceptionable, {
|
|
3670
|
+
path: _path + ".replacement",
|
|
3671
|
+
expected: "(__type.o1 | string)",
|
|
3672
|
+
value: input.replacement
|
|
3673
|
+
})) && ("function" === typeof input.replacement || "string" === typeof input.replacement || ("object" === typeof input.replacement && null !== input.replacement || _report(_exceptionable, {
|
|
3674
|
+
path: _path + ".replacement",
|
|
3675
|
+
expected: "(__type.o1 | string)",
|
|
3676
|
+
value: input.replacement
|
|
3677
|
+
})) && _vo5(input.replacement, _path + ".replacement", true && _exceptionable) || _report(_exceptionable, {
|
|
3678
|
+
path: _path + ".replacement",
|
|
3679
|
+
expected: "(__type.o1 | string)",
|
|
3680
|
+
value: input.replacement
|
|
3681
|
+
})), undefined === input.flags || "string" === typeof input.flags || _report(_exceptionable, {
|
|
3682
|
+
path: _path + ".flags",
|
|
3683
|
+
expected: "(string | undefined)",
|
|
3684
|
+
value: input.flags
|
|
3685
|
+
}), undefined === input._comment || "string" === typeof input._comment || _report(_exceptionable, {
|
|
3686
|
+
path: _path + "._comment",
|
|
3687
|
+
expected: "(string | undefined)",
|
|
3688
|
+
value: input._comment
|
|
3689
|
+
}), 2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
3690
|
+
if (["type", "pattern", "replacement", "flags", "_comment"].some(prop => key === prop))
|
|
3691
|
+
return true;
|
|
3692
|
+
const value = input[key];
|
|
3693
|
+
if (undefined === value)
|
|
3694
|
+
return true;
|
|
3695
|
+
return _report(_exceptionable, {
|
|
3696
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
3697
|
+
expected: "undefined",
|
|
3698
|
+
value: value,
|
|
3699
|
+
description: [
|
|
3700
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
3701
|
+
"",
|
|
3702
|
+
"Please remove the property next time."
|
|
3703
|
+
].join("\n")
|
|
3059
3704
|
});
|
|
3060
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
3061
|
-
path: _path + ".
|
|
3062
|
-
expected: "
|
|
3063
|
-
value: input.
|
|
3064
|
-
})) &&
|
|
3065
|
-
path: _path + ".
|
|
3066
|
-
expected: "
|
|
3067
|
-
value: input.
|
|
3705
|
+
}).every(flag => flag))].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
3706
|
+
path: _path + ".__context",
|
|
3707
|
+
expected: "__type.o2",
|
|
3708
|
+
value: input.__context
|
|
3709
|
+
})) && _vo6(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
3710
|
+
path: _path + ".__context",
|
|
3711
|
+
expected: "__type.o2",
|
|
3712
|
+
value: input.__context
|
|
3713
|
+
}), (null !== input.__returnValue || _report(_exceptionable, {
|
|
3714
|
+
path: _path + ".__returnValue",
|
|
3715
|
+
expected: "string",
|
|
3716
|
+
value: input.__returnValue
|
|
3717
|
+
})) && (undefined !== input.__returnValue || _report(_exceptionable, {
|
|
3718
|
+
path: _path + ".__returnValue",
|
|
3719
|
+
expected: "string",
|
|
3720
|
+
value: input.__returnValue
|
|
3721
|
+
})) && ("function" === typeof input.__returnValue || "string" === typeof input.__returnValue || _report(_exceptionable, {
|
|
3722
|
+
path: _path + ".__returnValue",
|
|
3723
|
+
expected: "string",
|
|
3724
|
+
value: input.__returnValue
|
|
3725
|
+
})), 2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
3726
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
3727
|
+
return true;
|
|
3728
|
+
const value = input[key];
|
|
3729
|
+
if (undefined === value)
|
|
3730
|
+
return true;
|
|
3731
|
+
return _report(_exceptionable, {
|
|
3732
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
3733
|
+
expected: "undefined",
|
|
3734
|
+
value: value,
|
|
3735
|
+
description: [
|
|
3736
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
3737
|
+
"",
|
|
3738
|
+
"Please remove the property next time."
|
|
3739
|
+
].join("\n")
|
|
3740
|
+
});
|
|
3741
|
+
}).every(flag => flag))].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => ["string" === typeof input.item || _report(_exceptionable, {
|
|
3742
|
+
path: _path + ".item",
|
|
3743
|
+
expected: "string",
|
|
3744
|
+
value: input.item
|
|
3068
3745
|
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
3069
|
-
if (["
|
|
3746
|
+
if (["item"].some(prop => key === prop))
|
|
3070
3747
|
return true;
|
|
3071
3748
|
const value = input[key];
|
|
3072
3749
|
if (undefined === value)
|
|
@@ -3081,7 +3758,166 @@ function _validateEqualsExactRecord(name, input) {
|
|
|
3081
3758
|
"Please remove the property next time."
|
|
3082
3759
|
].join("\n")
|
|
3083
3760
|
});
|
|
3084
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
3761
|
+
}).every(flag => flag))].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => ["items" === input.type || _report(_exceptionable, {
|
|
3762
|
+
path: _path + ".type",
|
|
3763
|
+
expected: "\"items\"",
|
|
3764
|
+
value: input.type
|
|
3765
|
+
}), (Array.isArray(input.items) || _report(_exceptionable, {
|
|
3766
|
+
path: _path + ".items",
|
|
3767
|
+
expected: "Array<string>",
|
|
3768
|
+
value: input.items
|
|
3769
|
+
})) && input.items.map((elem, _index5) => "string" === typeof elem || _report(_exceptionable, {
|
|
3770
|
+
path: _path + ".items[" + _index5 + "]",
|
|
3771
|
+
expected: "string",
|
|
3772
|
+
value: elem
|
|
3773
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
3774
|
+
path: _path + ".items",
|
|
3775
|
+
expected: "Array<string>",
|
|
3776
|
+
value: input.items
|
|
3777
|
+
}), undefined === input._comment || "string" === typeof input._comment || _report(_exceptionable, {
|
|
3778
|
+
path: _path + "._comment",
|
|
3779
|
+
expected: "(string | undefined)",
|
|
3780
|
+
value: input._comment
|
|
3781
|
+
}), (Array.isArray(input.replacers) || _report(_exceptionable, {
|
|
3782
|
+
path: _path + ".replacers",
|
|
3783
|
+
expected: "Array<__type>",
|
|
3784
|
+
value: input.replacers
|
|
3785
|
+
})) && input.replacers.map((elem, _index6) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
3786
|
+
path: _path + ".replacers[" + _index6 + "]",
|
|
3787
|
+
expected: "__type.o3",
|
|
3788
|
+
value: elem
|
|
3789
|
+
})) && _vo8(elem, _path + ".replacers[" + _index6 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
3790
|
+
path: _path + ".replacers[" + _index6 + "]",
|
|
3791
|
+
expected: "__type.o3",
|
|
3792
|
+
value: elem
|
|
3793
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
3794
|
+
path: _path + ".replacers",
|
|
3795
|
+
expected: "Array<__type>",
|
|
3796
|
+
value: input.replacers
|
|
3797
|
+
}), 3 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
3798
|
+
if (["type", "items", "_comment", "replacers"].some(prop => key === prop))
|
|
3799
|
+
return true;
|
|
3800
|
+
const value = input[key];
|
|
3801
|
+
if (undefined === value)
|
|
3802
|
+
return true;
|
|
3803
|
+
return _report(_exceptionable, {
|
|
3804
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
3805
|
+
expected: "undefined",
|
|
3806
|
+
value: value,
|
|
3807
|
+
description: [
|
|
3808
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
3809
|
+
"",
|
|
3810
|
+
"Please remove the property next time."
|
|
3811
|
+
].join("\n")
|
|
3812
|
+
});
|
|
3813
|
+
}).every(flag => flag))].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => [true, (null !== input.replacement || _report(_exceptionable, {
|
|
3814
|
+
path: _path + ".replacement",
|
|
3815
|
+
expected: "(__type.o4 | string)",
|
|
3816
|
+
value: input.replacement
|
|
3817
|
+
})) && (undefined !== input.replacement || _report(_exceptionable, {
|
|
3818
|
+
path: _path + ".replacement",
|
|
3819
|
+
expected: "(__type.o4 | string)",
|
|
3820
|
+
value: input.replacement
|
|
3821
|
+
})) && ("function" === typeof input.replacement || "string" === typeof input.replacement || ("object" === typeof input.replacement && null !== input.replacement || _report(_exceptionable, {
|
|
3822
|
+
path: _path + ".replacement",
|
|
3823
|
+
expected: "(__type.o4 | string)",
|
|
3824
|
+
value: input.replacement
|
|
3825
|
+
})) && _vo9(input.replacement, _path + ".replacement", true && _exceptionable) || _report(_exceptionable, {
|
|
3826
|
+
path: _path + ".replacement",
|
|
3827
|
+
expected: "(__type.o4 | string)",
|
|
3828
|
+
value: input.replacement
|
|
3829
|
+
})), undefined === input.flags || "string" === typeof input.flags || _report(_exceptionable, {
|
|
3830
|
+
path: _path + ".flags",
|
|
3831
|
+
expected: "(string | undefined)",
|
|
3832
|
+
value: input.flags
|
|
3833
|
+
}), undefined === input._comment || "string" === typeof input._comment || _report(_exceptionable, {
|
|
3834
|
+
path: _path + "._comment",
|
|
3835
|
+
expected: "(string | undefined)",
|
|
3836
|
+
value: input._comment
|
|
3837
|
+
}), 2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
3838
|
+
if (["pattern", "replacement", "flags", "_comment"].some(prop => key === prop))
|
|
3839
|
+
return true;
|
|
3840
|
+
const value = input[key];
|
|
3841
|
+
if (undefined === value)
|
|
3842
|
+
return true;
|
|
3843
|
+
return _report(_exceptionable, {
|
|
3844
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
3845
|
+
expected: "undefined",
|
|
3846
|
+
value: value,
|
|
3847
|
+
description: [
|
|
3848
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
3849
|
+
"",
|
|
3850
|
+
"Please remove the property next time."
|
|
3851
|
+
].join("\n")
|
|
3852
|
+
});
|
|
3853
|
+
}).every(flag => flag))].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => [("object" === typeof input.__context && null !== input.__context || _report(_exceptionable, {
|
|
3854
|
+
path: _path + ".__context",
|
|
3855
|
+
expected: "__type.o5",
|
|
3856
|
+
value: input.__context
|
|
3857
|
+
})) && _vo10(input.__context, _path + ".__context", true && _exceptionable) || _report(_exceptionable, {
|
|
3858
|
+
path: _path + ".__context",
|
|
3859
|
+
expected: "__type.o5",
|
|
3860
|
+
value: input.__context
|
|
3861
|
+
}), (null !== input.__returnValue || _report(_exceptionable, {
|
|
3862
|
+
path: _path + ".__returnValue",
|
|
3863
|
+
expected: "string",
|
|
3864
|
+
value: input.__returnValue
|
|
3865
|
+
})) && (undefined !== input.__returnValue || _report(_exceptionable, {
|
|
3866
|
+
path: _path + ".__returnValue",
|
|
3867
|
+
expected: "string",
|
|
3868
|
+
value: input.__returnValue
|
|
3869
|
+
})) && ("function" === typeof input.__returnValue || "string" === typeof input.__returnValue || _report(_exceptionable, {
|
|
3870
|
+
path: _path + ".__returnValue",
|
|
3871
|
+
expected: "string",
|
|
3872
|
+
value: input.__returnValue
|
|
3873
|
+
})), 2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
3874
|
+
if (["__context", "__returnValue"].some(prop => key === prop))
|
|
3875
|
+
return true;
|
|
3876
|
+
const value = input[key];
|
|
3877
|
+
if (undefined === value)
|
|
3878
|
+
return true;
|
|
3879
|
+
return _report(_exceptionable, {
|
|
3880
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
3881
|
+
expected: "undefined",
|
|
3882
|
+
value: value,
|
|
3883
|
+
description: [
|
|
3884
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
3885
|
+
"",
|
|
3886
|
+
"Please remove the property next time."
|
|
3887
|
+
].join("\n")
|
|
3888
|
+
});
|
|
3889
|
+
}).every(flag => flag))].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => ["string" === typeof input.item || _report(_exceptionable, {
|
|
3890
|
+
path: _path + ".item",
|
|
3891
|
+
expected: "string",
|
|
3892
|
+
value: input.item
|
|
3893
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
3894
|
+
if (["item"].some(prop => key === prop))
|
|
3895
|
+
return true;
|
|
3896
|
+
const value = input[key];
|
|
3897
|
+
if (undefined === value)
|
|
3898
|
+
return true;
|
|
3899
|
+
return _report(_exceptionable, {
|
|
3900
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
3901
|
+
expected: "undefined",
|
|
3902
|
+
value: value,
|
|
3903
|
+
description: [
|
|
3904
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
3905
|
+
"",
|
|
3906
|
+
"Please remove the property next time."
|
|
3907
|
+
].join("\n")
|
|
3908
|
+
});
|
|
3909
|
+
}).every(flag => flag))].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
|
|
3910
|
+
if (undefined !== input.pattern)
|
|
3911
|
+
return _vo4(input, _path, true && _exceptionable);
|
|
3912
|
+
else if ("items" === input.type)
|
|
3913
|
+
return _vo7(input, _path, true && _exceptionable);
|
|
3914
|
+
else
|
|
3915
|
+
return _report(_exceptionable, {
|
|
3916
|
+
path: _path,
|
|
3917
|
+
expected: "(TranscribeReplaceReplacer | TranscribeForEachWordReplacer)",
|
|
3918
|
+
value: input
|
|
3919
|
+
});
|
|
3920
|
+
})(); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && _io0(input, true); let errors; let _report; return input => {
|
|
3085
3921
|
if (false === __is(input)) {
|
|
3086
3922
|
errors = [];
|
|
3087
3923
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
@@ -3961,16 +4797,16 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
3961
4797
|
{
|
|
3962
4798
|
switch (domain) {
|
|
3963
4799
|
case ":asset.title?": {
|
|
3964
|
-
return (() => { const _io0 = (input, _exceptionable = true) => (undefined === input.value || "string" === typeof input.value) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
4800
|
+
return (() => { const _io0 = (input, _exceptionable = true) => (null === input.value || undefined === input.value || "string" === typeof input.value) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
3965
4801
|
if (["value"].some(prop => key === prop))
|
|
3966
4802
|
return true;
|
|
3967
4803
|
const value = input[key];
|
|
3968
4804
|
if (undefined === value)
|
|
3969
4805
|
return true;
|
|
3970
4806
|
return false;
|
|
3971
|
-
})); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.value || "string" === typeof input.value || _report(_exceptionable, {
|
|
4807
|
+
})); const _vo0 = (input, _path, _exceptionable = true) => [null === input.value || undefined === input.value || "string" === typeof input.value || _report(_exceptionable, {
|
|
3972
4808
|
path: _path + ".value",
|
|
3973
|
-
expected: "(string | undefined)",
|
|
4809
|
+
expected: "(null | string | undefined)",
|
|
3974
4810
|
value: input.value
|
|
3975
4811
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
3976
4812
|
if (["value"].some(prop => key === prop))
|
|
@@ -13686,12 +14522,77 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13686
14522
|
const value = input[key];
|
|
13687
14523
|
if (undefined === value)
|
|
13688
14524
|
return true;
|
|
13689
|
-
return "string" === typeof value || _report(_exceptionable, {
|
|
13690
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
13691
|
-
expected: "string",
|
|
13692
|
-
value: value
|
|
13693
|
-
});
|
|
13694
|
-
}).every(flag => flag)].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
14525
|
+
return "string" === typeof value || _report(_exceptionable, {
|
|
14526
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
14527
|
+
expected: "string",
|
|
14528
|
+
value: value
|
|
14529
|
+
});
|
|
14530
|
+
}).every(flag => flag)].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
14531
|
+
const value = input[key];
|
|
14532
|
+
if (undefined === value)
|
|
14533
|
+
return true;
|
|
14534
|
+
return _report(_exceptionable, {
|
|
14535
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
14536
|
+
expected: "undefined",
|
|
14537
|
+
value: value,
|
|
14538
|
+
description: [
|
|
14539
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
14540
|
+
"",
|
|
14541
|
+
"Please remove the property next time."
|
|
14542
|
+
].join("\n")
|
|
14543
|
+
});
|
|
14544
|
+
}).every(flag => flag))].every(flag => flag); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && _io0(input, true); let errors; let _report; return input => {
|
|
14545
|
+
if (false === __is(input)) {
|
|
14546
|
+
errors = [];
|
|
14547
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
14548
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
|
|
14549
|
+
path: _path + "",
|
|
14550
|
+
expected: "FileStats",
|
|
14551
|
+
value: input
|
|
14552
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
14553
|
+
path: _path + "",
|
|
14554
|
+
expected: "FileStats",
|
|
14555
|
+
value: input
|
|
14556
|
+
}))(input, "$input", true);
|
|
14557
|
+
const success = 0 === errors.length;
|
|
14558
|
+
return success ? {
|
|
14559
|
+
success,
|
|
14560
|
+
data: input
|
|
14561
|
+
} : {
|
|
14562
|
+
success,
|
|
14563
|
+
errors,
|
|
14564
|
+
data: input
|
|
14565
|
+
};
|
|
14566
|
+
}
|
|
14567
|
+
return {
|
|
14568
|
+
success: true,
|
|
14569
|
+
data: input
|
|
14570
|
+
};
|
|
14571
|
+
}; })()(input);
|
|
14572
|
+
}
|
|
14573
|
+
case ":folder.items": {
|
|
14574
|
+
return (() => { const _io0 = (input, _exceptionable = true) => Array.isArray(input.value) && input.value.every((elem, _index1) => "string" === typeof elem) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
14575
|
+
if (["value"].some(prop => key === prop))
|
|
14576
|
+
return true;
|
|
14577
|
+
const value = input[key];
|
|
14578
|
+
if (undefined === value)
|
|
14579
|
+
return true;
|
|
14580
|
+
return false;
|
|
14581
|
+
})); const _vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.value) || _report(_exceptionable, {
|
|
14582
|
+
path: _path + ".value",
|
|
14583
|
+
expected: "Array<string>",
|
|
14584
|
+
value: input.value
|
|
14585
|
+
})) && input.value.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
|
|
14586
|
+
path: _path + ".value[" + _index2 + "]",
|
|
14587
|
+
expected: "string",
|
|
14588
|
+
value: elem
|
|
14589
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
14590
|
+
path: _path + ".value",
|
|
14591
|
+
expected: "Array<string>",
|
|
14592
|
+
value: input.value
|
|
14593
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
14594
|
+
if (["value"].some(prop => key === prop))
|
|
14595
|
+
return true;
|
|
13695
14596
|
const value = input[key];
|
|
13696
14597
|
if (undefined === value)
|
|
13697
14598
|
return true;
|
|
@@ -13711,11 +14612,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
13711
14612
|
_report = __typia_transform__validateReport._validateReport(errors);
|
|
13712
14613
|
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
|
|
13713
14614
|
path: _path + "",
|
|
13714
|
-
expected: "
|
|
14615
|
+
expected: "FolderItemsDomainRecord",
|
|
13715
14616
|
value: input
|
|
13716
14617
|
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
13717
14618
|
path: _path + "",
|
|
13718
|
-
expected: "
|
|
14619
|
+
expected: "FolderItemsDomainRecord",
|
|
13719
14620
|
value: input
|
|
13720
14621
|
}))(input, "$input", true);
|
|
13721
14622
|
const success = 0 === errors.length;
|
|
@@ -25900,7 +26801,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
25900
26801
|
}; })()(input);
|
|
25901
26802
|
}
|
|
25902
26803
|
case ":settings": {
|
|
25903
|
-
return (() => { const _iv22 = 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
|
|
26804
|
+
return (() => { const _iv22 = 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 _iv27 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]); const _vv55 = 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 _vv60 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]); const _io0 = (input, _exceptionable = true) => (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, true && _exceptionable)) && (undefined === input["module"] || "object" === typeof input["module"] && null !== input["module"] && false === Array.isArray(input["module"]) && _io2(input["module"], true && _exceptionable)) && (undefined === input.upload || "object" === typeof input.upload && null !== input.upload && false === Array.isArray(input.upload) && _io6(input.upload, true && _exceptionable)) && (undefined === input.download || "object" === typeof input.download && null !== input.download && false === Array.isArray(input.download) && _io7(input.download, true && _exceptionable)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && _io8(input.browser, true && _exceptionable)) && (undefined === input.toolbarTags || "object" === typeof input.toolbarTags && null !== input.toolbarTags && false === Array.isArray(input.toolbarTags) && _io12(input.toolbarTags, true && _exceptionable)) && (undefined === input.exclusiveTagGroups || Array.isArray(input.exclusiveTagGroups) && input.exclusiveTagGroups.every((elem, _index1) => Array.isArray(elem) && elem.every((elem, _index2) => "string" === typeof elem))) && (undefined === input.deadlines || "object" === typeof input.deadlines && null !== input.deadlines && false === Array.isArray(input.deadlines) && _io13(input.deadlines, true && _exceptionable)) && (undefined === input.assignees || "object" === typeof input.assignees && null !== input.assignees && false === Array.isArray(input.assignees) && _io14(input.assignees, true && _exceptionable)) && (undefined === input.comments || "object" === typeof input.comments && null !== input.comments && false === Array.isArray(input.comments) && _io15(input.comments, true && _exceptionable)) && (undefined === input.clock || "object" === typeof input.clock && null !== input.clock && false === Array.isArray(input.clock) && _io16(input.clock, true && _exceptionable)) && (undefined === input.swarm || "object" === typeof input.swarm && null !== input.swarm && false === Array.isArray(input.swarm) && _io17(input.swarm, true && _exceptionable)) && (undefined === input.dashboard || "object" === typeof input.dashboard && null !== input.dashboard && false === Array.isArray(input.dashboard) && _io18(input.dashboard, true && _exceptionable)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && _io20(input.script, true && _exceptionable)) && (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io25(input.events, true && _exceptionable)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && _io28(input.rundown, true && _exceptionable)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && _io29(input.gallery, true && _exceptionable)) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.keymap || "object" === typeof input.keymap && null !== input.keymap && false === Array.isArray(input.keymap) && _io30(input.keymap, true && _exceptionable)) && (undefined === input.media || "object" === typeof input.media && null !== input.media && false === Array.isArray(input.media) && _io43(input.media, true && _exceptionable)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && _io56(input.edit, true && _exceptionable)) && (undefined === input.commands || Array.isArray(input.commands) && input.commands.every((elem, _index3) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io60(elem, true && _exceptionable))) && (undefined === input.predefinedTags || Array.isArray(input.predefinedTags) && input.predefinedTags.every((elem, _index4) => "string" === typeof elem)) && (undefined === input.storyboard || "object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) && _io61(input.storyboard, true && _exceptionable)) && (undefined === input.print || "object" === typeof input.print && null !== input.print && false === Array.isArray(input.print) && _io70(input.print, true && _exceptionable)) && (undefined === input.hiddenPreviews || Array.isArray(input.hiddenPreviews) && input.hiddenPreviews.every((elem, _index5) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io71(elem, true && _exceptionable))) && (undefined === input.plugins || "object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) && _io72(input.plugins, true && _exceptionable)) && (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) && _io75(input.featurePreview, true && _exceptionable)) && (undefined === input.flags || "object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) && _io76(input.flags, true && _exceptionable)) && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && _io77(input.notifications, true && _exceptionable)) && (undefined === input.suppressDeleteAlert || "boolean" === typeof input.suppressDeleteAlert) && (undefined === input.clone || "object" === typeof input.clone && null !== input.clone && false === Array.isArray(input.clone) && _io80(input.clone, true && _exceptionable)) && (undefined === input.utilsAssetEditorPanel || "object" === typeof input.utilsAssetEditorPanel && null !== input.utilsAssetEditorPanel && false === Array.isArray(input.utilsAssetEditorPanel) && _io82(input.utilsAssetEditorPanel, true && _exceptionable)) && (undefined === input.display || "object" === typeof input.display && null !== input.display && false === Array.isArray(input.display) && _io83(input.display, true && _exceptionable)) && (undefined === input.bookmarks || "object" === typeof input.bookmarks && null !== input.bookmarks && false === Array.isArray(input.bookmarks) && _io84(input.bookmarks, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
25904
26805
|
if (["autoLogoutTime", "permission", "module", "upload", "download", "browser", "toolbarTags", "exclusiveTagGroups", "deadlines", "assignees", "comments", "clock", "swarm", "dashboard", "script", "events", "rundown", "gallery", "history", "keymap", "media", "edit", "commands", "predefinedTags", "storyboard", "print", "hiddenPreviews", "plugins", "crashScreen", "debug", "featurePreview", "flags", "notifications", "suppressDeleteAlert", "clone", "utilsAssetEditorPanel", "display", "bookmarks"].some(prop => key === prop))
|
|
25905
26806
|
return true;
|
|
25906
26807
|
const value = input[key];
|
|
@@ -26092,8 +26993,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
26092
26993
|
if (undefined === value)
|
|
26093
26994
|
return true;
|
|
26094
26995
|
return false;
|
|
26095
|
-
})); const _io28 = (input, _exceptionable = true) => (undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails) && (
|
|
26096
|
-
if (["eventThumbnails"].some(prop => key === prop))
|
|
26996
|
+
})); const _io28 = (input, _exceptionable = true) => (undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails) && ("folded" === input.scriptEventFolding || "unfoldedUntilFolded" === input.scriptEventFolding) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
26997
|
+
if (["eventThumbnails", "scriptEventFolding"].some(prop => key === prop))
|
|
26097
26998
|
return true;
|
|
26098
26999
|
const value = input[key];
|
|
26099
27000
|
if (undefined === value)
|
|
@@ -26266,187 +27167,201 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
26266
27167
|
if (undefined === value)
|
|
26267
27168
|
return true;
|
|
26268
27169
|
return false;
|
|
26269
|
-
})); const _io56 = (input, _exceptionable = true) => (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) &&
|
|
26270
|
-
if (["thumbnailView", "voiceOver"].some(prop => key === prop))
|
|
27170
|
+
})); const _io56 = (input, _exceptionable = true) => (undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView) && (undefined === input.normalize || "object" === typeof input.normalize && null !== input.normalize && false === Array.isArray(input.normalize) && _io57(input.normalize, true && _exceptionable)) && (undefined === input.voiceOver || "object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) && _io59(input.voiceOver, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
27171
|
+
if (["thumbnailView", "normalize", "voiceOver"].some(prop => key === prop))
|
|
27172
|
+
return true;
|
|
27173
|
+
const value = input[key];
|
|
27174
|
+
if (undefined === value)
|
|
27175
|
+
return true;
|
|
27176
|
+
return false;
|
|
27177
|
+
})); const _io57 = (input, _exceptionable = true) => (undefined === input.presets || Array.isArray(input.presets) && input.presets.every((elem, _index25) => "object" === typeof elem && null !== elem && _io58(elem, true && _exceptionable))) && (undefined === input.defaultPresetId || "string" === typeof input.defaultPresetId) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
27178
|
+
if (["presets", "defaultPresetId"].some(prop => key === prop))
|
|
27179
|
+
return true;
|
|
27180
|
+
const value = input[key];
|
|
27181
|
+
if (undefined === value)
|
|
27182
|
+
return true;
|
|
27183
|
+
return false;
|
|
27184
|
+
})); const _io58 = (input, _exceptionable = true) => "string" === typeof input.id && "string" === typeof input.title && "number" === typeof input.i && "number" === typeof input.tp && (4 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
27185
|
+
if (["id", "title", "i", "tp"].some(prop => key === prop))
|
|
26271
27186
|
return true;
|
|
26272
27187
|
const value = input[key];
|
|
26273
27188
|
if (undefined === value)
|
|
26274
27189
|
return true;
|
|
26275
27190
|
return false;
|
|
26276
|
-
})); const
|
|
27191
|
+
})); const _io59 = (input, _exceptionable = true) => (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) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
26277
27192
|
if (["inputDevice", "inputGainDb", "backgroundReductionDb", "recordMode", "preRollDuration"].some(prop => key === prop))
|
|
26278
27193
|
return true;
|
|
26279
27194
|
const value = input[key];
|
|
26280
27195
|
if (undefined === value)
|
|
26281
27196
|
return true;
|
|
26282
27197
|
return false;
|
|
26283
|
-
})); const
|
|
27198
|
+
})); const _io60 = (input, _exceptionable = true) => (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, _index26) => "string" === typeof elem)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
26284
27199
|
if (["title", "command", "args"].some(prop => key === prop))
|
|
26285
27200
|
return true;
|
|
26286
27201
|
const value = input[key];
|
|
26287
27202
|
if (undefined === value)
|
|
26288
27203
|
return true;
|
|
26289
27204
|
return false;
|
|
26290
|
-
})); const
|
|
27205
|
+
})); const _io61 = (input, _exceptionable = true) => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && _io62(input.folded, true && _exceptionable)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && _io63(input.assets, true && _exceptionable)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && _io67(input.pipeline, true && _exceptionable)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && _io69(input.item, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
26291
27206
|
if (["folded", "assets", "pipeline", "item"].some(prop => key === prop))
|
|
26292
27207
|
return true;
|
|
26293
27208
|
const value = input[key];
|
|
26294
27209
|
if (undefined === value)
|
|
26295
27210
|
return true;
|
|
26296
27211
|
return false;
|
|
26297
|
-
})); const
|
|
27212
|
+
})); const _io62 = (input, _exceptionable = true) => (undefined === input.auto || "boolean" === typeof input.auto) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
26298
27213
|
if (["auto"].some(prop => key === prop))
|
|
26299
27214
|
return true;
|
|
26300
27215
|
const value = input[key];
|
|
26301
27216
|
if (undefined === value)
|
|
26302
27217
|
return true;
|
|
26303
27218
|
return false;
|
|
26304
|
-
})); const
|
|
27219
|
+
})); const _io63 = (input, _exceptionable = true) => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && _io64(input.story, true && _exceptionable)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && _io66(input.note, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
26305
27220
|
if (["story", "note"].some(prop => key === prop))
|
|
26306
27221
|
return true;
|
|
26307
27222
|
const value = input[key];
|
|
26308
27223
|
if (undefined === value)
|
|
26309
27224
|
return true;
|
|
26310
27225
|
return false;
|
|
26311
|
-
})); const
|
|
27226
|
+
})); const _io64 = (input, _exceptionable = true) => (undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && _io65(input.excerpt, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
26312
27227
|
if (["excerpt"].some(prop => key === prop))
|
|
26313
27228
|
return true;
|
|
26314
27229
|
const value = input[key];
|
|
26315
27230
|
if (undefined === value)
|
|
26316
27231
|
return true;
|
|
26317
27232
|
return false;
|
|
26318
|
-
})); const
|
|
27233
|
+
})); const _io65 = (input, _exceptionable = true) => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode) && (undefined === input.comments || "boolean" === typeof input.comments) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
26319
27234
|
if (["maxLines", "mode", "comments"].some(prop => key === prop))
|
|
26320
27235
|
return true;
|
|
26321
27236
|
const value = input[key];
|
|
26322
27237
|
if (undefined === value)
|
|
26323
27238
|
return true;
|
|
26324
27239
|
return false;
|
|
26325
|
-
})); const
|
|
27240
|
+
})); const _io66 = (input, _exceptionable = true) => (undefined === input.maxHeight || "number" === typeof input.maxHeight) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
26326
27241
|
if (["maxHeight"].some(prop => key === prop))
|
|
26327
27242
|
return true;
|
|
26328
27243
|
const value = input[key];
|
|
26329
27244
|
if (undefined === value)
|
|
26330
27245
|
return true;
|
|
26331
27246
|
return false;
|
|
26332
|
-
})); const
|
|
27247
|
+
})); const _io67 = (input, _exceptionable = true) => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && _io68(input.search, true && _exceptionable)) && (undefined === input.sortMode || true === _iv27.has(input.sortMode)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
26333
27248
|
if (["search", "sortMode"].some(prop => key === prop))
|
|
26334
27249
|
return true;
|
|
26335
27250
|
const value = input[key];
|
|
26336
27251
|
if (undefined === value)
|
|
26337
27252
|
return true;
|
|
26338
27253
|
return false;
|
|
26339
|
-
})); const
|
|
27254
|
+
})); const _io68 = (input, _exceptionable = true) => (undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
26340
27255
|
if (["maxItemsDisplayed"].some(prop => key === prop))
|
|
26341
27256
|
return true;
|
|
26342
27257
|
const value = input[key];
|
|
26343
27258
|
if (undefined === value)
|
|
26344
27259
|
return true;
|
|
26345
27260
|
return false;
|
|
26346
|
-
})); const
|
|
27261
|
+
})); const _io69 = (input, _exceptionable = true) => (undefined === input.maxHeight || "number" === typeof input.maxHeight) && (undefined === input.titleLines || "number" === typeof input.titleLines) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
26347
27262
|
if (["maxHeight", "titleLines"].some(prop => key === prop))
|
|
26348
27263
|
return true;
|
|
26349
27264
|
const value = input[key];
|
|
26350
27265
|
if (undefined === value)
|
|
26351
27266
|
return true;
|
|
26352
27267
|
return false;
|
|
26353
|
-
})); const
|
|
27268
|
+
})); const _io70 = (input, _exceptionable = true) => (undefined === input.fontFamilies || Array.isArray(input.fontFamilies) && input.fontFamilies.every((elem, _index28) => "string" === typeof elem)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
26354
27269
|
if (["fontFamilies"].some(prop => key === prop))
|
|
26355
27270
|
return true;
|
|
26356
27271
|
const value = input[key];
|
|
26357
27272
|
if (undefined === value)
|
|
26358
27273
|
return true;
|
|
26359
27274
|
return false;
|
|
26360
|
-
})); const
|
|
27275
|
+
})); const _io71 = (input, _exceptionable = true) => (undefined === input.id || "string" === typeof input.id) && (undefined === input.folded || "boolean" === typeof input.folded) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
26361
27276
|
if (["id", "folded"].some(prop => key === prop))
|
|
26362
27277
|
return true;
|
|
26363
27278
|
const value = input[key];
|
|
26364
27279
|
if (undefined === value)
|
|
26365
27280
|
return true;
|
|
26366
27281
|
return false;
|
|
26367
|
-
})); const
|
|
27282
|
+
})); const _io72 = (input, _exceptionable = true) => (undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && _io73(input.adobe, true && _exceptionable)) && (undefined === input.rive || "object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) && _io74(input.rive, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
26368
27283
|
if (["adobe", "rive"].some(prop => key === prop))
|
|
26369
27284
|
return true;
|
|
26370
27285
|
const value = input[key];
|
|
26371
27286
|
if (undefined === value)
|
|
26372
27287
|
return true;
|
|
26373
27288
|
return false;
|
|
26374
|
-
})); const
|
|
27289
|
+
})); const _io73 = (input, _exceptionable = true) => (undefined === input.useProxies || "boolean" === typeof input.useProxies) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
26375
27290
|
if (["useProxies"].some(prop => key === prop))
|
|
26376
27291
|
return true;
|
|
26377
27292
|
const value = input[key];
|
|
26378
27293
|
if (undefined === value)
|
|
26379
27294
|
return true;
|
|
26380
27295
|
return false;
|
|
26381
|
-
})); const
|
|
27296
|
+
})); const _io74 = (input, _exceptionable = true) => (undefined === input.template || "string" === typeof input.template) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
26382
27297
|
if (["template"].some(prop => key === prop))
|
|
26383
27298
|
return true;
|
|
26384
27299
|
const value = input[key];
|
|
26385
27300
|
if (undefined === value)
|
|
26386
27301
|
return true;
|
|
26387
27302
|
return false;
|
|
26388
|
-
})); const
|
|
27303
|
+
})); const _io75 = (input, _exceptionable = true) => (undefined === input.collections || "boolean" === typeof input.collections) && (undefined === input.semanticSearch || "boolean" === typeof input.semanticSearch) && (undefined === input.ameRemoteRendering || "boolean" === typeof input.ameRemoteRendering) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
26389
27304
|
if (["collections", "semanticSearch", "ameRemoteRendering"].some(prop => key === prop))
|
|
26390
27305
|
return true;
|
|
26391
27306
|
const value = input[key];
|
|
26392
27307
|
if (undefined === value)
|
|
26393
27308
|
return true;
|
|
26394
27309
|
return false;
|
|
26395
|
-
})); const
|
|
27310
|
+
})); const _io76 = (input, _exceptionable = true) => (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) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
26396
27311
|
if (["utils", "utilsAssetEditor", "utilsAssetPanel", "history", "refs", "access", "files", "export", "json", "hlsjs", "resetRenders", "resetReplicas", "assetStatus", "consolidateMedia", "hideInAssetMenu", "assetRoute", "devWarnings", "multiplexWebSockets", "systemHealth"].some(prop => key === prop))
|
|
26397
27312
|
return true;
|
|
26398
27313
|
const value = input[key];
|
|
26399
27314
|
if (undefined === value)
|
|
26400
27315
|
return true;
|
|
26401
27316
|
return false;
|
|
26402
|
-
})); const
|
|
27317
|
+
})); const _io77 = (input, _exceptionable = true) => (undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io78(input.events, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
26403
27318
|
if (["events"].some(prop => key === prop))
|
|
26404
27319
|
return true;
|
|
26405
27320
|
const value = input[key];
|
|
26406
27321
|
if (undefined === value)
|
|
26407
27322
|
return true;
|
|
26408
27323
|
return false;
|
|
26409
|
-
})); const
|
|
27324
|
+
})); const _io78 = (input, _exceptionable = true) => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every((elem, _index29) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every((elem, _index30) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every((elem, _index31) => "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) && _io79(input.publishSucceeded, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
26410
27325
|
if (["comment", "assigned", "unassigned", "publishSucceeded"].some(prop => key === prop))
|
|
26411
27326
|
return true;
|
|
26412
27327
|
const value = input[key];
|
|
26413
27328
|
if (undefined === value)
|
|
26414
27329
|
return true;
|
|
26415
27330
|
return false;
|
|
26416
|
-
})); const
|
|
27331
|
+
})); const _io79 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
26417
27332
|
const value = input[key];
|
|
26418
27333
|
if (undefined === value)
|
|
26419
27334
|
return true;
|
|
26420
|
-
return Array.isArray(value) && value.every((elem,
|
|
26421
|
-
}); const
|
|
27335
|
+
return Array.isArray(value) && value.every((elem, _index32) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem);
|
|
27336
|
+
}); const _io80 = (input, _exceptionable = true) => (undefined === input.duplicate || "object" === typeof input.duplicate && null !== input.duplicate && false === Array.isArray(input.duplicate) && _io81(input.duplicate, true && _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
26422
27337
|
if (["duplicate"].some(prop => key === prop))
|
|
26423
27338
|
return true;
|
|
26424
27339
|
const value = input[key];
|
|
26425
27340
|
if (undefined === value)
|
|
26426
27341
|
return true;
|
|
26427
27342
|
return false;
|
|
26428
|
-
})); const
|
|
27343
|
+
})); const _io81 = (input, _exceptionable = true) => (undefined === input.titlePrefix || "string" === typeof input.titlePrefix) && (undefined === input.titleSuffix || "string" === typeof input.titleSuffix) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
26429
27344
|
if (["titlePrefix", "titleSuffix"].some(prop => key === prop))
|
|
26430
27345
|
return true;
|
|
26431
27346
|
const value = input[key];
|
|
26432
27347
|
if (undefined === value)
|
|
26433
27348
|
return true;
|
|
26434
27349
|
return false;
|
|
26435
|
-
})); const
|
|
27350
|
+
})); const _io82 = (input, _exceptionable = true) => (undefined === input.stateFilter || Array.isArray(input.stateFilter) && input.stateFilter.every((elem, _index33) => "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) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
26436
27351
|
if (["stateFilter", "textFilter", "showEmpty", "selectedRecord", "subscribeSearchHits", "parseRegex"].some(prop => key === prop))
|
|
26437
27352
|
return true;
|
|
26438
27353
|
const value = input[key];
|
|
26439
27354
|
if (undefined === value)
|
|
26440
27355
|
return true;
|
|
26441
27356
|
return false;
|
|
26442
|
-
})); const
|
|
27357
|
+
})); const _io83 = (input, _exceptionable = true) => (undefined === input.disableHotArea || "boolean" === typeof input.disableHotArea) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
26443
27358
|
if (["disableHotArea"].some(prop => key === prop))
|
|
26444
27359
|
return true;
|
|
26445
27360
|
const value = input[key];
|
|
26446
27361
|
if (undefined === value)
|
|
26447
27362
|
return true;
|
|
26448
27363
|
return false;
|
|
26449
|
-
})); const
|
|
27364
|
+
})); const _io84 = (input, _exceptionable = true) => (undefined === input.refreshInterval || "number" === typeof input.refreshInterval) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
26450
27365
|
if (["refreshInterval"].some(prop => key === prop))
|
|
26451
27366
|
return true;
|
|
26452
27367
|
const value = input[key];
|
|
@@ -26509,16 +27424,16 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
26509
27424
|
path: _path + ".exclusiveTagGroups",
|
|
26510
27425
|
expected: "(Array<Array<string>> | undefined)",
|
|
26511
27426
|
value: input.exclusiveTagGroups
|
|
26512
|
-
})) && input.exclusiveTagGroups.map((elem,
|
|
26513
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
27427
|
+
})) && input.exclusiveTagGroups.map((elem, _index34) => (Array.isArray(elem) || _report(_exceptionable, {
|
|
27428
|
+
path: _path + ".exclusiveTagGroups[" + _index34 + "]",
|
|
26514
27429
|
expected: "Array<string>",
|
|
26515
27430
|
value: elem
|
|
26516
|
-
})) && elem.map((elem,
|
|
26517
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
27431
|
+
})) && elem.map((elem, _index35) => "string" === typeof elem || _report(_exceptionable, {
|
|
27432
|
+
path: _path + ".exclusiveTagGroups[" + _index34 + "][" + _index35 + "]",
|
|
26518
27433
|
expected: "string",
|
|
26519
27434
|
value: elem
|
|
26520
27435
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
26521
|
-
path: _path + ".exclusiveTagGroups[" +
|
|
27436
|
+
path: _path + ".exclusiveTagGroups[" + _index34 + "]",
|
|
26522
27437
|
expected: "Array<string>",
|
|
26523
27438
|
value: elem
|
|
26524
27439
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -26589,7 +27504,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
26589
27504
|
path: _path + ".events",
|
|
26590
27505
|
expected: "(__type.o20 | undefined)",
|
|
26591
27506
|
value: input.events
|
|
26592
|
-
}), undefined === input.rundown || ("object" === typeof input.rundown && null !== input.rundown
|
|
27507
|
+
}), undefined === input.rundown || ("object" === typeof input.rundown && null !== input.rundown || _report(_exceptionable, {
|
|
26593
27508
|
path: _path + ".rundown",
|
|
26594
27509
|
expected: "(__type.o22 | undefined)",
|
|
26595
27510
|
value: input.rundown
|
|
@@ -26635,26 +27550,26 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
26635
27550
|
value: input.edit
|
|
26636
27551
|
}), undefined === input.commands || (Array.isArray(input.commands) || _report(_exceptionable, {
|
|
26637
27552
|
path: _path + ".commands",
|
|
26638
|
-
expected: "(Array<__type>.
|
|
27553
|
+
expected: "(Array<__type>.o5 | undefined)",
|
|
26639
27554
|
value: input.commands
|
|
26640
|
-
})) && input.commands.map((elem,
|
|
26641
|
-
path: _path + ".commands[" +
|
|
26642
|
-
expected: "__type.
|
|
27555
|
+
})) && input.commands.map((elem, _index36) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
27556
|
+
path: _path + ".commands[" + _index36 + "]",
|
|
27557
|
+
expected: "__type.o53",
|
|
26643
27558
|
value: elem
|
|
26644
|
-
})) &&
|
|
26645
|
-
path: _path + ".commands[" +
|
|
26646
|
-
expected: "__type.
|
|
27559
|
+
})) && _vo60(elem, _path + ".commands[" + _index36 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
27560
|
+
path: _path + ".commands[" + _index36 + "]",
|
|
27561
|
+
expected: "__type.o53",
|
|
26647
27562
|
value: elem
|
|
26648
27563
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
26649
27564
|
path: _path + ".commands",
|
|
26650
|
-
expected: "(Array<__type>.
|
|
27565
|
+
expected: "(Array<__type>.o5 | undefined)",
|
|
26651
27566
|
value: input.commands
|
|
26652
27567
|
}), undefined === input.predefinedTags || (Array.isArray(input.predefinedTags) || _report(_exceptionable, {
|
|
26653
27568
|
path: _path + ".predefinedTags",
|
|
26654
27569
|
expected: "(Array<string> | undefined)",
|
|
26655
27570
|
value: input.predefinedTags
|
|
26656
|
-
})) && input.predefinedTags.map((elem,
|
|
26657
|
-
path: _path + ".predefinedTags[" +
|
|
27571
|
+
})) && input.predefinedTags.map((elem, _index37) => "string" === typeof elem || _report(_exceptionable, {
|
|
27572
|
+
path: _path + ".predefinedTags[" + _index37 + "]",
|
|
26658
27573
|
expected: "string",
|
|
26659
27574
|
value: elem
|
|
26660
27575
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -26663,43 +27578,43 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
26663
27578
|
value: input.predefinedTags
|
|
26664
27579
|
}), undefined === input.storyboard || ("object" === typeof input.storyboard && null !== input.storyboard && false === Array.isArray(input.storyboard) || _report(_exceptionable, {
|
|
26665
27580
|
path: _path + ".storyboard",
|
|
26666
|
-
expected: "(__type.
|
|
27581
|
+
expected: "(__type.o54 | undefined)",
|
|
26667
27582
|
value: input.storyboard
|
|
26668
|
-
})) &&
|
|
27583
|
+
})) && _vo61(input.storyboard, _path + ".storyboard", true && _exceptionable) || _report(_exceptionable, {
|
|
26669
27584
|
path: _path + ".storyboard",
|
|
26670
|
-
expected: "(__type.
|
|
27585
|
+
expected: "(__type.o54 | undefined)",
|
|
26671
27586
|
value: input.storyboard
|
|
26672
27587
|
}), undefined === input.print || ("object" === typeof input.print && null !== input.print && false === Array.isArray(input.print) || _report(_exceptionable, {
|
|
26673
27588
|
path: _path + ".print",
|
|
26674
|
-
expected: "(__type.
|
|
27589
|
+
expected: "(__type.o63 | undefined)",
|
|
26675
27590
|
value: input.print
|
|
26676
|
-
})) &&
|
|
27591
|
+
})) && _vo70(input.print, _path + ".print", true && _exceptionable) || _report(_exceptionable, {
|
|
26677
27592
|
path: _path + ".print",
|
|
26678
|
-
expected: "(__type.
|
|
27593
|
+
expected: "(__type.o63 | undefined)",
|
|
26679
27594
|
value: input.print
|
|
26680
27595
|
}), undefined === input.hiddenPreviews || (Array.isArray(input.hiddenPreviews) || _report(_exceptionable, {
|
|
26681
27596
|
path: _path + ".hiddenPreviews",
|
|
26682
|
-
expected: "(Array<__type>.
|
|
27597
|
+
expected: "(Array<__type>.o6 | undefined)",
|
|
26683
27598
|
value: input.hiddenPreviews
|
|
26684
|
-
})) && input.hiddenPreviews.map((elem,
|
|
26685
|
-
path: _path + ".hiddenPreviews[" +
|
|
26686
|
-
expected: "__type.
|
|
27599
|
+
})) && input.hiddenPreviews.map((elem, _index38) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
27600
|
+
path: _path + ".hiddenPreviews[" + _index38 + "]",
|
|
27601
|
+
expected: "__type.o64",
|
|
26687
27602
|
value: elem
|
|
26688
|
-
})) &&
|
|
26689
|
-
path: _path + ".hiddenPreviews[" +
|
|
26690
|
-
expected: "__type.
|
|
27603
|
+
})) && _vo71(elem, _path + ".hiddenPreviews[" + _index38 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
27604
|
+
path: _path + ".hiddenPreviews[" + _index38 + "]",
|
|
27605
|
+
expected: "__type.o64",
|
|
26691
27606
|
value: elem
|
|
26692
27607
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
26693
27608
|
path: _path + ".hiddenPreviews",
|
|
26694
|
-
expected: "(Array<__type>.
|
|
27609
|
+
expected: "(Array<__type>.o6 | undefined)",
|
|
26695
27610
|
value: input.hiddenPreviews
|
|
26696
27611
|
}), undefined === input.plugins || ("object" === typeof input.plugins && null !== input.plugins && false === Array.isArray(input.plugins) || _report(_exceptionable, {
|
|
26697
27612
|
path: _path + ".plugins",
|
|
26698
|
-
expected: "(__type.
|
|
27613
|
+
expected: "(__type.o65 | undefined)",
|
|
26699
27614
|
value: input.plugins
|
|
26700
|
-
})) &&
|
|
27615
|
+
})) && _vo72(input.plugins, _path + ".plugins", true && _exceptionable) || _report(_exceptionable, {
|
|
26701
27616
|
path: _path + ".plugins",
|
|
26702
|
-
expected: "(__type.
|
|
27617
|
+
expected: "(__type.o65 | undefined)",
|
|
26703
27618
|
value: input.plugins
|
|
26704
27619
|
}), undefined === input.crashScreen || "boolean" === typeof input.crashScreen || _report(_exceptionable, {
|
|
26705
27620
|
path: _path + ".crashScreen",
|
|
@@ -26711,27 +27626,27 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
26711
27626
|
value: input.debug
|
|
26712
27627
|
}), undefined === input.featurePreview || ("object" === typeof input.featurePreview && null !== input.featurePreview && false === Array.isArray(input.featurePreview) || _report(_exceptionable, {
|
|
26713
27628
|
path: _path + ".featurePreview",
|
|
26714
|
-
expected: "(__type.
|
|
27629
|
+
expected: "(__type.o68 | undefined)",
|
|
26715
27630
|
value: input.featurePreview
|
|
26716
|
-
})) &&
|
|
27631
|
+
})) && _vo75(input.featurePreview, _path + ".featurePreview", true && _exceptionable) || _report(_exceptionable, {
|
|
26717
27632
|
path: _path + ".featurePreview",
|
|
26718
|
-
expected: "(__type.
|
|
27633
|
+
expected: "(__type.o68 | undefined)",
|
|
26719
27634
|
value: input.featurePreview
|
|
26720
27635
|
}), undefined === input.flags || ("object" === typeof input.flags && null !== input.flags && false === Array.isArray(input.flags) || _report(_exceptionable, {
|
|
26721
27636
|
path: _path + ".flags",
|
|
26722
|
-
expected: "(__type.
|
|
27637
|
+
expected: "(__type.o69 | undefined)",
|
|
26723
27638
|
value: input.flags
|
|
26724
|
-
})) &&
|
|
27639
|
+
})) && _vo76(input.flags, _path + ".flags", true && _exceptionable) || _report(_exceptionable, {
|
|
26725
27640
|
path: _path + ".flags",
|
|
26726
|
-
expected: "(__type.
|
|
27641
|
+
expected: "(__type.o69 | undefined)",
|
|
26727
27642
|
value: input.flags
|
|
26728
27643
|
}), undefined === input.notifications || ("object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) || _report(_exceptionable, {
|
|
26729
27644
|
path: _path + ".notifications",
|
|
26730
|
-
expected: "(__type.
|
|
27645
|
+
expected: "(__type.o70 | undefined)",
|
|
26731
27646
|
value: input.notifications
|
|
26732
|
-
})) &&
|
|
27647
|
+
})) && _vo77(input.notifications, _path + ".notifications", true && _exceptionable) || _report(_exceptionable, {
|
|
26733
27648
|
path: _path + ".notifications",
|
|
26734
|
-
expected: "(__type.
|
|
27649
|
+
expected: "(__type.o70 | undefined)",
|
|
26735
27650
|
value: input.notifications
|
|
26736
27651
|
}), undefined === input.suppressDeleteAlert || "boolean" === typeof input.suppressDeleteAlert || _report(_exceptionable, {
|
|
26737
27652
|
path: _path + ".suppressDeleteAlert",
|
|
@@ -26739,35 +27654,35 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
26739
27654
|
value: input.suppressDeleteAlert
|
|
26740
27655
|
}), undefined === input.clone || ("object" === typeof input.clone && null !== input.clone && false === Array.isArray(input.clone) || _report(_exceptionable, {
|
|
26741
27656
|
path: _path + ".clone",
|
|
26742
|
-
expected: "(__type.
|
|
27657
|
+
expected: "(__type.o73 | undefined)",
|
|
26743
27658
|
value: input.clone
|
|
26744
|
-
})) &&
|
|
27659
|
+
})) && _vo80(input.clone, _path + ".clone", true && _exceptionable) || _report(_exceptionable, {
|
|
26745
27660
|
path: _path + ".clone",
|
|
26746
|
-
expected: "(__type.
|
|
27661
|
+
expected: "(__type.o73 | undefined)",
|
|
26747
27662
|
value: input.clone
|
|
26748
27663
|
}), undefined === input.utilsAssetEditorPanel || ("object" === typeof input.utilsAssetEditorPanel && null !== input.utilsAssetEditorPanel && false === Array.isArray(input.utilsAssetEditorPanel) || _report(_exceptionable, {
|
|
26749
27664
|
path: _path + ".utilsAssetEditorPanel",
|
|
26750
|
-
expected: "(__type.
|
|
27665
|
+
expected: "(__type.o75 | undefined)",
|
|
26751
27666
|
value: input.utilsAssetEditorPanel
|
|
26752
|
-
})) &&
|
|
27667
|
+
})) && _vo82(input.utilsAssetEditorPanel, _path + ".utilsAssetEditorPanel", true && _exceptionable) || _report(_exceptionable, {
|
|
26753
27668
|
path: _path + ".utilsAssetEditorPanel",
|
|
26754
|
-
expected: "(__type.
|
|
27669
|
+
expected: "(__type.o75 | undefined)",
|
|
26755
27670
|
value: input.utilsAssetEditorPanel
|
|
26756
27671
|
}), undefined === input.display || ("object" === typeof input.display && null !== input.display && false === Array.isArray(input.display) || _report(_exceptionable, {
|
|
26757
27672
|
path: _path + ".display",
|
|
26758
|
-
expected: "(__type.
|
|
27673
|
+
expected: "(__type.o76 | undefined)",
|
|
26759
27674
|
value: input.display
|
|
26760
|
-
})) &&
|
|
27675
|
+
})) && _vo83(input.display, _path + ".display", true && _exceptionable) || _report(_exceptionable, {
|
|
26761
27676
|
path: _path + ".display",
|
|
26762
|
-
expected: "(__type.
|
|
27677
|
+
expected: "(__type.o76 | undefined)",
|
|
26763
27678
|
value: input.display
|
|
26764
27679
|
}), undefined === input.bookmarks || ("object" === typeof input.bookmarks && null !== input.bookmarks && false === Array.isArray(input.bookmarks) || _report(_exceptionable, {
|
|
26765
27680
|
path: _path + ".bookmarks",
|
|
26766
|
-
expected: "(__type.
|
|
27681
|
+
expected: "(__type.o77 | undefined)",
|
|
26767
27682
|
value: input.bookmarks
|
|
26768
|
-
})) &&
|
|
27683
|
+
})) && _vo84(input.bookmarks, _path + ".bookmarks", true && _exceptionable) || _report(_exceptionable, {
|
|
26769
27684
|
path: _path + ".bookmarks",
|
|
26770
|
-
expected: "(__type.
|
|
27685
|
+
expected: "(__type.o77 | undefined)",
|
|
26771
27686
|
value: input.bookmarks
|
|
26772
27687
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
26773
27688
|
if (["autoLogoutTime", "permission", "module", "upload", "download", "browser", "toolbarTags", "exclusiveTagGroups", "deadlines", "assignees", "comments", "clock", "swarm", "dashboard", "script", "events", "rundown", "gallery", "history", "keymap", "media", "edit", "commands", "predefinedTags", "storyboard", "print", "hiddenPreviews", "plugins", "crashScreen", "debug", "featurePreview", "flags", "notifications", "suppressDeleteAlert", "clone", "utilsAssetEditorPanel", "display", "bookmarks"].some(prop => key === prop))
|
|
@@ -27064,8 +27979,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
27064
27979
|
path: _path + ".sortOrder",
|
|
27065
27980
|
expected: "(Array<string> | undefined)",
|
|
27066
27981
|
value: input.sortOrder
|
|
27067
|
-
})) && input.sortOrder.map((elem,
|
|
27068
|
-
path: _path + ".sortOrder[" +
|
|
27982
|
+
})) && input.sortOrder.map((elem, _index39) => "string" === typeof elem || _report(_exceptionable, {
|
|
27983
|
+
path: _path + ".sortOrder[" + _index39 + "]",
|
|
27069
27984
|
expected: "string",
|
|
27070
27985
|
value: elem
|
|
27071
27986
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -27092,8 +28007,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
27092
28007
|
path: _path + ".include",
|
|
27093
28008
|
expected: "(Array<string> | undefined)",
|
|
27094
28009
|
value: input.include
|
|
27095
|
-
})) && input.include.map((elem,
|
|
27096
|
-
path: _path + ".include[" +
|
|
28010
|
+
})) && input.include.map((elem, _index40) => "string" === typeof elem || _report(_exceptionable, {
|
|
28011
|
+
path: _path + ".include[" + _index40 + "]",
|
|
27097
28012
|
expected: "string",
|
|
27098
28013
|
value: elem
|
|
27099
28014
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -27104,8 +28019,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
27104
28019
|
path: _path + ".exclude",
|
|
27105
28020
|
expected: "(Array<string> | undefined)",
|
|
27106
28021
|
value: input.exclude
|
|
27107
|
-
})) && input.exclude.map((elem,
|
|
27108
|
-
path: _path + ".exclude[" +
|
|
28022
|
+
})) && input.exclude.map((elem, _index41) => "string" === typeof elem || _report(_exceptionable, {
|
|
28023
|
+
path: _path + ".exclude[" + _index41 + "]",
|
|
27109
28024
|
expected: "string",
|
|
27110
28025
|
value: elem
|
|
27111
28026
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -27132,8 +28047,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
27132
28047
|
path: _path + ".include",
|
|
27133
28048
|
expected: "(Array<string> | undefined)",
|
|
27134
28049
|
value: input.include
|
|
27135
|
-
})) && input.include.map((elem,
|
|
27136
|
-
path: _path + ".include[" +
|
|
28050
|
+
})) && input.include.map((elem, _index42) => "string" === typeof elem || _report(_exceptionable, {
|
|
28051
|
+
path: _path + ".include[" + _index42 + "]",
|
|
27137
28052
|
expected: "string",
|
|
27138
28053
|
value: elem
|
|
27139
28054
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -27144,8 +28059,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
27144
28059
|
path: _path + ".exclude",
|
|
27145
28060
|
expected: "(Array<string> | undefined)",
|
|
27146
28061
|
value: input.exclude
|
|
27147
|
-
})) && input.exclude.map((elem,
|
|
27148
|
-
path: _path + ".exclude[" +
|
|
28062
|
+
})) && input.exclude.map((elem, _index43) => "string" === typeof elem || _report(_exceptionable, {
|
|
28063
|
+
path: _path + ".exclude[" + _index43 + "]",
|
|
27149
28064
|
expected: "string",
|
|
27150
28065
|
value: elem
|
|
27151
28066
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -27172,8 +28087,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
27172
28087
|
path: _path + ".include",
|
|
27173
28088
|
expected: "(Array<string> | undefined)",
|
|
27174
28089
|
value: input.include
|
|
27175
|
-
})) && input.include.map((elem,
|
|
27176
|
-
path: _path + ".include[" +
|
|
28090
|
+
})) && input.include.map((elem, _index44) => "string" === typeof elem || _report(_exceptionable, {
|
|
28091
|
+
path: _path + ".include[" + _index44 + "]",
|
|
27177
28092
|
expected: "string",
|
|
27178
28093
|
value: elem
|
|
27179
28094
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -27184,8 +28099,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
27184
28099
|
path: _path + ".exclude",
|
|
27185
28100
|
expected: "(Array<string> | undefined)",
|
|
27186
28101
|
value: input.exclude
|
|
27187
|
-
})) && input.exclude.map((elem,
|
|
27188
|
-
path: _path + ".exclude[" +
|
|
28102
|
+
})) && input.exclude.map((elem, _index45) => "string" === typeof elem || _report(_exceptionable, {
|
|
28103
|
+
path: _path + ".exclude[" + _index45 + "]",
|
|
27189
28104
|
expected: "string",
|
|
27190
28105
|
value: elem
|
|
27191
28106
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -27212,8 +28127,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
27212
28127
|
path: _path + ".include",
|
|
27213
28128
|
expected: "(Array<string> | undefined)",
|
|
27214
28129
|
value: input.include
|
|
27215
|
-
})) && input.include.map((elem,
|
|
27216
|
-
path: _path + ".include[" +
|
|
28130
|
+
})) && input.include.map((elem, _index46) => "string" === typeof elem || _report(_exceptionable, {
|
|
28131
|
+
path: _path + ".include[" + _index46 + "]",
|
|
27217
28132
|
expected: "string",
|
|
27218
28133
|
value: elem
|
|
27219
28134
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -27224,8 +28139,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
27224
28139
|
path: _path + ".exclude",
|
|
27225
28140
|
expected: "(Array<string> | undefined)",
|
|
27226
28141
|
value: input.exclude
|
|
27227
|
-
})) && input.exclude.map((elem,
|
|
27228
|
-
path: _path + ".exclude[" +
|
|
28142
|
+
})) && input.exclude.map((elem, _index47) => "string" === typeof elem || _report(_exceptionable, {
|
|
28143
|
+
path: _path + ".exclude[" + _index47 + "]",
|
|
27229
28144
|
expected: "string",
|
|
27230
28145
|
value: elem
|
|
27231
28146
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -27384,12 +28299,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
27384
28299
|
path: _path + ".colorTags",
|
|
27385
28300
|
expected: "(Array<PromotedTag> | undefined)",
|
|
27386
28301
|
value: input.colorTags
|
|
27387
|
-
})) && input.colorTags.map((elem,
|
|
27388
|
-
path: _path + ".colorTags[" +
|
|
28302
|
+
})) && input.colorTags.map((elem, _index48) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
28303
|
+
path: _path + ".colorTags[" + _index48 + "]",
|
|
27389
28304
|
expected: "PromotedTag",
|
|
27390
28305
|
value: elem
|
|
27391
|
-
})) && _vo22(elem, _path + ".colorTags[" +
|
|
27392
|
-
path: _path + ".colorTags[" +
|
|
28306
|
+
})) && _vo22(elem, _path + ".colorTags[" + _index48 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
28307
|
+
path: _path + ".colorTags[" + _index48 + "]",
|
|
27393
28308
|
expected: "PromotedTag",
|
|
27394
28309
|
value: elem
|
|
27395
28310
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -27529,8 +28444,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
27529
28444
|
path: _path + ".favorites",
|
|
27530
28445
|
expected: "(Array<string> | undefined)",
|
|
27531
28446
|
value: input.favorites
|
|
27532
|
-
})) && input.favorites.map((elem,
|
|
27533
|
-
path: _path + ".favorites[" +
|
|
28447
|
+
})) && input.favorites.map((elem, _index49) => "string" === typeof elem || _report(_exceptionable, {
|
|
28448
|
+
path: _path + ".favorites[" + _index49 + "]",
|
|
27534
28449
|
expected: "string",
|
|
27535
28450
|
value: elem
|
|
27536
28451
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -27602,8 +28517,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
27602
28517
|
path: _path + ".eventThumbnails",
|
|
27603
28518
|
expected: "(boolean | undefined)",
|
|
27604
28519
|
value: input.eventThumbnails
|
|
27605
|
-
}),
|
|
27606
|
-
|
|
28520
|
+
}), "folded" === input.scriptEventFolding || "unfoldedUntilFolded" === input.scriptEventFolding || _report(_exceptionable, {
|
|
28521
|
+
path: _path + ".scriptEventFolding",
|
|
28522
|
+
expected: "(\"folded\" | \"unfoldedUntilFolded\")",
|
|
28523
|
+
value: input.scriptEventFolding
|
|
28524
|
+
}), 1 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
28525
|
+
if (["eventThumbnails", "scriptEventFolding"].some(prop => key === prop))
|
|
27607
28526
|
return true;
|
|
27608
28527
|
const value = input[key];
|
|
27609
28528
|
if (undefined === value)
|
|
@@ -27977,8 +28896,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
27977
28896
|
path: _path + ".playbackRates",
|
|
27978
28897
|
expected: "(Array<number> | undefined)",
|
|
27979
28898
|
value: input.playbackRates
|
|
27980
|
-
})) && input.playbackRates.map((elem,
|
|
27981
|
-
path: _path + ".playbackRates[" +
|
|
28899
|
+
})) && input.playbackRates.map((elem, _index50) => "number" === typeof elem || _report(_exceptionable, {
|
|
28900
|
+
path: _path + ".playbackRates[" + _index50 + "]",
|
|
27982
28901
|
expected: "number",
|
|
27983
28902
|
value: elem
|
|
27984
28903
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -28005,12 +28924,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28005
28924
|
path: _path + ".guides",
|
|
28006
28925
|
expected: "(Array<__type>.o2 | undefined)",
|
|
28007
28926
|
value: input.guides
|
|
28008
|
-
})) && input.guides.map((elem,
|
|
28009
|
-
path: _path + ".guides[" +
|
|
28927
|
+
})) && input.guides.map((elem, _index51) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
28928
|
+
path: _path + ".guides[" + _index51 + "]",
|
|
28010
28929
|
expected: "__type.o42",
|
|
28011
28930
|
value: elem
|
|
28012
|
-
})) && _vo49(elem, _path + ".guides[" +
|
|
28013
|
-
path: _path + ".guides[" +
|
|
28931
|
+
})) && _vo49(elem, _path + ".guides[" + _index51 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
28932
|
+
path: _path + ".guides[" + _index51 + "]",
|
|
28014
28933
|
expected: "__type.o42",
|
|
28015
28934
|
value: elem
|
|
28016
28935
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -28129,12 +29048,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28129
29048
|
path: _path + ".suggestions",
|
|
28130
29049
|
expected: "(Array<__type> | undefined)",
|
|
28131
29050
|
value: input.suggestions
|
|
28132
|
-
})) && input.suggestions.map((elem,
|
|
28133
|
-
path: _path + ".suggestions[" +
|
|
29051
|
+
})) && input.suggestions.map((elem, _index52) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
29052
|
+
path: _path + ".suggestions[" + _index52 + "]",
|
|
28134
29053
|
expected: "__type.o40",
|
|
28135
29054
|
value: elem
|
|
28136
|
-
})) && _vo47(elem, _path + ".suggestions[" +
|
|
28137
|
-
path: _path + ".suggestions[" +
|
|
29055
|
+
})) && _vo47(elem, _path + ".suggestions[" + _index52 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
29056
|
+
path: _path + ".suggestions[" + _index52 + "]",
|
|
28138
29057
|
expected: "__type.o40",
|
|
28139
29058
|
value: elem
|
|
28140
29059
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -28145,12 +29064,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28145
29064
|
path: _path + ".colors",
|
|
28146
29065
|
expected: "(Array<__type>.o1 | undefined)",
|
|
28147
29066
|
value: input.colors
|
|
28148
|
-
})) && input.colors.map((elem,
|
|
28149
|
-
path: _path + ".colors[" +
|
|
29067
|
+
})) && input.colors.map((elem, _index53) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
29068
|
+
path: _path + ".colors[" + _index53 + "]",
|
|
28150
29069
|
expected: "__type.o41",
|
|
28151
29070
|
value: elem
|
|
28152
|
-
})) && _vo48(elem, _path + ".colors[" +
|
|
28153
|
-
path: _path + ".colors[" +
|
|
29071
|
+
})) && _vo48(elem, _path + ".colors[" + _index53 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
29072
|
+
path: _path + ".colors[" + _index53 + "]",
|
|
28154
29073
|
expected: "__type.o41",
|
|
28155
29074
|
value: elem
|
|
28156
29075
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -28161,8 +29080,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28161
29080
|
path: _path + ".overridableProperties",
|
|
28162
29081
|
expected: "(Array<keyof SubtitleStyle | null> | undefined)",
|
|
28163
29082
|
value: input.overridableProperties
|
|
28164
|
-
})) && input.overridableProperties.map((elem,
|
|
28165
|
-
path: _path + ".overridableProperties[" +
|
|
29083
|
+
})) && input.overridableProperties.map((elem, _index54) => null === elem || true === _vv55.has(elem) || _report(_exceptionable, {
|
|
29084
|
+
path: _path + ".overridableProperties[" + _index54 + "]",
|
|
28166
29085
|
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)",
|
|
28167
29086
|
value: elem
|
|
28168
29087
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -28353,12 +29272,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28353
29272
|
path: _path + ".text",
|
|
28354
29273
|
expected: "(Array<__type>.o3 | undefined)",
|
|
28355
29274
|
value: input.text
|
|
28356
|
-
})) && input.text.map((elem,
|
|
28357
|
-
path: _path + ".text[" +
|
|
29275
|
+
})) && input.text.map((elem, _index56) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
29276
|
+
path: _path + ".text[" + _index56 + "]",
|
|
28358
29277
|
expected: "__type.o47",
|
|
28359
29278
|
value: elem
|
|
28360
|
-
})) && _vo54(elem, _path + ".text[" +
|
|
28361
|
-
path: _path + ".text[" +
|
|
29279
|
+
})) && _vo54(elem, _path + ".text[" + _index56 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
29280
|
+
path: _path + ".text[" + _index56 + "]",
|
|
28362
29281
|
expected: "__type.o47",
|
|
28363
29282
|
value: elem
|
|
28364
29283
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -28429,8 +29348,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28429
29348
|
path: _path + ".args",
|
|
28430
29349
|
expected: "(Array<string> | undefined)",
|
|
28431
29350
|
value: input.args
|
|
28432
|
-
})) && input.args.map((elem,
|
|
28433
|
-
path: _path + ".args[" +
|
|
29351
|
+
})) && input.args.map((elem, _index57) => "string" === typeof elem || _report(_exceptionable, {
|
|
29352
|
+
path: _path + ".args[" + _index57 + "]",
|
|
28434
29353
|
expected: "string",
|
|
28435
29354
|
value: elem
|
|
28436
29355
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -28457,16 +29376,92 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28457
29376
|
path: _path + ".thumbnailView",
|
|
28458
29377
|
expected: "(\"filmStrip\" | \"none\" | \"thumbnail\" | undefined)",
|
|
28459
29378
|
value: input.thumbnailView
|
|
29379
|
+
}), undefined === input.normalize || ("object" === typeof input.normalize && null !== input.normalize && false === Array.isArray(input.normalize) || _report(_exceptionable, {
|
|
29380
|
+
path: _path + ".normalize",
|
|
29381
|
+
expected: "(__type.o50 | undefined)",
|
|
29382
|
+
value: input.normalize
|
|
29383
|
+
})) && _vo57(input.normalize, _path + ".normalize", true && _exceptionable) || _report(_exceptionable, {
|
|
29384
|
+
path: _path + ".normalize",
|
|
29385
|
+
expected: "(__type.o50 | undefined)",
|
|
29386
|
+
value: input.normalize
|
|
28460
29387
|
}), undefined === input.voiceOver || ("object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) || _report(_exceptionable, {
|
|
28461
29388
|
path: _path + ".voiceOver",
|
|
28462
|
-
expected: "(__type.
|
|
29389
|
+
expected: "(__type.o52 | undefined)",
|
|
28463
29390
|
value: input.voiceOver
|
|
28464
|
-
})) &&
|
|
29391
|
+
})) && _vo59(input.voiceOver, _path + ".voiceOver", true && _exceptionable) || _report(_exceptionable, {
|
|
28465
29392
|
path: _path + ".voiceOver",
|
|
28466
|
-
expected: "(__type.
|
|
29393
|
+
expected: "(__type.o52 | undefined)",
|
|
28467
29394
|
value: input.voiceOver
|
|
28468
29395
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
28469
|
-
if (["thumbnailView", "voiceOver"].some(prop => key === prop))
|
|
29396
|
+
if (["thumbnailView", "normalize", "voiceOver"].some(prop => key === prop))
|
|
29397
|
+
return true;
|
|
29398
|
+
const value = input[key];
|
|
29399
|
+
if (undefined === value)
|
|
29400
|
+
return true;
|
|
29401
|
+
return _report(_exceptionable, {
|
|
29402
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
29403
|
+
expected: "undefined",
|
|
29404
|
+
value: value,
|
|
29405
|
+
description: [
|
|
29406
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
29407
|
+
"",
|
|
29408
|
+
"Please remove the property next time."
|
|
29409
|
+
].join("\n")
|
|
29410
|
+
});
|
|
29411
|
+
}).every(flag => flag))].every(flag => flag); const _vo57 = (input, _path, _exceptionable = true) => [undefined === input.presets || (Array.isArray(input.presets) || _report(_exceptionable, {
|
|
29412
|
+
path: _path + ".presets",
|
|
29413
|
+
expected: "(Array<__type>.o4 | undefined)",
|
|
29414
|
+
value: input.presets
|
|
29415
|
+
})) && input.presets.map((elem, _index58) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
29416
|
+
path: _path + ".presets[" + _index58 + "]",
|
|
29417
|
+
expected: "__type.o51",
|
|
29418
|
+
value: elem
|
|
29419
|
+
})) && _vo58(elem, _path + ".presets[" + _index58 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
29420
|
+
path: _path + ".presets[" + _index58 + "]",
|
|
29421
|
+
expected: "__type.o51",
|
|
29422
|
+
value: elem
|
|
29423
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
29424
|
+
path: _path + ".presets",
|
|
29425
|
+
expected: "(Array<__type>.o4 | undefined)",
|
|
29426
|
+
value: input.presets
|
|
29427
|
+
}), undefined === input.defaultPresetId || "string" === typeof input.defaultPresetId || _report(_exceptionable, {
|
|
29428
|
+
path: _path + ".defaultPresetId",
|
|
29429
|
+
expected: "(string | undefined)",
|
|
29430
|
+
value: input.defaultPresetId
|
|
29431
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
29432
|
+
if (["presets", "defaultPresetId"].some(prop => key === prop))
|
|
29433
|
+
return true;
|
|
29434
|
+
const value = input[key];
|
|
29435
|
+
if (undefined === value)
|
|
29436
|
+
return true;
|
|
29437
|
+
return _report(_exceptionable, {
|
|
29438
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
29439
|
+
expected: "undefined",
|
|
29440
|
+
value: value,
|
|
29441
|
+
description: [
|
|
29442
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
29443
|
+
"",
|
|
29444
|
+
"Please remove the property next time."
|
|
29445
|
+
].join("\n")
|
|
29446
|
+
});
|
|
29447
|
+
}).every(flag => flag))].every(flag => flag); const _vo58 = (input, _path, _exceptionable = true) => ["string" === typeof input.id || _report(_exceptionable, {
|
|
29448
|
+
path: _path + ".id",
|
|
29449
|
+
expected: "string",
|
|
29450
|
+
value: input.id
|
|
29451
|
+
}), "string" === typeof input.title || _report(_exceptionable, {
|
|
29452
|
+
path: _path + ".title",
|
|
29453
|
+
expected: "string",
|
|
29454
|
+
value: input.title
|
|
29455
|
+
}), "number" === typeof input.i || _report(_exceptionable, {
|
|
29456
|
+
path: _path + ".i",
|
|
29457
|
+
expected: "number",
|
|
29458
|
+
value: input.i
|
|
29459
|
+
}), "number" === typeof input.tp || _report(_exceptionable, {
|
|
29460
|
+
path: _path + ".tp",
|
|
29461
|
+
expected: "number",
|
|
29462
|
+
value: input.tp
|
|
29463
|
+
}), 4 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
29464
|
+
if (["id", "title", "i", "tp"].some(prop => key === prop))
|
|
28470
29465
|
return true;
|
|
28471
29466
|
const value = input[key];
|
|
28472
29467
|
if (undefined === value)
|
|
@@ -28481,7 +29476,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28481
29476
|
"Please remove the property next time."
|
|
28482
29477
|
].join("\n")
|
|
28483
29478
|
});
|
|
28484
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
29479
|
+
}).every(flag => flag))].every(flag => flag); const _vo59 = (input, _path, _exceptionable = true) => [undefined === input.inputDevice || "string" === typeof input.inputDevice || _report(_exceptionable, {
|
|
28485
29480
|
path: _path + ".inputDevice",
|
|
28486
29481
|
expected: "(string | undefined)",
|
|
28487
29482
|
value: input.inputDevice
|
|
@@ -28517,7 +29512,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28517
29512
|
"Please remove the property next time."
|
|
28518
29513
|
].join("\n")
|
|
28519
29514
|
});
|
|
28520
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
29515
|
+
}).every(flag => flag))].every(flag => flag); const _vo60 = (input, _path, _exceptionable = true) => [undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
28521
29516
|
path: _path + ".title",
|
|
28522
29517
|
expected: "(string | undefined)",
|
|
28523
29518
|
value: input.title
|
|
@@ -28529,8 +29524,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28529
29524
|
path: _path + ".args",
|
|
28530
29525
|
expected: "(Array<string> | undefined)",
|
|
28531
29526
|
value: input.args
|
|
28532
|
-
})) && input.args.map((elem,
|
|
28533
|
-
path: _path + ".args[" +
|
|
29527
|
+
})) && input.args.map((elem, _index59) => "string" === typeof elem || _report(_exceptionable, {
|
|
29528
|
+
path: _path + ".args[" + _index59 + "]",
|
|
28534
29529
|
expected: "string",
|
|
28535
29530
|
value: elem
|
|
28536
29531
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -28553,37 +29548,37 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28553
29548
|
"Please remove the property next time."
|
|
28554
29549
|
].join("\n")
|
|
28555
29550
|
});
|
|
28556
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
29551
|
+
}).every(flag => flag))].every(flag => flag); const _vo61 = (input, _path, _exceptionable = true) => [undefined === input.folded || ("object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) || _report(_exceptionable, {
|
|
28557
29552
|
path: _path + ".folded",
|
|
28558
|
-
expected: "(__type.
|
|
29553
|
+
expected: "(__type.o55 | undefined)",
|
|
28559
29554
|
value: input.folded
|
|
28560
|
-
})) &&
|
|
29555
|
+
})) && _vo62(input.folded, _path + ".folded", true && _exceptionable) || _report(_exceptionable, {
|
|
28561
29556
|
path: _path + ".folded",
|
|
28562
|
-
expected: "(__type.
|
|
29557
|
+
expected: "(__type.o55 | undefined)",
|
|
28563
29558
|
value: input.folded
|
|
28564
29559
|
}), undefined === input.assets || ("object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) || _report(_exceptionable, {
|
|
28565
29560
|
path: _path + ".assets",
|
|
28566
|
-
expected: "(__type.
|
|
29561
|
+
expected: "(__type.o56 | undefined)",
|
|
28567
29562
|
value: input.assets
|
|
28568
|
-
})) &&
|
|
29563
|
+
})) && _vo63(input.assets, _path + ".assets", true && _exceptionable) || _report(_exceptionable, {
|
|
28569
29564
|
path: _path + ".assets",
|
|
28570
|
-
expected: "(__type.
|
|
29565
|
+
expected: "(__type.o56 | undefined)",
|
|
28571
29566
|
value: input.assets
|
|
28572
29567
|
}), undefined === input.pipeline || ("object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) || _report(_exceptionable, {
|
|
28573
29568
|
path: _path + ".pipeline",
|
|
28574
|
-
expected: "(__type.
|
|
29569
|
+
expected: "(__type.o60 | undefined)",
|
|
28575
29570
|
value: input.pipeline
|
|
28576
|
-
})) &&
|
|
29571
|
+
})) && _vo67(input.pipeline, _path + ".pipeline", true && _exceptionable) || _report(_exceptionable, {
|
|
28577
29572
|
path: _path + ".pipeline",
|
|
28578
|
-
expected: "(__type.
|
|
29573
|
+
expected: "(__type.o60 | undefined)",
|
|
28579
29574
|
value: input.pipeline
|
|
28580
29575
|
}), undefined === input.item || ("object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) || _report(_exceptionable, {
|
|
28581
29576
|
path: _path + ".item",
|
|
28582
|
-
expected: "(__type.
|
|
29577
|
+
expected: "(__type.o62 | undefined)",
|
|
28583
29578
|
value: input.item
|
|
28584
|
-
})) &&
|
|
29579
|
+
})) && _vo69(input.item, _path + ".item", true && _exceptionable) || _report(_exceptionable, {
|
|
28585
29580
|
path: _path + ".item",
|
|
28586
|
-
expected: "(__type.
|
|
29581
|
+
expected: "(__type.o62 | undefined)",
|
|
28587
29582
|
value: input.item
|
|
28588
29583
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
28589
29584
|
if (["folded", "assets", "pipeline", "item"].some(prop => key === prop))
|
|
@@ -28601,7 +29596,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28601
29596
|
"Please remove the property next time."
|
|
28602
29597
|
].join("\n")
|
|
28603
29598
|
});
|
|
28604
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
29599
|
+
}).every(flag => flag))].every(flag => flag); const _vo62 = (input, _path, _exceptionable = true) => [undefined === input.auto || "boolean" === typeof input.auto || _report(_exceptionable, {
|
|
28605
29600
|
path: _path + ".auto",
|
|
28606
29601
|
expected: "(boolean | undefined)",
|
|
28607
29602
|
value: input.auto
|
|
@@ -28621,21 +29616,21 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28621
29616
|
"Please remove the property next time."
|
|
28622
29617
|
].join("\n")
|
|
28623
29618
|
});
|
|
28624
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
29619
|
+
}).every(flag => flag))].every(flag => flag); const _vo63 = (input, _path, _exceptionable = true) => [undefined === input.story || ("object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) || _report(_exceptionable, {
|
|
28625
29620
|
path: _path + ".story",
|
|
28626
|
-
expected: "(__type.
|
|
29621
|
+
expected: "(__type.o57 | undefined)",
|
|
28627
29622
|
value: input.story
|
|
28628
|
-
})) &&
|
|
29623
|
+
})) && _vo64(input.story, _path + ".story", true && _exceptionable) || _report(_exceptionable, {
|
|
28629
29624
|
path: _path + ".story",
|
|
28630
|
-
expected: "(__type.
|
|
29625
|
+
expected: "(__type.o57 | undefined)",
|
|
28631
29626
|
value: input.story
|
|
28632
29627
|
}), undefined === input.note || ("object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) || _report(_exceptionable, {
|
|
28633
29628
|
path: _path + ".note",
|
|
28634
|
-
expected: "(__type.
|
|
29629
|
+
expected: "(__type.o59 | undefined)",
|
|
28635
29630
|
value: input.note
|
|
28636
|
-
})) &&
|
|
29631
|
+
})) && _vo66(input.note, _path + ".note", true && _exceptionable) || _report(_exceptionable, {
|
|
28637
29632
|
path: _path + ".note",
|
|
28638
|
-
expected: "(__type.
|
|
29633
|
+
expected: "(__type.o59 | undefined)",
|
|
28639
29634
|
value: input.note
|
|
28640
29635
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
28641
29636
|
if (["story", "note"].some(prop => key === prop))
|
|
@@ -28653,13 +29648,13 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28653
29648
|
"Please remove the property next time."
|
|
28654
29649
|
].join("\n")
|
|
28655
29650
|
});
|
|
28656
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
29651
|
+
}).every(flag => flag))].every(flag => flag); const _vo64 = (input, _path, _exceptionable = true) => [undefined === input.excerpt || ("object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) || _report(_exceptionable, {
|
|
28657
29652
|
path: _path + ".excerpt",
|
|
28658
|
-
expected: "(__type.
|
|
29653
|
+
expected: "(__type.o58 | undefined)",
|
|
28659
29654
|
value: input.excerpt
|
|
28660
|
-
})) &&
|
|
29655
|
+
})) && _vo65(input.excerpt, _path + ".excerpt", true && _exceptionable) || _report(_exceptionable, {
|
|
28661
29656
|
path: _path + ".excerpt",
|
|
28662
|
-
expected: "(__type.
|
|
29657
|
+
expected: "(__type.o58 | undefined)",
|
|
28663
29658
|
value: input.excerpt
|
|
28664
29659
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
28665
29660
|
if (["excerpt"].some(prop => key === prop))
|
|
@@ -28677,7 +29672,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28677
29672
|
"Please remove the property next time."
|
|
28678
29673
|
].join("\n")
|
|
28679
29674
|
});
|
|
28680
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
29675
|
+
}).every(flag => flag))].every(flag => flag); const _vo65 = (input, _path, _exceptionable = true) => [undefined === input.maxLines || "number" === typeof input.maxLines || _report(_exceptionable, {
|
|
28681
29676
|
path: _path + ".maxLines",
|
|
28682
29677
|
expected: "(number | undefined)",
|
|
28683
29678
|
value: input.maxLines
|
|
@@ -28705,7 +29700,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28705
29700
|
"Please remove the property next time."
|
|
28706
29701
|
].join("\n")
|
|
28707
29702
|
});
|
|
28708
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
29703
|
+
}).every(flag => flag))].every(flag => flag); const _vo66 = (input, _path, _exceptionable = true) => [undefined === input.maxHeight || "number" === typeof input.maxHeight || _report(_exceptionable, {
|
|
28709
29704
|
path: _path + ".maxHeight",
|
|
28710
29705
|
expected: "(number | undefined)",
|
|
28711
29706
|
value: input.maxHeight
|
|
@@ -28725,15 +29720,15 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28725
29720
|
"Please remove the property next time."
|
|
28726
29721
|
].join("\n")
|
|
28727
29722
|
});
|
|
28728
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
29723
|
+
}).every(flag => flag))].every(flag => flag); const _vo67 = (input, _path, _exceptionable = true) => [undefined === input.search || ("object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) || _report(_exceptionable, {
|
|
28729
29724
|
path: _path + ".search",
|
|
28730
|
-
expected: "(__type.
|
|
29725
|
+
expected: "(__type.o61 | undefined)",
|
|
28731
29726
|
value: input.search
|
|
28732
|
-
})) &&
|
|
29727
|
+
})) && _vo68(input.search, _path + ".search", true && _exceptionable) || _report(_exceptionable, {
|
|
28733
29728
|
path: _path + ".search",
|
|
28734
|
-
expected: "(__type.
|
|
29729
|
+
expected: "(__type.o61 | undefined)",
|
|
28735
29730
|
value: input.search
|
|
28736
|
-
}), undefined === input.sortMode || true ===
|
|
29731
|
+
}), undefined === input.sortMode || true === _vv60.has(input.sortMode) || _report(_exceptionable, {
|
|
28737
29732
|
path: _path + ".sortMode",
|
|
28738
29733
|
expected: "(\"az\" | \"default\" | \"earliestdeadline\" | \"latestdeadline\" | \"leastrecent\" | \"manual\" | \"mostrecent\" | \"newest\" | \"oldest\" | \"za\" | undefined)",
|
|
28739
29734
|
value: input.sortMode
|
|
@@ -28753,7 +29748,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28753
29748
|
"Please remove the property next time."
|
|
28754
29749
|
].join("\n")
|
|
28755
29750
|
});
|
|
28756
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
29751
|
+
}).every(flag => flag))].every(flag => flag); const _vo68 = (input, _path, _exceptionable = true) => [undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed || _report(_exceptionable, {
|
|
28757
29752
|
path: _path + ".maxItemsDisplayed",
|
|
28758
29753
|
expected: "(number | undefined)",
|
|
28759
29754
|
value: input.maxItemsDisplayed
|
|
@@ -28773,7 +29768,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28773
29768
|
"Please remove the property next time."
|
|
28774
29769
|
].join("\n")
|
|
28775
29770
|
});
|
|
28776
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
29771
|
+
}).every(flag => flag))].every(flag => flag); const _vo69 = (input, _path, _exceptionable = true) => [undefined === input.maxHeight || "number" === typeof input.maxHeight || _report(_exceptionable, {
|
|
28777
29772
|
path: _path + ".maxHeight",
|
|
28778
29773
|
expected: "(number | undefined)",
|
|
28779
29774
|
value: input.maxHeight
|
|
@@ -28797,12 +29792,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28797
29792
|
"Please remove the property next time."
|
|
28798
29793
|
].join("\n")
|
|
28799
29794
|
});
|
|
28800
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
29795
|
+
}).every(flag => flag))].every(flag => flag); const _vo70 = (input, _path, _exceptionable = true) => [undefined === input.fontFamilies || (Array.isArray(input.fontFamilies) || _report(_exceptionable, {
|
|
28801
29796
|
path: _path + ".fontFamilies",
|
|
28802
29797
|
expected: "(Array<string> | undefined)",
|
|
28803
29798
|
value: input.fontFamilies
|
|
28804
|
-
})) && input.fontFamilies.map((elem,
|
|
28805
|
-
path: _path + ".fontFamilies[" +
|
|
29799
|
+
})) && input.fontFamilies.map((elem, _index61) => "string" === typeof elem || _report(_exceptionable, {
|
|
29800
|
+
path: _path + ".fontFamilies[" + _index61 + "]",
|
|
28806
29801
|
expected: "string",
|
|
28807
29802
|
value: elem
|
|
28808
29803
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -28825,7 +29820,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28825
29820
|
"Please remove the property next time."
|
|
28826
29821
|
].join("\n")
|
|
28827
29822
|
});
|
|
28828
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
29823
|
+
}).every(flag => flag))].every(flag => flag); const _vo71 = (input, _path, _exceptionable = true) => [undefined === input.id || "string" === typeof input.id || _report(_exceptionable, {
|
|
28829
29824
|
path: _path + ".id",
|
|
28830
29825
|
expected: "(string | undefined)",
|
|
28831
29826
|
value: input.id
|
|
@@ -28849,21 +29844,21 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28849
29844
|
"Please remove the property next time."
|
|
28850
29845
|
].join("\n")
|
|
28851
29846
|
});
|
|
28852
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
29847
|
+
}).every(flag => flag))].every(flag => flag); const _vo72 = (input, _path, _exceptionable = true) => [undefined === input.adobe || ("object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) || _report(_exceptionable, {
|
|
28853
29848
|
path: _path + ".adobe",
|
|
28854
|
-
expected: "(__type.
|
|
29849
|
+
expected: "(__type.o66 | undefined)",
|
|
28855
29850
|
value: input.adobe
|
|
28856
|
-
})) &&
|
|
29851
|
+
})) && _vo73(input.adobe, _path + ".adobe", true && _exceptionable) || _report(_exceptionable, {
|
|
28857
29852
|
path: _path + ".adobe",
|
|
28858
|
-
expected: "(__type.
|
|
29853
|
+
expected: "(__type.o66 | undefined)",
|
|
28859
29854
|
value: input.adobe
|
|
28860
29855
|
}), undefined === input.rive || ("object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) || _report(_exceptionable, {
|
|
28861
29856
|
path: _path + ".rive",
|
|
28862
|
-
expected: "(__type.
|
|
29857
|
+
expected: "(__type.o67 | undefined)",
|
|
28863
29858
|
value: input.rive
|
|
28864
|
-
})) &&
|
|
29859
|
+
})) && _vo74(input.rive, _path + ".rive", true && _exceptionable) || _report(_exceptionable, {
|
|
28865
29860
|
path: _path + ".rive",
|
|
28866
|
-
expected: "(__type.
|
|
29861
|
+
expected: "(__type.o67 | undefined)",
|
|
28867
29862
|
value: input.rive
|
|
28868
29863
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
28869
29864
|
if (["adobe", "rive"].some(prop => key === prop))
|
|
@@ -28881,7 +29876,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28881
29876
|
"Please remove the property next time."
|
|
28882
29877
|
].join("\n")
|
|
28883
29878
|
});
|
|
28884
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
29879
|
+
}).every(flag => flag))].every(flag => flag); const _vo73 = (input, _path, _exceptionable = true) => [undefined === input.useProxies || "boolean" === typeof input.useProxies || _report(_exceptionable, {
|
|
28885
29880
|
path: _path + ".useProxies",
|
|
28886
29881
|
expected: "(boolean | undefined)",
|
|
28887
29882
|
value: input.useProxies
|
|
@@ -28901,7 +29896,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28901
29896
|
"Please remove the property next time."
|
|
28902
29897
|
].join("\n")
|
|
28903
29898
|
});
|
|
28904
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
29899
|
+
}).every(flag => flag))].every(flag => flag); const _vo74 = (input, _path, _exceptionable = true) => [undefined === input.template || "string" === typeof input.template || _report(_exceptionable, {
|
|
28905
29900
|
path: _path + ".template",
|
|
28906
29901
|
expected: "(string | undefined)",
|
|
28907
29902
|
value: input.template
|
|
@@ -28921,7 +29916,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28921
29916
|
"Please remove the property next time."
|
|
28922
29917
|
].join("\n")
|
|
28923
29918
|
});
|
|
28924
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
29919
|
+
}).every(flag => flag))].every(flag => flag); const _vo75 = (input, _path, _exceptionable = true) => [undefined === input.collections || "boolean" === typeof input.collections || _report(_exceptionable, {
|
|
28925
29920
|
path: _path + ".collections",
|
|
28926
29921
|
expected: "(boolean | undefined)",
|
|
28927
29922
|
value: input.collections
|
|
@@ -28949,7 +29944,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
28949
29944
|
"Please remove the property next time."
|
|
28950
29945
|
].join("\n")
|
|
28951
29946
|
});
|
|
28952
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
29947
|
+
}).every(flag => flag))].every(flag => flag); const _vo76 = (input, _path, _exceptionable = true) => [undefined === input.utils || "boolean" === typeof input.utils || _report(_exceptionable, {
|
|
28953
29948
|
path: _path + ".utils",
|
|
28954
29949
|
expected: "(boolean | undefined)",
|
|
28955
29950
|
value: input.utils
|
|
@@ -29041,13 +30036,13 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
29041
30036
|
"Please remove the property next time."
|
|
29042
30037
|
].join("\n")
|
|
29043
30038
|
});
|
|
29044
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
30039
|
+
}).every(flag => flag))].every(flag => flag); const _vo77 = (input, _path, _exceptionable = true) => [undefined === input.events || ("object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) || _report(_exceptionable, {
|
|
29045
30040
|
path: _path + ".events",
|
|
29046
|
-
expected: "(__type.
|
|
30041
|
+
expected: "(__type.o71 | undefined)",
|
|
29047
30042
|
value: input.events
|
|
29048
|
-
})) &&
|
|
30043
|
+
})) && _vo78(input.events, _path + ".events", true && _exceptionable) || _report(_exceptionable, {
|
|
29049
30044
|
path: _path + ".events",
|
|
29050
|
-
expected: "(__type.
|
|
30045
|
+
expected: "(__type.o71 | undefined)",
|
|
29051
30046
|
value: input.events
|
|
29052
30047
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
29053
30048
|
if (["events"].some(prop => key === prop))
|
|
@@ -29065,12 +30060,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
29065
30060
|
"Please remove the property next time."
|
|
29066
30061
|
].join("\n")
|
|
29067
30062
|
});
|
|
29068
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
30063
|
+
}).every(flag => flag))].every(flag => flag); const _vo78 = (input, _path, _exceptionable = true) => [undefined === input.comment || (Array.isArray(input.comment) || _report(_exceptionable, {
|
|
29069
30064
|
path: _path + ".comment",
|
|
29070
30065
|
expected: "(Array<NotificationReason> | undefined)",
|
|
29071
30066
|
value: input.comment
|
|
29072
|
-
})) && input.comment.map((elem,
|
|
29073
|
-
path: _path + ".comment[" +
|
|
30067
|
+
})) && input.comment.map((elem, _index62) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
30068
|
+
path: _path + ".comment[" + _index62 + "]",
|
|
29074
30069
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
29075
30070
|
value: elem
|
|
29076
30071
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -29081,8 +30076,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
29081
30076
|
path: _path + ".assigned",
|
|
29082
30077
|
expected: "(Array<NotificationReason> | undefined)",
|
|
29083
30078
|
value: input.assigned
|
|
29084
|
-
})) && input.assigned.map((elem,
|
|
29085
|
-
path: _path + ".assigned[" +
|
|
30079
|
+
})) && input.assigned.map((elem, _index63) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
30080
|
+
path: _path + ".assigned[" + _index63 + "]",
|
|
29086
30081
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
29087
30082
|
value: elem
|
|
29088
30083
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -29093,8 +30088,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
29093
30088
|
path: _path + ".unassigned",
|
|
29094
30089
|
expected: "(Array<NotificationReason> | undefined)",
|
|
29095
30090
|
value: input.unassigned
|
|
29096
|
-
})) && input.unassigned.map((elem,
|
|
29097
|
-
path: _path + ".unassigned[" +
|
|
30091
|
+
})) && input.unassigned.map((elem, _index64) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
30092
|
+
path: _path + ".unassigned[" + _index64 + "]",
|
|
29098
30093
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
29099
30094
|
value: elem
|
|
29100
30095
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -29103,11 +30098,11 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
29103
30098
|
value: input.unassigned
|
|
29104
30099
|
}), undefined === input.publishSucceeded || ("object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) || _report(_exceptionable, {
|
|
29105
30100
|
path: _path + ".publishSucceeded",
|
|
29106
|
-
expected: "(__type.
|
|
30101
|
+
expected: "(__type.o72 | undefined)",
|
|
29107
30102
|
value: input.publishSucceeded
|
|
29108
|
-
})) &&
|
|
30103
|
+
})) && _vo79(input.publishSucceeded, _path + ".publishSucceeded", true && _exceptionable) || _report(_exceptionable, {
|
|
29109
30104
|
path: _path + ".publishSucceeded",
|
|
29110
|
-
expected: "(__type.
|
|
30105
|
+
expected: "(__type.o72 | undefined)",
|
|
29111
30106
|
value: input.publishSucceeded
|
|
29112
30107
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
29113
30108
|
if (["comment", "assigned", "unassigned", "publishSucceeded"].some(prop => key === prop))
|
|
@@ -29125,7 +30120,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
29125
30120
|
"Please remove the property next time."
|
|
29126
30121
|
].join("\n")
|
|
29127
30122
|
});
|
|
29128
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
30123
|
+
}).every(flag => flag))].every(flag => flag); const _vo79 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
29129
30124
|
const value = input[key];
|
|
29130
30125
|
if (undefined === value)
|
|
29131
30126
|
return true;
|
|
@@ -29133,8 +30128,8 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
29133
30128
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
29134
30129
|
expected: "Array<NotificationReason>",
|
|
29135
30130
|
value: value
|
|
29136
|
-
})) && value.map((elem,
|
|
29137
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" +
|
|
30131
|
+
})) && value.map((elem, _index65) => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem || _report(_exceptionable, {
|
|
30132
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" + _index65 + "]",
|
|
29138
30133
|
expected: "(\"always\" | \"assigned\" | \"author\" | \"mentioned\" | \"participated\")",
|
|
29139
30134
|
value: elem
|
|
29140
30135
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -29142,13 +30137,13 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
29142
30137
|
expected: "Array<NotificationReason>",
|
|
29143
30138
|
value: value
|
|
29144
30139
|
});
|
|
29145
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
30140
|
+
}).every(flag => flag)].every(flag => flag); const _vo80 = (input, _path, _exceptionable = true) => [undefined === input.duplicate || ("object" === typeof input.duplicate && null !== input.duplicate && false === Array.isArray(input.duplicate) || _report(_exceptionable, {
|
|
29146
30141
|
path: _path + ".duplicate",
|
|
29147
|
-
expected: "(__type.
|
|
30142
|
+
expected: "(__type.o74 | undefined)",
|
|
29148
30143
|
value: input.duplicate
|
|
29149
|
-
})) &&
|
|
30144
|
+
})) && _vo81(input.duplicate, _path + ".duplicate", true && _exceptionable) || _report(_exceptionable, {
|
|
29150
30145
|
path: _path + ".duplicate",
|
|
29151
|
-
expected: "(__type.
|
|
30146
|
+
expected: "(__type.o74 | undefined)",
|
|
29152
30147
|
value: input.duplicate
|
|
29153
30148
|
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
29154
30149
|
if (["duplicate"].some(prop => key === prop))
|
|
@@ -29166,7 +30161,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
29166
30161
|
"Please remove the property next time."
|
|
29167
30162
|
].join("\n")
|
|
29168
30163
|
});
|
|
29169
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
30164
|
+
}).every(flag => flag))].every(flag => flag); const _vo81 = (input, _path, _exceptionable = true) => [undefined === input.titlePrefix || "string" === typeof input.titlePrefix || _report(_exceptionable, {
|
|
29170
30165
|
path: _path + ".titlePrefix",
|
|
29171
30166
|
expected: "(string | undefined)",
|
|
29172
30167
|
value: input.titlePrefix
|
|
@@ -29190,12 +30185,12 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
29190
30185
|
"Please remove the property next time."
|
|
29191
30186
|
].join("\n")
|
|
29192
30187
|
});
|
|
29193
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
30188
|
+
}).every(flag => flag))].every(flag => flag); const _vo82 = (input, _path, _exceptionable = true) => [undefined === input.stateFilter || (Array.isArray(input.stateFilter) || _report(_exceptionable, {
|
|
29194
30189
|
path: _path + ".stateFilter",
|
|
29195
30190
|
expected: "(Array<number> | undefined)",
|
|
29196
30191
|
value: input.stateFilter
|
|
29197
|
-
})) && input.stateFilter.map((elem,
|
|
29198
|
-
path: _path + ".stateFilter[" +
|
|
30192
|
+
})) && input.stateFilter.map((elem, _index66) => "number" === typeof elem || _report(_exceptionable, {
|
|
30193
|
+
path: _path + ".stateFilter[" + _index66 + "]",
|
|
29199
30194
|
expected: "number",
|
|
29200
30195
|
value: elem
|
|
29201
30196
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -29238,7 +30233,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
29238
30233
|
"Please remove the property next time."
|
|
29239
30234
|
].join("\n")
|
|
29240
30235
|
});
|
|
29241
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
30236
|
+
}).every(flag => flag))].every(flag => flag); const _vo83 = (input, _path, _exceptionable = true) => [undefined === input.disableHotArea || "boolean" === typeof input.disableHotArea || _report(_exceptionable, {
|
|
29242
30237
|
path: _path + ".disableHotArea",
|
|
29243
30238
|
expected: "(boolean | undefined)",
|
|
29244
30239
|
value: input.disableHotArea
|
|
@@ -29258,7 +30253,7 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
29258
30253
|
"Please remove the property next time."
|
|
29259
30254
|
].join("\n")
|
|
29260
30255
|
});
|
|
29261
|
-
}).every(flag => flag))].every(flag => flag); const
|
|
30256
|
+
}).every(flag => flag))].every(flag => flag); const _vo84 = (input, _path, _exceptionable = true) => [undefined === input.refreshInterval || "number" === typeof input.refreshInterval || _report(_exceptionable, {
|
|
29262
30257
|
path: _path + ".refreshInterval",
|
|
29263
30258
|
expected: "(number | undefined)",
|
|
29264
30259
|
value: input.refreshInterval
|
|
@@ -29307,6 +30302,85 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
29307
30302
|
};
|
|
29308
30303
|
}; })()(input);
|
|
29309
30304
|
}
|
|
30305
|
+
case ":settings.node": {
|
|
30306
|
+
return (() => { const _io0 = (input, _exceptionable = true) => Object.keys(input).every(key => {
|
|
30307
|
+
const value = input[key];
|
|
30308
|
+
if (undefined === value)
|
|
30309
|
+
return true;
|
|
30310
|
+
return "object" === typeof value && null !== value && _io1(value, true && _exceptionable);
|
|
30311
|
+
}); const _io1 = (input, _exceptionable = true) => "boolean" === typeof input.collapsed && "boolean" === typeof input.hidden && (2 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
30312
|
+
if (["collapsed", "hidden"].some(prop => key === prop))
|
|
30313
|
+
return true;
|
|
30314
|
+
const value = input[key];
|
|
30315
|
+
if (undefined === value)
|
|
30316
|
+
return true;
|
|
30317
|
+
return false;
|
|
30318
|
+
})); const _vo0 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
30319
|
+
const value = input[key];
|
|
30320
|
+
if (undefined === value)
|
|
30321
|
+
return true;
|
|
30322
|
+
return ("object" === typeof value && null !== value || _report(_exceptionable, {
|
|
30323
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
30324
|
+
expected: "__type",
|
|
30325
|
+
value: value
|
|
30326
|
+
})) && _vo1(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
30327
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
30328
|
+
expected: "__type",
|
|
30329
|
+
value: value
|
|
30330
|
+
});
|
|
30331
|
+
}).every(flag => flag)].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => ["boolean" === typeof input.collapsed || _report(_exceptionable, {
|
|
30332
|
+
path: _path + ".collapsed",
|
|
30333
|
+
expected: "boolean",
|
|
30334
|
+
value: input.collapsed
|
|
30335
|
+
}), "boolean" === typeof input.hidden || _report(_exceptionable, {
|
|
30336
|
+
path: _path + ".hidden",
|
|
30337
|
+
expected: "boolean",
|
|
30338
|
+
value: input.hidden
|
|
30339
|
+
}), 2 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
30340
|
+
if (["collapsed", "hidden"].some(prop => key === prop))
|
|
30341
|
+
return true;
|
|
30342
|
+
const value = input[key];
|
|
30343
|
+
if (undefined === value)
|
|
30344
|
+
return true;
|
|
30345
|
+
return _report(_exceptionable, {
|
|
30346
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
30347
|
+
expected: "undefined",
|
|
30348
|
+
value: value,
|
|
30349
|
+
description: [
|
|
30350
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
30351
|
+
"",
|
|
30352
|
+
"Please remove the property next time."
|
|
30353
|
+
].join("\n")
|
|
30354
|
+
});
|
|
30355
|
+
}).every(flag => flag))].every(flag => flag); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input, true); let errors; let _report; return input => {
|
|
30356
|
+
if (false === __is(input)) {
|
|
30357
|
+
errors = [];
|
|
30358
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
30359
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
30360
|
+
path: _path + "",
|
|
30361
|
+
expected: "SettingsNodeRecord",
|
|
30362
|
+
value: input
|
|
30363
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
30364
|
+
path: _path + "",
|
|
30365
|
+
expected: "SettingsNodeRecord",
|
|
30366
|
+
value: input
|
|
30367
|
+
}))(input, "$input", true);
|
|
30368
|
+
const success = 0 === errors.length;
|
|
30369
|
+
return success ? {
|
|
30370
|
+
success,
|
|
30371
|
+
data: input
|
|
30372
|
+
} : {
|
|
30373
|
+
success,
|
|
30374
|
+
errors,
|
|
30375
|
+
data: input
|
|
30376
|
+
};
|
|
30377
|
+
}
|
|
30378
|
+
return {
|
|
30379
|
+
success: true,
|
|
30380
|
+
data: input
|
|
30381
|
+
};
|
|
30382
|
+
}; })()(input);
|
|
30383
|
+
}
|
|
29310
30384
|
case ":shotbox": {
|
|
29311
30385
|
return (() => { const _io0 = (input, _exceptionable = true) => (undefined === input.pages || Array.isArray(input.pages) && input.pages.every((elem, _index1) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io1(elem, true && _exceptionable))) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
29312
30386
|
if (["pages"].some(prop => key === prop))
|