@nxtedition/types 23.1.3 → 23.1.4
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 +2 -0
- package/dist/common/index.js +2 -0
- package/dist/common/json-schema.d.ts +95 -0
- package/dist/common/json-schema.js +1 -0
- package/dist/common/nxtpression.d.ts +1 -1
- package/dist/common/print.d.ts +30 -0
- package/dist/common/print.js +1 -0
- package/dist/common/render-scene.d.ts +1 -0
- package/dist/common/settings.d.ts +11 -2
- package/dist/nxtpression.d.ts +337 -42
- package/dist/records/domains/connection/file/smb.d.ts +2 -0
- package/dist/records/domains/event.d.ts +6 -0
- package/dist/records/domains/gallery.d.ts +8 -0
- package/dist/records/domains/gallery.js +1 -0
- package/dist/records/domains/index.d.ts +5 -1
- package/dist/records/domains/index.js +2 -0
- package/dist/records/domains/role.d.ts +8 -0
- package/dist/records/domains/storage.d.ts +87 -0
- package/dist/records/domains/storage.js +1 -0
- package/dist/records/domains/template.d.ts +32 -0
- package/dist/records/exact/index.d.ts +6 -0
- package/dist/records/exact/monitor.d.ts +1 -0
- package/dist/records/validate/assert-guard.js +1549 -433
- package/dist/records/validate/assert.js +1557 -433
- package/dist/records/validate/is.js +85 -25
- package/dist/records/validate/schemas.d.ts +3 -10
- package/dist/records/validate/schemas.js +1241 -240
- package/dist/records/validate/stringify.js +137 -49
- package/dist/records/validate/utils.js +2 -2
- package/dist/records/validate/validate-equals.js +2087 -457
- package/dist/records/validate/validate.js +1414 -382
- package/package.json +1 -1
|
@@ -103,30 +103,30 @@ function _stringifyExactRecord(name, input) {
|
|
|
103
103
|
})() : undefined}`}`)}}`; const _so1 = input => `{"__context":${_so2(input.__context)},"__returnValue":${input.__returnValue}}`; const _so2 = input => `{"id":${__typia_transform__jsonStringifyString._jsonStringifyString(input.id)}}`; const _io1 = input => "object" === typeof input.__context && null !== input.__context && _io2(input.__context) && "number" === typeof input.__returnValue; const _io2 = input => "string" === typeof input.id; return input => _so0(input); })()(input);
|
|
104
104
|
}
|
|
105
105
|
case "asset.dynamicProperties?": {
|
|
106
|
-
return (() => { const _so0 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => _su0(elem)).join(",")}]` : undefined}`}`)}}`; const _so1 = input => `{${undefined === input.type ? "" : `"type":${undefined !== input.type ? "\"" + input.type + "\"" : undefined},`}${undefined === input.
|
|
106
|
+
return (() => { const _so0 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => _su0(elem)).join(",")}]` : undefined}`}`)}}`; const _so1 = input => `{${undefined === input.type ? "" : `"type":${undefined !== input.type ? "\"" + input.type + "\"" : undefined},`}${undefined === input.items ? "" : `"items":${undefined !== input.items ? _so2(input.items) : undefined},`}${undefined === input.minItems ? "" : `"minItems":${undefined !== input.minItems ? input.minItems : undefined},`}${undefined === input.maxItems ? "" : `"maxItems":${undefined !== input.maxItems ? input.maxItems : undefined},`}${undefined === input.properties ? "" : `"properties":${undefined !== input.properties ? _so4(input.properties) : undefined},`}${undefined === input.required ? "" : `"required":${undefined !== input.required ? input.required : undefined},`}${undefined === input.oneOf ? "" : `"oneOf":${undefined !== input.oneOf ? `[${input.oneOf.map(elem => _so2(elem)).join(",")}]` : undefined},`}${undefined === input.anyOf ? "" : `"anyOf":${undefined !== input.anyOf ? `[${input.anyOf.map(elem => _so2(elem)).join(",")}]` : undefined},`}${undefined === input["enum"] ? "" : `"enum":${undefined !== input["enum"] ? `[${input["enum"].map(elem => undefined !== elem ? JSON.stringify(elem) : "null").join(",")}]` : undefined},`}${undefined === input.title ? "" : `"title":${undefined !== input.title ? __typia_transform__jsonStringifyString._jsonStringifyString(input.title) : undefined},`}${undefined === input.index ? "" : `"index":${undefined !== input.index ? _so5(input.index) : undefined},`}${undefined === input.description ? "" : `"description":${undefined !== input.description ? __typia_transform__jsonStringifyString._jsonStringifyString(input.description) : undefined},`}${undefined === input.placeholder ? "" : `"placeholder":${undefined !== input.placeholder ? __typia_transform__jsonStringifyString._jsonStringifyString(input.placeholder) : undefined},`}${undefined === input.widget ? "" : `"widget":${undefined !== input.widget ? (() => {
|
|
107
107
|
if ("string" === typeof input.widget)
|
|
108
108
|
return __typia_transform__jsonStringifyString._jsonStringifyString(input.widget);
|
|
109
109
|
if ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget))
|
|
110
|
-
return
|
|
110
|
+
return _so3(input.widget);
|
|
111
111
|
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
112
112
|
method: "typia.json.stringify",
|
|
113
113
|
expected: "(WidgetOptions | string | undefined)",
|
|
114
114
|
value: input.widget
|
|
115
115
|
});
|
|
116
|
-
})() : undefined},`}${undefined === input.helpText ? "" : `"helpText":${undefined !== input.helpText ? __typia_transform__jsonStringifyString._jsonStringifyString(input.helpText) : undefined},`}${undefined === input.invalid ? "" : `"invalid":${undefined !== input.invalid ? input.invalid : undefined},`}${undefined === input.emptyValue || "function" === typeof input.emptyValue ? "" : `"emptyValue":${undefined !== input.emptyValue ? JSON.stringify(input.emptyValue) : undefined},`}${undefined === input.
|
|
116
|
+
})() : undefined},`}${undefined === input.helpText ? "" : `"helpText":${undefined !== input.helpText ? __typia_transform__jsonStringifyString._jsonStringifyString(input.helpText) : undefined},`}${undefined === input.invalid ? "" : `"invalid":${undefined !== input.invalid ? input.invalid : undefined},`}${undefined === input.emptyValue || "function" === typeof input.emptyValue ? "" : `"emptyValue":${undefined !== input.emptyValue ? JSON.stringify(input.emptyValue) : undefined},`}${undefined === input.computed || "function" === typeof input.computed ? "" : `"computed":${undefined !== input.computed ? JSON.stringify(input.computed) : undefined},`}"panel":${__typia_transform__jsonStringifyString._jsonStringifyString(input.panel)},"path":${__typia_transform__jsonStringifyString._jsonStringifyString(input.path)},"domain":${__typia_transform__jsonStringifyString._jsonStringifyString(input.domain)}}`; const _so2 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.domain ? "" : `"domain":${undefined !== input.domain ? __typia_transform__jsonStringifyString._jsonStringifyString(input.domain) : undefined},`}${undefined === input.path ? "" : `"path":${undefined !== input.path ? __typia_transform__jsonStringifyString._jsonStringifyString(input.path) : undefined},`}${undefined === input.type ? "" : `"type":${undefined !== input.type ? "\"" + input.type + "\"" : undefined},`}${undefined === input.title ? "" : `"title":${undefined !== input.title ? __typia_transform__jsonStringifyString._jsonStringifyString(input.title) : undefined},`}${undefined === input.description ? "" : `"description":${undefined !== input.description ? __typia_transform__jsonStringifyString._jsonStringifyString(input.description) : undefined},`}${undefined === input.required ? "" : `"required":${undefined !== input.required ? input.required : undefined},`}${undefined === input.oneOf ? "" : `"oneOf":${undefined !== input.oneOf ? `[${input.oneOf.map(elem => _so2(elem)).join(",")}]` : undefined},`}${undefined === input.anyOf ? "" : `"anyOf":${undefined !== input.anyOf ? `[${input.anyOf.map(elem => _so2(elem)).join(",")}]` : undefined},`}${undefined === input["enum"] ? "" : `"enum":${undefined !== input["enum"] ? `[${input["enum"].map(elem => undefined !== elem ? JSON.stringify(elem) : "null").join(",")}]` : undefined},`}${undefined === input.widget ? "" : `"widget":${undefined !== input.widget ? (() => {
|
|
117
117
|
if ("string" === typeof input.widget)
|
|
118
118
|
return __typia_transform__jsonStringifyString._jsonStringifyString(input.widget);
|
|
119
119
|
if ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget))
|
|
120
|
-
return
|
|
120
|
+
return _so3(input.widget);
|
|
121
121
|
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
122
122
|
method: "typia.json.stringify",
|
|
123
123
|
expected: "(WidgetOptions | string | undefined)",
|
|
124
124
|
value: input.widget
|
|
125
125
|
});
|
|
126
|
-
})() : undefined},`}${undefined === input.placeholder ? "" : `"placeholder":${undefined !== input.placeholder ? __typia_transform__jsonStringifyString._jsonStringifyString(input.placeholder) : undefined},`}${undefined === input.helpText ? "" : `"helpText":${undefined !== input.helpText ? __typia_transform__jsonStringifyString._jsonStringifyString(input.helpText) : undefined},`}${undefined === input.invalid ? "" : `"invalid":${undefined !== input.invalid ? input.invalid : undefined},`}${undefined === input.emptyValue || "function" === typeof input.emptyValue ? "" : `"emptyValue":${undefined !== input.emptyValue ? JSON.stringify(input.emptyValue) : undefined},`}${undefined === input.minItems ? "" : `"minItems":${undefined !== input.minItems ? input.minItems : undefined},`}${undefined === input.maxItems ? "" : `"maxItems":${undefined !== input.maxItems ? input.maxItems : undefined},`}${undefined === input.items ? "" : `"items":${undefined !== input.items ?
|
|
126
|
+
})() : undefined},`}${undefined === input.placeholder ? "" : `"placeholder":${undefined !== input.placeholder ? __typia_transform__jsonStringifyString._jsonStringifyString(input.placeholder) : undefined},`}${undefined === input.helpText ? "" : `"helpText":${undefined !== input.helpText ? __typia_transform__jsonStringifyString._jsonStringifyString(input.helpText) : undefined},`}${undefined === input.invalid ? "" : `"invalid":${undefined !== input.invalid ? input.invalid : undefined},`}${undefined === input.emptyValue || "function" === typeof input.emptyValue ? "" : `"emptyValue":${undefined !== input.emptyValue ? JSON.stringify(input.emptyValue) : undefined},`}${undefined === input.minItems ? "" : `"minItems":${undefined !== input.minItems ? input.minItems : undefined},`}${undefined === input.maxItems ? "" : `"maxItems":${undefined !== input.maxItems ? input.maxItems : undefined},`}${undefined === input.items ? "" : `"items":${undefined !== input.items ? _so2(input.items) : undefined},`}${undefined === input.properties ? "" : `"properties":${undefined !== input.properties ? _so4(input.properties) : undefined},`}${undefined === input.computed || "function" === typeof input.computed ? "" : `"computed":${undefined !== input.computed ? JSON.stringify(input.computed) : undefined},`}${undefined === input.index ? "" : `"index":${undefined !== input.index ? _so5(input.index) : undefined}`}`)}}`; const _so3 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.type ? "" : `"type":${undefined !== input.type ? __typia_transform__jsonStringifyString._jsonStringifyString(input.type) : undefined},`}${undefined === input.readOnly ? "" : `"readOnly":${undefined !== input.readOnly ? input.readOnly : undefined},`}${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
127
127
|
return ""; if (["type", "readOnly"].some(regular => regular === key))
|
|
128
|
-
return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}`)}}`; const
|
|
129
|
-
return ""; return `${JSON.stringify(key)}:${
|
|
128
|
+
return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}`)}}`; const _so4 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
129
|
+
return ""; return `${JSON.stringify(key)}:${_so2(value)}`; }).filter(str => "" !== str).join(",")}}`; const _so5 = input => `{"label":${__typia_transform__jsonStringifyString._jsonStringifyString(input.label)},"path":${__typia_transform__jsonStringifyString._jsonStringifyString(input.path)}}`; const _so6 = input => `{${undefined === input.type ? "" : `"type":${undefined !== input.type ? "\"" + input.type + "\"" : undefined},`}${undefined === input["default"] || "function" === typeof input["default"] ? "" : `"default":${undefined !== input["default"] ? JSON.stringify(input["default"]) : undefined},`}${undefined === input.items ? "" : `"items":${undefined !== input.items ? _so2(input.items) : undefined},`}${undefined === input.minItems ? "" : `"minItems":${undefined !== input.minItems ? input.minItems : undefined},`}${undefined === input.maxItems ? "" : `"maxItems":${undefined !== input.maxItems ? input.maxItems : undefined},`}${undefined === input.properties ? "" : `"properties":${undefined !== input.properties ? _so4(input.properties) : undefined},`}${undefined === input.required ? "" : `"required":${undefined !== input.required ? input.required : undefined},`}${undefined === input.oneOf ? "" : `"oneOf":${undefined !== input.oneOf ? `[${input.oneOf.map(elem => _so2(elem)).join(",")}]` : undefined},`}${undefined === input.anyOf ? "" : `"anyOf":${undefined !== input.anyOf ? `[${input.anyOf.map(elem => _so2(elem)).join(",")}]` : undefined},`}${undefined === input["enum"] ? "" : `"enum":${undefined !== input["enum"] ? `[${input["enum"].map(elem => undefined !== elem ? JSON.stringify(elem) : "null").join(",")}]` : undefined},`}${undefined === input["const"] || "function" === typeof input["const"] ? "" : `"const":${undefined !== input["const"] ? JSON.stringify(input["const"]) : undefined},`}${undefined === input.recordName ? "" : `"recordName":${undefined !== input.recordName ? (() => {
|
|
130
130
|
if ("string" === typeof input.recordName)
|
|
131
131
|
return __typia_transform__jsonStringifyString._jsonStringifyString(input.recordName);
|
|
132
132
|
if ("object" === typeof input.recordName && null !== input.recordName)
|
|
@@ -148,17 +148,17 @@ function _stringifyExactRecord(name, input) {
|
|
|
148
148
|
expected: "(__type.o3 | string | undefined)",
|
|
149
149
|
value: input.setter
|
|
150
150
|
});
|
|
151
|
-
})() : undefined},`}${undefined === input
|
|
151
|
+
})() : undefined},`}${undefined === input.title ? "" : `"title":${undefined !== input.title ? __typia_transform__jsonStringifyString._jsonStringifyString(input.title) : undefined},`}${undefined === input.index ? "" : `"index":${undefined !== input.index ? _so5(input.index) : undefined},`}${undefined === input.description ? "" : `"description":${undefined !== input.description ? __typia_transform__jsonStringifyString._jsonStringifyString(input.description) : undefined},`}${undefined === input.placeholder ? "" : `"placeholder":${undefined !== input.placeholder ? __typia_transform__jsonStringifyString._jsonStringifyString(input.placeholder) : undefined},`}${undefined === input.widget ? "" : `"widget":${undefined !== input.widget ? (() => {
|
|
152
152
|
if ("string" === typeof input.widget)
|
|
153
153
|
return __typia_transform__jsonStringifyString._jsonStringifyString(input.widget);
|
|
154
154
|
if ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget))
|
|
155
|
-
return
|
|
155
|
+
return _so3(input.widget);
|
|
156
156
|
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
157
157
|
method: "typia.json.stringify",
|
|
158
158
|
expected: "(WidgetOptions | string | undefined)",
|
|
159
159
|
value: input.widget
|
|
160
160
|
});
|
|
161
|
-
})() : undefined},`}${undefined === input.helpText ? "" : `"helpText":${undefined !== input.helpText ? __typia_transform__jsonStringifyString._jsonStringifyString(input.helpText) : undefined},`}${undefined === input.invalid ? "" : `"invalid":${undefined !== input.invalid ? input.invalid : undefined},`}${undefined === input.emptyValue || "function" === typeof input.emptyValue ? "" : `"emptyValue":${undefined !== input.emptyValue ? JSON.stringify(input.emptyValue) : undefined},`}${undefined === input.
|
|
161
|
+
})() : undefined},`}${undefined === input.helpText ? "" : `"helpText":${undefined !== input.helpText ? __typia_transform__jsonStringifyString._jsonStringifyString(input.helpText) : undefined},`}${undefined === input.invalid ? "" : `"invalid":${undefined !== input.invalid ? input.invalid : undefined},`}${undefined === input.emptyValue || "function" === typeof input.emptyValue ? "" : `"emptyValue":${undefined !== input.emptyValue ? JSON.stringify(input.emptyValue) : undefined},`}${undefined === input.computed || "function" === typeof input.computed ? "" : `"computed":${undefined !== input.computed ? JSON.stringify(input.computed) : undefined},`}"schema":${__typia_transform__jsonStringifyString._jsonStringifyString(input.schema)},"path":${__typia_transform__jsonStringifyString._jsonStringifyString(input.path)},"domain":${__typia_transform__jsonStringifyString._jsonStringifyString(input.domain)}}`; const _so7 = input => `{"__context":${_so8(input.__context)},"__returnValue":${__typia_transform__jsonStringifyString._jsonStringifyString(input.__returnValue)}}`; const _so8 = input => `{"id":${__typia_transform__jsonStringifyString._jsonStringifyString(input.id)}}`; const _so9 = input => `{"__context":${_so10(input.__context)}}`; const _so10 = input => `{${undefined === input.value || "function" === typeof input.value ? "" : `"value":${undefined !== input.value ? JSON.stringify(input.value) : undefined},`}"id":${__typia_transform__jsonStringifyString._jsonStringifyString(input.id)}}`; const _su0 = input => (() => {
|
|
162
162
|
if (undefined !== input.panel)
|
|
163
163
|
return _so1(input);
|
|
164
164
|
else if (undefined !== input.schema)
|
|
@@ -169,19 +169,19 @@ function _stringifyExactRecord(name, input) {
|
|
|
169
169
|
expected: "(DynamicPanelProperty | DynamicSchemaProperty)",
|
|
170
170
|
value: input
|
|
171
171
|
});
|
|
172
|
-
})(); const _io1 = input => "string" === typeof input.panel && "string" === typeof input.path && "string" === typeof input.domain && (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) && (undefined === input.
|
|
172
|
+
})(); const _io1 = input => "string" === typeof input.panel && "string" === typeof input.path && "string" === typeof input.domain && (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io2(input.items)) && (undefined === input.minItems || "number" === typeof input.minItems) && (undefined === input.maxItems || "number" === typeof input.maxItems) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io4(input.properties)) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io2(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io2(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.index || "object" === typeof input.index && null !== input.index && _io5(input.index)) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io3(input.widget))) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true && true; const _io2 = input => (undefined === input.domain || "string" === typeof input.domain) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io2(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io2(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io3(input.widget))) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true && (undefined === input.minItems || "number" === typeof input.minItems) && (undefined === input.maxItems || "number" === typeof input.maxItems) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io2(input.items)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io4(input.properties)) && true && (undefined === input.index || "object" === typeof input.index && null !== input.index && _io5(input.index)); const _io3 = input => (undefined === input.type || "string" === typeof input.type) && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && Object.keys(input).every(key => {
|
|
173
173
|
if (["type", "readOnly"].some(prop => key === prop))
|
|
174
174
|
return true;
|
|
175
175
|
const value = input[key];
|
|
176
176
|
if (undefined === value)
|
|
177
177
|
return true;
|
|
178
178
|
return true;
|
|
179
|
-
}); const
|
|
179
|
+
}); const _io4 = input => Object.keys(input).every(key => {
|
|
180
180
|
const value = input[key];
|
|
181
181
|
if (undefined === value)
|
|
182
182
|
return true;
|
|
183
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
184
|
-
}); const _io6 = input => "string" === typeof input.schema && "string" === typeof input.path && "string" === typeof input.domain && (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) &&
|
|
183
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
|
|
184
|
+
}); const _io5 = input => "string" === typeof input.label && "string" === typeof input.path; const _io6 = input => "string" === typeof input.schema && "string" === typeof input.path && "string" === typeof input.domain && (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) && true && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io2(input.items)) && (undefined === input.minItems || "number" === typeof input.minItems) && (undefined === input.maxItems || "number" === typeof input.maxItems) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io4(input.properties)) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io2(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io2(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && true && (null !== input.recordName && (undefined === input.recordName || "string" === typeof input.recordName || "object" === typeof input.recordName && null !== input.recordName && _io7(input.recordName))) && (null !== input.setter && (undefined === input.setter || "function" === typeof input.setter || "string" === typeof input.setter || "object" === typeof input.setter && null !== input.setter && _io9(input.setter))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.index || "object" === typeof input.index && null !== input.index && _io5(input.index)) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io3(input.widget))) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true && true; const _io7 = input => "object" === typeof input.__context && null !== input.__context && _io8(input.__context) && "string" === typeof input.__returnValue; const _io8 = input => "string" === typeof input.id; const _io9 = input => "object" === typeof input.__context && null !== input.__context && _io10(input.__context) && true; const _io10 = input => "string" === typeof input.id && true; const _iu0 = input => (() => {
|
|
185
185
|
if (undefined !== input.panel)
|
|
186
186
|
return _io1(input);
|
|
187
187
|
else if (undefined !== input.schema)
|
|
@@ -385,13 +385,13 @@ function _stringifyExactRecord(name, input) {
|
|
|
385
385
|
expected: "(__type.o1 | string | undefined)",
|
|
386
386
|
value: input.url
|
|
387
387
|
});
|
|
388
|
-
})() : undefined},`}"id":${__typia_transform__jsonStringifyString._jsonStringifyString(input.id)},"msg":${__typia_transform__jsonStringifyString._jsonStringifyString(input.msg)},"level":${input.level}}`; const _so4 = input => `{"title":${__typia_transform__jsonStringifyString._jsonStringifyString(input.title)},"url":${__typia_transform__jsonStringifyString._jsonStringifyString(input.url)}}`; const _so5 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
388
|
+
})() : undefined},`}${undefined === input.data || "function" === typeof input.data ? "" : `"data":${undefined !== input.data ? JSON.stringify(input.data) : undefined},`}"id":${__typia_transform__jsonStringifyString._jsonStringifyString(input.id)},"msg":${__typia_transform__jsonStringifyString._jsonStringifyString(input.msg)},"level":${input.level}}`; const _so4 = input => `{"title":${__typia_transform__jsonStringifyString._jsonStringifyString(input.title)},"url":${__typia_transform__jsonStringifyString._jsonStringifyString(input.url)}}`; const _so5 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
389
389
|
return ""; return `${JSON.stringify(key)}:${_so6(value)}`; }).filter(str => "" !== str).join(",")}}`; const _so6 = input => `{${undefined === input.image ? "" : `"image":${undefined !== input.image ? __typia_transform__jsonStringifyString._jsonStringifyString(input.image) : undefined},`}${undefined === input.running ? "" : `"running":${undefined !== input.running ? input.running : undefined},`}${undefined === input.mode ? "" : `"mode":${undefined !== input.mode ? __typia_transform__jsonStringifyString._jsonStringifyString(input.mode) : undefined},`}${undefined === input.total ? "" : `"total":${undefined !== input.total ? input.total : undefined},`}${undefined === input.ignored ? "" : `"ignored":${undefined !== input.ignored ? input.ignored : undefined},`}${undefined === input.tasks ? "" : `"tasks":${undefined !== input.tasks ? `[${input.tasks.map(elem => _so7(elem)).join(",")}]` : undefined},`}"level":${input.level},"status":${__typia_transform__jsonStringifyString._jsonStringifyString(input.status)},"messages":${`[${input.messages.map(elem => _so3(elem)).join(",")}]`}}`; const _so7 = input => `{${undefined === input.level ? "" : `"level":${undefined !== input.level ? input.level : undefined},`}${undefined === input.status ? "" : `"status":${undefined !== input.status ? __typia_transform__jsonStringifyString._jsonStringifyString(input.status) : undefined},`}"id":${__typia_transform__jsonStringifyString._jsonStringifyString(input.id)},"node":${__typia_transform__jsonStringifyString._jsonStringifyString(input.node)},"container":${__typia_transform__jsonStringifyString._jsonStringifyString(input.container)},"messages":${`[${input.messages.map(elem => _so3(elem)).join(",")}]`}}`; const _io1 = input => Object.keys(input).every(key => {
|
|
390
390
|
const value = input[key];
|
|
391
391
|
if (undefined === value)
|
|
392
392
|
return true;
|
|
393
393
|
return "object" === typeof value && null !== value && _io2(value);
|
|
394
|
-
}); const _io2 = input => (undefined === input.state || "string" === typeof input.state) && (undefined === input.role || "string" === typeof input.role) && (undefined === input.leader || "boolean" === typeof input.leader) && (undefined === input.availability || "string" === typeof input.availability) && (undefined === input.classes || Array.isArray(input.classes) && input.classes.every(elem => "string" === typeof elem)) && (undefined === input.address || "string" === typeof input.address) && "number" === typeof input.level && "string" === typeof input.status && (Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io3(elem))); const _io3 = input => "string" === typeof input.id && "string" === typeof input.msg && "number" === typeof input.level && (undefined === input.ignored || "boolean" === typeof input.ignored) && (undefined === input.title || "string" === typeof input.title) && (null !== input.url && (undefined === input.url || "string" === typeof input.url || "object" === typeof input.url && null !== input.url && _io4(input.url))); const _io4 = input => "string" === typeof input.title && "string" === typeof input.url; const _io5 = input => Object.keys(input).every(key => {
|
|
394
|
+
}); const _io2 = input => (undefined === input.state || "string" === typeof input.state) && (undefined === input.role || "string" === typeof input.role) && (undefined === input.leader || "boolean" === typeof input.leader) && (undefined === input.availability || "string" === typeof input.availability) && (undefined === input.classes || Array.isArray(input.classes) && input.classes.every(elem => "string" === typeof elem)) && (undefined === input.address || "string" === typeof input.address) && "number" === typeof input.level && "string" === typeof input.status && (Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io3(elem))); const _io3 = input => "string" === typeof input.id && "string" === typeof input.msg && "number" === typeof input.level && (undefined === input.ignored || "boolean" === typeof input.ignored) && (undefined === input.title || "string" === typeof input.title) && (null !== input.url && (undefined === input.url || "string" === typeof input.url || "object" === typeof input.url && null !== input.url && _io4(input.url))) && true; const _io4 = input => "string" === typeof input.title && "string" === typeof input.url; const _io5 = input => Object.keys(input).every(key => {
|
|
395
395
|
const value = input[key];
|
|
396
396
|
if (undefined === value)
|
|
397
397
|
return true;
|
|
@@ -659,7 +659,7 @@ function _stringifyExactRecord(name, input) {
|
|
|
659
659
|
})() : undefined},`}"format":${__typia_transform__jsonStringifyString._jsonStringifyString(input.format)}}`; const _so4 = input => `{"engine":${__typia_transform__jsonStringifyString._jsonStringifyString(input.engine)}}`; const _so5 = input => `{"language":${__typia_transform__jsonStringifyString._jsonStringifyString(input.language)}}`; const _so6 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.codec ? "" : `"codec":${undefined !== input.codec ? __typia_transform__jsonStringifyString._jsonStringifyString(input.codec) : undefined},`}${undefined === input.pan ? "" : `"pan":${undefined !== input.pan ? __typia_transform__jsonStringifyString._jsonStringifyString(input.pan) : undefined},`}${undefined === input.samplerate ? "" : `"samplerate":${undefined !== input.samplerate ? input.samplerate : undefined},`}${undefined === input.split ? "" : `"split":${undefined !== input.split ? input.split : undefined}`}`)}}`; const _so7 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.lang ? "" : `"lang":${undefined !== input.lang ? __typia_transform__jsonStringifyString._jsonStringifyString(input.lang) : undefined},`}${undefined === input.style ? "" : `"style":${undefined !== input.style ? __typia_transform__jsonStringifyString._jsonStringifyString(input.style) : undefined},`}${undefined === input.ccconverter ? "" : `"ccconverter":${undefined !== input.ccconverter ? _so8(input.ccconverter) : undefined},`}${undefined === input.ass ? "" : `"ass":${undefined !== input.ass ? _so9(input.ass) : undefined}`}`)}}`; const _so8 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? __typia_transform__jsonStringifyString._jsonStringifyString(input.preset) : undefined}`}`)}}`; const _so9 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.futureWordWrapping ? "" : `"futureWordWrapping":${undefined !== input.futureWordWrapping ? input.futureWordWrapping : undefined},`}${undefined === input.scaledBorderAndShadow ? "" : `"scaledBorderAndShadow":${undefined !== input.scaledBorderAndShadow ? input.scaledBorderAndShadow : undefined},`}${undefined === input.enableUnsafeLineSpacingHack ? "" : `"enableUnsafeLineSpacingHack":${undefined !== input.enableUnsafeLineSpacingHack ? input.enableUnsafeLineSpacingHack : undefined}`}`)}}`; const _io1 = input => null !== input.audio && undefined !== input.audio && ("string" === typeof input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io2(input.audio)) && (null !== input.video && undefined !== input.video && ("string" === typeof input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io2(input.video))) && (null !== input.image && undefined !== input.image && ("string" === typeof input.image || "object" === typeof input.image && null !== input.image && false === Array.isArray(input.image) && _io2(input.image))); const _io2 = input => (null === input.type || undefined === input.type || "string" === typeof input.type) && (null !== input.profile && (undefined === input.profile || "string" === typeof input.profile || (Array.isArray(input.profile) && input.profile.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || "object" === typeof elem && null !== elem && _io3(elem))) || "object" === typeof input.profile && null !== input.profile && _io3(input.profile)))); const _io3 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io4(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io5(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io6(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && _io7(input.subtitle))); const _io4 = input => "string" === typeof input.engine; const _io5 = input => "string" === typeof input.language; const _io6 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.pan || "string" === typeof input.pan) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.split || "boolean" === typeof input.split); const _io7 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style) && (undefined === input.ccconverter || "object" === typeof input.ccconverter && null !== input.ccconverter && false === Array.isArray(input.ccconverter) && _io8(input.ccconverter)) && (undefined === input.ass || "object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) && _io9(input.ass)); const _io8 = input => undefined === input.preset || "string" === typeof input.preset; const _io9 = input => (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping) && (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow) && (undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack); return input => _so0(input); })()(input);
|
|
660
660
|
}
|
|
661
661
|
case "asset-daemon": {
|
|
662
|
-
return (() => { const _so0 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input["user-notify"] ? "" : `"user-notify":${undefined !== input["user-notify"] ? input["user-notify"] : undefined}`}`)}}`; return input => _so0(input); })()(input);
|
|
662
|
+
return (() => { const _so0 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input["user-notify"] ? "" : `"user-notify":${undefined !== input["user-notify"] ? input["user-notify"] : undefined},`}${undefined === input.validate ? "" : `"validate":${undefined !== input.validate ? input.validate : undefined}`}`)}}`; return input => _so0(input); })()(input);
|
|
663
663
|
}
|
|
664
664
|
case "asset-daemon:user-notify.state": {
|
|
665
665
|
return (() => { const _so0 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.since ? "" : `"since":${undefined !== input.since ? null !== input.since ? (() => {
|
|
@@ -674,6 +674,19 @@ function _stringifyExactRecord(name, input) {
|
|
|
674
674
|
});
|
|
675
675
|
})() : "null" : undefined},`}${undefined === input.version ? "" : `"version":${undefined !== input.version ? input.version : undefined}`}`)}}`; return input => _so0(input); })()(input);
|
|
676
676
|
}
|
|
677
|
+
case "asset-daemon:validate.state": {
|
|
678
|
+
return (() => { const _so0 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.since ? "" : `"since":${undefined !== input.since ? null !== input.since ? (() => {
|
|
679
|
+
if ("number" === typeof input.since)
|
|
680
|
+
return input.since;
|
|
681
|
+
if ("string" === typeof input.since)
|
|
682
|
+
return __typia_transform__jsonStringifyString._jsonStringifyString(input.since);
|
|
683
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
684
|
+
method: "typia.json.stringify",
|
|
685
|
+
expected: "(0 | null | string | undefined)",
|
|
686
|
+
value: input.since
|
|
687
|
+
});
|
|
688
|
+
})() : "null" : undefined},`}${undefined === input.version ? "" : `"version":${undefined !== input.version ? input.version : undefined}`}`)}}`; return input => _so0(input); })()(input);
|
|
689
|
+
}
|
|
677
690
|
case "deepstream-replicator.stats?": {
|
|
678
691
|
return (() => { const _so0 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.replicators ? "" : `"replicators":${undefined !== input.replicators ? _so1(input.replicators) : undefined},`}${undefined === input.synced ? "" : `"synced":${undefined !== input.synced ? input.synced : undefined}`}`)}}`; const _so1 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
679
692
|
return ""; return `${JSON.stringify(key)}:${_so2(value)}`; }).filter(str => "" !== str).join(",")}}`; const _so2 = input => `{"to":${_so3(input.to)},"from":${_so4(input.from)}}`; const _so3 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.synced ? "" : `"synced":${undefined !== input.synced ? input.synced : undefined},`}${undefined === input.since ? "" : `"since":${undefined !== input.since ? null !== input.since ? (() => {
|
|
@@ -1417,7 +1430,7 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
1417
1430
|
expected: "(number | string | undefined)",
|
|
1418
1431
|
value: input.port
|
|
1419
1432
|
});
|
|
1420
|
-
})() : undefined},`}${undefined === input.ignoreMissing ? "" : `"ignoreMissing":${undefined !== input.ignoreMissing ? input.ignoreMissing : undefined},`}${undefined === input.concurrency ? "" : `"concurrency":${undefined !== input.concurrency ? input.concurrency : undefined},`}${undefined === input.stabilityThreshold ? "" : `"stabilityThreshold":${undefined !== input.stabilityThreshold ? input.stabilityThreshold : undefined},`}${undefined === input.pollInterval ? "" : `"pollInterval":${undefined !== input.pollInterval ? input.pollInterval : undefined},`}${undefined === input.listConcurrency ? "" : `"listConcurrency":${undefined !== input.listConcurrency ? input.listConcurrency : undefined},`}${undefined === input.metafile ? "" : `"metafile":${undefined !== input.metafile ? _so1(input.metafile) : undefined},`}${undefined === input.userNotificationsEnabled ? "" : `"userNotificationsEnabled":${undefined !== input.userNotificationsEnabled ? input.userNotificationsEnabled : undefined}`}`)}}`; const _so74 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.protocol ? "" : `"protocol":${undefined !== input.protocol ? "\"" + input.protocol + "\"" : undefined},`}${undefined === input.host ? "" : `"host":${undefined !== input.host ? __typia_transform__jsonStringifyString._jsonStringifyString(input.host) : undefined},`}${undefined === input.share ? "" : `"share":${undefined !== input.share ? __typia_transform__jsonStringifyString._jsonStringifyString(input.share) : undefined},`}${undefined === input.workgroup ? "" : `"workgroup":${undefined !== input.workgroup ? __typia_transform__jsonStringifyString._jsonStringifyString(input.workgroup) : undefined},`}${undefined === input.username ? "" : `"username":${undefined !== input.username ? __typia_transform__jsonStringifyString._jsonStringifyString(input.username) : undefined},`}${undefined === input.password ? "" : `"password":${undefined !== input.password ? __typia_transform__jsonStringifyString._jsonStringifyString(input.password) : undefined},`}${undefined === input.type ? "" : `"type":${undefined !== input.type ? "\"" + input.type + "\"" : undefined},`}${undefined === input.port ? "" : `"port":${undefined !== input.port ? (() => {
|
|
1433
|
+
})() : undefined},`}${undefined === input.ignoreMissing ? "" : `"ignoreMissing":${undefined !== input.ignoreMissing ? input.ignoreMissing : undefined},`}${undefined === input.concurrency ? "" : `"concurrency":${undefined !== input.concurrency ? input.concurrency : undefined},`}${undefined === input.stabilityThreshold ? "" : `"stabilityThreshold":${undefined !== input.stabilityThreshold ? input.stabilityThreshold : undefined},`}${undefined === input.pollInterval ? "" : `"pollInterval":${undefined !== input.pollInterval ? input.pollInterval : undefined},`}${undefined === input.listConcurrency ? "" : `"listConcurrency":${undefined !== input.listConcurrency ? input.listConcurrency : undefined},`}${undefined === input.metafile ? "" : `"metafile":${undefined !== input.metafile ? _so1(input.metafile) : undefined},`}${undefined === input.userNotificationsEnabled ? "" : `"userNotificationsEnabled":${undefined !== input.userNotificationsEnabled ? input.userNotificationsEnabled : undefined}`}`)}}`; const _so74 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.protocol ? "" : `"protocol":${undefined !== input.protocol ? "\"" + input.protocol + "\"" : undefined},`}${undefined === input.host ? "" : `"host":${undefined !== input.host ? __typia_transform__jsonStringifyString._jsonStringifyString(input.host) : undefined},`}${undefined === input.share ? "" : `"share":${undefined !== input.share ? __typia_transform__jsonStringifyString._jsonStringifyString(input.share) : undefined},`}${undefined === input.root ? "" : `"root":${undefined !== input.root ? __typia_transform__jsonStringifyString._jsonStringifyString(input.root) : undefined},`}${undefined === input.workgroup ? "" : `"workgroup":${undefined !== input.workgroup ? __typia_transform__jsonStringifyString._jsonStringifyString(input.workgroup) : undefined},`}${undefined === input.username ? "" : `"username":${undefined !== input.username ? __typia_transform__jsonStringifyString._jsonStringifyString(input.username) : undefined},`}${undefined === input.password ? "" : `"password":${undefined !== input.password ? __typia_transform__jsonStringifyString._jsonStringifyString(input.password) : undefined},`}${undefined === input.createFolders ? "" : `"createFolders":${undefined !== input.createFolders ? input.createFolders : undefined},`}${undefined === input.type ? "" : `"type":${undefined !== input.type ? "\"" + input.type + "\"" : undefined},`}${undefined === input.port ? "" : `"port":${undefined !== input.port ? (() => {
|
|
1421
1434
|
if ("string" === typeof input.port)
|
|
1422
1435
|
return __typia_transform__jsonStringifyString._jsonStringifyString(input.port);
|
|
1423
1436
|
if ("number" === typeof input.port)
|
|
@@ -1586,7 +1599,7 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
1586
1599
|
if (undefined === value)
|
|
1587
1600
|
return true;
|
|
1588
1601
|
return null !== value && (undefined === value || "string" === typeof value || Array.isArray(value) && value.every(elem => "string" === typeof elem));
|
|
1589
|
-
}); const _io25 = input => "object" === typeof input.__context && null !== input.__context && _io26(input.__context) && (null !== input.__returnValue && undefined === input.__returnValue); const _io26 = input => "object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection) && true && (undefined === input.text || "string" === typeof input.text) && ("object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _io24(input.headers)) && "number" === typeof input.statusCode; const _io27 = input => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io28(input.request)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io35(input.response)); const _io28 = input => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io29(input.origin)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io29(input.path))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io29(input.method))) && (null !== input.params && (undefined === input.params || "string" === typeof input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _iu3(input.params))) && (null !== input.form && (undefined === input.form || "string" === typeof input.form || "object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) && _iu4(input.form))) && (null !== input.headers && (undefined === input.headers || "string" === typeof input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _iu5(input.headers))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io34(input.throwOnError))); const _io29 = input => "object" === typeof input.__context && null !== input.__context && _io30(input.__context) && (undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io30 = input => "string" === typeof input.filepath && ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection)); const _io31 = input => "object" === typeof input.__context && null !== input.__context && _io30(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue)); const _io32 = input => "object" === typeof input.__context && null !== input.__context && _io30(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue)); const _io33 = input => "object" === typeof input.__context && null !== input.__context && _io30(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io34 = input => "object" === typeof input.__context && null !== input.__context && _io30(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io35 = input => (undefined === input.responseFormat || "text" === input.responseFormat || "json" === input.responseFormat || "stream" === input.responseFormat) && (null === input.error || undefined === input.error || "string" === typeof input.error || "object" === typeof input.error && null !== input.error && _io22(input.error)) && (null !== input.transform && (undefined === input.transform || "string" === typeof input.transform || "object" === typeof input.transform && null !== input.transform && false === Array.isArray(input.transform) && _iu6(input.transform))); const _io36 = input => (undefined === input.size || "number" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash); const _io37 = input => "object" === typeof input.__context && null !== input.__context && _io26(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io36(input.__returnValue)); const _io38 = input => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io39(input.request)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io46(input.response)); const _io39 = input => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io40(input.origin)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io40(input.path))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io40(input.method))) && (null !== input.params && (undefined === input.params || "string" === typeof input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _iu7(input.params))) && (null !== input.form && (undefined === input.form || "string" === typeof input.form || "object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) && _iu8(input.form))) && (null !== input.headers && (undefined === input.headers || "string" === typeof input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _iu9(input.headers))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io45(input.throwOnError))); const _io40 = input => "object" === typeof input.__context && null !== input.__context && _io41(input.__context) && (undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io41 = input => (undefined === input.dirpath || "string" === typeof input.dirpath) && ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection)); const _io42 = input => "object" === typeof input.__context && null !== input.__context && _io41(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue)); const _io43 = input => "object" === typeof input.__context && null !== input.__context && _io41(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue)); const _io44 = input => "object" === typeof input.__context && null !== input.__context && _io41(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io45 = input => "object" === typeof input.__context && null !== input.__context && _io41(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io46 = input => (undefined === input.responseFormat || "text" === input.responseFormat || "json" === input.responseFormat || "stream" === input.responseFormat) && (null === input.error || undefined === input.error || "string" === typeof input.error || "object" === typeof input.error && null !== input.error && _io22(input.error)) && (null !== input.transform && (undefined === input.transform || "string" === typeof input.transform || (Array.isArray(input.transform) && input.transform.every(elem => "object" === typeof elem && null !== elem && _io47(elem)) || "object" === typeof input.transform && null !== input.transform && _io48(input.transform)))); const _io47 = input => "string" === typeof input.name && "boolean" === typeof input.isDir && "number" === typeof input.size && (undefined === input.date || "string" === typeof input.date) && "string" === typeof input.path; const _io48 = input => "object" === typeof input.__context && null !== input.__context && _io26(input.__context) && (Array.isArray(input.__returnValue) && input.__returnValue.every(elem => "object" === typeof elem && null !== elem && _io47(elem))); const _io49 = input => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io50(input.request)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io21(input.response)); const _io50 = input => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io51(input.origin)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io51(input.path))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io51(input.method))) && (null !== input.params && (undefined === input.params || "string" === typeof input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _iu10(input.params))) && (null !== input.form && (undefined === input.form || "string" === typeof input.form || "object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) && _iu11(input.form))) && (null !== input.headers && (undefined === input.headers || "string" === typeof input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _iu12(input.headers))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io56(input.throwOnError))); const _io51 = input => "object" === typeof input.__context && null !== input.__context && _io52(input.__context) && (undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io52 = input => "string" === typeof input.id && (undefined === input.offset || "number" === typeof input.offset) && ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection)); const _io53 = input => "object" === typeof input.__context && null !== input.__context && _io52(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue)); const _io54 = input => "object" === typeof input.__context && null !== input.__context && _io52(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue)); const _io55 = input => "object" === typeof input.__context && null !== input.__context && _io52(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io56 = input => "object" === typeof input.__context && null !== input.__context && _io52(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io57 = input => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io58(input.request)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io21(input.response)); const _io58 = input => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io59(input.origin)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io59(input.path))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io59(input.method))) && (null !== input.params && (undefined === input.params || "string" === typeof input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _iu13(input.params))) && (null !== input.form && (undefined === input.form || "string" === typeof input.form || "object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) && _iu14(input.form))) && (null !== input.headers && (undefined === input.headers || "string" === typeof input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _iu15(input.headers))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io64(input.throwOnError))); const _io59 = input => "object" === typeof input.__context && null !== input.__context && _io60(input.__context) && (undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io60 = input => "string" === typeof input.filepath && true && ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection)); const _io61 = input => "object" === typeof input.__context && null !== input.__context && _io60(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue)); const _io62 = input => "object" === typeof input.__context && null !== input.__context && _io60(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue)); const _io63 = input => "object" === typeof input.__context && null !== input.__context && _io60(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io64 = input => "object" === typeof input.__context && null !== input.__context && _io60(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io65 = input => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io66(input.request)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io21(input.response)); const _io66 = input => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io67(input.origin)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io67(input.path))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io67(input.method))) && (null !== input.params && (undefined === input.params || "string" === typeof input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _iu16(input.params))) && (null !== input.form && (undefined === input.form || "string" === typeof input.form || "object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) && _iu17(input.form))) && (null !== input.headers && (undefined === input.headers || "string" === typeof input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _iu18(input.headers))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io72(input.throwOnError))); const _io67 = input => "object" === typeof input.__context && null !== input.__context && _io68(input.__context) && (undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io68 = input => "string" === typeof input.id && ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection)); const _io69 = input => "object" === typeof input.__context && null !== input.__context && _io68(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue)); const _io70 = input => "object" === typeof input.__context && null !== input.__context && _io68(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue)); const _io71 = input => "object" === typeof input.__context && null !== input.__context && _io68(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io72 = input => "object" === typeof input.__context && null !== input.__context && _io68(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io73 = input => (undefined === input.protocol || "s3" === input.protocol) && true && (undefined === input.bucket || "string" === typeof input.bucket) && (undefined === input.type || "file" === input.type) && (undefined === input.host || "string" === typeof input.host) && (undefined === input.port || "string" === typeof input.port || "number" === typeof input.port) && (undefined === input.ignoreMissing || "boolean" === typeof input.ignoreMissing) && (undefined === input.concurrency || "number" === typeof input.concurrency) && (undefined === input.stabilityThreshold || "number" === typeof input.stabilityThreshold) && (undefined === input.pollInterval || "number" === typeof input.pollInterval) && (undefined === input.listConcurrency || "number" === typeof input.listConcurrency) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && false === Array.isArray(input.metafile) && _io1(input.metafile)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io74 = input => (undefined === input.protocol || "smb" === input.protocol) && (undefined === input.host || "string" === typeof input.host) && (undefined === input.share || "string" === typeof input.share) && (undefined === input.workgroup || "string" === typeof input.workgroup) && (undefined === input.username || "string" === typeof input.username) && (undefined === input.password || "string" === typeof input.password) && (undefined === input.type || "file" === input.type) && (undefined === input.port || "string" === typeof input.port || "number" === typeof input.port) && (undefined === input.ignoreMissing || "boolean" === typeof input.ignoreMissing) && (undefined === input.concurrency || "number" === typeof input.concurrency) && (undefined === input.stabilityThreshold || "number" === typeof input.stabilityThreshold) && (undefined === input.pollInterval || "number" === typeof input.pollInterval) && (undefined === input.listConcurrency || "number" === typeof input.listConcurrency) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && false === Array.isArray(input.metafile) && _io1(input.metafile)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io75 = input => (undefined === input.protocol || "sftp" === input.protocol) && (undefined === input.host || "string" === typeof input.host) && (undefined === input.username || "string" === typeof input.username) && (undefined === input.password || "string" === typeof input.password) && (undefined === input.privateKey || "string" === typeof input.privateKey) && (undefined === input.timezone || "string" === typeof input.timezone) && (undefined === input.debug || "boolean" === typeof input.debug) && (undefined === input.root || "string" === typeof input.root) && (undefined === input.mode || "libcurl" === input.mode || "lftp" === input.mode || "openssh" === input.mode || "ssh2" === input.mode) && (undefined === input.type || "file" === input.type) && (undefined === input.port || "string" === typeof input.port || "number" === typeof input.port) && (undefined === input.ignoreMissing || "boolean" === typeof input.ignoreMissing) && (undefined === input.concurrency || "number" === typeof input.concurrency) && (undefined === input.stabilityThreshold || "number" === typeof input.stabilityThreshold) && (undefined === input.pollInterval || "number" === typeof input.pollInterval) && (undefined === input.listConcurrency || "number" === typeof input.listConcurrency) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && false === Array.isArray(input.metafile) && _io1(input.metafile)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io76 = input => (undefined === input.type || "facebook" === input.type) && (undefined === input.grantedScopes || Array.isArray(input.grantedScopes) && input.grantedScopes.every(elem => "string" === typeof elem)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io77 = input => (undefined === input.type || "reuters" === input.type) && (undefined === input.clientId || "string" === typeof input.clientId) && (undefined === input.clientSecret || "string" === typeof input.clientSecret) && (undefined === input.audience || "string" === typeof input.audience) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io78 = input => (null === input.type || undefined === input.type) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _iu0 = input => (() => {
|
|
1602
|
+
}); const _io25 = input => "object" === typeof input.__context && null !== input.__context && _io26(input.__context) && (null !== input.__returnValue && undefined === input.__returnValue); const _io26 = input => "object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection) && true && (undefined === input.text || "string" === typeof input.text) && ("object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _io24(input.headers)) && "number" === typeof input.statusCode; const _io27 = input => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io28(input.request)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io35(input.response)); const _io28 = input => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io29(input.origin)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io29(input.path))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io29(input.method))) && (null !== input.params && (undefined === input.params || "string" === typeof input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _iu3(input.params))) && (null !== input.form && (undefined === input.form || "string" === typeof input.form || "object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) && _iu4(input.form))) && (null !== input.headers && (undefined === input.headers || "string" === typeof input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _iu5(input.headers))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io34(input.throwOnError))); const _io29 = input => "object" === typeof input.__context && null !== input.__context && _io30(input.__context) && (undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io30 = input => "string" === typeof input.filepath && ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection)); const _io31 = input => "object" === typeof input.__context && null !== input.__context && _io30(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue)); const _io32 = input => "object" === typeof input.__context && null !== input.__context && _io30(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue)); const _io33 = input => "object" === typeof input.__context && null !== input.__context && _io30(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io34 = input => "object" === typeof input.__context && null !== input.__context && _io30(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io35 = input => (undefined === input.responseFormat || "text" === input.responseFormat || "json" === input.responseFormat || "stream" === input.responseFormat) && (null === input.error || undefined === input.error || "string" === typeof input.error || "object" === typeof input.error && null !== input.error && _io22(input.error)) && (null !== input.transform && (undefined === input.transform || "string" === typeof input.transform || "object" === typeof input.transform && null !== input.transform && false === Array.isArray(input.transform) && _iu6(input.transform))); const _io36 = input => (undefined === input.size || "number" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash); const _io37 = input => "object" === typeof input.__context && null !== input.__context && _io26(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io36(input.__returnValue)); const _io38 = input => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io39(input.request)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io46(input.response)); const _io39 = input => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io40(input.origin)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io40(input.path))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io40(input.method))) && (null !== input.params && (undefined === input.params || "string" === typeof input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _iu7(input.params))) && (null !== input.form && (undefined === input.form || "string" === typeof input.form || "object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) && _iu8(input.form))) && (null !== input.headers && (undefined === input.headers || "string" === typeof input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _iu9(input.headers))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io45(input.throwOnError))); const _io40 = input => "object" === typeof input.__context && null !== input.__context && _io41(input.__context) && (undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io41 = input => (undefined === input.dirpath || "string" === typeof input.dirpath) && ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection)); const _io42 = input => "object" === typeof input.__context && null !== input.__context && _io41(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue)); const _io43 = input => "object" === typeof input.__context && null !== input.__context && _io41(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue)); const _io44 = input => "object" === typeof input.__context && null !== input.__context && _io41(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io45 = input => "object" === typeof input.__context && null !== input.__context && _io41(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io46 = input => (undefined === input.responseFormat || "text" === input.responseFormat || "json" === input.responseFormat || "stream" === input.responseFormat) && (null === input.error || undefined === input.error || "string" === typeof input.error || "object" === typeof input.error && null !== input.error && _io22(input.error)) && (null !== input.transform && (undefined === input.transform || "string" === typeof input.transform || (Array.isArray(input.transform) && input.transform.every(elem => "object" === typeof elem && null !== elem && _io47(elem)) || "object" === typeof input.transform && null !== input.transform && _io48(input.transform)))); const _io47 = input => "string" === typeof input.name && "boolean" === typeof input.isDir && "number" === typeof input.size && (undefined === input.date || "string" === typeof input.date) && "string" === typeof input.path; const _io48 = input => "object" === typeof input.__context && null !== input.__context && _io26(input.__context) && (Array.isArray(input.__returnValue) && input.__returnValue.every(elem => "object" === typeof elem && null !== elem && _io47(elem))); const _io49 = input => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io50(input.request)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io21(input.response)); const _io50 = input => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io51(input.origin)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io51(input.path))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io51(input.method))) && (null !== input.params && (undefined === input.params || "string" === typeof input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _iu10(input.params))) && (null !== input.form && (undefined === input.form || "string" === typeof input.form || "object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) && _iu11(input.form))) && (null !== input.headers && (undefined === input.headers || "string" === typeof input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _iu12(input.headers))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io56(input.throwOnError))); const _io51 = input => "object" === typeof input.__context && null !== input.__context && _io52(input.__context) && (undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io52 = input => "string" === typeof input.id && (undefined === input.offset || "number" === typeof input.offset) && ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection)); const _io53 = input => "object" === typeof input.__context && null !== input.__context && _io52(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue)); const _io54 = input => "object" === typeof input.__context && null !== input.__context && _io52(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue)); const _io55 = input => "object" === typeof input.__context && null !== input.__context && _io52(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io56 = input => "object" === typeof input.__context && null !== input.__context && _io52(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io57 = input => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io58(input.request)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io21(input.response)); const _io58 = input => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io59(input.origin)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io59(input.path))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io59(input.method))) && (null !== input.params && (undefined === input.params || "string" === typeof input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _iu13(input.params))) && (null !== input.form && (undefined === input.form || "string" === typeof input.form || "object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) && _iu14(input.form))) && (null !== input.headers && (undefined === input.headers || "string" === typeof input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _iu15(input.headers))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io64(input.throwOnError))); const _io59 = input => "object" === typeof input.__context && null !== input.__context && _io60(input.__context) && (undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io60 = input => "string" === typeof input.filepath && true && ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection)); const _io61 = input => "object" === typeof input.__context && null !== input.__context && _io60(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue)); const _io62 = input => "object" === typeof input.__context && null !== input.__context && _io60(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue)); const _io63 = input => "object" === typeof input.__context && null !== input.__context && _io60(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io64 = input => "object" === typeof input.__context && null !== input.__context && _io60(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io65 = input => (undefined === input.request || "object" === typeof input.request && null !== input.request && false === Array.isArray(input.request) && _io66(input.request)) && (undefined === input.response || "object" === typeof input.response && null !== input.response && false === Array.isArray(input.response) && _io21(input.response)); const _io66 = input => null !== input.origin && (undefined === input.origin || "string" === typeof input.origin || "object" === typeof input.origin && null !== input.origin && _io67(input.origin)) && (null !== input.path && (undefined === input.path || "string" === typeof input.path || "object" === typeof input.path && null !== input.path && _io67(input.path))) && (null !== input.method && (undefined === input.method || "string" === typeof input.method || "object" === typeof input.method && null !== input.method && _io67(input.method))) && (null !== input.params && (undefined === input.params || "string" === typeof input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _iu16(input.params))) && (null !== input.form && (undefined === input.form || "string" === typeof input.form || "object" === typeof input.form && null !== input.form && false === Array.isArray(input.form) && _iu17(input.form))) && (null !== input.headers && (undefined === input.headers || "string" === typeof input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _iu18(input.headers))) && (null !== input.throwOnError && (undefined === input.throwOnError || "string" === typeof input.throwOnError || "boolean" === typeof input.throwOnError || "object" === typeof input.throwOnError && null !== input.throwOnError && _io72(input.throwOnError))); const _io67 = input => "object" === typeof input.__context && null !== input.__context && _io68(input.__context) && (undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io68 = input => "string" === typeof input.id && ("object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection)); const _io69 = input => "object" === typeof input.__context && null !== input.__context && _io68(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue)); const _io70 = input => "object" === typeof input.__context && null !== input.__context && _io68(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io15(input.__returnValue)); const _io71 = input => "object" === typeof input.__context && null !== input.__context && _io68(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io72 = input => "object" === typeof input.__context && null !== input.__context && _io68(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io73 = input => (undefined === input.protocol || "s3" === input.protocol) && true && (undefined === input.bucket || "string" === typeof input.bucket) && (undefined === input.type || "file" === input.type) && (undefined === input.host || "string" === typeof input.host) && (undefined === input.port || "string" === typeof input.port || "number" === typeof input.port) && (undefined === input.ignoreMissing || "boolean" === typeof input.ignoreMissing) && (undefined === input.concurrency || "number" === typeof input.concurrency) && (undefined === input.stabilityThreshold || "number" === typeof input.stabilityThreshold) && (undefined === input.pollInterval || "number" === typeof input.pollInterval) && (undefined === input.listConcurrency || "number" === typeof input.listConcurrency) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && false === Array.isArray(input.metafile) && _io1(input.metafile)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io74 = input => (undefined === input.protocol || "smb" === input.protocol) && (undefined === input.host || "string" === typeof input.host) && (undefined === input.share || "string" === typeof input.share) && (undefined === input.root || "string" === typeof input.root) && (undefined === input.workgroup || "string" === typeof input.workgroup) && (undefined === input.username || "string" === typeof input.username) && (undefined === input.password || "string" === typeof input.password) && (undefined === input.createFolders || "boolean" === typeof input.createFolders) && (undefined === input.type || "file" === input.type) && (undefined === input.port || "string" === typeof input.port || "number" === typeof input.port) && (undefined === input.ignoreMissing || "boolean" === typeof input.ignoreMissing) && (undefined === input.concurrency || "number" === typeof input.concurrency) && (undefined === input.stabilityThreshold || "number" === typeof input.stabilityThreshold) && (undefined === input.pollInterval || "number" === typeof input.pollInterval) && (undefined === input.listConcurrency || "number" === typeof input.listConcurrency) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && false === Array.isArray(input.metafile) && _io1(input.metafile)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io75 = input => (undefined === input.protocol || "sftp" === input.protocol) && (undefined === input.host || "string" === typeof input.host) && (undefined === input.username || "string" === typeof input.username) && (undefined === input.password || "string" === typeof input.password) && (undefined === input.privateKey || "string" === typeof input.privateKey) && (undefined === input.timezone || "string" === typeof input.timezone) && (undefined === input.debug || "boolean" === typeof input.debug) && (undefined === input.root || "string" === typeof input.root) && (undefined === input.mode || "libcurl" === input.mode || "lftp" === input.mode || "openssh" === input.mode || "ssh2" === input.mode) && (undefined === input.type || "file" === input.type) && (undefined === input.port || "string" === typeof input.port || "number" === typeof input.port) && (undefined === input.ignoreMissing || "boolean" === typeof input.ignoreMissing) && (undefined === input.concurrency || "number" === typeof input.concurrency) && (undefined === input.stabilityThreshold || "number" === typeof input.stabilityThreshold) && (undefined === input.pollInterval || "number" === typeof input.pollInterval) && (undefined === input.listConcurrency || "number" === typeof input.listConcurrency) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && false === Array.isArray(input.metafile) && _io1(input.metafile)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io76 = input => (undefined === input.type || "facebook" === input.type) && (undefined === input.grantedScopes || Array.isArray(input.grantedScopes) && input.grantedScopes.every(elem => "string" === typeof elem)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io77 = input => (undefined === input.type || "reuters" === input.type) && (undefined === input.clientId || "string" === typeof input.clientId) && (undefined === input.clientSecret || "string" === typeof input.clientSecret) && (undefined === input.audience || "string" === typeof input.audience) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io78 = input => (null === input.type || undefined === input.type) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _iu0 = input => (() => {
|
|
1590
1603
|
if (undefined !== input.__context)
|
|
1591
1604
|
return _io14(input);
|
|
1592
1605
|
else
|
|
@@ -1719,7 +1732,7 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
1719
1732
|
return (() => { const _so0 = input => `{${undefined === input.active ? "" : `"active":${undefined !== input.active ? input.active : undefined},`}${undefined === input.changeId ? "" : `"changeId":${undefined !== input.changeId ? __typia_transform__jsonStringifyString._jsonStringifyString(input.changeId) : undefined},`}"nodes":${_so1(input.nodes)},"tracks":${`[${input.tracks.map(elem => _so1(elem)).join(",")}]`},"transitions":${_so1(input.transitions)}}`; const _so1 = input => "{}"; const _io1 = input => true; return input => _so0(input); })()(input);
|
|
1720
1733
|
}
|
|
1721
1734
|
case ":event": {
|
|
1722
|
-
return (() => { const _so0 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.start ? "" : `"start":${undefined !== input.start ? null !== input.start ? input.start : "null" : undefined},`}${undefined === input.end ? "" : `"end":${undefined !== input.end ? null !== input.end ? input.end : "null" : undefined},`}${undefined === input.duration ? "" : `"duration":${undefined !== input.duration ? null !== input.duration ? input.duration : "null" : undefined},`}${undefined === input.text ? "" : `"text":${undefined !== input.text ? __typia_transform__jsonStringifyString._jsonStringifyString(input.text) : undefined},`}${undefined === input.lang ? "" : `"lang":${undefined !== input.lang ? __typia_transform__jsonStringifyString._jsonStringifyString(input.lang) : undefined},`}${undefined === input.style ? "" : `"style":${undefined !== input.style ? __typia_transform__jsonStringifyString._jsonStringifyString(input.style) : undefined},`}${undefined === input.styleOverrides ? "" : `"styleOverrides":${undefined !== input.styleOverrides ? _so1(input.styleOverrides) : undefined}`}`)}}`; const _so1 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.marginL ? "" : `"marginL":${undefined !== input.marginL ? __typia_transform__jsonStringifyString._jsonStringifyString(input.marginL) : undefined},`}${undefined === input.marginR ? "" : `"marginR":${undefined !== input.marginR ? __typia_transform__jsonStringifyString._jsonStringifyString(input.marginR) : undefined},`}${undefined === input.marginV ? "" : `"marginV":${undefined !== input.marginV ? __typia_transform__jsonStringifyString._jsonStringifyString(input.marginV) : undefined},`}${undefined === input.alignment ? "" : `"alignment":${undefined !== input.alignment ? __typia_transform__jsonStringifyString._jsonStringifyString(input.alignment) : undefined},`}${undefined === input.fontname ? "" : `"fontname":${undefined !== input.fontname ? __typia_transform__jsonStringifyString._jsonStringifyString(input.fontname) : undefined},`}${undefined === input.fontsize ? "" : `"fontsize":${undefined !== input.fontsize ? __typia_transform__jsonStringifyString._jsonStringifyString(input.fontsize) : undefined},`}${undefined === input.primaryColour ? "" : `"primaryColour":${undefined !== input.primaryColour ? __typia_transform__jsonStringifyString._jsonStringifyString(input.primaryColour) : undefined},`}${undefined === input.secondaryColour ? "" : `"secondaryColour":${undefined !== input.secondaryColour ? __typia_transform__jsonStringifyString._jsonStringifyString(input.secondaryColour) : undefined},`}${undefined === input.outlineColour ? "" : `"outlineColour":${undefined !== input.outlineColour ? __typia_transform__jsonStringifyString._jsonStringifyString(input.outlineColour) : undefined},`}${undefined === input.backColour ? "" : `"backColour":${undefined !== input.backColour ? __typia_transform__jsonStringifyString._jsonStringifyString(input.backColour) : undefined},`}${undefined === input.bold ? "" : `"bold":${undefined !== input.bold ? __typia_transform__jsonStringifyString._jsonStringifyString(input.bold) : undefined},`}${undefined === input.italic ? "" : `"italic":${undefined !== input.italic ? __typia_transform__jsonStringifyString._jsonStringifyString(input.italic) : undefined},`}${undefined === input.underline ? "" : `"underline":${undefined !== input.underline ? __typia_transform__jsonStringifyString._jsonStringifyString(input.underline) : undefined},`}${undefined === input.strikeOut ? "" : `"strikeOut":${undefined !== input.strikeOut ? __typia_transform__jsonStringifyString._jsonStringifyString(input.strikeOut) : undefined}`}`)}}`; const _io1 = input => (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut); return input => _so0(input); })()(input);
|
|
1735
|
+
return (() => { const _so0 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.start ? "" : `"start":${undefined !== input.start ? null !== input.start ? input.start : "null" : undefined},`}${undefined === input.end ? "" : `"end":${undefined !== input.end ? null !== input.end ? input.end : "null" : undefined},`}${undefined === input.duration ? "" : `"duration":${undefined !== input.duration ? null !== input.duration ? input.duration : "null" : undefined},`}${undefined === input.position ? "" : `"position":${undefined !== input.position ? __typia_transform__jsonStringifyString._jsonStringifyString(input.position) : undefined},`}${undefined === input.text ? "" : `"text":${undefined !== input.text ? __typia_transform__jsonStringifyString._jsonStringifyString(input.text) : undefined},`}${undefined === input.lang ? "" : `"lang":${undefined !== input.lang ? __typia_transform__jsonStringifyString._jsonStringifyString(input.lang) : undefined},`}${undefined === input.style ? "" : `"style":${undefined !== input.style ? __typia_transform__jsonStringifyString._jsonStringifyString(input.style) : undefined},`}${undefined === input.styleOverrides ? "" : `"styleOverrides":${undefined !== input.styleOverrides ? _so1(input.styleOverrides) : undefined}`}`)}}`; const _so1 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.marginL ? "" : `"marginL":${undefined !== input.marginL ? __typia_transform__jsonStringifyString._jsonStringifyString(input.marginL) : undefined},`}${undefined === input.marginR ? "" : `"marginR":${undefined !== input.marginR ? __typia_transform__jsonStringifyString._jsonStringifyString(input.marginR) : undefined},`}${undefined === input.marginV ? "" : `"marginV":${undefined !== input.marginV ? __typia_transform__jsonStringifyString._jsonStringifyString(input.marginV) : undefined},`}${undefined === input.alignment ? "" : `"alignment":${undefined !== input.alignment ? __typia_transform__jsonStringifyString._jsonStringifyString(input.alignment) : undefined},`}${undefined === input.fontname ? "" : `"fontname":${undefined !== input.fontname ? __typia_transform__jsonStringifyString._jsonStringifyString(input.fontname) : undefined},`}${undefined === input.fontsize ? "" : `"fontsize":${undefined !== input.fontsize ? __typia_transform__jsonStringifyString._jsonStringifyString(input.fontsize) : undefined},`}${undefined === input.primaryColour ? "" : `"primaryColour":${undefined !== input.primaryColour ? __typia_transform__jsonStringifyString._jsonStringifyString(input.primaryColour) : undefined},`}${undefined === input.secondaryColour ? "" : `"secondaryColour":${undefined !== input.secondaryColour ? __typia_transform__jsonStringifyString._jsonStringifyString(input.secondaryColour) : undefined},`}${undefined === input.outlineColour ? "" : `"outlineColour":${undefined !== input.outlineColour ? __typia_transform__jsonStringifyString._jsonStringifyString(input.outlineColour) : undefined},`}${undefined === input.backColour ? "" : `"backColour":${undefined !== input.backColour ? __typia_transform__jsonStringifyString._jsonStringifyString(input.backColour) : undefined},`}${undefined === input.bold ? "" : `"bold":${undefined !== input.bold ? __typia_transform__jsonStringifyString._jsonStringifyString(input.bold) : undefined},`}${undefined === input.italic ? "" : `"italic":${undefined !== input.italic ? __typia_transform__jsonStringifyString._jsonStringifyString(input.italic) : undefined},`}${undefined === input.underline ? "" : `"underline":${undefined !== input.underline ? __typia_transform__jsonStringifyString._jsonStringifyString(input.underline) : undefined},`}${undefined === input.strikeOut ? "" : `"strikeOut":${undefined !== input.strikeOut ? __typia_transform__jsonStringifyString._jsonStringifyString(input.strikeOut) : undefined}`}`)}}`; const _io1 = input => (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut); return input => _so0(input); })()(input);
|
|
1723
1736
|
}
|
|
1724
1737
|
case ":event._template?": {
|
|
1725
1738
|
return (() => { const _so0 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.mixin ? "" : `"mixin":${undefined !== input.mixin ? `[${input.mixin.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined},`}${undefined === input.properties ? "" : `"properties":${undefined !== input.properties ? _so1(input.properties) : undefined},`}${undefined === input.layout ? "" : `"layout":${undefined !== input.layout ? _so2(input.layout) : undefined},`}${undefined === input.controller ? "" : `"controller":${undefined !== input.controller ? __typia_transform__jsonStringifyString._jsonStringifyString(input.controller) : undefined}`}`)}}`; const _so1 = input => "{}"; const _so2 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.title ? "" : `"title":${undefined !== input.title ? __typia_transform__jsonStringifyString._jsonStringifyString(input.title) : undefined}`}`)}}`; const _io1 = input => true; const _io2 = input => undefined === input.title || "string" === typeof input.title; return input => _so0(input); })()(input);
|
|
@@ -1736,7 +1749,7 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
1736
1749
|
expected: "(boolean | string | undefined)",
|
|
1737
1750
|
value: input.cueCard
|
|
1738
1751
|
});
|
|
1739
|
-
})() : undefined},`}${undefined === input.startTime ? "" : `"startTime":${undefined !== input.startTime ? input.startTime : undefined},`}${undefined === input.shotboxGroup ? "" : `"shotboxGroup":${undefined !== input.shotboxGroup ? (() => {
|
|
1752
|
+
})() : undefined},`}${undefined === input.printRundownColor ? "" : `"printRundownColor":${undefined !== input.printRundownColor ? __typia_transform__jsonStringifyString._jsonStringifyString(input.printRundownColor) : undefined},`}${undefined === input.startTime ? "" : `"startTime":${undefined !== input.startTime ? input.startTime : undefined},`}${undefined === input.shotboxGroup ? "" : `"shotboxGroup":${undefined !== input.shotboxGroup ? (() => {
|
|
1740
1753
|
if ("string" === typeof input.shotboxGroup)
|
|
1741
1754
|
return __typia_transform__jsonStringifyString._jsonStringifyString(input.shotboxGroup);
|
|
1742
1755
|
if (Array.isArray(input.shotboxGroup))
|
|
@@ -1747,7 +1760,7 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
1747
1760
|
value: input.shotboxGroup
|
|
1748
1761
|
});
|
|
1749
1762
|
})() : undefined},`}${undefined === input.shotboxVisible ? "" : `"shotboxVisible":${undefined !== input.shotboxVisible ? input.shotboxVisible : undefined},`}${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
1750
|
-
return ""; if (["source", "cueCard", "startTime", "shotboxGroup", "shotboxVisible"].some(regular => regular === key))
|
|
1763
|
+
return ""; if (["source", "cueCard", "printRundownColor", "startTime", "shotboxGroup", "shotboxVisible"].some(regular => regular === key))
|
|
1751
1764
|
return ""; return `${JSON.stringify(key)}:${null !== value ? (() => {
|
|
1752
1765
|
if ("string" === typeof value)
|
|
1753
1766
|
return __typia_transform__jsonStringifyString._jsonStringifyString(value);
|
|
@@ -1797,8 +1810,8 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
1797
1810
|
expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
|
|
1798
1811
|
value: elem
|
|
1799
1812
|
});
|
|
1800
|
-
})() : "null").join(",")}]`; const _io1 = input => "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && _io2(input.data); const _io2 = input => (undefined === input.source || "string" === typeof input.source) && (undefined === input.cueCard || "string" === typeof input.cueCard || "boolean" === typeof input.cueCard) && (undefined === input.startTime || "number" === typeof input.startTime) && (null !== input.shotboxGroup && (undefined === input.shotboxGroup || "string" === typeof input.shotboxGroup || Array.isArray(input.shotboxGroup) && input.shotboxGroup.every(elem => "string" === typeof elem))) && (undefined === input.shotboxVisible || "boolean" === typeof input.shotboxVisible) && Object.keys(input).every(key => {
|
|
1801
|
-
if (["source", "cueCard", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
|
|
1813
|
+
})() : "null").join(",")}]`; const _io1 = input => "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && _io2(input.data); const _io2 = input => (undefined === input.source || "string" === typeof input.source) && (undefined === input.cueCard || "string" === typeof input.cueCard || "boolean" === typeof input.cueCard) && (undefined === input.printRundownColor || "string" === typeof input.printRundownColor) && (undefined === input.startTime || "number" === typeof input.startTime) && (null !== input.shotboxGroup && (undefined === input.shotboxGroup || "string" === typeof input.shotboxGroup || Array.isArray(input.shotboxGroup) && input.shotboxGroup.every(elem => "string" === typeof elem))) && (undefined === input.shotboxVisible || "boolean" === typeof input.shotboxVisible) && Object.keys(input).every(key => {
|
|
1814
|
+
if (["source", "cueCard", "printRundownColor", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
|
|
1802
1815
|
return true;
|
|
1803
1816
|
const value = input[key];
|
|
1804
1817
|
if (undefined === value)
|
|
@@ -1831,7 +1844,7 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
1831
1844
|
expected: "(boolean | string | undefined)",
|
|
1832
1845
|
value: input.cueCard
|
|
1833
1846
|
});
|
|
1834
|
-
})() : undefined},`}${undefined === input.startTime ? "" : `"startTime":${undefined !== input.startTime ? input.startTime : undefined},`}${undefined === input.shotboxGroup ? "" : `"shotboxGroup":${undefined !== input.shotboxGroup ? (() => {
|
|
1847
|
+
})() : undefined},`}${undefined === input.printRundownColor ? "" : `"printRundownColor":${undefined !== input.printRundownColor ? __typia_transform__jsonStringifyString._jsonStringifyString(input.printRundownColor) : undefined},`}${undefined === input.startTime ? "" : `"startTime":${undefined !== input.startTime ? input.startTime : undefined},`}${undefined === input.shotboxGroup ? "" : `"shotboxGroup":${undefined !== input.shotboxGroup ? (() => {
|
|
1835
1848
|
if ("string" === typeof input.shotboxGroup)
|
|
1836
1849
|
return __typia_transform__jsonStringifyString._jsonStringifyString(input.shotboxGroup);
|
|
1837
1850
|
if (Array.isArray(input.shotboxGroup))
|
|
@@ -1842,7 +1855,7 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
1842
1855
|
value: input.shotboxGroup
|
|
1843
1856
|
});
|
|
1844
1857
|
})() : undefined},`}${undefined === input.shotboxVisible ? "" : `"shotboxVisible":${undefined !== input.shotboxVisible ? input.shotboxVisible : undefined},`}${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
1845
|
-
return ""; if (["source", "cueCard", "startTime", "shotboxGroup", "shotboxVisible"].some(regular => regular === key))
|
|
1858
|
+
return ""; if (["source", "cueCard", "printRundownColor", "startTime", "shotboxGroup", "shotboxVisible"].some(regular => regular === key))
|
|
1846
1859
|
return ""; return `${JSON.stringify(key)}:${null !== value ? (() => {
|
|
1847
1860
|
if ("string" === typeof value)
|
|
1848
1861
|
return __typia_transform__jsonStringifyString._jsonStringifyString(value);
|
|
@@ -1899,6 +1912,9 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
1899
1912
|
return undefined !== value && (null === value || "string" === typeof value || "number" === typeof value || "boolean" === typeof value || (Array.isArray(value) && (_ia0(value) || false) || "object" === typeof value && null !== value && false === Array.isArray(value) && _io1(value)));
|
|
1900
1913
|
}); const _ia0 = input => input.every(elem => undefined !== elem && (null === elem || "string" === typeof elem || "number" === typeof elem || "boolean" === typeof elem || (Array.isArray(elem) && (_ia0(elem) || false) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io1(elem)))); return input => _so0(input); })()(input);
|
|
1901
1914
|
}
|
|
1915
|
+
case ":event.stats?": {
|
|
1916
|
+
return (() => { const _so0 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.type ? "" : `"type":${undefined !== input.type ? __typia_transform__jsonStringifyString._jsonStringifyString(input.type) : undefined}`}`)}}`; return input => _so0(input); })()(input);
|
|
1917
|
+
}
|
|
1902
1918
|
case ":file.replicate": {
|
|
1903
1919
|
return (() => { const _so0 = input => `{"replicas":${`[${input.replicas.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]`},"error":${null !== input.error ? _so1(input.error) : "null"}}`; const _so1 = input => `{${undefined === input.type ? "" : `"type":${undefined !== input.type ? __typia_transform__jsonStringifyString._jsonStringifyString(input.type) : undefined},`}${undefined === input.code ? "" : `"code":${undefined !== input.code ? __typia_transform__jsonStringifyString._jsonStringifyString(input.code) : undefined},`}${undefined === input.exitCode ? "" : `"exitCode":${undefined !== input.exitCode ? input.exitCode : undefined},`}${undefined === input.signalCode ? "" : `"signalCode":${undefined !== input.signalCode ? input.signalCode : undefined},`}${undefined === input.statusCode ? "" : `"statusCode":${undefined !== input.statusCode ? input.statusCode : undefined},`}${undefined === input.headers ? "" : `"headers":${undefined !== input.headers ? _so2(input.headers) : undefined},`}${undefined === input.data ? "" : `"data":${undefined !== input.data ? _so3(input.data) : undefined},`}${undefined === input.cause ? "" : `"cause":${undefined !== input.cause ? null !== input.cause ? _so1(input.cause) : "null" : undefined},`}${undefined === input.errors ? "" : `"errors":${undefined !== input.errors ? null !== input.errors ? `[${input.errors.map(elem => _so1(elem)).join(",")}]` : "null" : undefined},`}"message":${__typia_transform__jsonStringifyString._jsonStringifyString(input.message)}}`; const _so2 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
1904
1920
|
return ""; return `${JSON.stringify(key)}:${__typia_transform__jsonStringifyString._jsonStringifyString(value)}`; }).filter(str => "" !== str).join(",")}}`; const _so3 = input => "{}"; const _io1 = input => "string" === typeof input.message && (undefined === input.type || "string" === typeof input.type) && (undefined === input.code || "string" === typeof input.code) && (undefined === input.exitCode || "number" === typeof input.exitCode) && (undefined === input.signalCode || "number" === typeof input.signalCode) && (undefined === input.statusCode || "number" === typeof input.statusCode) && (undefined === input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _io2(input.headers)) && (undefined === input.data || "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && _io3(input.data)) && (null === input.cause || undefined === input.cause || "object" === typeof input.cause && null !== input.cause && _io1(input.cause)) && (null === input.errors || undefined === input.errors || Array.isArray(input.errors) && input.errors.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io2 = input => Object.keys(input).every(key => {
|
|
@@ -1934,6 +1950,9 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
1934
1950
|
case ":folder.items": {
|
|
1935
1951
|
return (() => { const _so0 = input => `{"value":${`[${input.value.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]`}}`; return input => _so0(input); })()(input);
|
|
1936
1952
|
}
|
|
1953
|
+
case ":gallery": {
|
|
1954
|
+
return (() => { const _so0 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.sources ? "" : `"sources":${undefined !== input.sources ? _so1(input.sources) : undefined}`}`)}}`; const _so1 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.program ? "" : `"program":${undefined !== input.program ? __typia_transform__jsonStringifyString._jsonStringifyString(input.program) : undefined}`}`)}}`; const _io1 = input => undefined === input.program || "string" === typeof input.program; return input => _so0(input); })()(input);
|
|
1955
|
+
}
|
|
1937
1956
|
case ":general.title": {
|
|
1938
1957
|
return (() => { const _so0 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? __typia_transform__jsonStringifyString._jsonStringifyString(input.value) : undefined}`}`)}}`; return input => _so0(input); })()(input);
|
|
1939
1958
|
}
|
|
@@ -1978,12 +1997,18 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
1978
1997
|
value: input.clipname
|
|
1979
1998
|
});
|
|
1980
1999
|
})() : undefined},`}${undefined === input.autoTags ? "" : `"autoTags":${undefined !== input.autoTags ? `[${input.autoTags.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined},`}${undefined === input.storyboard ? "" : `"storyboard":${undefined !== input.storyboard ? null !== input.storyboard ? __typia_transform__jsonStringifyString._jsonStringifyString(input.storyboard) : "null" : undefined},`}${undefined === input.pipeline ? "" : `"pipeline":${undefined !== input.pipeline ? null !== input.pipeline ? __typia_transform__jsonStringifyString._jsonStringifyString(input.pipeline) : "null" : undefined},`}${undefined === input.type ? "" : `"type":${undefined !== input.type ? "\"" + input.type + "\"" : undefined},`}${undefined === input.salami ? "" : `"salami":${undefined !== input.salami ? _so5(input.salami) : undefined},`}${undefined === input.repeat ? "" : `"repeat":${undefined !== input.repeat ? _so6(input.repeat) : undefined}`}`)}}`; const _so1 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
1981
|
-
return ""; return `${JSON.stringify(key)}:${_so2(value)}`; }).filter(str => "" !== str).join(",")}}`; const _so2 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.route ? "" : `"route":${undefined !== input.route ? __typia_transform__jsonStringifyString._jsonStringifyString(input.route) : undefined},`}${undefined === input.publish ? "" : `"publish":${undefined !== input.publish ? `[${input.publish.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined}`}`)}}`; const _so3 = input => `{"__context":${_so4(input.__context)},"__returnValue":${__typia_transform__jsonStringifyString._jsonStringifyString(input.__returnValue)}}`; const _so4 = input =>
|
|
2000
|
+
return ""; return `${JSON.stringify(key)}:${_so2(value)}`; }).filter(str => "" !== str).join(",")}}`; const _so2 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.route ? "" : `"route":${undefined !== input.route ? __typia_transform__jsonStringifyString._jsonStringifyString(input.route) : undefined},`}${undefined === input.publish ? "" : `"publish":${undefined !== input.publish ? `[${input.publish.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined}`}`)}}`; const _so3 = input => `{"__context":${_so4(input.__context)},"__returnValue":${__typia_transform__jsonStringifyString._jsonStringifyString(input.__returnValue)}}`; const _so4 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
2001
|
+
return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}}`; const _so5 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.gallery ? "" : `"gallery":${undefined !== input.gallery ? null !== input.gallery ? __typia_transform__jsonStringifyString._jsonStringifyString(input.gallery) : "null" : undefined},`}${undefined === input.tag ? "" : `"tag":${undefined !== input.tag ? __typia_transform__jsonStringifyString._jsonStringifyString(input.tag) : undefined}`}`)}}`; const _so6 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.freq ? "" : `"freq":${undefined !== input.freq ? input.freq : undefined},`}${undefined === input.until ? "" : `"until":${undefined !== input.until ? __typia_transform__jsonStringifyString._jsonStringifyString(input.until) : undefined},`}${undefined === input.start ? "" : `"start":${undefined !== input.start ? __typia_transform__jsonStringifyString._jsonStringifyString(input.start) : undefined},`}${undefined === input.tzid ? "" : `"tzid":${undefined !== input.tzid ? __typia_transform__jsonStringifyString._jsonStringifyString(input.tzid) : undefined},`}${undefined === input.duration ? "" : `"duration":${undefined !== input.duration ? input.duration : undefined},`}${undefined === input.byweekday ? "" : `"byweekday":${undefined !== input.byweekday ? `[${input.byweekday.map(elem => elem).join(",")}]` : undefined}`}`)}}`; const _io1 = input => Object.keys(input).every(key => {
|
|
1982
2002
|
const value = input[key];
|
|
1983
2003
|
if (undefined === value)
|
|
1984
2004
|
return true;
|
|
1985
2005
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
|
|
1986
|
-
}); const _io2 = input => (undefined === input.route || "string" === typeof input.route) && (undefined === input.publish || Array.isArray(input.publish) && input.publish.every(elem => "string" === typeof elem)); const _io3 = input => "object" === typeof input.__context && null !== input.__context && false === Array.isArray(input.__context) && _io4(input.__context) && "string" === typeof input.__returnValue; const _io4 = input =>
|
|
2006
|
+
}); const _io2 = input => (undefined === input.route || "string" === typeof input.route) && (undefined === input.publish || Array.isArray(input.publish) && input.publish.every(elem => "string" === typeof elem)); const _io3 = input => "object" === typeof input.__context && null !== input.__context && false === Array.isArray(input.__context) && _io4(input.__context) && "string" === typeof input.__returnValue; const _io4 = input => Object.keys(input).every(key => {
|
|
2007
|
+
const value = input[key];
|
|
2008
|
+
if (undefined === value)
|
|
2009
|
+
return true;
|
|
2010
|
+
return true;
|
|
2011
|
+
}); const _io5 = input => (null === input.gallery || undefined === input.gallery || "string" === typeof input.gallery) && (undefined === input.tag || "string" === typeof input.tag); const _io6 = input => (undefined === input.freq || 0 === input.freq || 2 === input.freq || 3 === input.freq) && (undefined === input.until || "string" === typeof input.until) && (undefined === input.start || "string" === typeof input.start) && (undefined === input.tzid || "string" === typeof input.tzid) && (undefined === input.duration || "number" === typeof input.duration) && (undefined === input.byweekday || Array.isArray(input.byweekday) && input.byweekday.every(elem => "number" === typeof elem)); return input => _so0(input); })()(input);
|
|
1987
2012
|
}
|
|
1988
2013
|
case ":ingestschedule.stats?": {
|
|
1989
2014
|
return (() => { const _so0 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.error || "function" === typeof input.error ? "" : `"error":${undefined !== input.error ? JSON.stringify(input.error) : undefined}`}`)}}`; return input => _so0(input); })()(input);
|
|
@@ -2050,12 +2075,12 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
2050
2075
|
expected: "(\"straight\" | boolean | null | undefined)",
|
|
2051
2076
|
value: input.alpha
|
|
2052
2077
|
});
|
|
2053
|
-
})() : "null" : undefined}`}`)}}`; const _so7 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.eq ? "" : `"eq":${undefined !== input.eq ? _so8(input.eq) : undefined},`}${undefined === input.hue ? "" : `"hue":${undefined !== input.hue ? _so9(input.hue) : undefined},`}${undefined === input.colorbalance ? "" : `"colorbalance":${undefined !== input.colorbalance ? _so10(input.colorbalance) : undefined}`}`)}}`; const _so8 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.brightness ? "" : `"brightness":${undefined !== input.brightness ? input.brightness : undefined},`}${undefined === input.contrast ? "" : `"contrast":${undefined !== input.contrast ? input.contrast : undefined},`}${undefined === input.gamma ? "" : `"gamma":${undefined !== input.gamma ? input.gamma : undefined},`}${undefined === input.saturation ? "" : `"saturation":${undefined !== input.saturation ? input.saturation : undefined}`}`)}}`; const _so9 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.h ? "" : `"h":${undefined !== input.h ? input.h : undefined},`}${undefined === input.s ? "" : `"s":${undefined !== input.s ? input.s : undefined},`}${undefined === input.b ? "" : `"b":${undefined !== input.b ? input.b : undefined}`}`)}}`; const _so10 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.rs ? "" : `"rs":${undefined !== input.rs ? input.rs : undefined},`}${undefined === input.gs ? "" : `"gs":${undefined !== input.gs ? input.gs : undefined},`}${undefined === input.bs ? "" : `"bs":${undefined !== input.bs ? input.bs : undefined},`}${undefined === input.rm ? "" : `"rm":${undefined !== input.rm ? input.rm : undefined},`}${undefined === input.gm ? "" : `"gm":${undefined !== input.gm ? input.gm : undefined},`}${undefined === input.bm ? "" : `"bm":${undefined !== input.bm ? input.bm : undefined},`}${undefined === input.rh ? "" : `"rh":${undefined !== input.rh ? input.rh : undefined},`}${undefined === input.gh ? "" : `"gh":${undefined !== input.gh ? input.gh : undefined},`}${undefined === input.bh ? "" : `"bh":${undefined !== input.bh ? input.bh : undefined}`}`)}}`; const _so11 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.x ? "" : `"x":${undefined !== input.x ? input.x : undefined},`}${undefined === input.y ? "" : `"y":${undefined !== input.y ? input.y : undefined},`}${undefined === input.width ? "" : `"width":${undefined !== input.width ? input.width : undefined},`}${undefined === input.height ? "" : `"height":${undefined !== input.height ? input.height : undefined}`}`)}}`; const _so12 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.pan ? "" : `"pan":${undefined !== input.pan ? `[${input.pan.map(elem => `[${elem.map(elem => elem).join(",")}]`).join(",")}]` : undefined}`}`)}}`; const _so13 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.language ? "" : `"language":${undefined !== input.language ? __typia_transform__jsonStringifyString._jsonStringifyString(input.language) : undefined},`}${undefined === input.pan ? "" : `"pan":${undefined !== input.pan ? `[${input.pan.map(elem => elem).join(",")}]` : undefined}`}`)}}`; const _io1 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io2(input.video)) && (null === input.proxy || undefined === input.proxy || "string" === typeof input.proxy) && (null === input.proxyManifest || undefined === input.proxyManifest || "string" === typeof input.proxyManifest) && (null === input.proxyFile || undefined === input.proxyFile || "string" === typeof input.proxyFile) && (null === input.manifest || undefined === input.manifest || "string" === typeof input.manifest); const _io2 = input => (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced); const _io3 = input => Object.keys(input).every(key => {
|
|
2078
|
+
})() : "null" : undefined}`}`)}}`; const _so7 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.eq ? "" : `"eq":${undefined !== input.eq ? _so8(input.eq) : undefined},`}${undefined === input.hue ? "" : `"hue":${undefined !== input.hue ? _so9(input.hue) : undefined},`}${undefined === input.colorbalance ? "" : `"colorbalance":${undefined !== input.colorbalance ? _so10(input.colorbalance) : undefined}`}`)}}`; const _so8 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.brightness ? "" : `"brightness":${undefined !== input.brightness ? input.brightness : undefined},`}${undefined === input.contrast ? "" : `"contrast":${undefined !== input.contrast ? input.contrast : undefined},`}${undefined === input.gamma ? "" : `"gamma":${undefined !== input.gamma ? input.gamma : undefined},`}${undefined === input.saturation ? "" : `"saturation":${undefined !== input.saturation ? input.saturation : undefined}`}`)}}`; const _so9 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.h ? "" : `"h":${undefined !== input.h ? input.h : undefined},`}${undefined === input.s ? "" : `"s":${undefined !== input.s ? input.s : undefined},`}${undefined === input.b ? "" : `"b":${undefined !== input.b ? input.b : undefined}`}`)}}`; const _so10 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.rs ? "" : `"rs":${undefined !== input.rs ? input.rs : undefined},`}${undefined === input.gs ? "" : `"gs":${undefined !== input.gs ? input.gs : undefined},`}${undefined === input.bs ? "" : `"bs":${undefined !== input.bs ? input.bs : undefined},`}${undefined === input.rm ? "" : `"rm":${undefined !== input.rm ? input.rm : undefined},`}${undefined === input.gm ? "" : `"gm":${undefined !== input.gm ? input.gm : undefined},`}${undefined === input.bm ? "" : `"bm":${undefined !== input.bm ? input.bm : undefined},`}${undefined === input.rh ? "" : `"rh":${undefined !== input.rh ? input.rh : undefined},`}${undefined === input.gh ? "" : `"gh":${undefined !== input.gh ? input.gh : undefined},`}${undefined === input.bh ? "" : `"bh":${undefined !== input.bh ? input.bh : undefined}`}`)}}`; const _so11 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.x ? "" : `"x":${undefined !== input.x ? input.x : undefined},`}${undefined === input.y ? "" : `"y":${undefined !== input.y ? input.y : undefined},`}${undefined === input.width ? "" : `"width":${undefined !== input.width ? input.width : undefined},`}${undefined === input.height ? "" : `"height":${undefined !== input.height ? input.height : undefined}`}`)}}`; const _so12 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.pan ? "" : `"pan":${undefined !== input.pan ? `[${input.pan.map(elem => `[${elem.map(elem => elem).join(",")}]`).join(",")}]` : undefined}`}`)}}`; const _so13 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.language ? "" : `"language":${undefined !== input.language ? __typia_transform__jsonStringifyString._jsonStringifyString(input.language) : undefined},`}${undefined === input.pan ? "" : `"pan":${undefined !== input.pan ? `[${input.pan.map(elem => elem).join(",")}]` : undefined},`}${undefined === input.diarization ? "" : `"diarization":${undefined !== input.diarization ? input.diarization : undefined}`}`)}}`; const _io1 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io2(input.video)) && (null === input.proxy || undefined === input.proxy || "string" === typeof input.proxy) && (null === input.proxyManifest || undefined === input.proxyManifest || "string" === typeof input.proxyManifest) && (null === input.proxyFile || undefined === input.proxyFile || "string" === typeof input.proxyFile) && (null === input.manifest || undefined === input.manifest || "string" === typeof input.manifest); const _io2 = input => (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced); const _io3 = input => Object.keys(input).every(key => {
|
|
2054
2079
|
const value = input[key];
|
|
2055
2080
|
if (undefined === value)
|
|
2056
2081
|
return true;
|
|
2057
2082
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io4(value);
|
|
2058
|
-
}); const _io4 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io5(input.styleOverrides)); const _io5 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.lineSpacing || "string" === typeof input.lineSpacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io6 = input => (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io7(input.filters)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io11(input.crop)) && (undefined === input.orientation || "number" === typeof input.orientation) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io7 = input => (undefined === input.eq || "object" === typeof input.eq && null !== input.eq && false === Array.isArray(input.eq) && _io8(input.eq)) && (undefined === input.hue || "object" === typeof input.hue && null !== input.hue && false === Array.isArray(input.hue) && _io9(input.hue)) && (undefined === input.colorbalance || "object" === typeof input.colorbalance && null !== input.colorbalance && false === Array.isArray(input.colorbalance) && _io10(input.colorbalance)); const _io8 = input => (undefined === input.brightness || "number" === typeof input.brightness) && (undefined === input.contrast || "number" === typeof input.contrast) && (undefined === input.gamma || "number" === typeof input.gamma) && (undefined === input.saturation || "number" === typeof input.saturation); const _io9 = input => (undefined === input.h || "number" === typeof input.h) && (undefined === input.s || "number" === typeof input.s) && (undefined === input.b || "number" === typeof input.b); const _io10 = input => (undefined === input.rs || "number" === typeof input.rs) && (undefined === input.gs || "number" === typeof input.gs) && (undefined === input.bs || "number" === typeof input.bs) && (undefined === input.rm || "number" === typeof input.rm) && (undefined === input.gm || "number" === typeof input.gm) && (undefined === input.bm || "number" === typeof input.bm) && (undefined === input.rh || "number" === typeof input.rh) && (undefined === input.gh || "number" === typeof input.gh) && (undefined === input.bh || "number" === typeof input.bh); const _io11 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io12 = input => undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem)); const _io13 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); return input => _so0(input); })()(input);
|
|
2083
|
+
}); const _io4 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io5(input.styleOverrides)); const _io5 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.lineSpacing || "string" === typeof input.lineSpacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io6 = input => (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io7(input.filters)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io11(input.crop)) && (undefined === input.orientation || "number" === typeof input.orientation) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io7 = input => (undefined === input.eq || "object" === typeof input.eq && null !== input.eq && false === Array.isArray(input.eq) && _io8(input.eq)) && (undefined === input.hue || "object" === typeof input.hue && null !== input.hue && false === Array.isArray(input.hue) && _io9(input.hue)) && (undefined === input.colorbalance || "object" === typeof input.colorbalance && null !== input.colorbalance && false === Array.isArray(input.colorbalance) && _io10(input.colorbalance)); const _io8 = input => (undefined === input.brightness || "number" === typeof input.brightness) && (undefined === input.contrast || "number" === typeof input.contrast) && (undefined === input.gamma || "number" === typeof input.gamma) && (undefined === input.saturation || "number" === typeof input.saturation); const _io9 = input => (undefined === input.h || "number" === typeof input.h) && (undefined === input.s || "number" === typeof input.s) && (undefined === input.b || "number" === typeof input.b); const _io10 = input => (undefined === input.rs || "number" === typeof input.rs) && (undefined === input.gs || "number" === typeof input.gs) && (undefined === input.bs || "number" === typeof input.bs) && (undefined === input.rm || "number" === typeof input.rm) && (undefined === input.gm || "number" === typeof input.gm) && (undefined === input.bm || "number" === typeof input.bm) && (undefined === input.rh || "number" === typeof input.rh) && (undefined === input.gh || "number" === typeof input.gh) && (undefined === input.bh || "number" === typeof input.bh); const _io11 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io12 = input => undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem)); const _io13 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)) && (undefined === input.diarization || "boolean" === typeof input.diarization); return input => _so0(input); })()(input);
|
|
2059
2084
|
}
|
|
2060
2085
|
case ":media.consolidate": {
|
|
2061
2086
|
return (() => { const _so0 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.source || "function" === typeof input.source ? "" : `"source":${undefined !== input.source ? JSON.stringify(input.source) : undefined},`}${undefined === input.target || "function" === typeof input.target ? "" : `"target":${undefined !== input.target ? JSON.stringify(input.target) : undefined},`}${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? (() => {
|
|
@@ -2233,12 +2258,12 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
2233
2258
|
expected: "(\"straight\" | boolean | null | undefined)",
|
|
2234
2259
|
value: input.alpha
|
|
2235
2260
|
});
|
|
2236
|
-
})() : "null" : undefined}`}`)}}`; const _so8 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.eq ? "" : `"eq":${undefined !== input.eq ? _so9(input.eq) : undefined},`}${undefined === input.hue ? "" : `"hue":${undefined !== input.hue ? _so10(input.hue) : undefined},`}${undefined === input.colorbalance ? "" : `"colorbalance":${undefined !== input.colorbalance ? _so11(input.colorbalance) : undefined}`}`)}}`; const _so9 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.brightness ? "" : `"brightness":${undefined !== input.brightness ? input.brightness : undefined},`}${undefined === input.contrast ? "" : `"contrast":${undefined !== input.contrast ? input.contrast : undefined},`}${undefined === input.gamma ? "" : `"gamma":${undefined !== input.gamma ? input.gamma : undefined},`}${undefined === input.saturation ? "" : `"saturation":${undefined !== input.saturation ? input.saturation : undefined}`}`)}}`; const _so10 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.h ? "" : `"h":${undefined !== input.h ? input.h : undefined},`}${undefined === input.s ? "" : `"s":${undefined !== input.s ? input.s : undefined},`}${undefined === input.b ? "" : `"b":${undefined !== input.b ? input.b : undefined}`}`)}}`; const _so11 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.rs ? "" : `"rs":${undefined !== input.rs ? input.rs : undefined},`}${undefined === input.gs ? "" : `"gs":${undefined !== input.gs ? input.gs : undefined},`}${undefined === input.bs ? "" : `"bs":${undefined !== input.bs ? input.bs : undefined},`}${undefined === input.rm ? "" : `"rm":${undefined !== input.rm ? input.rm : undefined},`}${undefined === input.gm ? "" : `"gm":${undefined !== input.gm ? input.gm : undefined},`}${undefined === input.bm ? "" : `"bm":${undefined !== input.bm ? input.bm : undefined},`}${undefined === input.rh ? "" : `"rh":${undefined !== input.rh ? input.rh : undefined},`}${undefined === input.gh ? "" : `"gh":${undefined !== input.gh ? input.gh : undefined},`}${undefined === input.bh ? "" : `"bh":${undefined !== input.bh ? input.bh : undefined}`}`)}}`; const _so12 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.x ? "" : `"x":${undefined !== input.x ? input.x : undefined},`}${undefined === input.y ? "" : `"y":${undefined !== input.y ? input.y : undefined},`}${undefined === input.width ? "" : `"width":${undefined !== input.width ? input.width : undefined},`}${undefined === input.height ? "" : `"height":${undefined !== input.height ? input.height : undefined}`}`)}}`; const _so13 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.pan ? "" : `"pan":${undefined !== input.pan ? `[${input.pan.map(elem => `[${elem.map(elem => elem).join(",")}]`).join(",")}]` : undefined}`}`)}}`; const _so14 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.language ? "" : `"language":${undefined !== input.language ? __typia_transform__jsonStringifyString._jsonStringifyString(input.language) : undefined},`}${undefined === input.pan ? "" : `"pan":${undefined !== input.pan ? `[${input.pan.map(elem => elem).join(",")}]` : undefined}`}`)}}`; const _io1 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (null === input.input || undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && _io2(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.graphics || "string" === typeof input.graphics) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && _io4(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io7(input.video)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io13(input.audio)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io14(input.transcribe)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io12(input.crop)) && (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io8(input.filters)) && (undefined === input.orientation || "number" === typeof input.orientation) && (undefined === input.rotate || "number" === typeof input.rotate) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io2 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io3(input.video)) && (null === input.proxy || undefined === input.proxy || "string" === typeof input.proxy) && (null === input.proxyManifest || undefined === input.proxyManifest || "string" === typeof input.proxyManifest) && (null === input.proxyFile || undefined === input.proxyFile || "string" === typeof input.proxyFile) && (null === input.manifest || undefined === input.manifest || "string" === typeof input.manifest); const _io3 = input => (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced); const _io4 = input => Object.keys(input).every(key => {
|
|
2261
|
+
})() : "null" : undefined}`}`)}}`; const _so8 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.eq ? "" : `"eq":${undefined !== input.eq ? _so9(input.eq) : undefined},`}${undefined === input.hue ? "" : `"hue":${undefined !== input.hue ? _so10(input.hue) : undefined},`}${undefined === input.colorbalance ? "" : `"colorbalance":${undefined !== input.colorbalance ? _so11(input.colorbalance) : undefined}`}`)}}`; const _so9 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.brightness ? "" : `"brightness":${undefined !== input.brightness ? input.brightness : undefined},`}${undefined === input.contrast ? "" : `"contrast":${undefined !== input.contrast ? input.contrast : undefined},`}${undefined === input.gamma ? "" : `"gamma":${undefined !== input.gamma ? input.gamma : undefined},`}${undefined === input.saturation ? "" : `"saturation":${undefined !== input.saturation ? input.saturation : undefined}`}`)}}`; const _so10 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.h ? "" : `"h":${undefined !== input.h ? input.h : undefined},`}${undefined === input.s ? "" : `"s":${undefined !== input.s ? input.s : undefined},`}${undefined === input.b ? "" : `"b":${undefined !== input.b ? input.b : undefined}`}`)}}`; const _so11 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.rs ? "" : `"rs":${undefined !== input.rs ? input.rs : undefined},`}${undefined === input.gs ? "" : `"gs":${undefined !== input.gs ? input.gs : undefined},`}${undefined === input.bs ? "" : `"bs":${undefined !== input.bs ? input.bs : undefined},`}${undefined === input.rm ? "" : `"rm":${undefined !== input.rm ? input.rm : undefined},`}${undefined === input.gm ? "" : `"gm":${undefined !== input.gm ? input.gm : undefined},`}${undefined === input.bm ? "" : `"bm":${undefined !== input.bm ? input.bm : undefined},`}${undefined === input.rh ? "" : `"rh":${undefined !== input.rh ? input.rh : undefined},`}${undefined === input.gh ? "" : `"gh":${undefined !== input.gh ? input.gh : undefined},`}${undefined === input.bh ? "" : `"bh":${undefined !== input.bh ? input.bh : undefined}`}`)}}`; const _so12 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.x ? "" : `"x":${undefined !== input.x ? input.x : undefined},`}${undefined === input.y ? "" : `"y":${undefined !== input.y ? input.y : undefined},`}${undefined === input.width ? "" : `"width":${undefined !== input.width ? input.width : undefined},`}${undefined === input.height ? "" : `"height":${undefined !== input.height ? input.height : undefined}`}`)}}`; const _so13 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.pan ? "" : `"pan":${undefined !== input.pan ? `[${input.pan.map(elem => `[${elem.map(elem => elem).join(",")}]`).join(",")}]` : undefined}`}`)}}`; const _so14 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.language ? "" : `"language":${undefined !== input.language ? __typia_transform__jsonStringifyString._jsonStringifyString(input.language) : undefined},`}${undefined === input.pan ? "" : `"pan":${undefined !== input.pan ? `[${input.pan.map(elem => elem).join(",")}]` : undefined},`}${undefined === input.diarization ? "" : `"diarization":${undefined !== input.diarization ? input.diarization : undefined}`}`)}}`; const _io1 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (null === input.input || undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && _io2(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.graphics || "string" === typeof input.graphics) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && _io4(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io7(input.video)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io13(input.audio)) && (undefined === input.start || "number" === typeof input.start) && (undefined === input.end || "number" === typeof input.end) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io14(input.transcribe)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io12(input.crop)) && (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io8(input.filters)) && (undefined === input.orientation || "number" === typeof input.orientation) && (undefined === input.rotate || "number" === typeof input.rotate) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io2 = input => (undefined === input.type || "string" === typeof input.type) && (null === input.file || undefined === input.file || "string" === typeof input.file) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io3(input.video)) && (null === input.proxy || undefined === input.proxy || "string" === typeof input.proxy) && (null === input.proxyManifest || undefined === input.proxyManifest || "string" === typeof input.proxyManifest) && (null === input.proxyFile || undefined === input.proxyFile || "string" === typeof input.proxyFile) && (null === input.manifest || undefined === input.manifest || "string" === typeof input.manifest); const _io3 = input => (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced); const _io4 = input => Object.keys(input).every(key => {
|
|
2237
2262
|
const value = input[key];
|
|
2238
2263
|
if (undefined === value)
|
|
2239
2264
|
return true;
|
|
2240
2265
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io5(value);
|
|
2241
|
-
}); const _io5 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io6(input.styleOverrides)); const _io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.lineSpacing || "string" === typeof input.lineSpacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io7 = input => (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io8(input.filters)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io12(input.crop)) && (undefined === input.orientation || "number" === typeof input.orientation) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io8 = input => (undefined === input.eq || "object" === typeof input.eq && null !== input.eq && false === Array.isArray(input.eq) && _io9(input.eq)) && (undefined === input.hue || "object" === typeof input.hue && null !== input.hue && false === Array.isArray(input.hue) && _io10(input.hue)) && (undefined === input.colorbalance || "object" === typeof input.colorbalance && null !== input.colorbalance && false === Array.isArray(input.colorbalance) && _io11(input.colorbalance)); const _io9 = input => (undefined === input.brightness || "number" === typeof input.brightness) && (undefined === input.contrast || "number" === typeof input.contrast) && (undefined === input.gamma || "number" === typeof input.gamma) && (undefined === input.saturation || "number" === typeof input.saturation); const _io10 = input => (undefined === input.h || "number" === typeof input.h) && (undefined === input.s || "number" === typeof input.s) && (undefined === input.b || "number" === typeof input.b); const _io11 = input => (undefined === input.rs || "number" === typeof input.rs) && (undefined === input.gs || "number" === typeof input.gs) && (undefined === input.bs || "number" === typeof input.bs) && (undefined === input.rm || "number" === typeof input.rm) && (undefined === input.gm || "number" === typeof input.gm) && (undefined === input.bm || "number" === typeof input.bm) && (undefined === input.rh || "number" === typeof input.rh) && (undefined === input.gh || "number" === typeof input.gh) && (undefined === input.bh || "number" === typeof input.bh); const _io12 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io13 = input => undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem)); const _io14 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); return input => _so0(input); })()(input);
|
|
2266
|
+
}); const _io5 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io6(input.styleOverrides)); const _io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.lineSpacing || "string" === typeof input.lineSpacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io7 = input => (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io8(input.filters)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io12(input.crop)) && (undefined === input.orientation || "number" === typeof input.orientation) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io8 = input => (undefined === input.eq || "object" === typeof input.eq && null !== input.eq && false === Array.isArray(input.eq) && _io9(input.eq)) && (undefined === input.hue || "object" === typeof input.hue && null !== input.hue && false === Array.isArray(input.hue) && _io10(input.hue)) && (undefined === input.colorbalance || "object" === typeof input.colorbalance && null !== input.colorbalance && false === Array.isArray(input.colorbalance) && _io11(input.colorbalance)); const _io9 = input => (undefined === input.brightness || "number" === typeof input.brightness) && (undefined === input.contrast || "number" === typeof input.contrast) && (undefined === input.gamma || "number" === typeof input.gamma) && (undefined === input.saturation || "number" === typeof input.saturation); const _io10 = input => (undefined === input.h || "number" === typeof input.h) && (undefined === input.s || "number" === typeof input.s) && (undefined === input.b || "number" === typeof input.b); const _io11 = input => (undefined === input.rs || "number" === typeof input.rs) && (undefined === input.gs || "number" === typeof input.gs) && (undefined === input.bs || "number" === typeof input.bs) && (undefined === input.rm || "number" === typeof input.rm) && (undefined === input.gm || "number" === typeof input.gm) && (undefined === input.bm || "number" === typeof input.bm) && (undefined === input.rh || "number" === typeof input.rh) && (undefined === input.gh || "number" === typeof input.gh) && (undefined === input.bh || "number" === typeof input.bh); const _io12 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io13 = input => undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem)); const _io14 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)) && (undefined === input.diarization || "boolean" === typeof input.diarization); return input => _so0(input); })()(input);
|
|
2242
2267
|
}
|
|
2243
2268
|
case ":monitor.stats?": {
|
|
2244
2269
|
return (() => { const _so0 = input => `{${undefined === input.gpu || "function" === typeof input.gpu ? "" : `"gpu":${undefined !== input.gpu ? JSON.stringify(input.gpu) : undefined},`}"proc":${_so1(input.proc)},"buddyinfo":${_so3(input.buddyinfo)},"meminfo":${_so4(input.meminfo)},"net":${_so5(input.net)},"var":${_so12(input["var"])}}`; const _so1 = input => `{${undefined === input.cpus ? "" : `"cpus":${undefined !== input.cpus ? `[${input.cpus.map(elem => _so2(elem)).join(",")}]` : undefined},`}${undefined === input.interrupts ? "" : `"interrupts":${undefined !== input.interrupts ? null !== input.interrupts ? `[${input.interrupts.map(elem => elem).join(",")}]` : "null" : undefined},`}${undefined === input.softirqs || "function" === typeof input.softirqs ? "" : `"softirqs":${undefined !== input.softirqs ? JSON.stringify(input.softirqs) : undefined},`}${undefined === input.cmdline || "function" === typeof input.cmdline ? "" : `"cmdline":${undefined !== input.cmdline ? JSON.stringify(input.cmdline) : undefined},`}"cpu":${null !== input.cpu ? _so2(input.cpu) : "null"},"threads":${input.threads},"load":${null !== input.load ? `[${input.load.map(elem => elem).join(",")}]` : "null"},"contextSwitches":${null !== input.contextSwitches ? input.contextSwitches : "null"},"bootTime":${null !== input.bootTime ? input.bootTime : "null"},"processes":${null !== input.processes ? input.processes : "null"},"running":${null !== input.running ? input.running : "null"},"blocked":${null !== input.blocked ? input.blocked : "null"},"timestamp":${input.timestamp},"total":${null !== input.total ? input.total : "null"},"idle":${null !== input.idle ? input.idle : "null"},"active":${null !== input.active ? input.active : "null"},"utilization":${null !== input.utilization ? input.utilization : "null"}}`; const _so2 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
@@ -2564,7 +2589,7 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
2564
2589
|
expected: "(\"straight\" | boolean | null | undefined)",
|
|
2565
2590
|
value: input.alpha
|
|
2566
2591
|
});
|
|
2567
|
-
})() : "null" : undefined}`}`)}}`; const _so9 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.eq ? "" : `"eq":${undefined !== input.eq ? _so10(input.eq) : undefined},`}${undefined === input.hue ? "" : `"hue":${undefined !== input.hue ? _so11(input.hue) : undefined},`}${undefined === input.colorbalance ? "" : `"colorbalance":${undefined !== input.colorbalance ? _so12(input.colorbalance) : undefined}`}`)}}`; const _so10 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.brightness ? "" : `"brightness":${undefined !== input.brightness ? input.brightness : undefined},`}${undefined === input.contrast ? "" : `"contrast":${undefined !== input.contrast ? input.contrast : undefined},`}${undefined === input.gamma ? "" : `"gamma":${undefined !== input.gamma ? input.gamma : undefined},`}${undefined === input.saturation ? "" : `"saturation":${undefined !== input.saturation ? input.saturation : undefined}`}`)}}`; const _so11 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.h ? "" : `"h":${undefined !== input.h ? input.h : undefined},`}${undefined === input.s ? "" : `"s":${undefined !== input.s ? input.s : undefined},`}${undefined === input.b ? "" : `"b":${undefined !== input.b ? input.b : undefined}`}`)}}`; const _so12 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.rs ? "" : `"rs":${undefined !== input.rs ? input.rs : undefined},`}${undefined === input.gs ? "" : `"gs":${undefined !== input.gs ? input.gs : undefined},`}${undefined === input.bs ? "" : `"bs":${undefined !== input.bs ? input.bs : undefined},`}${undefined === input.rm ? "" : `"rm":${undefined !== input.rm ? input.rm : undefined},`}${undefined === input.gm ? "" : `"gm":${undefined !== input.gm ? input.gm : undefined},`}${undefined === input.bm ? "" : `"bm":${undefined !== input.bm ? input.bm : undefined},`}${undefined === input.rh ? "" : `"rh":${undefined !== input.rh ? input.rh : undefined},`}${undefined === input.gh ? "" : `"gh":${undefined !== input.gh ? input.gh : undefined},`}${undefined === input.bh ? "" : `"bh":${undefined !== input.bh ? input.bh : undefined}`}`)}}`; const _so13 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.x ? "" : `"x":${undefined !== input.x ? input.x : undefined},`}${undefined === input.y ? "" : `"y":${undefined !== input.y ? input.y : undefined},`}${undefined === input.width ? "" : `"width":${undefined !== input.width ? input.width : undefined},`}${undefined === input.height ? "" : `"height":${undefined !== input.height ? input.height : undefined}`}`)}}`; const _so14 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.pan ? "" : `"pan":${undefined !== input.pan ? `[${input.pan.map(elem => `[${elem.map(elem => elem).join(",")}]`).join(",")}]` : undefined}`}`)}}`; const _so15 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.language ? "" : `"language":${undefined !== input.language ? __typia_transform__jsonStringifyString._jsonStringifyString(input.language) : undefined},`}${undefined === input.pan ? "" : `"pan":${undefined !== input.pan ? `[${input.pan.map(elem => elem).join(",")}]` : undefined}`}`)}}`; const _so16 = input => `{${undefined === input.transcribe ? "" : `"transcribe":${undefined !== input.transcribe ? _so17(input.transcribe) : undefined},`}${undefined === input.translate ? "" : `"translate":${undefined !== input.translate ? _so18(input.translate) : undefined},`}${undefined === input.audio ? "" : `"audio":${undefined !== input.audio ? _so19(input.audio) : undefined},`}${undefined === input.video || "function" === typeof input.video ? "" : `"video":${undefined !== input.video ? JSON.stringify(input.video) : undefined},`}${undefined === input.pick ? "" : `"pick":${undefined !== input.pick ? `[${input.pick.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined},`}${undefined === input.subtitle ? "" : `"subtitle":${undefined !== input.subtitle ? (() => {
|
|
2592
|
+
})() : "null" : undefined}`}`)}}`; const _so9 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.eq ? "" : `"eq":${undefined !== input.eq ? _so10(input.eq) : undefined},`}${undefined === input.hue ? "" : `"hue":${undefined !== input.hue ? _so11(input.hue) : undefined},`}${undefined === input.colorbalance ? "" : `"colorbalance":${undefined !== input.colorbalance ? _so12(input.colorbalance) : undefined}`}`)}}`; const _so10 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.brightness ? "" : `"brightness":${undefined !== input.brightness ? input.brightness : undefined},`}${undefined === input.contrast ? "" : `"contrast":${undefined !== input.contrast ? input.contrast : undefined},`}${undefined === input.gamma ? "" : `"gamma":${undefined !== input.gamma ? input.gamma : undefined},`}${undefined === input.saturation ? "" : `"saturation":${undefined !== input.saturation ? input.saturation : undefined}`}`)}}`; const _so11 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.h ? "" : `"h":${undefined !== input.h ? input.h : undefined},`}${undefined === input.s ? "" : `"s":${undefined !== input.s ? input.s : undefined},`}${undefined === input.b ? "" : `"b":${undefined !== input.b ? input.b : undefined}`}`)}}`; const _so12 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.rs ? "" : `"rs":${undefined !== input.rs ? input.rs : undefined},`}${undefined === input.gs ? "" : `"gs":${undefined !== input.gs ? input.gs : undefined},`}${undefined === input.bs ? "" : `"bs":${undefined !== input.bs ? input.bs : undefined},`}${undefined === input.rm ? "" : `"rm":${undefined !== input.rm ? input.rm : undefined},`}${undefined === input.gm ? "" : `"gm":${undefined !== input.gm ? input.gm : undefined},`}${undefined === input.bm ? "" : `"bm":${undefined !== input.bm ? input.bm : undefined},`}${undefined === input.rh ? "" : `"rh":${undefined !== input.rh ? input.rh : undefined},`}${undefined === input.gh ? "" : `"gh":${undefined !== input.gh ? input.gh : undefined},`}${undefined === input.bh ? "" : `"bh":${undefined !== input.bh ? input.bh : undefined}`}`)}}`; const _so13 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.x ? "" : `"x":${undefined !== input.x ? input.x : undefined},`}${undefined === input.y ? "" : `"y":${undefined !== input.y ? input.y : undefined},`}${undefined === input.width ? "" : `"width":${undefined !== input.width ? input.width : undefined},`}${undefined === input.height ? "" : `"height":${undefined !== input.height ? input.height : undefined}`}`)}}`; const _so14 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.pan ? "" : `"pan":${undefined !== input.pan ? `[${input.pan.map(elem => `[${elem.map(elem => elem).join(",")}]`).join(",")}]` : undefined}`}`)}}`; const _so15 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.language ? "" : `"language":${undefined !== input.language ? __typia_transform__jsonStringifyString._jsonStringifyString(input.language) : undefined},`}${undefined === input.pan ? "" : `"pan":${undefined !== input.pan ? `[${input.pan.map(elem => elem).join(",")}]` : undefined},`}${undefined === input.diarization ? "" : `"diarization":${undefined !== input.diarization ? input.diarization : undefined}`}`)}}`; const _so16 = input => `{${undefined === input.transcribe ? "" : `"transcribe":${undefined !== input.transcribe ? _so17(input.transcribe) : undefined},`}${undefined === input.translate ? "" : `"translate":${undefined !== input.translate ? _so18(input.translate) : undefined},`}${undefined === input.audio ? "" : `"audio":${undefined !== input.audio ? _so19(input.audio) : undefined},`}${undefined === input.video || "function" === typeof input.video ? "" : `"video":${undefined !== input.video ? JSON.stringify(input.video) : undefined},`}${undefined === input.pick ? "" : `"pick":${undefined !== input.pick ? `[${input.pick.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined},`}${undefined === input.subtitle ? "" : `"subtitle":${undefined !== input.subtitle ? (() => {
|
|
2568
2593
|
if ("string" === typeof input.subtitle)
|
|
2569
2594
|
return __typia_transform__jsonStringifyString._jsonStringifyString(input.subtitle);
|
|
2570
2595
|
if ("object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle))
|
|
@@ -2620,7 +2645,7 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
2620
2645
|
if (undefined === value)
|
|
2621
2646
|
return true;
|
|
2622
2647
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io6(value);
|
|
2623
|
-
}); const _io6 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io7(input.styleOverrides)); const _io7 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.lineSpacing || "string" === typeof input.lineSpacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io8 = input => (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io9(input.filters)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io13(input.crop)) && (undefined === input.orientation || "number" === typeof input.orientation) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io9 = input => (undefined === input.eq || "object" === typeof input.eq && null !== input.eq && false === Array.isArray(input.eq) && _io10(input.eq)) && (undefined === input.hue || "object" === typeof input.hue && null !== input.hue && false === Array.isArray(input.hue) && _io11(input.hue)) && (undefined === input.colorbalance || "object" === typeof input.colorbalance && null !== input.colorbalance && false === Array.isArray(input.colorbalance) && _io12(input.colorbalance)); const _io10 = input => (undefined === input.brightness || "number" === typeof input.brightness) && (undefined === input.contrast || "number" === typeof input.contrast) && (undefined === input.gamma || "number" === typeof input.gamma) && (undefined === input.saturation || "number" === typeof input.saturation); const _io11 = input => (undefined === input.h || "number" === typeof input.h) && (undefined === input.s || "number" === typeof input.s) && (undefined === input.b || "number" === typeof input.b); const _io12 = input => (undefined === input.rs || "number" === typeof input.rs) && (undefined === input.gs || "number" === typeof input.gs) && (undefined === input.bs || "number" === typeof input.bs) && (undefined === input.rm || "number" === typeof input.rm) && (undefined === input.gm || "number" === typeof input.gm) && (undefined === input.bm || "number" === typeof input.bm) && (undefined === input.rh || "number" === typeof input.rh) && (undefined === input.gh || "number" === typeof input.gh) && (undefined === input.bh || "number" === typeof input.bh); const _io13 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io14 = input => undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem)); const _io15 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _io16 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io17(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io18(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io19(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && _io20(input.subtitle))); const _io17 = input => "string" === typeof input.engine; const _io18 = input => "string" === typeof input.language; const _io19 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.pan || "string" === typeof input.pan) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.split || "boolean" === typeof input.split); const _io20 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style) && (undefined === input.ccconverter || "object" === typeof input.ccconverter && null !== input.ccconverter && false === Array.isArray(input.ccconverter) && _io21(input.ccconverter)) && (undefined === input.ass || "object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) && _io22(input.ass)); const _io21 = input => undefined === input.preset || "string" === typeof input.preset; const _io22 = input => (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping) && (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow) && (undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack); const _io23 = input => "string" === typeof input.method; const _io24 = input => "number" === typeof input.level && "string" === typeof input.code && "string" === typeof input.msg; const _io25 = input => (undefined === input.type || "facebook" === input.type) && (undefined === input.pageId || "string" === typeof input.pageId) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && true && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io23(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io24(elem))); const _io26 = input => (undefined === input.type || "file" === input.type) && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io27(input.renders)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io31(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io32(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io35(input.published)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io23(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io24(elem))); const _io27 = input => Object.keys(input).every(key => {
|
|
2648
|
+
}); const _io6 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io7(input.styleOverrides)); const _io7 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.lineSpacing || "string" === typeof input.lineSpacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io8 = input => (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io9(input.filters)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io13(input.crop)) && (undefined === input.orientation || "number" === typeof input.orientation) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io9 = input => (undefined === input.eq || "object" === typeof input.eq && null !== input.eq && false === Array.isArray(input.eq) && _io10(input.eq)) && (undefined === input.hue || "object" === typeof input.hue && null !== input.hue && false === Array.isArray(input.hue) && _io11(input.hue)) && (undefined === input.colorbalance || "object" === typeof input.colorbalance && null !== input.colorbalance && false === Array.isArray(input.colorbalance) && _io12(input.colorbalance)); const _io10 = input => (undefined === input.brightness || "number" === typeof input.brightness) && (undefined === input.contrast || "number" === typeof input.contrast) && (undefined === input.gamma || "number" === typeof input.gamma) && (undefined === input.saturation || "number" === typeof input.saturation); const _io11 = input => (undefined === input.h || "number" === typeof input.h) && (undefined === input.s || "number" === typeof input.s) && (undefined === input.b || "number" === typeof input.b); const _io12 = input => (undefined === input.rs || "number" === typeof input.rs) && (undefined === input.gs || "number" === typeof input.gs) && (undefined === input.bs || "number" === typeof input.bs) && (undefined === input.rm || "number" === typeof input.rm) && (undefined === input.gm || "number" === typeof input.gm) && (undefined === input.bm || "number" === typeof input.bm) && (undefined === input.rh || "number" === typeof input.rh) && (undefined === input.gh || "number" === typeof input.gh) && (undefined === input.bh || "number" === typeof input.bh); const _io13 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io14 = input => undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem)); const _io15 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)) && (undefined === input.diarization || "boolean" === typeof input.diarization); const _io16 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io17(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io18(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io19(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && _io20(input.subtitle))); const _io17 = input => "string" === typeof input.engine; const _io18 = input => "string" === typeof input.language; const _io19 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.pan || "string" === typeof input.pan) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.split || "boolean" === typeof input.split); const _io20 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style) && (undefined === input.ccconverter || "object" === typeof input.ccconverter && null !== input.ccconverter && false === Array.isArray(input.ccconverter) && _io21(input.ccconverter)) && (undefined === input.ass || "object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) && _io22(input.ass)); const _io21 = input => undefined === input.preset || "string" === typeof input.preset; const _io22 = input => (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping) && (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow) && (undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack); const _io23 = input => "string" === typeof input.method; const _io24 = input => "number" === typeof input.level && "string" === typeof input.code && "string" === typeof input.msg; const _io25 = input => (undefined === input.type || "facebook" === input.type) && (undefined === input.pageId || "string" === typeof input.pageId) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && true && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io23(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io24(elem))); const _io26 = input => (undefined === input.type || "file" === input.type) && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io27(input.renders)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io31(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io32(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io35(input.published)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io23(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io24(elem))); const _io27 = input => Object.keys(input).every(key => {
|
|
2624
2649
|
const value = input[key];
|
|
2625
2650
|
if (undefined === value)
|
|
2626
2651
|
return true;
|
|
@@ -2720,7 +2745,7 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
2720
2745
|
expected: "(\"straight\" | boolean | null | undefined)",
|
|
2721
2746
|
value: input.alpha
|
|
2722
2747
|
});
|
|
2723
|
-
})() : "null" : undefined}`}`)}}`; const _so16 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.eq ? "" : `"eq":${undefined !== input.eq ? _so17(input.eq) : undefined},`}${undefined === input.hue ? "" : `"hue":${undefined !== input.hue ? _so18(input.hue) : undefined},`}${undefined === input.colorbalance ? "" : `"colorbalance":${undefined !== input.colorbalance ? _so19(input.colorbalance) : undefined}`}`)}}`; const _so17 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.brightness ? "" : `"brightness":${undefined !== input.brightness ? input.brightness : undefined},`}${undefined === input.contrast ? "" : `"contrast":${undefined !== input.contrast ? input.contrast : undefined},`}${undefined === input.gamma ? "" : `"gamma":${undefined !== input.gamma ? input.gamma : undefined},`}${undefined === input.saturation ? "" : `"saturation":${undefined !== input.saturation ? input.saturation : undefined}`}`)}}`; const _so18 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.h ? "" : `"h":${undefined !== input.h ? input.h : undefined},`}${undefined === input.s ? "" : `"s":${undefined !== input.s ? input.s : undefined},`}${undefined === input.b ? "" : `"b":${undefined !== input.b ? input.b : undefined}`}`)}}`; const _so19 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.rs ? "" : `"rs":${undefined !== input.rs ? input.rs : undefined},`}${undefined === input.gs ? "" : `"gs":${undefined !== input.gs ? input.gs : undefined},`}${undefined === input.bs ? "" : `"bs":${undefined !== input.bs ? input.bs : undefined},`}${undefined === input.rm ? "" : `"rm":${undefined !== input.rm ? input.rm : undefined},`}${undefined === input.gm ? "" : `"gm":${undefined !== input.gm ? input.gm : undefined},`}${undefined === input.bm ? "" : `"bm":${undefined !== input.bm ? input.bm : undefined},`}${undefined === input.rh ? "" : `"rh":${undefined !== input.rh ? input.rh : undefined},`}${undefined === input.gh ? "" : `"gh":${undefined !== input.gh ? input.gh : undefined},`}${undefined === input.bh ? "" : `"bh":${undefined !== input.bh ? input.bh : undefined}`}`)}}`; const _so20 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.x ? "" : `"x":${undefined !== input.x ? input.x : undefined},`}${undefined === input.y ? "" : `"y":${undefined !== input.y ? input.y : undefined},`}${undefined === input.width ? "" : `"width":${undefined !== input.width ? input.width : undefined},`}${undefined === input.height ? "" : `"height":${undefined !== input.height ? input.height : undefined}`}`)}}`; const _so21 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.pan ? "" : `"pan":${undefined !== input.pan ? `[${input.pan.map(elem => `[${elem.map(elem => elem).join(",")}]`).join(",")}]` : undefined}`}`)}}`; const _so22 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.language ? "" : `"language":${undefined !== input.language ? __typia_transform__jsonStringifyString._jsonStringifyString(input.language) : undefined},`}${undefined === input.pan ? "" : `"pan":${undefined !== input.pan ? `[${input.pan.map(elem => elem).join(",")}]` : undefined}`}`)}}`; const _so23 = input => `{${undefined === input.transcribe ? "" : `"transcribe":${undefined !== input.transcribe ? _so24(input.transcribe) : undefined},`}${undefined === input.translate ? "" : `"translate":${undefined !== input.translate ? _so25(input.translate) : undefined},`}${undefined === input.audio ? "" : `"audio":${undefined !== input.audio ? _so26(input.audio) : undefined},`}${undefined === input.video || "function" === typeof input.video ? "" : `"video":${undefined !== input.video ? JSON.stringify(input.video) : undefined},`}${undefined === input.pick ? "" : `"pick":${undefined !== input.pick ? `[${input.pick.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined},`}${undefined === input.subtitle ? "" : `"subtitle":${undefined !== input.subtitle ? (() => {
|
|
2748
|
+
})() : "null" : undefined}`}`)}}`; const _so16 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.eq ? "" : `"eq":${undefined !== input.eq ? _so17(input.eq) : undefined},`}${undefined === input.hue ? "" : `"hue":${undefined !== input.hue ? _so18(input.hue) : undefined},`}${undefined === input.colorbalance ? "" : `"colorbalance":${undefined !== input.colorbalance ? _so19(input.colorbalance) : undefined}`}`)}}`; const _so17 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.brightness ? "" : `"brightness":${undefined !== input.brightness ? input.brightness : undefined},`}${undefined === input.contrast ? "" : `"contrast":${undefined !== input.contrast ? input.contrast : undefined},`}${undefined === input.gamma ? "" : `"gamma":${undefined !== input.gamma ? input.gamma : undefined},`}${undefined === input.saturation ? "" : `"saturation":${undefined !== input.saturation ? input.saturation : undefined}`}`)}}`; const _so18 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.h ? "" : `"h":${undefined !== input.h ? input.h : undefined},`}${undefined === input.s ? "" : `"s":${undefined !== input.s ? input.s : undefined},`}${undefined === input.b ? "" : `"b":${undefined !== input.b ? input.b : undefined}`}`)}}`; const _so19 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.rs ? "" : `"rs":${undefined !== input.rs ? input.rs : undefined},`}${undefined === input.gs ? "" : `"gs":${undefined !== input.gs ? input.gs : undefined},`}${undefined === input.bs ? "" : `"bs":${undefined !== input.bs ? input.bs : undefined},`}${undefined === input.rm ? "" : `"rm":${undefined !== input.rm ? input.rm : undefined},`}${undefined === input.gm ? "" : `"gm":${undefined !== input.gm ? input.gm : undefined},`}${undefined === input.bm ? "" : `"bm":${undefined !== input.bm ? input.bm : undefined},`}${undefined === input.rh ? "" : `"rh":${undefined !== input.rh ? input.rh : undefined},`}${undefined === input.gh ? "" : `"gh":${undefined !== input.gh ? input.gh : undefined},`}${undefined === input.bh ? "" : `"bh":${undefined !== input.bh ? input.bh : undefined}`}`)}}`; const _so20 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.x ? "" : `"x":${undefined !== input.x ? input.x : undefined},`}${undefined === input.y ? "" : `"y":${undefined !== input.y ? input.y : undefined},`}${undefined === input.width ? "" : `"width":${undefined !== input.width ? input.width : undefined},`}${undefined === input.height ? "" : `"height":${undefined !== input.height ? input.height : undefined}`}`)}}`; const _so21 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.pan ? "" : `"pan":${undefined !== input.pan ? `[${input.pan.map(elem => `[${elem.map(elem => elem).join(",")}]`).join(",")}]` : undefined}`}`)}}`; const _so22 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.language ? "" : `"language":${undefined !== input.language ? __typia_transform__jsonStringifyString._jsonStringifyString(input.language) : undefined},`}${undefined === input.pan ? "" : `"pan":${undefined !== input.pan ? `[${input.pan.map(elem => elem).join(",")}]` : undefined},`}${undefined === input.diarization ? "" : `"diarization":${undefined !== input.diarization ? input.diarization : undefined}`}`)}}`; const _so23 = input => `{${undefined === input.transcribe ? "" : `"transcribe":${undefined !== input.transcribe ? _so24(input.transcribe) : undefined},`}${undefined === input.translate ? "" : `"translate":${undefined !== input.translate ? _so25(input.translate) : undefined},`}${undefined === input.audio ? "" : `"audio":${undefined !== input.audio ? _so26(input.audio) : undefined},`}${undefined === input.video || "function" === typeof input.video ? "" : `"video":${undefined !== input.video ? JSON.stringify(input.video) : undefined},`}${undefined === input.pick ? "" : `"pick":${undefined !== input.pick ? `[${input.pick.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined},`}${undefined === input.subtitle ? "" : `"subtitle":${undefined !== input.subtitle ? (() => {
|
|
2724
2749
|
if ("string" === typeof input.subtitle)
|
|
2725
2750
|
return __typia_transform__jsonStringifyString._jsonStringifyString(input.subtitle);
|
|
2726
2751
|
if ("object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle))
|
|
@@ -2767,7 +2792,7 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
2767
2792
|
if (undefined === value)
|
|
2768
2793
|
return true;
|
|
2769
2794
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io13(value);
|
|
2770
|
-
}); const _io13 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io14(input.styleOverrides)); const _io14 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.lineSpacing || "string" === typeof input.lineSpacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io15 = input => (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io16(input.filters)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io20(input.crop)) && (undefined === input.orientation || "number" === typeof input.orientation) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io16 = input => (undefined === input.eq || "object" === typeof input.eq && null !== input.eq && false === Array.isArray(input.eq) && _io17(input.eq)) && (undefined === input.hue || "object" === typeof input.hue && null !== input.hue && false === Array.isArray(input.hue) && _io18(input.hue)) && (undefined === input.colorbalance || "object" === typeof input.colorbalance && null !== input.colorbalance && false === Array.isArray(input.colorbalance) && _io19(input.colorbalance)); const _io17 = input => (undefined === input.brightness || "number" === typeof input.brightness) && (undefined === input.contrast || "number" === typeof input.contrast) && (undefined === input.gamma || "number" === typeof input.gamma) && (undefined === input.saturation || "number" === typeof input.saturation); const _io18 = input => (undefined === input.h || "number" === typeof input.h) && (undefined === input.s || "number" === typeof input.s) && (undefined === input.b || "number" === typeof input.b); const _io19 = input => (undefined === input.rs || "number" === typeof input.rs) && (undefined === input.gs || "number" === typeof input.gs) && (undefined === input.bs || "number" === typeof input.bs) && (undefined === input.rm || "number" === typeof input.rm) && (undefined === input.gm || "number" === typeof input.gm) && (undefined === input.bm || "number" === typeof input.bm) && (undefined === input.rh || "number" === typeof input.rh) && (undefined === input.gh || "number" === typeof input.gh) && (undefined === input.bh || "number" === typeof input.bh); const _io20 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io21 = input => undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem)); const _io22 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _io23 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io24(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io25(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io26(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && _io27(input.subtitle))); const _io24 = input => "string" === typeof input.engine; const _io25 = input => "string" === typeof input.language; const _io26 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.pan || "string" === typeof input.pan) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.split || "boolean" === typeof input.split); const _io27 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style) && (undefined === input.ccconverter || "object" === typeof input.ccconverter && null !== input.ccconverter && false === Array.isArray(input.ccconverter) && _io28(input.ccconverter)) && (undefined === input.ass || "object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) && _io29(input.ass)); const _io28 = input => undefined === input.preset || "string" === typeof input.preset; const _io29 = input => (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping) && (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow) && (undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack); const _io30 = input => "object" === typeof input.__context && null !== input.__context && _io31(input.__context) && ("object" === typeof input.__returnValue && null !== input.__returnValue && _io8(input.__returnValue)); const _io31 = input => "object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) && _io32(input.publish) && "string" === typeof input.directory && "string" === typeof input.name; const _io32 = input => (undefined === input.type || "file" === input.type) && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io7(input.renders)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io33(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io34(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io37(input.published)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io38(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io39(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io33 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename); const _io34 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io35(input.renders)); const _io35 = input => Object.keys(input).every(key => {
|
|
2795
|
+
}); const _io13 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io14(input.styleOverrides)); const _io14 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.lineSpacing || "string" === typeof input.lineSpacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io15 = input => (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io16(input.filters)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io20(input.crop)) && (undefined === input.orientation || "number" === typeof input.orientation) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io16 = input => (undefined === input.eq || "object" === typeof input.eq && null !== input.eq && false === Array.isArray(input.eq) && _io17(input.eq)) && (undefined === input.hue || "object" === typeof input.hue && null !== input.hue && false === Array.isArray(input.hue) && _io18(input.hue)) && (undefined === input.colorbalance || "object" === typeof input.colorbalance && null !== input.colorbalance && false === Array.isArray(input.colorbalance) && _io19(input.colorbalance)); const _io17 = input => (undefined === input.brightness || "number" === typeof input.brightness) && (undefined === input.contrast || "number" === typeof input.contrast) && (undefined === input.gamma || "number" === typeof input.gamma) && (undefined === input.saturation || "number" === typeof input.saturation); const _io18 = input => (undefined === input.h || "number" === typeof input.h) && (undefined === input.s || "number" === typeof input.s) && (undefined === input.b || "number" === typeof input.b); const _io19 = input => (undefined === input.rs || "number" === typeof input.rs) && (undefined === input.gs || "number" === typeof input.gs) && (undefined === input.bs || "number" === typeof input.bs) && (undefined === input.rm || "number" === typeof input.rm) && (undefined === input.gm || "number" === typeof input.gm) && (undefined === input.bm || "number" === typeof input.bm) && (undefined === input.rh || "number" === typeof input.rh) && (undefined === input.gh || "number" === typeof input.gh) && (undefined === input.bh || "number" === typeof input.bh); const _io20 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io21 = input => undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem)); const _io22 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)) && (undefined === input.diarization || "boolean" === typeof input.diarization); const _io23 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io24(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io25(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io26(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && _io27(input.subtitle))); const _io24 = input => "string" === typeof input.engine; const _io25 = input => "string" === typeof input.language; const _io26 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.pan || "string" === typeof input.pan) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.split || "boolean" === typeof input.split); const _io27 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style) && (undefined === input.ccconverter || "object" === typeof input.ccconverter && null !== input.ccconverter && false === Array.isArray(input.ccconverter) && _io28(input.ccconverter)) && (undefined === input.ass || "object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) && _io29(input.ass)); const _io28 = input => undefined === input.preset || "string" === typeof input.preset; const _io29 = input => (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping) && (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow) && (undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack); const _io30 = input => "object" === typeof input.__context && null !== input.__context && _io31(input.__context) && ("object" === typeof input.__returnValue && null !== input.__returnValue && _io8(input.__returnValue)); const _io31 = input => "object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) && _io32(input.publish) && "string" === typeof input.directory && "string" === typeof input.name; const _io32 = input => (undefined === input.type || "file" === input.type) && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io7(input.renders)) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io33(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && false === Array.isArray(input.remote) && _io34(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io37(input.published)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io38(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io39(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io33 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename); const _io34 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io35(input.renders)); const _io35 = input => Object.keys(input).every(key => {
|
|
2771
2796
|
const value = input[key];
|
|
2772
2797
|
if (undefined === value)
|
|
2773
2798
|
return true;
|
|
@@ -2929,7 +2954,7 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
2929
2954
|
expected: "(\"straight\" | boolean | null | undefined)",
|
|
2930
2955
|
value: input.alpha
|
|
2931
2956
|
});
|
|
2932
|
-
})() : "null" : undefined}`}`)}}`; const _so9 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.eq ? "" : `"eq":${undefined !== input.eq ? _so10(input.eq) : undefined},`}${undefined === input.hue ? "" : `"hue":${undefined !== input.hue ? _so11(input.hue) : undefined},`}${undefined === input.colorbalance ? "" : `"colorbalance":${undefined !== input.colorbalance ? _so12(input.colorbalance) : undefined}`}`)}}`; const _so10 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.brightness ? "" : `"brightness":${undefined !== input.brightness ? input.brightness : undefined},`}${undefined === input.contrast ? "" : `"contrast":${undefined !== input.contrast ? input.contrast : undefined},`}${undefined === input.gamma ? "" : `"gamma":${undefined !== input.gamma ? input.gamma : undefined},`}${undefined === input.saturation ? "" : `"saturation":${undefined !== input.saturation ? input.saturation : undefined}`}`)}}`; const _so11 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.h ? "" : `"h":${undefined !== input.h ? input.h : undefined},`}${undefined === input.s ? "" : `"s":${undefined !== input.s ? input.s : undefined},`}${undefined === input.b ? "" : `"b":${undefined !== input.b ? input.b : undefined}`}`)}}`; const _so12 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.rs ? "" : `"rs":${undefined !== input.rs ? input.rs : undefined},`}${undefined === input.gs ? "" : `"gs":${undefined !== input.gs ? input.gs : undefined},`}${undefined === input.bs ? "" : `"bs":${undefined !== input.bs ? input.bs : undefined},`}${undefined === input.rm ? "" : `"rm":${undefined !== input.rm ? input.rm : undefined},`}${undefined === input.gm ? "" : `"gm":${undefined !== input.gm ? input.gm : undefined},`}${undefined === input.bm ? "" : `"bm":${undefined !== input.bm ? input.bm : undefined},`}${undefined === input.rh ? "" : `"rh":${undefined !== input.rh ? input.rh : undefined},`}${undefined === input.gh ? "" : `"gh":${undefined !== input.gh ? input.gh : undefined},`}${undefined === input.bh ? "" : `"bh":${undefined !== input.bh ? input.bh : undefined}`}`)}}`; const _so13 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.x ? "" : `"x":${undefined !== input.x ? input.x : undefined},`}${undefined === input.y ? "" : `"y":${undefined !== input.y ? input.y : undefined},`}${undefined === input.width ? "" : `"width":${undefined !== input.width ? input.width : undefined},`}${undefined === input.height ? "" : `"height":${undefined !== input.height ? input.height : undefined}`}`)}}`; const _so14 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.pan ? "" : `"pan":${undefined !== input.pan ? `[${input.pan.map(elem => `[${elem.map(elem => elem).join(",")}]`).join(",")}]` : undefined}`}`)}}`; const _so15 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.language ? "" : `"language":${undefined !== input.language ? __typia_transform__jsonStringifyString._jsonStringifyString(input.language) : undefined},`}${undefined === input.pan ? "" : `"pan":${undefined !== input.pan ? `[${input.pan.map(elem => elem).join(",")}]` : undefined}`}`)}}`; const _so16 = input => `{${undefined === input.transcribe ? "" : `"transcribe":${undefined !== input.transcribe ? _so17(input.transcribe) : undefined},`}${undefined === input.translate ? "" : `"translate":${undefined !== input.translate ? _so18(input.translate) : undefined},`}${undefined === input.audio ? "" : `"audio":${undefined !== input.audio ? _so19(input.audio) : undefined},`}${undefined === input.video || "function" === typeof input.video ? "" : `"video":${undefined !== input.video ? JSON.stringify(input.video) : undefined},`}${undefined === input.pick ? "" : `"pick":${undefined !== input.pick ? `[${input.pick.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined},`}${undefined === input.subtitle ? "" : `"subtitle":${undefined !== input.subtitle ? (() => {
|
|
2957
|
+
})() : "null" : undefined}`}`)}}`; const _so9 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.eq ? "" : `"eq":${undefined !== input.eq ? _so10(input.eq) : undefined},`}${undefined === input.hue ? "" : `"hue":${undefined !== input.hue ? _so11(input.hue) : undefined},`}${undefined === input.colorbalance ? "" : `"colorbalance":${undefined !== input.colorbalance ? _so12(input.colorbalance) : undefined}`}`)}}`; const _so10 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.brightness ? "" : `"brightness":${undefined !== input.brightness ? input.brightness : undefined},`}${undefined === input.contrast ? "" : `"contrast":${undefined !== input.contrast ? input.contrast : undefined},`}${undefined === input.gamma ? "" : `"gamma":${undefined !== input.gamma ? input.gamma : undefined},`}${undefined === input.saturation ? "" : `"saturation":${undefined !== input.saturation ? input.saturation : undefined}`}`)}}`; const _so11 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.h ? "" : `"h":${undefined !== input.h ? input.h : undefined},`}${undefined === input.s ? "" : `"s":${undefined !== input.s ? input.s : undefined},`}${undefined === input.b ? "" : `"b":${undefined !== input.b ? input.b : undefined}`}`)}}`; const _so12 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.rs ? "" : `"rs":${undefined !== input.rs ? input.rs : undefined},`}${undefined === input.gs ? "" : `"gs":${undefined !== input.gs ? input.gs : undefined},`}${undefined === input.bs ? "" : `"bs":${undefined !== input.bs ? input.bs : undefined},`}${undefined === input.rm ? "" : `"rm":${undefined !== input.rm ? input.rm : undefined},`}${undefined === input.gm ? "" : `"gm":${undefined !== input.gm ? input.gm : undefined},`}${undefined === input.bm ? "" : `"bm":${undefined !== input.bm ? input.bm : undefined},`}${undefined === input.rh ? "" : `"rh":${undefined !== input.rh ? input.rh : undefined},`}${undefined === input.gh ? "" : `"gh":${undefined !== input.gh ? input.gh : undefined},`}${undefined === input.bh ? "" : `"bh":${undefined !== input.bh ? input.bh : undefined}`}`)}}`; const _so13 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.x ? "" : `"x":${undefined !== input.x ? input.x : undefined},`}${undefined === input.y ? "" : `"y":${undefined !== input.y ? input.y : undefined},`}${undefined === input.width ? "" : `"width":${undefined !== input.width ? input.width : undefined},`}${undefined === input.height ? "" : `"height":${undefined !== input.height ? input.height : undefined}`}`)}}`; const _so14 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.pan ? "" : `"pan":${undefined !== input.pan ? `[${input.pan.map(elem => `[${elem.map(elem => elem).join(",")}]`).join(",")}]` : undefined}`}`)}}`; const _so15 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.language ? "" : `"language":${undefined !== input.language ? __typia_transform__jsonStringifyString._jsonStringifyString(input.language) : undefined},`}${undefined === input.pan ? "" : `"pan":${undefined !== input.pan ? `[${input.pan.map(elem => elem).join(",")}]` : undefined},`}${undefined === input.diarization ? "" : `"diarization":${undefined !== input.diarization ? input.diarization : undefined}`}`)}}`; const _so16 = input => `{${undefined === input.transcribe ? "" : `"transcribe":${undefined !== input.transcribe ? _so17(input.transcribe) : undefined},`}${undefined === input.translate ? "" : `"translate":${undefined !== input.translate ? _so18(input.translate) : undefined},`}${undefined === input.audio ? "" : `"audio":${undefined !== input.audio ? _so19(input.audio) : undefined},`}${undefined === input.video || "function" === typeof input.video ? "" : `"video":${undefined !== input.video ? JSON.stringify(input.video) : undefined},`}${undefined === input.pick ? "" : `"pick":${undefined !== input.pick ? `[${input.pick.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined},`}${undefined === input.subtitle ? "" : `"subtitle":${undefined !== input.subtitle ? (() => {
|
|
2933
2958
|
if ("string" === typeof input.subtitle)
|
|
2934
2959
|
return __typia_transform__jsonStringifyString._jsonStringifyString(input.subtitle);
|
|
2935
2960
|
if ("object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle))
|
|
@@ -2944,7 +2969,7 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
2944
2969
|
if (undefined === value)
|
|
2945
2970
|
return true;
|
|
2946
2971
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io6(value);
|
|
2947
|
-
}); const _io6 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io7(input.styleOverrides)); const _io7 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.lineSpacing || "string" === typeof input.lineSpacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io8 = input => (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io9(input.filters)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io13(input.crop)) && (undefined === input.orientation || "number" === typeof input.orientation) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io9 = input => (undefined === input.eq || "object" === typeof input.eq && null !== input.eq && false === Array.isArray(input.eq) && _io10(input.eq)) && (undefined === input.hue || "object" === typeof input.hue && null !== input.hue && false === Array.isArray(input.hue) && _io11(input.hue)) && (undefined === input.colorbalance || "object" === typeof input.colorbalance && null !== input.colorbalance && false === Array.isArray(input.colorbalance) && _io12(input.colorbalance)); const _io10 = input => (undefined === input.brightness || "number" === typeof input.brightness) && (undefined === input.contrast || "number" === typeof input.contrast) && (undefined === input.gamma || "number" === typeof input.gamma) && (undefined === input.saturation || "number" === typeof input.saturation); const _io11 = input => (undefined === input.h || "number" === typeof input.h) && (undefined === input.s || "number" === typeof input.s) && (undefined === input.b || "number" === typeof input.b); const _io12 = input => (undefined === input.rs || "number" === typeof input.rs) && (undefined === input.gs || "number" === typeof input.gs) && (undefined === input.bs || "number" === typeof input.bs) && (undefined === input.rm || "number" === typeof input.rm) && (undefined === input.gm || "number" === typeof input.gm) && (undefined === input.bm || "number" === typeof input.bm) && (undefined === input.rh || "number" === typeof input.rh) && (undefined === input.gh || "number" === typeof input.gh) && (undefined === input.bh || "number" === typeof input.bh); const _io13 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io14 = input => undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem)); const _io15 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)); const _io16 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io17(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io18(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io19(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && _io20(input.subtitle))); const _io17 = input => "string" === typeof input.engine; const _io18 = input => "string" === typeof input.language; const _io19 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.pan || "string" === typeof input.pan) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.split || "boolean" === typeof input.split); const _io20 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style) && (undefined === input.ccconverter || "object" === typeof input.ccconverter && null !== input.ccconverter && false === Array.isArray(input.ccconverter) && _io21(input.ccconverter)) && (undefined === input.ass || "object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) && _io22(input.ass)); const _io21 = input => undefined === input.preset || "string" === typeof input.preset; const _io22 = input => (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping) && (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow) && (undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack); return input => _so0(input); })()(input);
|
|
2972
|
+
}); const _io6 = input => (null === input.style || undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io7(input.styleOverrides)); const _io7 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut) && (undefined === input.scaleX || "string" === typeof input.scaleX) && (undefined === input.scaleY || "string" === typeof input.scaleY) && (undefined === input.spacing || "string" === typeof input.spacing) && (undefined === input.lineSpacing || "string" === typeof input.lineSpacing) && (undefined === input.angle || "string" === typeof input.angle) && (undefined === input.borderStyle || "string" === typeof input.borderStyle) && (undefined === input.outline || "string" === typeof input.outline) && (undefined === input.shadow || "string" === typeof input.shadow) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.encoding || "string" === typeof input.encoding); const _io8 = input => (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io9(input.filters)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io13(input.crop)) && (undefined === input.orientation || "number" === typeof input.orientation) && (null === input.interlaced || undefined === input.interlaced || false === input.interlaced || "tff" === input.interlaced || "bff" === input.interlaced) && (null === input.alpha || undefined === input.alpha || "straight" === input.alpha || "boolean" === typeof input.alpha); const _io9 = input => (undefined === input.eq || "object" === typeof input.eq && null !== input.eq && false === Array.isArray(input.eq) && _io10(input.eq)) && (undefined === input.hue || "object" === typeof input.hue && null !== input.hue && false === Array.isArray(input.hue) && _io11(input.hue)) && (undefined === input.colorbalance || "object" === typeof input.colorbalance && null !== input.colorbalance && false === Array.isArray(input.colorbalance) && _io12(input.colorbalance)); const _io10 = input => (undefined === input.brightness || "number" === typeof input.brightness) && (undefined === input.contrast || "number" === typeof input.contrast) && (undefined === input.gamma || "number" === typeof input.gamma) && (undefined === input.saturation || "number" === typeof input.saturation); const _io11 = input => (undefined === input.h || "number" === typeof input.h) && (undefined === input.s || "number" === typeof input.s) && (undefined === input.b || "number" === typeof input.b); const _io12 = input => (undefined === input.rs || "number" === typeof input.rs) && (undefined === input.gs || "number" === typeof input.gs) && (undefined === input.bs || "number" === typeof input.bs) && (undefined === input.rm || "number" === typeof input.rm) && (undefined === input.gm || "number" === typeof input.gm) && (undefined === input.bm || "number" === typeof input.bm) && (undefined === input.rh || "number" === typeof input.rh) && (undefined === input.gh || "number" === typeof input.gh) && (undefined === input.bh || "number" === typeof input.bh); const _io13 = input => (undefined === input.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io14 = input => undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem)); const _io15 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => "number" === typeof elem)) && (undefined === input.diarization || "boolean" === typeof input.diarization); const _io16 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io17(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io18(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io19(input.audio)) && true && (undefined === input.pick || Array.isArray(input.pick) && input.pick.every(elem => "string" === typeof elem)) && (null !== input.subtitle && (undefined === input.subtitle || "string" === typeof input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle) && _io20(input.subtitle))); const _io17 = input => "string" === typeof input.engine; const _io18 = input => "string" === typeof input.language; const _io19 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.pan || "string" === typeof input.pan) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.split || "boolean" === typeof input.split); const _io20 = input => (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style) && (undefined === input.ccconverter || "object" === typeof input.ccconverter && null !== input.ccconverter && false === Array.isArray(input.ccconverter) && _io21(input.ccconverter)) && (undefined === input.ass || "object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) && _io22(input.ass)); const _io21 = input => undefined === input.preset || "string" === typeof input.preset; const _io22 = input => (undefined === input.futureWordWrapping || "boolean" === typeof input.futureWordWrapping) && (undefined === input.scaledBorderAndShadow || "boolean" === typeof input.scaledBorderAndShadow) && (undefined === input.enableUnsafeLineSpacingHack || "boolean" === typeof input.enableUnsafeLineSpacingHack); return input => _so0(input); })()(input);
|
|
2948
2973
|
}
|
|
2949
2974
|
case ":render.result?": {
|
|
2950
2975
|
return (() => { const _so0 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.id ? "" : `"id":${undefined !== input.id ? __typia_transform__jsonStringifyString._jsonStringifyString(input.id) : undefined},`}${undefined === input.url ? "" : `"url":${undefined !== input.url ? __typia_transform__jsonStringifyString._jsonStringifyString(input.url) : undefined},`}${undefined === input.files ? "" : `"files":${undefined !== input.files ? `[${input.files.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined},`}${undefined === input.refs ? "" : `"refs":${undefined !== input.refs ? `[${input.refs.map(elem => _so1(elem)).join(",")}]` : undefined},`}${undefined === input.result || "function" === typeof input.result ? "" : `"result":${undefined !== input.result ? JSON.stringify(input.result) : undefined},`}${undefined === input.error ? "" : `"error":${undefined !== input.error ? null !== input.error ? (() => {
|
|
@@ -2982,6 +3007,18 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
2982
3007
|
case ":revs?": {
|
|
2983
3008
|
return (() => { const _so0 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined}`}`)}}`; return input => _so0(input); })()(input);
|
|
2984
3009
|
}
|
|
3010
|
+
case ":role": {
|
|
3011
|
+
return (() => { const _so0 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.permissions ? "" : `"permissions":${undefined !== input.permissions ? _so1(input.permissions) : undefined}`}`)}}`; const _so1 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
3012
|
+
return ""; return `${JSON.stringify(key)}:${`[${value.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]`}`; }).filter(str => "" !== str).join(",")}}`; const _io1 = input => Object.keys(input).every(key => {
|
|
3013
|
+
const value = input[key];
|
|
3014
|
+
if (undefined === value)
|
|
3015
|
+
return true;
|
|
3016
|
+
return Array.isArray(value) && value.every(elem => "string" === typeof elem);
|
|
3017
|
+
}); return input => _so0(input); })()(input);
|
|
3018
|
+
}
|
|
3019
|
+
case ":role.users?": {
|
|
3020
|
+
return (() => { const _so0 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined}`}`)}}`; return input => _so0(input); })()(input);
|
|
3021
|
+
}
|
|
2985
3022
|
case ":role.tags": {
|
|
2986
3023
|
return (() => { const _so0 = input => `{"value":${`[${input.value.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]`}}`; return input => _so0(input); })()(input);
|
|
2987
3024
|
}
|
|
@@ -3140,7 +3177,7 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
3140
3177
|
}
|
|
3141
3178
|
case ":script?": {
|
|
3142
3179
|
return (() => { const _so0 = input => `{"value":${_so1(input.value)}}`; const _so1 = input => `{"root":${_so2(input.root)}}`; const _so2 = input => `{${undefined === input.$ ? "" : `"$":${undefined !== input.$ ? _so3(input.$) : undefined},`}${undefined === input.textFormat ? "" : `"textFormat":${undefined !== input.textFormat ? input.textFormat : undefined},`}${undefined === input.textStyle ? "" : `"textStyle":${undefined !== input.textStyle ? __typia_transform__jsonStringifyString._jsonStringifyString(input.textStyle) : undefined},`}"type":${__typia_transform__jsonStringifyString._jsonStringifyString(input.type)},"version":${input.version},"children":${`[${input.children.map(elem => _so4(elem)).join(",")}]`},"direction":${null !== input.direction ? "\"" + input.direction + "\"" : "null"},"format":${"\"" + input.format + "\""},"indent":${input.indent}}`; const _so3 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
3143
|
-
return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}}`; const _so4 = input => `{${undefined === input.$ ? "" : `"$":${undefined !== input.$ ? _so3(input.$) : undefined},`}"type":${__typia_transform__jsonStringifyString._jsonStringifyString(input.type)},"version":${input.version}}`; const _io1 = input => "object" === typeof input.root && null !== input.root && _io2(input.root); const _io2 = input => "string" === typeof input.type && (undefined === input.$ || "object" === typeof input.$ && null !== input.$ && false === Array.isArray(input.$) && _io3(input.$)) && "number" === typeof input.version && (Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && _io4(elem))) && (null === input.direction || "ltr" === input.direction || "rtl" === input.direction) && ("" === input.format || "
|
|
3180
|
+
return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}}`; const _so4 = input => `{${undefined === input.$ ? "" : `"$":${undefined !== input.$ ? _so3(input.$) : undefined},`}"type":${__typia_transform__jsonStringifyString._jsonStringifyString(input.type)},"version":${input.version}}`; const _io1 = input => "object" === typeof input.root && null !== input.root && _io2(input.root); const _io2 = input => "string" === typeof input.type && (undefined === input.$ || "object" === typeof input.$ && null !== input.$ && false === Array.isArray(input.$) && _io3(input.$)) && "number" === typeof input.version && (Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && _io4(elem))) && (null === input.direction || "ltr" === input.direction || "rtl" === input.direction) && ("" === input.format || "right" === input.format || "left" === input.format || "center" === input.format || "start" === input.format || "end" === input.format || "justify" === input.format) && "number" === typeof input.indent && (undefined === input.textFormat || "number" === typeof input.textFormat) && (undefined === input.textStyle || "string" === typeof input.textStyle); const _io3 = input => Object.keys(input).every(key => {
|
|
3144
3181
|
const value = input[key];
|
|
3145
3182
|
if (undefined === value)
|
|
3146
3183
|
return true;
|
|
@@ -3155,7 +3192,7 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
3155
3192
|
}
|
|
3156
3193
|
case ":script.revision?": {
|
|
3157
3194
|
return (() => { const _so0 = input => `{"$parent":${__typia_transform__jsonStringifyString._jsonStringifyString(input.$parent)},"scriptId":${__typia_transform__jsonStringifyString._jsonStringifyString(input.scriptId)},"userId":${__typia_transform__jsonStringifyString._jsonStringifyString(input.userId)},"value":${_so1(input.value)}}`; const _so1 = input => `{"root":${_so2(input.root)}}`; const _so2 = input => `{${undefined === input.$ ? "" : `"$":${undefined !== input.$ ? _so3(input.$) : undefined},`}${undefined === input.textFormat ? "" : `"textFormat":${undefined !== input.textFormat ? input.textFormat : undefined},`}${undefined === input.textStyle ? "" : `"textStyle":${undefined !== input.textStyle ? __typia_transform__jsonStringifyString._jsonStringifyString(input.textStyle) : undefined},`}"type":${__typia_transform__jsonStringifyString._jsonStringifyString(input.type)},"version":${input.version},"children":${`[${input.children.map(elem => _so4(elem)).join(",")}]`},"direction":${null !== input.direction ? "\"" + input.direction + "\"" : "null"},"format":${"\"" + input.format + "\""},"indent":${input.indent}}`; const _so3 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
3158
|
-
return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}}`; const _so4 = input => `{${undefined === input.$ ? "" : `"$":${undefined !== input.$ ? _so3(input.$) : undefined},`}"type":${__typia_transform__jsonStringifyString._jsonStringifyString(input.type)},"version":${input.version}}`; const _io1 = input => "object" === typeof input.root && null !== input.root && _io2(input.root); const _io2 = input => "string" === typeof input.type && (undefined === input.$ || "object" === typeof input.$ && null !== input.$ && false === Array.isArray(input.$) && _io3(input.$)) && "number" === typeof input.version && (Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && _io4(elem))) && (null === input.direction || "ltr" === input.direction || "rtl" === input.direction) && ("" === input.format || "
|
|
3195
|
+
return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}}`; const _so4 = input => `{${undefined === input.$ ? "" : `"$":${undefined !== input.$ ? _so3(input.$) : undefined},`}"type":${__typia_transform__jsonStringifyString._jsonStringifyString(input.type)},"version":${input.version}}`; const _io1 = input => "object" === typeof input.root && null !== input.root && _io2(input.root); const _io2 = input => "string" === typeof input.type && (undefined === input.$ || "object" === typeof input.$ && null !== input.$ && false === Array.isArray(input.$) && _io3(input.$)) && "number" === typeof input.version && (Array.isArray(input.children) && input.children.every(elem => "object" === typeof elem && null !== elem && _io4(elem))) && (null === input.direction || "ltr" === input.direction || "rtl" === input.direction) && ("" === input.format || "right" === input.format || "left" === input.format || "center" === input.format || "start" === input.format || "end" === input.format || "justify" === input.format) && "number" === typeof input.indent && (undefined === input.textFormat || "number" === typeof input.textFormat) && (undefined === input.textStyle || "string" === typeof input.textStyle); const _io3 = input => Object.keys(input).every(key => {
|
|
3159
3196
|
const value = input[key];
|
|
3160
3197
|
if (undefined === value)
|
|
3161
3198
|
return true;
|
|
@@ -3258,9 +3295,9 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
3258
3295
|
return (() => { const _so0 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined}`}`)}}`; return input => _so0(input); })()(input);
|
|
3259
3296
|
}
|
|
3260
3297
|
case ":settings": {
|
|
3261
|
-
return (() => { const _iv29 = new Set(["name", "fontname", "fontsize", "primaryColour", "secondaryColour", "outlineColour", "backColour", "bold", "italic", "underline", "strikeOut", "scaleX", "scaleY", "spacing", "lineSpacing", "angle", "borderStyle", "outline", "shadow", "alignment", "marginL", "marginR", "marginV", "encoding"]); const _iv38 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]); const _so0 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.autoLogoutTime ? "" : `"autoLogoutTime":${undefined !== input.autoLogoutTime ? input.autoLogoutTime : undefined},`}${undefined === input.permission ? "" : `"permission":${undefined !== input.permission ? _so1(input.permission) : undefined},`}${undefined === input.graphics ? "" : `"graphics":${undefined !== input.graphics ? _so2(input.graphics) : undefined},`}${undefined === input.googleWhitelist ? "" : `"googleWhitelist":${undefined !== input.googleWhitelist ? `[${input.googleWhitelist.map(elem => _so3(elem)).join(",")}]` : undefined},`}${undefined === input.googleUserRoles ? "" : `"googleUserRoles":${undefined !== input.googleUserRoles ? `[${input.googleUserRoles.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined},`}${undefined === input.azureWhitelist ? "" : `"azureWhitelist":${undefined !== input.azureWhitelist ? `[${input.azureWhitelist.map(elem => _so4(elem)).join(",")}]` : undefined},`}${undefined === input.azureUserRoles ? "" : `"azureUserRoles":${undefined !== input.azureUserRoles ? `[${input.azureUserRoles.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined},`}${undefined === input["module"] ? "" : `"module":${undefined !== input["module"] ? _so5(input["module"]) : undefined},`}${undefined === input.upload ? "" : `"upload":${undefined !== input.upload ? _so9(input.upload) : undefined},`}${undefined === input.download ? "" : `"download":${undefined !== input.download ? _so10(input.download) : undefined},`}${undefined === input.browser ? "" : `"browser":${undefined !== input.browser ? _so11(input.browser) : undefined},`}${undefined === input.toolbarTags ? "" : `"toolbarTags":${undefined !== input.toolbarTags ? _so14(input.toolbarTags) : undefined},`}${undefined === input.exclusiveTagGroups ? "" : `"exclusiveTagGroups":${undefined !== input.exclusiveTagGroups ? `[${input.exclusiveTagGroups.map(elem => `[${elem.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]`).join(",")}]` : undefined},`}${undefined === input.deadlines ? "" : `"deadlines":${undefined !== input.deadlines ? _so15(input.deadlines) : undefined},`}${undefined === input.assignees ? "" : `"assignees":${undefined !== input.assignees ? _so16(input.assignees) : undefined},`}${undefined === input.comments ? "" : `"comments":${undefined !== input.comments ? _so17(input.comments) : undefined},`}${undefined === input.clock ? "" : `"clock":${undefined !== input.clock ? _so18(input.clock) : undefined},`}${undefined === input.swarm ? "" : `"swarm":${undefined !== input.swarm ? _so19(input.swarm) : undefined},`}${undefined === input.dashboard ? "" : `"dashboard":${undefined !== input.dashboard ? _so20(input.dashboard) : undefined},`}${undefined === input.script ? "" : `"script":${undefined !== input.script ? _so22(input.script) : undefined},`}${undefined === input.events ? "" : `"events":${undefined !== input.events ? _so28(input.events) : undefined},`}${undefined === input.rundown ? "" : `"rundown":${undefined !== input.rundown ? _so31(input.rundown) : undefined},`}${undefined === input.gallery ? "" : `"gallery":${undefined !== input.gallery ? _so32(input.gallery) : undefined},`}${undefined === input.history ? "" : `"history":${undefined !== input.history ? input.history : undefined},`}${undefined === input.keymap ? "" : `"keymap":${undefined !== input.keymap ? _so33(input.keymap) : undefined},`}${undefined === input.media ? "" : `"media":${undefined !== input.media ? _so37(input.media) : undefined},`}${undefined === input.edit ? "" : `"edit":${undefined !== input.edit ? _so54(input.edit) : undefined},`}${undefined === input.commands ? "" : `"commands":${undefined !== input.commands ? `[${input.commands.map(elem => _so60(elem)).join(",")}]` : undefined},`}${undefined === input.predefinedTags ? "" : `"predefinedTags":${undefined !== input.predefinedTags ? `[${input.predefinedTags.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined},`}${undefined === input.storyboard ? "" : `"storyboard":${undefined !== input.storyboard ? _so61(input.storyboard) : undefined},`}${undefined === input.print ? "" : `"print":${undefined !== input.print ? _so70(input.print) : undefined},`}${undefined === input.hiddenPreviews ? "" : `"hiddenPreviews":${undefined !== input.hiddenPreviews ? `[${input.hiddenPreviews.map(elem =>
|
|
3298
|
+
return (() => { const _iv29 = new Set(["name", "fontname", "fontsize", "primaryColour", "secondaryColour", "outlineColour", "backColour", "bold", "italic", "underline", "strikeOut", "scaleX", "scaleY", "spacing", "lineSpacing", "angle", "borderStyle", "outline", "shadow", "alignment", "marginL", "marginR", "marginV", "encoding"]); const _iv38 = new Set(["default", "manual", "az", "za", "newest", "oldest", "mostrecent", "leastrecent", "earliestdeadline", "latestdeadline"]); const _so0 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.autoLogoutTime ? "" : `"autoLogoutTime":${undefined !== input.autoLogoutTime ? input.autoLogoutTime : undefined},`}${undefined === input.permission ? "" : `"permission":${undefined !== input.permission ? _so1(input.permission) : undefined},`}${undefined === input.graphics ? "" : `"graphics":${undefined !== input.graphics ? _so2(input.graphics) : undefined},`}${undefined === input.googleWhitelist ? "" : `"googleWhitelist":${undefined !== input.googleWhitelist ? `[${input.googleWhitelist.map(elem => _so3(elem)).join(",")}]` : undefined},`}${undefined === input.googleUserRoles ? "" : `"googleUserRoles":${undefined !== input.googleUserRoles ? `[${input.googleUserRoles.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined},`}${undefined === input.azureWhitelist ? "" : `"azureWhitelist":${undefined !== input.azureWhitelist ? `[${input.azureWhitelist.map(elem => _so4(elem)).join(",")}]` : undefined},`}${undefined === input.azureUserRoles ? "" : `"azureUserRoles":${undefined !== input.azureUserRoles ? `[${input.azureUserRoles.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined},`}${undefined === input["module"] ? "" : `"module":${undefined !== input["module"] ? _so5(input["module"]) : undefined},`}${undefined === input.upload ? "" : `"upload":${undefined !== input.upload ? _so9(input.upload) : undefined},`}${undefined === input.download ? "" : `"download":${undefined !== input.download ? _so10(input.download) : undefined},`}${undefined === input.browser ? "" : `"browser":${undefined !== input.browser ? _so11(input.browser) : undefined},`}${undefined === input.toolbarTags ? "" : `"toolbarTags":${undefined !== input.toolbarTags ? _so14(input.toolbarTags) : undefined},`}${undefined === input.exclusiveTagGroups ? "" : `"exclusiveTagGroups":${undefined !== input.exclusiveTagGroups ? `[${input.exclusiveTagGroups.map(elem => `[${elem.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]`).join(",")}]` : undefined},`}${undefined === input.deadlines ? "" : `"deadlines":${undefined !== input.deadlines ? _so15(input.deadlines) : undefined},`}${undefined === input.assignees ? "" : `"assignees":${undefined !== input.assignees ? _so16(input.assignees) : undefined},`}${undefined === input.comments ? "" : `"comments":${undefined !== input.comments ? _so17(input.comments) : undefined},`}${undefined === input.clock ? "" : `"clock":${undefined !== input.clock ? _so18(input.clock) : undefined},`}${undefined === input.swarm ? "" : `"swarm":${undefined !== input.swarm ? _so19(input.swarm) : undefined},`}${undefined === input.dashboard ? "" : `"dashboard":${undefined !== input.dashboard ? _so20(input.dashboard) : undefined},`}${undefined === input.script ? "" : `"script":${undefined !== input.script ? _so22(input.script) : undefined},`}${undefined === input.events ? "" : `"events":${undefined !== input.events ? _so28(input.events) : undefined},`}${undefined === input.rundown ? "" : `"rundown":${undefined !== input.rundown ? _so31(input.rundown) : undefined},`}${undefined === input.gallery ? "" : `"gallery":${undefined !== input.gallery ? _so32(input.gallery) : undefined},`}${undefined === input.history ? "" : `"history":${undefined !== input.history ? input.history : undefined},`}${undefined === input.keymap ? "" : `"keymap":${undefined !== input.keymap ? _so33(input.keymap) : undefined},`}${undefined === input.media ? "" : `"media":${undefined !== input.media ? _so37(input.media) : undefined},`}${undefined === input.edit ? "" : `"edit":${undefined !== input.edit ? _so54(input.edit) : undefined},`}${undefined === input.commands ? "" : `"commands":${undefined !== input.commands ? `[${input.commands.map(elem => _so60(elem)).join(",")}]` : undefined},`}${undefined === input.predefinedTags ? "" : `"predefinedTags":${undefined !== input.predefinedTags ? `[${input.predefinedTags.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined},`}${undefined === input.storyboard ? "" : `"storyboard":${undefined !== input.storyboard ? _so61(input.storyboard) : undefined},`}${undefined === input.print ? "" : `"print":${undefined !== input.print ? _so70(input.print) : undefined},`}${undefined === input.hiddenPreviews ? "" : `"hiddenPreviews":${undefined !== input.hiddenPreviews ? `[${input.hiddenPreviews.map(elem => _so74(elem)).join(",")}]` : undefined},`}${undefined === input.plugins ? "" : `"plugins":${undefined !== input.plugins ? _so75(input.plugins) : undefined},`}${undefined === input.crashScreen ? "" : `"crashScreen":${undefined !== input.crashScreen ? input.crashScreen : undefined},`}${undefined === input.debug ? "" : `"debug":${undefined !== input.debug ? input.debug : undefined},`}${undefined === input.featurePreview ? "" : `"featurePreview":${undefined !== input.featurePreview ? _so80(input.featurePreview) : undefined},`}${undefined === input.flags ? "" : `"flags":${undefined !== input.flags ? _so81(input.flags) : undefined},`}${undefined === input.notifications ? "" : `"notifications":${undefined !== input.notifications ? _so82(input.notifications) : undefined},`}${undefined === input.suppressDeleteAlert ? "" : `"suppressDeleteAlert":${undefined !== input.suppressDeleteAlert ? input.suppressDeleteAlert : undefined},`}${undefined === input.clone ? "" : `"clone":${undefined !== input.clone ? _so85(input.clone) : undefined},`}${undefined === input.utilsAssetEditorPanel ? "" : `"utilsAssetEditorPanel":${undefined !== input.utilsAssetEditorPanel ? _so88(input.utilsAssetEditorPanel) : undefined},`}${undefined === input.display ? "" : `"display":${undefined !== input.display ? _so89(input.display) : undefined},`}${undefined === input.bookmarks ? "" : `"bookmarks":${undefined !== input.bookmarks ? _so90(input.bookmarks) : undefined},`}${undefined === input.shotbox ? "" : `"shotbox":${undefined !== input.shotbox ? _so91(input.shotbox) : undefined},`}${undefined === input.performance ? "" : `"performance":${undefined !== input.performance ? _so92(input.performance) : undefined},`}${undefined === input.app ? "" : `"app":${undefined !== input.app ? _so93(input.app) : undefined}`}`)}}`; const _so1 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.overrideUserContact ? "" : `"overrideUserContact":${undefined !== input.overrideUserContact ? input.overrideUserContact : undefined},`}${undefined === input.overrideUserLogin ? "" : `"overrideUserLogin":${undefined !== input.overrideUserLogin ? input.overrideUserLogin : undefined}`}`)}}`; const _so2 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.width ? "" : `"width":${undefined !== input.width ? input.width : undefined},`}${undefined === input.height ? "" : `"height":${undefined !== input.height ? input.height : undefined}`}`)}}`; const _so3 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.domain ? "" : `"domain":${undefined !== input.domain ? __typia_transform__jsonStringifyString._jsonStringifyString(input.domain) : undefined}`}`)}}`; const _so4 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.domain ? "" : `"domain":${undefined !== input.domain ? __typia_transform__jsonStringifyString._jsonStringifyString(input.domain) : undefined}`}`)}}`; const _so5 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.editor ? "" : `"editor":${undefined !== input.editor ? __typia_transform__jsonStringifyString._jsonStringifyString(input.editor) : undefined},`}${undefined === input.tabs ? "" : `"tabs":${undefined !== input.tabs ? _so6(input.tabs) : undefined}`}`)}}`; const _so6 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.settingsPanelStore ? "" : `"settingsPanelStore":${undefined !== input.settingsPanelStore ? _so7(input.settingsPanelStore) : undefined},`}${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
3262
3299
|
return ""; if (["settingsPanelStore"].some(regular => regular === key))
|
|
3263
|
-
return ""; return `${JSON.stringify(key)}:${undefined !== value ? _so8(value) : undefined}`; }).filter(str => "" !== str).join(",")}`)}}`; const _so7 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.activeSectionIndex ? "" : `"activeSectionIndex":${undefined !== input.activeSectionIndex ? input.activeSectionIndex : undefined},`}${undefined === input.activeTab ? "" : `"activeTab":${undefined !== input.activeTab ? null !== input.activeTab ? __typia_transform__jsonStringifyString._jsonStringifyString(input.activeTab) : "null" : undefined},`}${undefined === input.priority ? "" : `"priority":${undefined !== input.priority ? input.priority : undefined},`}${undefined === input.height ? "" : `"height":${undefined !== input.height ? null !== input.height ? input.height : "null" : undefined}`}`)}}`; const _so8 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.activeTab ? "" : `"activeTab":${undefined !== input.activeTab ? null !== input.activeTab ? __typia_transform__jsonStringifyString._jsonStringifyString(input.activeTab) : "null" : undefined},`}${undefined === input.priority ? "" : `"priority":${undefined !== input.priority ? input.priority : undefined},`}${undefined === input.height ? "" : `"height":${undefined !== input.height ? null !== input.height ? input.height : "null" : undefined}`}`)}}`; const _so9 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.defaultGrouping ? "" : `"defaultGrouping":${undefined !== input.defaultGrouping ? "\"" + input.defaultGrouping + "\"" : undefined},`}${undefined === input.hideStoryboardCollection ? "" : `"hideStoryboardCollection":${undefined !== input.hideStoryboardCollection ? input.hideStoryboardCollection : undefined},`}${undefined === input.displayUploadFilesDialog ? "" : `"displayUploadFilesDialog":${undefined !== input.displayUploadFilesDialog ? "\"" + input.displayUploadFilesDialog + "\"" : undefined}`}`)}}`; const _so10 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.displaySaveDialog ? "" : `"displaySaveDialog":${undefined !== input.displaySaveDialog ? input.displaySaveDialog : undefined},`}${undefined === input.batchDownloadDialogMode ? "" : `"batchDownloadDialogMode":${undefined !== input.batchDownloadDialogMode ? "\"" + input.batchDownloadDialogMode + "\"" : undefined}`}`)}}`; const _so11 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.map ? "" : `"map":${undefined !== input.map ? _so12(input.map) : undefined},`}${undefined === input.createMenu ? "" : `"createMenu":${undefined !== input.createMenu ? _so13(input.createMenu) : undefined}`}`)}}`; const _so12 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.clustering ? "" : `"clustering":${undefined !== input.clustering ? input.clustering : undefined},`}${undefined === input.zoom ? "" : `"zoom":${undefined !== input.zoom ? input.zoom : undefined},`}${undefined === input.center ? "" : `"center":${undefined !== input.center ? `[${input.center[0]},${input.center[1]}]` : undefined}`}`)}}`; const _so13 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.sortOrder ? "" : `"sortOrder":${undefined !== input.sortOrder ? `[${input.sortOrder.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined}`}`)}}`; const _so14 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.include ? "" : `"include":${undefined !== input.include ? `[${input.include.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined},`}${undefined === input.exclude ? "" : `"exclude":${undefined !== input.exclude ? `[${input.exclude.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined}`}`)}}`; const _so15 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.include ? "" : `"include":${undefined !== input.include ? `[${input.include.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined},`}${undefined === input.exclude ? "" : `"exclude":${undefined !== input.exclude ? `[${input.exclude.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined}`}`)}}`; const _so16 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.include ? "" : `"include":${undefined !== input.include ? `[${input.include.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined},`}${undefined === input.exclude ? "" : `"exclude":${undefined !== input.exclude ? `[${input.exclude.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined}`}`)}}`; const _so17 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.include ? "" : `"include":${undefined !== input.include ? `[${input.include.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined},`}${undefined === input.exclude ? "" : `"exclude":${undefined !== input.exclude ? `[${input.exclude.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined}`}`)}}`; const _so18 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.enable ? "" : `"enable":${undefined !== input.enable ? input.enable : undefined},`}${undefined === input.show24Hours ? "" : `"show24Hours":${undefined !== input.show24Hours ? input.show24Hours : undefined},`}${undefined === input.showAmPm ? "" : `"showAmPm":${undefined !== input.showAmPm ? input.showAmPm : undefined},`}${undefined === input.showSeconds ? "" : `"showSeconds":${undefined !== input.showSeconds ? input.showSeconds : undefined},`}${undefined === input.showDayOfWeek ? "" : `"showDayOfWeek":${undefined !== input.showDayOfWeek ? input.showDayOfWeek : undefined},`}${undefined === input.showDate ? "" : `"showDate":${undefined !== input.showDate ? input.showDate : undefined},`}${undefined === input.format ? "" : `"format":${undefined !== input.format ? __typia_transform__jsonStringifyString._jsonStringifyString(input.format) : undefined}`}`)}}`; const _so19 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.color ? "" : `"color":${undefined !== input.color ? __typia_transform__jsonStringifyString._jsonStringifyString(input.color) : undefined},`}${undefined === input.name ? "" : `"name":${undefined !== input.name ? __typia_transform__jsonStringifyString._jsonStringifyString(input.name) : undefined}`}`)}}`; const _so20 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.maxMru ? "" : `"maxMru":${undefined !== input.maxMru ? input.maxMru : undefined},`}${undefined === input.maxTabs ? "" : `"maxTabs":${undefined !== input.maxTabs ? input.maxTabs : undefined},`}${undefined === input.layout ? "" : `"layout":${undefined !== input.layout ? _so21(input.layout) : undefined}`}`)}}`; const _so21 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.bookmarks ? "" : `"bookmarks":${undefined !== input.bookmarks ? input.bookmarks : undefined},`}${undefined === input.browser ? "" : `"browser":${undefined !== input.browser ? input.browser : undefined}`}`)}}`; const _so22 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.createMenu ? "" : `"createMenu":${undefined !== input.createMenu ? _so23(input.createMenu) : undefined},`}${undefined === input.colorTags ? "" : `"colorTags":${undefined !== input.colorTags ? `[${input.colorTags.map(elem => _so24(elem)).join(",")}]` : undefined},`}${undefined === input.readType ? "" : `"readType":${undefined !== input.readType ? "\"" + input.readType + "\"" : undefined},`}${undefined === input.readRate ? "" : `"readRate":${undefined !== input.readRate ? input.readRate : undefined},`}${undefined === input.collapsedNodes ? "" : `"collapsedNodes":${undefined !== input.collapsedNodes ? _so25(input.collapsedNodes) : undefined},`}${undefined === input.colorHistory ? "" : `"colorHistory":${undefined !== input.colorHistory ? `[${input.colorHistory.map(elem => _so27(elem)).join(",")}]` : undefined}`}`)}}`; const _so23 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.sortBy ? "" : `"sortBy":${undefined !== input.sortBy ? "\"" + input.sortBy + "\"" : undefined},`}${undefined === input.showPreview ? "" : `"showPreview":${undefined !== input.showPreview ? input.showPreview : undefined}`}`)}}`; const _so24 = input => `{"name":${null !== input.name ? __typia_transform__jsonStringifyString._jsonStringifyString(input.name) : "null"},"icon":${null !== input.icon ? __typia_transform__jsonStringifyString._jsonStringifyString(input.icon) : "null"},"color":${null !== input.color ? __typia_transform__jsonStringifyString._jsonStringifyString(input.color) : "null"},"description":${null !== input.description ? __typia_transform__jsonStringifyString._jsonStringifyString(input.description) : "null"}}`; const _so25 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
3300
|
+
return ""; return `${JSON.stringify(key)}:${undefined !== value ? _so8(value) : undefined}`; }).filter(str => "" !== str).join(",")}`)}}`; const _so7 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.activeSectionIndex ? "" : `"activeSectionIndex":${undefined !== input.activeSectionIndex ? input.activeSectionIndex : undefined},`}${undefined === input.activeTab ? "" : `"activeTab":${undefined !== input.activeTab ? null !== input.activeTab ? __typia_transform__jsonStringifyString._jsonStringifyString(input.activeTab) : "null" : undefined},`}${undefined === input.priority ? "" : `"priority":${undefined !== input.priority ? input.priority : undefined},`}${undefined === input.height ? "" : `"height":${undefined !== input.height ? null !== input.height ? input.height : "null" : undefined}`}`)}}`; const _so8 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.activeTab ? "" : `"activeTab":${undefined !== input.activeTab ? null !== input.activeTab ? __typia_transform__jsonStringifyString._jsonStringifyString(input.activeTab) : "null" : undefined},`}${undefined === input.priority ? "" : `"priority":${undefined !== input.priority ? input.priority : undefined},`}${undefined === input.height ? "" : `"height":${undefined !== input.height ? null !== input.height ? input.height : "null" : undefined}`}`)}}`; const _so9 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.defaultGrouping ? "" : `"defaultGrouping":${undefined !== input.defaultGrouping ? "\"" + input.defaultGrouping + "\"" : undefined},`}${undefined === input.hideStoryboardCollection ? "" : `"hideStoryboardCollection":${undefined !== input.hideStoryboardCollection ? input.hideStoryboardCollection : undefined},`}${undefined === input.displayUploadFilesDialog ? "" : `"displayUploadFilesDialog":${undefined !== input.displayUploadFilesDialog ? "\"" + input.displayUploadFilesDialog + "\"" : undefined}`}`)}}`; const _so10 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.displaySaveDialog ? "" : `"displaySaveDialog":${undefined !== input.displaySaveDialog ? input.displaySaveDialog : undefined},`}${undefined === input.batchDownloadDialogMode ? "" : `"batchDownloadDialogMode":${undefined !== input.batchDownloadDialogMode ? "\"" + input.batchDownloadDialogMode + "\"" : undefined}`}`)}}`; const _so11 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.map ? "" : `"map":${undefined !== input.map ? _so12(input.map) : undefined},`}${undefined === input.createMenu ? "" : `"createMenu":${undefined !== input.createMenu ? _so13(input.createMenu) : undefined}`}`)}}`; const _so12 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.clustering ? "" : `"clustering":${undefined !== input.clustering ? input.clustering : undefined},`}${undefined === input.zoom ? "" : `"zoom":${undefined !== input.zoom ? input.zoom : undefined},`}${undefined === input.center ? "" : `"center":${undefined !== input.center ? `[${input.center[0]},${input.center[1]}]` : undefined}`}`)}}`; const _so13 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.sortOrder ? "" : `"sortOrder":${undefined !== input.sortOrder ? `[${input.sortOrder.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined}`}`)}}`; const _so14 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.include ? "" : `"include":${undefined !== input.include ? `[${input.include.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined},`}${undefined === input.exclude ? "" : `"exclude":${undefined !== input.exclude ? `[${input.exclude.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined}`}`)}}`; const _so15 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.include ? "" : `"include":${undefined !== input.include ? `[${input.include.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined},`}${undefined === input.exclude ? "" : `"exclude":${undefined !== input.exclude ? `[${input.exclude.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined}`}`)}}`; const _so16 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.include ? "" : `"include":${undefined !== input.include ? `[${input.include.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined},`}${undefined === input.exclude ? "" : `"exclude":${undefined !== input.exclude ? `[${input.exclude.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined}`}`)}}`; const _so17 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.include ? "" : `"include":${undefined !== input.include ? `[${input.include.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined},`}${undefined === input.exclude ? "" : `"exclude":${undefined !== input.exclude ? `[${input.exclude.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined}`}`)}}`; const _so18 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.enable ? "" : `"enable":${undefined !== input.enable ? input.enable : undefined},`}${undefined === input.show24Hours ? "" : `"show24Hours":${undefined !== input.show24Hours ? input.show24Hours : undefined},`}${undefined === input.showAmPm ? "" : `"showAmPm":${undefined !== input.showAmPm ? input.showAmPm : undefined},`}${undefined === input.showSeconds ? "" : `"showSeconds":${undefined !== input.showSeconds ? input.showSeconds : undefined},`}${undefined === input.showDayOfWeek ? "" : `"showDayOfWeek":${undefined !== input.showDayOfWeek ? input.showDayOfWeek : undefined},`}${undefined === input.showDate ? "" : `"showDate":${undefined !== input.showDate ? input.showDate : undefined},`}${undefined === input.format ? "" : `"format":${undefined !== input.format ? __typia_transform__jsonStringifyString._jsonStringifyString(input.format) : undefined}`}`)}}`; const _so19 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.color ? "" : `"color":${undefined !== input.color ? __typia_transform__jsonStringifyString._jsonStringifyString(input.color) : undefined},`}${undefined === input.name ? "" : `"name":${undefined !== input.name ? __typia_transform__jsonStringifyString._jsonStringifyString(input.name) : undefined}`}`)}}`; const _so20 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.maxMru ? "" : `"maxMru":${undefined !== input.maxMru ? input.maxMru : undefined},`}${undefined === input.maxTabs ? "" : `"maxTabs":${undefined !== input.maxTabs ? input.maxTabs : undefined},`}${undefined === input.layout ? "" : `"layout":${undefined !== input.layout ? _so21(input.layout) : undefined}`}`)}}`; const _so21 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.bookmarks ? "" : `"bookmarks":${undefined !== input.bookmarks ? input.bookmarks : undefined},`}${undefined === input.browser ? "" : `"browser":${undefined !== input.browser ? input.browser : undefined}`}`)}}`; const _so22 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.createMenu ? "" : `"createMenu":${undefined !== input.createMenu ? _so23(input.createMenu) : undefined},`}${undefined === input.contentMaxWidth ? "" : `"contentMaxWidth":${undefined !== input.contentMaxWidth ? input.contentMaxWidth : undefined},`}${undefined === input.colorTags ? "" : `"colorTags":${undefined !== input.colorTags ? `[${input.colorTags.map(elem => _so24(elem)).join(",")}]` : undefined},`}${undefined === input.readType ? "" : `"readType":${undefined !== input.readType ? "\"" + input.readType + "\"" : undefined},`}${undefined === input.readRate ? "" : `"readRate":${undefined !== input.readRate ? input.readRate : undefined},`}${undefined === input.collapsedNodes ? "" : `"collapsedNodes":${undefined !== input.collapsedNodes ? _so25(input.collapsedNodes) : undefined},`}${undefined === input.colorHistory ? "" : `"colorHistory":${undefined !== input.colorHistory ? `[${input.colorHistory.map(elem => _so27(elem)).join(",")}]` : undefined}`}`)}}`; const _so23 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.sortBy ? "" : `"sortBy":${undefined !== input.sortBy ? "\"" + input.sortBy + "\"" : undefined},`}${undefined === input.showPreview ? "" : `"showPreview":${undefined !== input.showPreview ? input.showPreview : undefined}`}`)}}`; const _so24 = input => `{"name":${null !== input.name ? __typia_transform__jsonStringifyString._jsonStringifyString(input.name) : "null"},"icon":${null !== input.icon ? __typia_transform__jsonStringifyString._jsonStringifyString(input.icon) : "null"},"color":${null !== input.color ? __typia_transform__jsonStringifyString._jsonStringifyString(input.color) : "null"},"description":${null !== input.description ? __typia_transform__jsonStringifyString._jsonStringifyString(input.description) : "null"}}`; const _so25 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
3264
3301
|
return ""; return `${JSON.stringify(key)}:${_so26(value)}`; }).filter(str => "" !== str).join(",")}}`; const _so26 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.preview ? "" : `"preview":${undefined !== input.preview ? input.preview : undefined},`}${undefined === input.children ? "" : `"children":${undefined !== input.children ? input.children : undefined}`}`)}}`; const _so27 = input => `{"color":${null !== input.color ? __typia_transform__jsonStringifyString._jsonStringifyString(input.color) : "null"},"backgroundColor":${null !== input.backgroundColor ? __typia_transform__jsonStringifyString._jsonStringifyString(input.backgroundColor) : "null"}}`; const _so28 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.graphicBaseTemplate ? "" : `"graphicBaseTemplate":${undefined !== input.graphicBaseTemplate ? __typia_transform__jsonStringifyString._jsonStringifyString(input.graphicBaseTemplate) : undefined},`}${undefined === input.favorites ? "" : `"favorites":${undefined !== input.favorites ? `[${input.favorites.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined},`}${undefined === input.defaults ? "" : `"defaults":${undefined !== input.defaults ? _so29(input.defaults) : undefined}`}`)}}`; const _so29 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
3265
3302
|
return ""; return `${JSON.stringify(key)}:${_so30(value)}`; }).filter(str => "" !== str).join(",")}}`; const _so30 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.event ? "" : `"event":${undefined !== input.event ? __typia_transform__jsonStringifyString._jsonStringifyString(input.event) : undefined},`}${undefined === input.property ? "" : `"property":${undefined !== input.property ? __typia_transform__jsonStringifyString._jsonStringifyString(input.property) : undefined}`}`)}}`; const _so31 = input => `{${undefined === input.eventThumbnails ? "" : `"eventThumbnails":${undefined !== input.eventThumbnails ? input.eventThumbnails : undefined},`}"scriptEventFolding":${"\"" + input.scriptEventFolding + "\""}}`; const _so32 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.dimOnBlur ? "" : `"dimOnBlur":${undefined !== input.dimOnBlur ? input.dimOnBlur : undefined},`}${undefined === input.float ? "" : `"float":${undefined !== input.float ? "\"" + input.float + "\"" : undefined},`}${undefined === input.countFloatedDuration ? "" : `"countFloatedDuration":${undefined !== input.countFloatedDuration ? input.countFloatedDuration : undefined}`}`)}}`; const _so33 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
3266
3303
|
return ""; return `${JSON.stringify(key)}:${_so34(value)}`; }).filter(str => "" !== str).join(",")}}`; const _so34 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
@@ -3305,15 +3342,26 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
3305
3342
|
expected: "(\"disabled\" | \"play\" | \"seek\" | \"seekplay\" | boolean | undefined)",
|
|
3306
3343
|
value: input.preview
|
|
3307
3344
|
});
|
|
3308
|
-
})() : undefined},`}${undefined === input.showRenderProgress ? "" : `"showRenderProgress":${undefined !== input.showRenderProgress ? input.showRenderProgress : undefined}`}`)}}`; const _so41 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.spacing ? "" : `"spacing":${undefined !== input.spacing ? input.spacing : undefined},`}${undefined === input.maxCharactersPerLine ? "" : `"maxCharactersPerLine":${undefined !== input.maxCharactersPerLine ? input.maxCharactersPerLine : undefined},`}${undefined === input.suggestions ? "" : `"suggestions":${undefined !== input.suggestions ? `[${input.suggestions.map(elem => _so42(elem)).join(",")}]` : undefined},`}${undefined === input.colors ? "" : `"colors":${undefined !== input.colors ? `[${input.colors.map(elem => _so43(elem)).join(",")}]` : undefined},`}${undefined === input.overridableProperties ? "" : `"overridableProperties":${undefined !== input.overridableProperties ? `[${input.overridableProperties.map(elem => null !== elem ? "\"" + elem + "\"" : "null").join(",")}]` : undefined},`}${undefined === input.previewResolutionScale ? "" : `"previewResolutionScale":${undefined !== input.previewResolutionScale ? input.previewResolutionScale : undefined}`}`)}}`; const _so42 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.ifAspectRatio ? "" : `"ifAspectRatio":${undefined !== input.ifAspectRatio ? null !== input.ifAspectRatio ? __typia_transform__jsonStringifyString._jsonStringifyString(input.ifAspectRatio) : "null" : undefined},`}${undefined === input.ifLang ? "" : `"ifLang":${undefined !== input.ifLang ? null !== input.ifLang ? __typia_transform__jsonStringifyString._jsonStringifyString(input.ifLang) : "null" : undefined},`}${undefined === input.thenStyle ? "" : `"thenStyle":${undefined !== input.thenStyle ? null !== input.thenStyle ? __typia_transform__jsonStringifyString._jsonStringifyString(input.thenStyle) : "null" : undefined},`}${undefined === input.thenMaxCharactersPerLine ? "" : `"thenMaxCharactersPerLine":${undefined !== input.thenMaxCharactersPerLine ? null !== input.thenMaxCharactersPerLine ? input.thenMaxCharactersPerLine : "null" : undefined}`}`)}}`; const _so43 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.label ? "" : `"label":${undefined !== input.label ? null !== input.label ? __typia_transform__jsonStringifyString._jsonStringifyString(input.label) : "null" : undefined},`}${undefined === input.color ? "" : `"color":${undefined !== input.color ? null !== input.color ? __typia_transform__jsonStringifyString._jsonStringifyString(input.color) : "null" : undefined}`}`)}}`; const _so44 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.label ? "" : `"label":${undefined !== input.label ? __typia_transform__jsonStringifyString._jsonStringifyString(input.label) : undefined},`}${undefined === input.aspectRatio ? "" : `"aspectRatio":${undefined !== input.aspectRatio ? __typia_transform__jsonStringifyString._jsonStringifyString(input.aspectRatio) : undefined}`}`)}}`; const _so45 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.enabled ? "" : `"enabled":${undefined !== input.enabled ? input.enabled : undefined},`}${undefined === input.defaultEnterOption ? "" : `"defaultEnterOption":${undefined !== input.defaultEnterOption ? "\"" + input.defaultEnterOption + "\"" : undefined},`}${undefined === input.defaultExitOption ? "" : `"defaultExitOption":${undefined !== input.defaultExitOption ? "\"" + input.defaultExitOption + "\"" : undefined}`}`)}}`; const _so46 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.subtitleDisclaimer ? "" : `"subtitleDisclaimer":${undefined !== input.subtitleDisclaimer ? _so47(input.subtitleDisclaimer) : undefined}`}`)}}`; const _so47 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.isUserConfigurable ? "" : `"isUserConfigurable":${undefined !== input.isUserConfigurable ? input.isUserConfigurable : undefined},`}${undefined === input.defaultValue ? "" : `"defaultValue":${undefined !== input.defaultValue ? _so48(input.defaultValue) : undefined}`}`)}}`; const _so48 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.enabled ? "" : `"enabled":${undefined !== input.enabled ? input.enabled : undefined},`}${undefined === input.text ? "" : `"text":${undefined !== input.text ? `[${input.text.map(elem => _so49(elem)).join(",")}]` : undefined},`}${undefined === input.offset ? "" : `"offset":${undefined !== input.offset ? input.offset : undefined},`}${undefined === input.duration ? "" : `"duration":${undefined !== input.duration ? input.duration : undefined}`}`)}}`; const _so49 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.language ? "" : `"language":${undefined !== input.language ? __typia_transform__jsonStringifyString._jsonStringifyString(input.language) : undefined},`}${undefined === input.value ? "" : `"value":${undefined !== input.value ? __typia_transform__jsonStringifyString._jsonStringifyString(input.value) : undefined}`}`)}}`; const _so50 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.url ? "" : `"url":${undefined !== input.url ? __typia_transform__jsonStringifyString._jsonStringifyString(input.url) : undefined},`}${undefined === input.command ? "" : `"command":${undefined !== input.command ? __typia_transform__jsonStringifyString._jsonStringifyString(input.command) : undefined},`}${undefined === input.app ? "" : `"app":${undefined !== input.app ? __typia_transform__jsonStringifyString._jsonStringifyString(input.app) : undefined},`}${undefined === input.args ? "" : `"args":${undefined !== input.args ? `[${input.args.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined}`}`)}}`; const _so51 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.microphone ? "" : `"microphone":${undefined !== input.microphone ? _so52(input.microphone) : undefined},`}${undefined === input.webcam ? "" : `"webcam":${undefined !== input.webcam ? _so53(input.webcam) : undefined},`}${undefined === input.countdown ? "" : `"countdown":${undefined !== input.countdown ? input.countdown : undefined}`}`)}}`; const _so52 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.deviceId ? "" : `"deviceId":${undefined !== input.deviceId ? __typia_transform__jsonStringifyString._jsonStringifyString(input.deviceId) : undefined},`}${undefined === input.inputGainDb ? "" : `"inputGainDb":${undefined !== input.inputGainDb ? input.inputGainDb : undefined},`}${undefined === input.monitorInput ? "" : `"monitorInput":${undefined !== input.monitorInput ? input.monitorInput : undefined}`}`)}}`; const _so53 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.deviceId ? "" : `"deviceId":${undefined !== input.deviceId ? __typia_transform__jsonStringifyString._jsonStringifyString(input.deviceId) : undefined},`}${undefined === input.frameRate ? "" : `"frameRate":${undefined !== input.frameRate ? input.frameRate : undefined},`}${undefined === input.aspectRatio ? "" : `"aspectRatio":${undefined !== input.aspectRatio ? input.aspectRatio : undefined}`}`)}}`; const _so54 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.thumbnailView ? "" : `"thumbnailView":${undefined !== input.thumbnailView ? "\"" + input.thumbnailView + "\"" : undefined},`}${undefined === input.audioMapping ? "" : `"audioMapping":${undefined !== input.audioMapping ? _so55(input.audioMapping) : undefined},`}${undefined === input.normalize ? "" : `"normalize":${undefined !== input.normalize ? _so57(input.normalize) : undefined},`}${undefined === input.voiceOver ? "" : `"voiceOver":${undefined !== input.voiceOver ? _so59(input.voiceOver) : undefined}`}`)}}`; const _so55 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.presets ? "" : `"presets":${undefined !== input.presets ? `[${input.presets.map(elem => _so56(elem)).join(",")}]` : undefined}`}`)}}`; const _so56 = input => `{${undefined === input.mapping ? "" : `"mapping":${undefined !== input.mapping ? `[${input.mapping.map(elem => `[${elem.map(elem => elem).join(",")}]`).join(",")}]` : undefined},`}${undefined === input.mute ? "" : `"mute":${undefined !== input.mute ? `[${input.mute.map(elem => elem).join(",")}]` : undefined},`}${undefined === input.minInChannels ? "" : `"minInChannels":${undefined !== input.minInChannels ? input.minInChannels : undefined},`}${undefined === input.maxInChannels ? "" : `"maxInChannels":${undefined !== input.maxInChannels ? input.maxInChannels : undefined},`}${undefined === input.minOutChannels ? "" : `"minOutChannels":${undefined !== input.minOutChannels ? input.minOutChannels : undefined},`}${undefined === input.maxOutChannels ? "" : `"maxOutChannels":${undefined !== input.maxOutChannels ? input.maxOutChannels : undefined},`}"id":${__typia_transform__jsonStringifyString._jsonStringifyString(input.id)},"title":${__typia_transform__jsonStringifyString._jsonStringifyString(input.title)}}`; const _so57 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.presets ? "" : `"presets":${undefined !== input.presets ? `[${input.presets.map(elem => _so58(elem)).join(",")}]` : undefined},`}${undefined === input.defaultPresetId ? "" : `"defaultPresetId":${undefined !== input.defaultPresetId ? __typia_transform__jsonStringifyString._jsonStringifyString(input.defaultPresetId) : undefined}`}`)}}`; const _so58 = input => `{"id":${__typia_transform__jsonStringifyString._jsonStringifyString(input.id)},"title":${__typia_transform__jsonStringifyString._jsonStringifyString(input.title)},"i":${input.i},"tp":${input.tp}}`; const _so59 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.inputDevice ? "" : `"inputDevice":${undefined !== input.inputDevice ? __typia_transform__jsonStringifyString._jsonStringifyString(input.inputDevice) : undefined},`}${undefined === input.inputGainDb ? "" : `"inputGainDb":${undefined !== input.inputGainDb ? input.inputGainDb : undefined},`}${undefined === input.monitorInput ? "" : `"monitorInput":${undefined !== input.monitorInput ? input.monitorInput : undefined},`}${undefined === input.backgroundReductionDb ? "" : `"backgroundReductionDb":${undefined !== input.backgroundReductionDb ? input.backgroundReductionDb : undefined},`}${undefined === input.recordMode ? "" : `"recordMode":${undefined !== input.recordMode ? "\"" + input.recordMode + "\"" : undefined},`}${undefined === input.preRollDuration ? "" : `"preRollDuration":${undefined !== input.preRollDuration ? input.preRollDuration : undefined}`}`)}}`; const _so60 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.title ? "" : `"title":${undefined !== input.title ? __typia_transform__jsonStringifyString._jsonStringifyString(input.title) : undefined},`}${undefined === input.command ? "" : `"command":${undefined !== input.command ? __typia_transform__jsonStringifyString._jsonStringifyString(input.command) : undefined},`}${undefined === input.args ? "" : `"args":${undefined !== input.args ? `[${input.args.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined}`}`)}}`; const _so61 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.folded ? "" : `"folded":${undefined !== input.folded ? _so62(input.folded) : undefined},`}${undefined === input.assets ? "" : `"assets":${undefined !== input.assets ? _so63(input.assets) : undefined},`}${undefined === input.pipeline ? "" : `"pipeline":${undefined !== input.pipeline ? _so67(input.pipeline) : undefined},`}${undefined === input.item ? "" : `"item":${undefined !== input.item ? _so69(input.item) : undefined}`}`)}}`; const _so62 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.auto ? "" : `"auto":${undefined !== input.auto ? input.auto : undefined}`}`)}}`; const _so63 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.story ? "" : `"story":${undefined !== input.story ? _so64(input.story) : undefined},`}${undefined === input.note ? "" : `"note":${undefined !== input.note ? _so66(input.note) : undefined}`}`)}}`; const _so64 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.excerpt ? "" : `"excerpt":${undefined !== input.excerpt ? _so65(input.excerpt) : undefined}`}`)}}`; const _so65 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.maxLines ? "" : `"maxLines":${undefined !== input.maxLines ? input.maxLines : undefined},`}${undefined === input.mode ? "" : `"mode":${undefined !== input.mode ? __typia_transform__jsonStringifyString._jsonStringifyString(input.mode) : undefined},`}${undefined === input.comments ? "" : `"comments":${undefined !== input.comments ? input.comments : undefined}`}`)}}`; const _so66 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.maxHeight ? "" : `"maxHeight":${undefined !== input.maxHeight ? input.maxHeight : undefined}`}`)}}`; const _so67 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.search ? "" : `"search":${undefined !== input.search ? _so68(input.search) : undefined},`}${undefined === input.sortMode ? "" : `"sortMode":${undefined !== input.sortMode ? "\"" + input.sortMode + "\"" : undefined}`}`)}}`; const _so68 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.maxItemsDisplayed ? "" : `"maxItemsDisplayed":${undefined !== input.maxItemsDisplayed ? input.maxItemsDisplayed : undefined}`}`)}}`; const _so69 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.maxHeight ? "" : `"maxHeight":${undefined !== input.maxHeight ? input.maxHeight : undefined},`}${undefined === input.titleLines ? "" : `"titleLines":${undefined !== input.titleLines ? input.titleLines : undefined}`}`)}}`; const _so70 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.fontFamilies ? "" : `"fontFamilies":${undefined !== input.fontFamilies ? `[${input.fontFamilies.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined}`}`)}}`; const _so71 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.id ? "" : `"id":${undefined !== input.id ? __typia_transform__jsonStringifyString._jsonStringifyString(input.id) : undefined},`}${undefined === input.folded ? "" : `"folded":${undefined !== input.folded ? input.folded : undefined}`}`)}}`; const _so72 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.adobe ? "" : `"adobe":${undefined !== input.adobe ? _so73(input.adobe) : undefined},`}${undefined === input.rive ? "" : `"rive":${undefined !== input.rive ? _so75(input.rive) : undefined}`}`)}}`; const _so73 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.videoBin ? "" : `"videoBin":${undefined !== input.videoBin ? __typia_transform__jsonStringifyString._jsonStringifyString(input.videoBin) : undefined},`}${undefined === input.imageBin ? "" : `"imageBin":${undefined !== input.imageBin ? __typia_transform__jsonStringifyString._jsonStringifyString(input.imageBin) : undefined},`}${undefined === input.audioBin ? "" : `"audioBin":${undefined !== input.audioBin ? __typia_transform__jsonStringifyString._jsonStringifyString(input.audioBin) : undefined},`}${undefined === input.timelineBin ? "" : `"timelineBin":${undefined !== input.timelineBin ? __typia_transform__jsonStringifyString._jsonStringifyString(input.timelineBin) : undefined},`}${undefined === input.clipBin ? "" : `"clipBin":${undefined !== input.clipBin ? __typia_transform__jsonStringifyString._jsonStringifyString(input.clipBin) : undefined},`}${undefined === input.downloadPath ? "" : `"downloadPath":${undefined !== input.downloadPath ? __typia_transform__jsonStringifyString._jsonStringifyString(input.downloadPath) : undefined},`}${undefined === input.renderPath ? "" : `"renderPath":${undefined !== input.renderPath ? __typia_transform__jsonStringifyString._jsonStringifyString(input.renderPath) : undefined},`}${undefined === input.renderPresetPath ? "" : `"renderPresetPath":${undefined !== input.renderPresetPath ? __typia_transform__jsonStringifyString._jsonStringifyString(input.renderPresetPath) : undefined},`}${undefined === input.videoRenderPreset ? "" : `"videoRenderPreset":${undefined !== input.videoRenderPreset ? __typia_transform__jsonStringifyString._jsonStringifyString(input.videoRenderPreset) : undefined},`}${undefined === input.imageRenderPreset ? "" : `"imageRenderPreset":${undefined !== input.imageRenderPreset ? __typia_transform__jsonStringifyString._jsonStringifyString(input.imageRenderPreset) : undefined},`}${undefined === input.audioRenderPreset ? "" : `"audioRenderPreset":${undefined !== input.audioRenderPreset ? __typia_transform__jsonStringifyString._jsonStringifyString(input.audioRenderPreset) : undefined},`}${undefined === input.forceRender ? "" : `"forceRender":${undefined !== input.forceRender ? input.forceRender : undefined},`}${undefined === input.useProxies ? "" : `"useProxies":${undefined !== input.useProxies ? input.useProxies : undefined},`}${undefined === input.deleteIntermediateFiles ? "" : `"deleteIntermediateFiles":${undefined !== input.deleteIntermediateFiles ? input.deleteIntermediateFiles : undefined},`}${undefined === input.bodymovin ? "" : `"bodymovin":${undefined !== input.bodymovin ? _so74(input.bodymovin) : undefined}`}`)}}`; const _so74 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.template ? "" : `"template":${undefined !== input.template ? __typia_transform__jsonStringifyString._jsonStringifyString(input.template) : undefined}`}`)}}`; const _so75 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.template ? "" : `"template":${undefined !== input.template ? __typia_transform__jsonStringifyString._jsonStringifyString(input.template) : undefined}`}`)}}`; const _so76 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.collections ? "" : `"collections":${undefined !== input.collections ? input.collections : undefined},`}${undefined === input.aiMetadata ? "" : `"aiMetadata":${undefined !== input.aiMetadata ? input.aiMetadata : undefined},`}${undefined === input.semanticSearch ? "" : `"semanticSearch":${undefined !== input.semanticSearch ? input.semanticSearch : undefined},`}${undefined === input.ameRemoteRendering ? "" : `"ameRemoteRendering":${undefined !== input.ameRemoteRendering ? input.ameRemoteRendering : undefined}`}`)}}`; const _so77 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.utils ? "" : `"utils":${undefined !== input.utils ? input.utils : undefined},`}${undefined === input.utilsAssetEditor ? "" : `"utilsAssetEditor":${undefined !== input.utilsAssetEditor ? input.utilsAssetEditor : undefined},`}${undefined === input.utilsAssetPanel ? "" : `"utilsAssetPanel":${undefined !== input.utilsAssetPanel ? input.utilsAssetPanel : undefined},`}${undefined === input.history ? "" : `"history":${undefined !== input.history ? input.history : undefined},`}${undefined === input.refs ? "" : `"refs":${undefined !== input.refs ? input.refs : undefined},`}${undefined === input.access ? "" : `"access":${undefined !== input.access ? input.access : undefined},`}${undefined === input.files ? "" : `"files":${undefined !== input.files ? input.files : undefined},`}${undefined === input["export"] ? "" : `"export":${undefined !== input["export"] ? input["export"] : undefined},`}${undefined === input.json ? "" : `"json":${undefined !== input.json ? input.json : undefined},`}${undefined === input.hlsjs ? "" : `"hlsjs":${undefined !== input.hlsjs ? input.hlsjs : undefined},`}${undefined === input.resetRenders ? "" : `"resetRenders":${undefined !== input.resetRenders ? input.resetRenders : undefined},`}${undefined === input.resetReplicas ? "" : `"resetReplicas":${undefined !== input.resetReplicas ? input.resetReplicas : undefined},`}${undefined === input.assetStatus ? "" : `"assetStatus":${undefined !== input.assetStatus ? input.assetStatus : undefined},`}${undefined === input.consolidateMedia ? "" : `"consolidateMedia":${undefined !== input.consolidateMedia ? input.consolidateMedia : undefined},`}${undefined === input.hideInAssetMenu ? "" : `"hideInAssetMenu":${undefined !== input.hideInAssetMenu ? input.hideInAssetMenu : undefined},`}${undefined === input.assetRoute ? "" : `"assetRoute":${undefined !== input.assetRoute ? input.assetRoute : undefined},`}${undefined === input.devWarnings ? "" : `"devWarnings":${undefined !== input.devWarnings ? input.devWarnings : undefined},`}${undefined === input.downloadFiles ? "" : `"downloadFiles":${undefined !== input.downloadFiles ? input.downloadFiles : undefined},`}${undefined === input.supportPortal ? "" : `"supportPortal":${undefined !== input.supportPortal ? input.supportPortal : undefined},`}${undefined === input.multiplexWebSockets ? "" : `"multiplexWebSockets":${undefined !== input.multiplexWebSockets ? input.multiplexWebSockets : undefined},`}${undefined === input.systemHealth ? "" : `"systemHealth":${undefined !== input.systemHealth ? input.systemHealth : undefined},`}${undefined === input.systemHealthIgnore ? "" : `"systemHealthIgnore":${undefined !== input.systemHealthIgnore ? input.systemHealthIgnore : undefined}`}`)}}`; const _so78 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.events ? "" : `"events":${undefined !== input.events ? _so79(input.events) : undefined}`}`)}}`; const _so79 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.comment ? "" : `"comment":${undefined !== input.comment ? `[${input.comment.map(elem => "\"" + elem + "\"").join(",")}]` : undefined},`}${undefined === input.assigned ? "" : `"assigned":${undefined !== input.assigned ? `[${input.assigned.map(elem => "\"" + elem + "\"").join(",")}]` : undefined},`}${undefined === input.unassigned ? "" : `"unassigned":${undefined !== input.unassigned ? `[${input.unassigned.map(elem => "\"" + elem + "\"").join(",")}]` : undefined},`}${undefined === input.publishSucceeded ? "" : `"publishSucceeded":${undefined !== input.publishSucceeded ? _so80(input.publishSucceeded) : undefined}`}`)}}`; const _so80 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
3309
|
-
return ""; return `${JSON.stringify(key)}:${`[${value.map(elem => "\"" + elem + "\"").join(",")}]`}`; }).filter(str => "" !== str).join(",")}}`; const
|
|
3345
|
+
})() : undefined},`}${undefined === input.showRenderProgress ? "" : `"showRenderProgress":${undefined !== input.showRenderProgress ? input.showRenderProgress : undefined}`}`)}}`; const _so41 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.spacing ? "" : `"spacing":${undefined !== input.spacing ? input.spacing : undefined},`}${undefined === input.maxCharactersPerLine ? "" : `"maxCharactersPerLine":${undefined !== input.maxCharactersPerLine ? input.maxCharactersPerLine : undefined},`}${undefined === input.suggestions ? "" : `"suggestions":${undefined !== input.suggestions ? `[${input.suggestions.map(elem => _so42(elem)).join(",")}]` : undefined},`}${undefined === input.colors ? "" : `"colors":${undefined !== input.colors ? `[${input.colors.map(elem => _so43(elem)).join(",")}]` : undefined},`}${undefined === input.overridableProperties ? "" : `"overridableProperties":${undefined !== input.overridableProperties ? `[${input.overridableProperties.map(elem => null !== elem ? "\"" + elem + "\"" : "null").join(",")}]` : undefined},`}${undefined === input.previewResolutionScale ? "" : `"previewResolutionScale":${undefined !== input.previewResolutionScale ? input.previewResolutionScale : undefined}`}`)}}`; const _so42 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.ifAspectRatio ? "" : `"ifAspectRatio":${undefined !== input.ifAspectRatio ? null !== input.ifAspectRatio ? __typia_transform__jsonStringifyString._jsonStringifyString(input.ifAspectRatio) : "null" : undefined},`}${undefined === input.ifLang ? "" : `"ifLang":${undefined !== input.ifLang ? null !== input.ifLang ? __typia_transform__jsonStringifyString._jsonStringifyString(input.ifLang) : "null" : undefined},`}${undefined === input.thenStyle ? "" : `"thenStyle":${undefined !== input.thenStyle ? null !== input.thenStyle ? __typia_transform__jsonStringifyString._jsonStringifyString(input.thenStyle) : "null" : undefined},`}${undefined === input.thenMaxCharactersPerLine ? "" : `"thenMaxCharactersPerLine":${undefined !== input.thenMaxCharactersPerLine ? null !== input.thenMaxCharactersPerLine ? input.thenMaxCharactersPerLine : "null" : undefined}`}`)}}`; const _so43 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.label ? "" : `"label":${undefined !== input.label ? null !== input.label ? __typia_transform__jsonStringifyString._jsonStringifyString(input.label) : "null" : undefined},`}${undefined === input.color ? "" : `"color":${undefined !== input.color ? null !== input.color ? __typia_transform__jsonStringifyString._jsonStringifyString(input.color) : "null" : undefined}`}`)}}`; const _so44 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.label ? "" : `"label":${undefined !== input.label ? __typia_transform__jsonStringifyString._jsonStringifyString(input.label) : undefined},`}${undefined === input.aspectRatio ? "" : `"aspectRatio":${undefined !== input.aspectRatio ? __typia_transform__jsonStringifyString._jsonStringifyString(input.aspectRatio) : undefined}`}`)}}`; const _so45 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.enabled ? "" : `"enabled":${undefined !== input.enabled ? input.enabled : undefined},`}${undefined === input.defaultEnterOption ? "" : `"defaultEnterOption":${undefined !== input.defaultEnterOption ? "\"" + input.defaultEnterOption + "\"" : undefined},`}${undefined === input.defaultExitOption ? "" : `"defaultExitOption":${undefined !== input.defaultExitOption ? "\"" + input.defaultExitOption + "\"" : undefined}`}`)}}`; const _so46 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.subtitleDisclaimer ? "" : `"subtitleDisclaimer":${undefined !== input.subtitleDisclaimer ? _so47(input.subtitleDisclaimer) : undefined}`}`)}}`; const _so47 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.isUserConfigurable ? "" : `"isUserConfigurable":${undefined !== input.isUserConfigurable ? input.isUserConfigurable : undefined},`}${undefined === input.defaultValue ? "" : `"defaultValue":${undefined !== input.defaultValue ? _so48(input.defaultValue) : undefined}`}`)}}`; const _so48 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.enabled ? "" : `"enabled":${undefined !== input.enabled ? input.enabled : undefined},`}${undefined === input.text ? "" : `"text":${undefined !== input.text ? `[${input.text.map(elem => _so49(elem)).join(",")}]` : undefined},`}${undefined === input.offset ? "" : `"offset":${undefined !== input.offset ? input.offset : undefined},`}${undefined === input.duration ? "" : `"duration":${undefined !== input.duration ? input.duration : undefined}`}`)}}`; const _so49 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.language ? "" : `"language":${undefined !== input.language ? __typia_transform__jsonStringifyString._jsonStringifyString(input.language) : undefined},`}${undefined === input.value ? "" : `"value":${undefined !== input.value ? __typia_transform__jsonStringifyString._jsonStringifyString(input.value) : undefined}`}`)}}`; const _so50 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.url ? "" : `"url":${undefined !== input.url ? __typia_transform__jsonStringifyString._jsonStringifyString(input.url) : undefined},`}${undefined === input.command ? "" : `"command":${undefined !== input.command ? __typia_transform__jsonStringifyString._jsonStringifyString(input.command) : undefined},`}${undefined === input.app ? "" : `"app":${undefined !== input.app ? __typia_transform__jsonStringifyString._jsonStringifyString(input.app) : undefined},`}${undefined === input.args ? "" : `"args":${undefined !== input.args ? `[${input.args.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined}`}`)}}`; const _so51 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.microphone ? "" : `"microphone":${undefined !== input.microphone ? _so52(input.microphone) : undefined},`}${undefined === input.webcam ? "" : `"webcam":${undefined !== input.webcam ? _so53(input.webcam) : undefined},`}${undefined === input.countdown ? "" : `"countdown":${undefined !== input.countdown ? input.countdown : undefined}`}`)}}`; const _so52 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.deviceId ? "" : `"deviceId":${undefined !== input.deviceId ? __typia_transform__jsonStringifyString._jsonStringifyString(input.deviceId) : undefined},`}${undefined === input.inputGainDb ? "" : `"inputGainDb":${undefined !== input.inputGainDb ? input.inputGainDb : undefined},`}${undefined === input.monitorInput ? "" : `"monitorInput":${undefined !== input.monitorInput ? input.monitorInput : undefined}`}`)}}`; const _so53 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.deviceId ? "" : `"deviceId":${undefined !== input.deviceId ? __typia_transform__jsonStringifyString._jsonStringifyString(input.deviceId) : undefined},`}${undefined === input.frameRate ? "" : `"frameRate":${undefined !== input.frameRate ? input.frameRate : undefined},`}${undefined === input.aspectRatio ? "" : `"aspectRatio":${undefined !== input.aspectRatio ? input.aspectRatio : undefined}`}`)}}`; const _so54 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.thumbnailView ? "" : `"thumbnailView":${undefined !== input.thumbnailView ? "\"" + input.thumbnailView + "\"" : undefined},`}${undefined === input.audioMapping ? "" : `"audioMapping":${undefined !== input.audioMapping ? _so55(input.audioMapping) : undefined},`}${undefined === input.normalize ? "" : `"normalize":${undefined !== input.normalize ? _so57(input.normalize) : undefined},`}${undefined === input.voiceOver ? "" : `"voiceOver":${undefined !== input.voiceOver ? _so59(input.voiceOver) : undefined}`}`)}}`; const _so55 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.presets ? "" : `"presets":${undefined !== input.presets ? `[${input.presets.map(elem => _so56(elem)).join(",")}]` : undefined}`}`)}}`; const _so56 = input => `{${undefined === input.mapping ? "" : `"mapping":${undefined !== input.mapping ? `[${input.mapping.map(elem => `[${elem.map(elem => elem).join(",")}]`).join(",")}]` : undefined},`}${undefined === input.mute ? "" : `"mute":${undefined !== input.mute ? `[${input.mute.map(elem => elem).join(",")}]` : undefined},`}${undefined === input.minInChannels ? "" : `"minInChannels":${undefined !== input.minInChannels ? input.minInChannels : undefined},`}${undefined === input.maxInChannels ? "" : `"maxInChannels":${undefined !== input.maxInChannels ? input.maxInChannels : undefined},`}${undefined === input.minOutChannels ? "" : `"minOutChannels":${undefined !== input.minOutChannels ? input.minOutChannels : undefined},`}${undefined === input.maxOutChannels ? "" : `"maxOutChannels":${undefined !== input.maxOutChannels ? input.maxOutChannels : undefined},`}"id":${__typia_transform__jsonStringifyString._jsonStringifyString(input.id)},"title":${__typia_transform__jsonStringifyString._jsonStringifyString(input.title)}}`; const _so57 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.presets ? "" : `"presets":${undefined !== input.presets ? `[${input.presets.map(elem => _so58(elem)).join(",")}]` : undefined},`}${undefined === input.defaultPresetId ? "" : `"defaultPresetId":${undefined !== input.defaultPresetId ? __typia_transform__jsonStringifyString._jsonStringifyString(input.defaultPresetId) : undefined}`}`)}}`; const _so58 = input => `{"id":${__typia_transform__jsonStringifyString._jsonStringifyString(input.id)},"title":${__typia_transform__jsonStringifyString._jsonStringifyString(input.title)},"i":${input.i},"tp":${input.tp}}`; const _so59 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.inputDevice ? "" : `"inputDevice":${undefined !== input.inputDevice ? __typia_transform__jsonStringifyString._jsonStringifyString(input.inputDevice) : undefined},`}${undefined === input.inputGainDb ? "" : `"inputGainDb":${undefined !== input.inputGainDb ? input.inputGainDb : undefined},`}${undefined === input.monitorInput ? "" : `"monitorInput":${undefined !== input.monitorInput ? input.monitorInput : undefined},`}${undefined === input.backgroundReductionDb ? "" : `"backgroundReductionDb":${undefined !== input.backgroundReductionDb ? input.backgroundReductionDb : undefined},`}${undefined === input.recordMode ? "" : `"recordMode":${undefined !== input.recordMode ? "\"" + input.recordMode + "\"" : undefined},`}${undefined === input.preRollDuration ? "" : `"preRollDuration":${undefined !== input.preRollDuration ? input.preRollDuration : undefined}`}`)}}`; const _so60 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.title ? "" : `"title":${undefined !== input.title ? __typia_transform__jsonStringifyString._jsonStringifyString(input.title) : undefined},`}${undefined === input.command ? "" : `"command":${undefined !== input.command ? __typia_transform__jsonStringifyString._jsonStringifyString(input.command) : undefined},`}${undefined === input.args ? "" : `"args":${undefined !== input.args ? `[${input.args.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined}`}`)}}`; const _so61 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.folded ? "" : `"folded":${undefined !== input.folded ? _so62(input.folded) : undefined},`}${undefined === input.assets ? "" : `"assets":${undefined !== input.assets ? _so63(input.assets) : undefined},`}${undefined === input.pipeline ? "" : `"pipeline":${undefined !== input.pipeline ? _so67(input.pipeline) : undefined},`}${undefined === input.item ? "" : `"item":${undefined !== input.item ? _so69(input.item) : undefined}`}`)}}`; const _so62 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.auto ? "" : `"auto":${undefined !== input.auto ? input.auto : undefined}`}`)}}`; const _so63 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.story ? "" : `"story":${undefined !== input.story ? _so64(input.story) : undefined},`}${undefined === input.note ? "" : `"note":${undefined !== input.note ? _so66(input.note) : undefined}`}`)}}`; const _so64 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.excerpt ? "" : `"excerpt":${undefined !== input.excerpt ? _so65(input.excerpt) : undefined}`}`)}}`; const _so65 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.maxLines ? "" : `"maxLines":${undefined !== input.maxLines ? input.maxLines : undefined},`}${undefined === input.mode ? "" : `"mode":${undefined !== input.mode ? __typia_transform__jsonStringifyString._jsonStringifyString(input.mode) : undefined},`}${undefined === input.comments ? "" : `"comments":${undefined !== input.comments ? input.comments : undefined}`}`)}}`; const _so66 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.maxHeight ? "" : `"maxHeight":${undefined !== input.maxHeight ? input.maxHeight : undefined}`}`)}}`; const _so67 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.search ? "" : `"search":${undefined !== input.search ? _so68(input.search) : undefined},`}${undefined === input.sortMode ? "" : `"sortMode":${undefined !== input.sortMode ? "\"" + input.sortMode + "\"" : undefined}`}`)}}`; const _so68 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.maxItemsDisplayed ? "" : `"maxItemsDisplayed":${undefined !== input.maxItemsDisplayed ? input.maxItemsDisplayed : undefined}`}`)}}`; const _so69 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.maxHeight ? "" : `"maxHeight":${undefined !== input.maxHeight ? input.maxHeight : undefined},`}${undefined === input.titleLines ? "" : `"titleLines":${undefined !== input.titleLines ? input.titleLines : undefined}`}`)}}`; const _so70 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.fontFamilies ? "" : `"fontFamilies":${undefined !== input.fontFamilies ? `[${input.fontFamilies.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined},`}${undefined === input.presets ? "" : `"presets":${undefined !== input.presets ? `[${input.presets.map(elem => _su0(elem)).join(",")}]` : undefined}`}`)}}`; const _so71 = input => `{${undefined === input.fontFamily ? "" : `"fontFamily":${undefined !== input.fontFamily ? __typia_transform__jsonStringifyString._jsonStringifyString(input.fontFamily) : undefined},`}"type":${"\"" + input.type + "\""},"title":${__typia_transform__jsonStringifyString._jsonStringifyString(input.title)},"horizontalMargin":${input.horizontalMargin},"pageSize":${"\"" + input.pageSize + "\""},"orientation":${"\"" + input.orientation + "\""},"fontSize":${input.fontSize},"hide":${`[${input.hide.map(elem => "\"" + elem + "\"").join(",")}]`}}`; const _so72 = input => `{${undefined === input.rangeStart ? "" : `"rangeStart":${undefined !== input.rangeStart ? input.rangeStart : undefined},`}${undefined === input.rangeEnd ? "" : `"rangeEnd":${undefined !== input.rangeEnd ? input.rangeEnd : undefined},`}${undefined === input.fontFamily ? "" : `"fontFamily":${undefined !== input.fontFamily ? __typia_transform__jsonStringifyString._jsonStringifyString(input.fontFamily) : undefined},`}"type":${"\"" + input.type + "\""},"columns":${`[${input.columns.map(elem => _so73(elem)).join(",")}]`},"hide":${`[${input.hide.map(elem => "\"" + elem + "\"").join(",")}]`},"title":${__typia_transform__jsonStringifyString._jsonStringifyString(input.title)},"horizontalMargin":${input.horizontalMargin},"pageSize":${"\"" + input.pageSize + "\""},"orientation":${"\"" + input.orientation + "\""},"fontSize":${input.fontSize}}`; const _so73 = input => `{"key":${"\"" + input.key + "\""},"label":${__typia_transform__jsonStringifyString._jsonStringifyString(input.label)},"width":${__typia_transform__jsonStringifyString._jsonStringifyString(input.width)},"textAlign":${"\"" + input.textAlign + "\""}}`; const _so74 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.id ? "" : `"id":${undefined !== input.id ? __typia_transform__jsonStringifyString._jsonStringifyString(input.id) : undefined},`}${undefined === input.folded ? "" : `"folded":${undefined !== input.folded ? input.folded : undefined}`}`)}}`; const _so75 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.adobe ? "" : `"adobe":${undefined !== input.adobe ? _so76(input.adobe) : undefined},`}${undefined === input.ograf ? "" : `"ograf":${undefined !== input.ograf ? _so78(input.ograf) : undefined},`}${undefined === input.rive ? "" : `"rive":${undefined !== input.rive ? _so79(input.rive) : undefined}`}`)}}`; const _so76 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.videoBin ? "" : `"videoBin":${undefined !== input.videoBin ? __typia_transform__jsonStringifyString._jsonStringifyString(input.videoBin) : undefined},`}${undefined === input.imageBin ? "" : `"imageBin":${undefined !== input.imageBin ? __typia_transform__jsonStringifyString._jsonStringifyString(input.imageBin) : undefined},`}${undefined === input.audioBin ? "" : `"audioBin":${undefined !== input.audioBin ? __typia_transform__jsonStringifyString._jsonStringifyString(input.audioBin) : undefined},`}${undefined === input.timelineBin ? "" : `"timelineBin":${undefined !== input.timelineBin ? __typia_transform__jsonStringifyString._jsonStringifyString(input.timelineBin) : undefined},`}${undefined === input.clipBin ? "" : `"clipBin":${undefined !== input.clipBin ? __typia_transform__jsonStringifyString._jsonStringifyString(input.clipBin) : undefined},`}${undefined === input.downloadPath ? "" : `"downloadPath":${undefined !== input.downloadPath ? __typia_transform__jsonStringifyString._jsonStringifyString(input.downloadPath) : undefined},`}${undefined === input.renderPath ? "" : `"renderPath":${undefined !== input.renderPath ? __typia_transform__jsonStringifyString._jsonStringifyString(input.renderPath) : undefined},`}${undefined === input.renderPresetPath ? "" : `"renderPresetPath":${undefined !== input.renderPresetPath ? __typia_transform__jsonStringifyString._jsonStringifyString(input.renderPresetPath) : undefined},`}${undefined === input.renderPresets ? "" : `"renderPresets":${undefined !== input.renderPresets ? `[${input.renderPresets.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined},`}${undefined === input.videoRenderPreset ? "" : `"videoRenderPreset":${undefined !== input.videoRenderPreset ? __typia_transform__jsonStringifyString._jsonStringifyString(input.videoRenderPreset) : undefined},`}${undefined === input.imageRenderPreset ? "" : `"imageRenderPreset":${undefined !== input.imageRenderPreset ? __typia_transform__jsonStringifyString._jsonStringifyString(input.imageRenderPreset) : undefined},`}${undefined === input.audioRenderPreset ? "" : `"audioRenderPreset":${undefined !== input.audioRenderPreset ? __typia_transform__jsonStringifyString._jsonStringifyString(input.audioRenderPreset) : undefined},`}${undefined === input.forceRender ? "" : `"forceRender":${undefined !== input.forceRender ? input.forceRender : undefined},`}${undefined === input.useProxies ? "" : `"useProxies":${undefined !== input.useProxies ? input.useProxies : undefined},`}${undefined === input.deleteIntermediateFiles ? "" : `"deleteIntermediateFiles":${undefined !== input.deleteIntermediateFiles ? input.deleteIntermediateFiles : undefined},`}${undefined === input.bodymovin ? "" : `"bodymovin":${undefined !== input.bodymovin ? _so77(input.bodymovin) : undefined}`}`)}}`; const _so77 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.template ? "" : `"template":${undefined !== input.template ? __typia_transform__jsonStringifyString._jsonStringifyString(input.template) : undefined}`}`)}}`; const _so78 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.template ? "" : `"template":${undefined !== input.template ? __typia_transform__jsonStringifyString._jsonStringifyString(input.template) : undefined}`}`)}}`; const _so79 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.template ? "" : `"template":${undefined !== input.template ? __typia_transform__jsonStringifyString._jsonStringifyString(input.template) : undefined}`}`)}}`; const _so80 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.collections ? "" : `"collections":${undefined !== input.collections ? input.collections : undefined},`}${undefined === input.aiMetadata ? "" : `"aiMetadata":${undefined !== input.aiMetadata ? input.aiMetadata : undefined},`}${undefined === input.semanticSearch ? "" : `"semanticSearch":${undefined !== input.semanticSearch ? input.semanticSearch : undefined},`}${undefined === input.ameRemoteRendering ? "" : `"ameRemoteRendering":${undefined !== input.ameRemoteRendering ? input.ameRemoteRendering : undefined}`}`)}}`; const _so81 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.utils ? "" : `"utils":${undefined !== input.utils ? input.utils : undefined},`}${undefined === input.utilsAssetEditor ? "" : `"utilsAssetEditor":${undefined !== input.utilsAssetEditor ? input.utilsAssetEditor : undefined},`}${undefined === input.utilsAssetPanel ? "" : `"utilsAssetPanel":${undefined !== input.utilsAssetPanel ? input.utilsAssetPanel : undefined},`}${undefined === input.history ? "" : `"history":${undefined !== input.history ? input.history : undefined},`}${undefined === input.refs ? "" : `"refs":${undefined !== input.refs ? input.refs : undefined},`}${undefined === input.access ? "" : `"access":${undefined !== input.access ? input.access : undefined},`}${undefined === input.files ? "" : `"files":${undefined !== input.files ? input.files : undefined},`}${undefined === input["export"] ? "" : `"export":${undefined !== input["export"] ? input["export"] : undefined},`}${undefined === input.json ? "" : `"json":${undefined !== input.json ? input.json : undefined},`}${undefined === input.hlsjs ? "" : `"hlsjs":${undefined !== input.hlsjs ? input.hlsjs : undefined},`}${undefined === input.resetRenders ? "" : `"resetRenders":${undefined !== input.resetRenders ? input.resetRenders : undefined},`}${undefined === input.resetReplicas ? "" : `"resetReplicas":${undefined !== input.resetReplicas ? input.resetReplicas : undefined},`}${undefined === input.assetStatus ? "" : `"assetStatus":${undefined !== input.assetStatus ? input.assetStatus : undefined},`}${undefined === input.consolidateMedia ? "" : `"consolidateMedia":${undefined !== input.consolidateMedia ? input.consolidateMedia : undefined},`}${undefined === input.hideInAssetMenu ? "" : `"hideInAssetMenu":${undefined !== input.hideInAssetMenu ? input.hideInAssetMenu : undefined},`}${undefined === input.assetRoute ? "" : `"assetRoute":${undefined !== input.assetRoute ? input.assetRoute : undefined},`}${undefined === input.devWarnings ? "" : `"devWarnings":${undefined !== input.devWarnings ? input.devWarnings : undefined},`}${undefined === input.downloadFiles ? "" : `"downloadFiles":${undefined !== input.downloadFiles ? input.downloadFiles : undefined},`}${undefined === input.supportPortal ? "" : `"supportPortal":${undefined !== input.supportPortal ? input.supportPortal : undefined},`}${undefined === input.multiplexWebSockets ? "" : `"multiplexWebSockets":${undefined !== input.multiplexWebSockets ? input.multiplexWebSockets : undefined},`}${undefined === input.systemHealth ? "" : `"systemHealth":${undefined !== input.systemHealth ? input.systemHealth : undefined},`}${undefined === input.systemHealthIgnore ? "" : `"systemHealthIgnore":${undefined !== input.systemHealthIgnore ? input.systemHealthIgnore : undefined}`}`)}}`; const _so82 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.events ? "" : `"events":${undefined !== input.events ? _so83(input.events) : undefined}`}`)}}`; const _so83 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.comment ? "" : `"comment":${undefined !== input.comment ? `[${input.comment.map(elem => "\"" + elem + "\"").join(",")}]` : undefined},`}${undefined === input.assigned ? "" : `"assigned":${undefined !== input.assigned ? `[${input.assigned.map(elem => "\"" + elem + "\"").join(",")}]` : undefined},`}${undefined === input.unassigned ? "" : `"unassigned":${undefined !== input.unassigned ? `[${input.unassigned.map(elem => "\"" + elem + "\"").join(",")}]` : undefined},`}${undefined === input.publishSucceeded ? "" : `"publishSucceeded":${undefined !== input.publishSucceeded ? _so84(input.publishSucceeded) : undefined}`}`)}}`; const _so84 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
3346
|
+
return ""; return `${JSON.stringify(key)}:${`[${value.map(elem => "\"" + elem + "\"").join(",")}]`}`; }).filter(str => "" !== str).join(",")}}`; const _so85 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.create ? "" : `"create":${undefined !== input.create ? _so86(input.create) : undefined},`}${undefined === input.duplicate ? "" : `"duplicate":${undefined !== input.duplicate ? _so87(input.duplicate) : undefined}`}`)}}`; const _so86 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.titlePrefix ? "" : `"titlePrefix":${undefined !== input.titlePrefix ? __typia_transform__jsonStringifyString._jsonStringifyString(input.titlePrefix) : undefined},`}${undefined === input.titleSuffix ? "" : `"titleSuffix":${undefined !== input.titleSuffix ? __typia_transform__jsonStringifyString._jsonStringifyString(input.titleSuffix) : undefined}`}`)}}`; const _so87 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.titlePrefix ? "" : `"titlePrefix":${undefined !== input.titlePrefix ? __typia_transform__jsonStringifyString._jsonStringifyString(input.titlePrefix) : undefined},`}${undefined === input.titleSuffix ? "" : `"titleSuffix":${undefined !== input.titleSuffix ? __typia_transform__jsonStringifyString._jsonStringifyString(input.titleSuffix) : undefined}`}`)}}`; const _so88 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.stateFilter ? "" : `"stateFilter":${undefined !== input.stateFilter ? `[${input.stateFilter.map(elem => elem).join(",")}]` : undefined},`}${undefined === input.textFilter ? "" : `"textFilter":${undefined !== input.textFilter ? __typia_transform__jsonStringifyString._jsonStringifyString(input.textFilter) : undefined},`}${undefined === input.showEmpty ? "" : `"showEmpty":${undefined !== input.showEmpty ? input.showEmpty : undefined},`}${undefined === input.selectedRecord ? "" : `"selectedRecord":${undefined !== input.selectedRecord ? __typia_transform__jsonStringifyString._jsonStringifyString(input.selectedRecord) : undefined},`}${undefined === input.subscribeSearchHits ? "" : `"subscribeSearchHits":${undefined !== input.subscribeSearchHits ? input.subscribeSearchHits : undefined},`}${undefined === input.parseRegex ? "" : `"parseRegex":${undefined !== input.parseRegex ? input.parseRegex : undefined}`}`)}}`; const _so89 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.disableHotArea ? "" : `"disableHotArea":${undefined !== input.disableHotArea ? input.disableHotArea : undefined}`}`)}}`; const _so90 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.refreshInterval ? "" : `"refreshInterval":${undefined !== input.refreshInterval ? input.refreshInterval : undefined}`}`)}}`; const _so91 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.layout ? "" : `"layout":${undefined !== input.layout ? __typia_transform__jsonStringifyString._jsonStringifyString(input.layout) : undefined}`}`)}}`; const _so92 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.ignoredWarnings ? "" : `"ignoredWarnings":${undefined !== input.ignoredWarnings ? `[${input.ignoredWarnings.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined},`}${undefined === input.ignoredErrors ? "" : `"ignoredErrors":${undefined !== input.ignoredErrors ? `[${input.ignoredErrors.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined}`}`)}}`; const _so93 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.enableUpdate ? "" : `"enableUpdate":${undefined !== input.enableUpdate ? input.enableUpdate : undefined},`}${undefined === input.autoUpdate ? "" : `"autoUpdate":${undefined !== input.autoUpdate ? input.autoUpdate : undefined}`}`)}}`; const _su0 = input => (() => {
|
|
3347
|
+
if ("script" === input.type)
|
|
3348
|
+
return _so71(input);
|
|
3349
|
+
else if ("rundown" === input.type)
|
|
3350
|
+
return _so72(input);
|
|
3351
|
+
else
|
|
3352
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
3353
|
+
method: "typia.json.stringify",
|
|
3354
|
+
expected: "(PrintScriptOptions | PrintRundownOptions)",
|
|
3355
|
+
value: input
|
|
3356
|
+
});
|
|
3357
|
+
})(); const _io1 = input => (undefined === input.overrideUserContact || "boolean" === typeof input.overrideUserContact) && (undefined === input.overrideUserLogin || "boolean" === typeof input.overrideUserLogin); const _io2 = input => (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height); const _io3 = input => undefined === input.domain || "string" === typeof input.domain; const _io4 = input => undefined === input.domain || "string" === typeof input.domain; const _io5 = input => (undefined === input.editor || "string" === typeof input.editor) && (undefined === input.tabs || "object" === typeof input.tabs && null !== input.tabs && false === Array.isArray(input.tabs) && _io6(input.tabs)); const _io6 = input => (undefined === input.settingsPanelStore || "object" === typeof input.settingsPanelStore && null !== input.settingsPanelStore && false === Array.isArray(input.settingsPanelStore) && _io7(input.settingsPanelStore)) && Object.keys(input).every(key => {
|
|
3310
3358
|
if (["settingsPanelStore"].some(prop => key === prop))
|
|
3311
3359
|
return true;
|
|
3312
3360
|
const value = input[key];
|
|
3313
3361
|
if (undefined === value)
|
|
3314
3362
|
return true;
|
|
3315
3363
|
return undefined === value || "object" === typeof value && null !== value && false === Array.isArray(value) && _io8(value);
|
|
3316
|
-
}); const _io7 = input => (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex) && (null === input.activeTab || undefined === input.activeTab || "string" === typeof input.activeTab) && (undefined === input.priority || "number" === typeof input.priority) && (null === input.height || undefined === input.height || "number" === typeof input.height); const _io8 = input => (null === input.activeTab || undefined === input.activeTab || "string" === typeof input.activeTab) && (undefined === input.priority || "number" === typeof input.priority) && (null === input.height || undefined === input.height || "number" === typeof input.height); const _io9 = input => (undefined === input.defaultGrouping || "" === input.defaultGrouping || "collection" === input.defaultGrouping || "stitch" === input.defaultGrouping) && (undefined === input.hideStoryboardCollection || "boolean" === typeof input.hideStoryboardCollection) && (undefined === input.displayUploadFilesDialog || "always" === input.displayUploadFilesDialog || "never" === input.displayUploadFilesDialog || "ifMultipleFiles" === input.displayUploadFilesDialog); const _io10 = input => (undefined === input.displaySaveDialog || "boolean" === typeof input.displaySaveDialog) && (undefined === input.batchDownloadDialogMode || "file" === input.batchDownloadDialogMode || "directory" === input.batchDownloadDialogMode); const _io11 = input => (undefined === input.map || "object" === typeof input.map && null !== input.map && false === Array.isArray(input.map) && _io12(input.map)) && (undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && _io13(input.createMenu)); const _io12 = input => (undefined === input.clustering || "boolean" === typeof input.clustering) && (undefined === input.zoom || "number" === typeof input.zoom) && (undefined === input.center || Array.isArray(input.center) && (input.center.length === 2 && "number" === typeof input.center[0] && "number" === typeof input.center[1])); const _io13 = input => undefined === input.sortOrder || Array.isArray(input.sortOrder) && input.sortOrder.every(elem => "string" === typeof elem); const _io14 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)); const _io15 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)); const _io16 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)); const _io17 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)); const _io18 = input => (undefined === input.enable || "boolean" === typeof input.enable) && (undefined === input.show24Hours || "boolean" === typeof input.show24Hours) && (undefined === input.showAmPm || "boolean" === typeof input.showAmPm) && (undefined === input.showSeconds || "boolean" === typeof input.showSeconds) && (undefined === input.showDayOfWeek || "boolean" === typeof input.showDayOfWeek) && (undefined === input.showDate || "boolean" === typeof input.showDate) && (undefined === input.format || "string" === typeof input.format); const _io19 = input => (undefined === input.color || "string" === typeof input.color) && (undefined === input.name || "string" === typeof input.name); const _io20 = input => (undefined === input.maxMru || "number" === typeof input.maxMru) && (undefined === input.maxTabs || "number" === typeof input.maxTabs) && (undefined === input.layout || "object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) && _io21(input.layout)); const _io21 = input => (undefined === input.bookmarks || "number" === typeof input.bookmarks) && (undefined === input.browser || "number" === typeof input.browser); const _io22 = input => (undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && _io23(input.createMenu)) && (undefined === input.colorTags || Array.isArray(input.colorTags) && input.colorTags.every(elem => "object" === typeof elem && null !== elem && _io24(elem))) && (undefined === input.readType || "characters" === input.readType || "words" === input.readType || "wordsPerMinute" === input.readType) && (undefined === input.readRate || "number" === typeof input.readRate) && (undefined === input.collapsedNodes || "object" === typeof input.collapsedNodes && null !== input.collapsedNodes && false === Array.isArray(input.collapsedNodes) && _io25(input.collapsedNodes)) && (undefined === input.colorHistory || Array.isArray(input.colorHistory) && input.colorHistory.every(elem => "object" === typeof elem && null !== elem && _io27(elem))); const _io23 = input => (undefined === input.sortBy || "
|
|
3364
|
+
}); const _io7 = input => (undefined === input.activeSectionIndex || "number" === typeof input.activeSectionIndex) && (null === input.activeTab || undefined === input.activeTab || "string" === typeof input.activeTab) && (undefined === input.priority || "number" === typeof input.priority) && (null === input.height || undefined === input.height || "number" === typeof input.height); const _io8 = input => (null === input.activeTab || undefined === input.activeTab || "string" === typeof input.activeTab) && (undefined === input.priority || "number" === typeof input.priority) && (null === input.height || undefined === input.height || "number" === typeof input.height); const _io9 = input => (undefined === input.defaultGrouping || "" === input.defaultGrouping || "collection" === input.defaultGrouping || "stitch" === input.defaultGrouping) && (undefined === input.hideStoryboardCollection || "boolean" === typeof input.hideStoryboardCollection) && (undefined === input.displayUploadFilesDialog || "always" === input.displayUploadFilesDialog || "never" === input.displayUploadFilesDialog || "ifMultipleFiles" === input.displayUploadFilesDialog); const _io10 = input => (undefined === input.displaySaveDialog || "boolean" === typeof input.displaySaveDialog) && (undefined === input.batchDownloadDialogMode || "file" === input.batchDownloadDialogMode || "directory" === input.batchDownloadDialogMode); const _io11 = input => (undefined === input.map || "object" === typeof input.map && null !== input.map && false === Array.isArray(input.map) && _io12(input.map)) && (undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && _io13(input.createMenu)); const _io12 = input => (undefined === input.clustering || "boolean" === typeof input.clustering) && (undefined === input.zoom || "number" === typeof input.zoom) && (undefined === input.center || Array.isArray(input.center) && (input.center.length === 2 && "number" === typeof input.center[0] && "number" === typeof input.center[1])); const _io13 = input => undefined === input.sortOrder || Array.isArray(input.sortOrder) && input.sortOrder.every(elem => "string" === typeof elem); const _io14 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)); const _io15 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)); const _io16 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)); const _io17 = input => (undefined === input.include || Array.isArray(input.include) && input.include.every(elem => "string" === typeof elem)) && (undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(elem => "string" === typeof elem)); const _io18 = input => (undefined === input.enable || "boolean" === typeof input.enable) && (undefined === input.show24Hours || "boolean" === typeof input.show24Hours) && (undefined === input.showAmPm || "boolean" === typeof input.showAmPm) && (undefined === input.showSeconds || "boolean" === typeof input.showSeconds) && (undefined === input.showDayOfWeek || "boolean" === typeof input.showDayOfWeek) && (undefined === input.showDate || "boolean" === typeof input.showDate) && (undefined === input.format || "string" === typeof input.format); const _io19 = input => (undefined === input.color || "string" === typeof input.color) && (undefined === input.name || "string" === typeof input.name); const _io20 = input => (undefined === input.maxMru || "number" === typeof input.maxMru) && (undefined === input.maxTabs || "number" === typeof input.maxTabs) && (undefined === input.layout || "object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) && _io21(input.layout)); const _io21 = input => (undefined === input.bookmarks || "number" === typeof input.bookmarks) && (undefined === input.browser || "number" === typeof input.browser); const _io22 = input => (undefined === input.createMenu || "object" === typeof input.createMenu && null !== input.createMenu && false === Array.isArray(input.createMenu) && _io23(input.createMenu)) && (undefined === input.contentMaxWidth || "number" === typeof input.contentMaxWidth) && (undefined === input.colorTags || Array.isArray(input.colorTags) && input.colorTags.every(elem => "object" === typeof elem && null !== elem && _io24(elem))) && (undefined === input.readType || "characters" === input.readType || "words" === input.readType || "wordsPerMinute" === input.readType) && (undefined === input.readRate || "number" === typeof input.readRate) && (undefined === input.collapsedNodes || "object" === typeof input.collapsedNodes && null !== input.collapsedNodes && false === Array.isArray(input.collapsedNodes) && _io25(input.collapsedNodes)) && (undefined === input.colorHistory || Array.isArray(input.colorHistory) && input.colorHistory.every(elem => "object" === typeof elem && null !== elem && _io27(elem))); const _io23 = input => (undefined === input.sortBy || "title" === input.sortBy || "index" === input.sortBy) && (undefined === input.showPreview || "boolean" === typeof input.showPreview); const _io24 = input => (null === input.name || "string" === typeof input.name) && (null === input.icon || "string" === typeof input.icon) && (null === input.color || "string" === typeof input.color) && (null === input.description || "string" === typeof input.description); const _io25 = input => Object.keys(input).every(key => {
|
|
3317
3365
|
const value = input[key];
|
|
3318
3366
|
if (undefined === value)
|
|
3319
3367
|
return true;
|
|
@@ -3338,12 +3386,19 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
3338
3386
|
if (undefined === value)
|
|
3339
3387
|
return true;
|
|
3340
3388
|
return true;
|
|
3341
|
-
}); const _io37 = input => (undefined === input.volume || "number" === typeof input.volume) && (undefined === input.muted || "boolean" === typeof input.muted) && (undefined === input.graphics || "boolean" === typeof input.graphics) && (undefined === input.waveform || "boolean" === typeof input.waveform) && (undefined === input.defaultFrameRate || "number" === typeof input.defaultFrameRate) && (undefined === input.dropFrame || "boolean" === typeof input.dropFrame) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.warnSubclipDuration || "number" === typeof input.warnSubclipDuration) && (undefined === input.displayAspectRatioPresets || Array.isArray(input.displayAspectRatioPresets) && input.displayAspectRatioPresets.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io38(elem))) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && _io39(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && _io40(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && _io41(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io44(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && _io45(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io46(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && _io50(input.openCommand))) && (undefined === input.recorder || "object" === typeof input.recorder && null !== input.recorder && false === Array.isArray(input.recorder) && _io51(input.recorder)); const _io38 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.value || "string" === typeof input.value); const _io39 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe); const _io40 = input => (undefined === input.preview || "disabled" === input.preview || "play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "boolean" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress); const _io41 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine) && (undefined === input.suggestions || Array.isArray(input.suggestions) && input.suggestions.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io42(elem))) && (undefined === input.colors || Array.isArray(input.colors) && input.colors.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io43(elem))) && (undefined === input.overridableProperties || Array.isArray(input.overridableProperties) && input.overridableProperties.every(elem => null === elem || true === _iv29.has(elem))) && (undefined === input.previewResolutionScale || "number" === typeof input.previewResolutionScale); const _io42 = input => (null === input.ifAspectRatio || undefined === input.ifAspectRatio || "string" === typeof input.ifAspectRatio) && (null === input.ifLang || undefined === input.ifLang || "string" === typeof input.ifLang) && (null === input.thenStyle || undefined === input.thenStyle || "string" === typeof input.thenStyle) && (null === input.thenMaxCharactersPerLine || undefined === input.thenMaxCharactersPerLine || "number" === typeof input.thenMaxCharactersPerLine); const _io43 = input => (null === input.label || undefined === input.label || "string" === typeof input.label) && (null === input.color || undefined === input.color || "string" === typeof input.color); const _io44 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.aspectRatio || "string" === typeof input.aspectRatio); const _io45 = input => (undefined === input.enabled || "boolean" === typeof input.enabled) && (undefined === input.defaultEnterOption || "edit" === input.defaultEnterOption || "createNew" === input.defaultEnterOption || "none" === input.defaultEnterOption) && (undefined === input.defaultExitOption || "none" === input.defaultExitOption || "update" === input.defaultExitOption || "leave" === input.defaultExitOption); const _io46 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && _io47(input.subtitleDisclaimer); const _io47 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && _io48(input.defaultValue)); const _io48 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io49(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration); const _io49 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.value || "string" === typeof input.value); const _io50 = input => (undefined === input.url || "string" === typeof input.url) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.app || "string" === typeof input.app) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem)); const _io51 = input => (undefined === input.microphone || "object" === typeof input.microphone && null !== input.microphone && false === Array.isArray(input.microphone) && _io52(input.microphone)) && (undefined === input.webcam || "object" === typeof input.webcam && null !== input.webcam && false === Array.isArray(input.webcam) && _io53(input.webcam)) && (undefined === input.countdown || "number" === typeof input.countdown); const _io52 = input => (undefined === input.deviceId || "string" === typeof input.deviceId) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.monitorInput || "boolean" === typeof input.monitorInput); const _io53 = input => (undefined === input.deviceId || "string" === typeof input.deviceId) && (undefined === input.frameRate || "number" === typeof input.frameRate) && (undefined === input.aspectRatio || "number" === typeof input.aspectRatio); const _io54 = input => (undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView) && (undefined === input.audioMapping || "object" === typeof input.audioMapping && null !== input.audioMapping && false === Array.isArray(input.audioMapping) && _io55(input.audioMapping)) && (undefined === input.normalize || "object" === typeof input.normalize && null !== input.normalize && false === Array.isArray(input.normalize) && _io57(input.normalize)) && (undefined === input.voiceOver || "object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) && _io59(input.voiceOver)); const _io55 = input => undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _io56(elem)); const _io56 = input => "string" === typeof input.id && "string" === typeof input.title && (undefined === input.mapping || Array.isArray(input.mapping) && input.mapping.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem))) && (undefined === input.mute || Array.isArray(input.mute) && input.mute.every(elem => "boolean" === typeof elem)) && (undefined === input.minInChannels || "number" === typeof input.minInChannels) && (undefined === input.maxInChannels || "number" === typeof input.maxInChannels) && (undefined === input.minOutChannels || "number" === typeof input.minOutChannels) && (undefined === input.maxOutChannels || "number" === typeof input.maxOutChannels); const _io57 = input => (undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _io58(elem))) && (undefined === input.defaultPresetId || "string" === typeof input.defaultPresetId); const _io58 = input => "string" === typeof input.id && "string" === typeof input.title && "number" === typeof input.i && "number" === typeof input.tp; const _io59 = input => (undefined === input.inputDevice || "string" === typeof input.inputDevice) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.monitorInput || "boolean" === typeof input.monitorInput) && (undefined === input.backgroundReductionDb || "number" === typeof input.backgroundReductionDb) && (undefined === input.recordMode || "instant" === input.recordMode || "punchAndRoll" === input.recordMode) && (undefined === input.preRollDuration || "number" === typeof input.preRollDuration); const _io60 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem)); const _io61 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && _io62(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && _io63(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && _io67(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && _io69(input.item)); const _io62 = input => undefined === input.auto || "boolean" === typeof input.auto; const _io63 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && _io64(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && _io66(input.note)); const _io64 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && _io65(input.excerpt); const _io65 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode) && (undefined === input.comments || "boolean" === typeof input.comments); const _io66 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight; const _io67 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && _io68(input.search)) && (undefined === input.sortMode || true === _iv38.has(input.sortMode)); const _io68 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed; const _io69 = input => (undefined === input.maxHeight || "number" === typeof input.maxHeight) && (undefined === input.titleLines || "number" === typeof input.titleLines); const _io70 = input => undefined === input.fontFamilies || Array.isArray(input.fontFamilies) && input.fontFamilies.every(elem => "string" === typeof elem); const _io71 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.folded || "boolean" === typeof input.folded); const _io72 = input => (undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && _io73(input.adobe)) && (undefined === input.rive || "object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) && _io75(input.rive)); const _io73 = input => (undefined === input.videoBin || "string" === typeof input.videoBin) && (undefined === input.imageBin || "string" === typeof input.imageBin) && (undefined === input.audioBin || "string" === typeof input.audioBin) && (undefined === input.timelineBin || "string" === typeof input.timelineBin) && (undefined === input.clipBin || "string" === typeof input.clipBin) && (undefined === input.downloadPath || "string" === typeof input.downloadPath) && (undefined === input.renderPath || "string" === typeof input.renderPath) && (undefined === input.renderPresetPath || "string" === typeof input.renderPresetPath) && (undefined === input.videoRenderPreset || "string" === typeof input.videoRenderPreset) && (undefined === input.imageRenderPreset || "string" === typeof input.imageRenderPreset) && (undefined === input.audioRenderPreset || "string" === typeof input.audioRenderPreset) && (undefined === input.forceRender || "boolean" === typeof input.forceRender) && (undefined === input.useProxies || "boolean" === typeof input.useProxies) && (undefined === input.deleteIntermediateFiles || "boolean" === typeof input.deleteIntermediateFiles) && (undefined === input.bodymovin || "object" === typeof input.bodymovin && null !== input.bodymovin && false === Array.isArray(input.bodymovin) && _io74(input.bodymovin)); const _io74 = input => undefined === input.template || "string" === typeof input.template; const _io75 = input => undefined === input.template || "string" === typeof input.template; const _io76 = input => (undefined === input.collections || "boolean" === typeof input.collections) && (undefined === input.aiMetadata || "boolean" === typeof input.aiMetadata) && (undefined === input.semanticSearch || "boolean" === typeof input.semanticSearch) && (undefined === input.ameRemoteRendering || "boolean" === typeof input.ameRemoteRendering); const _io77 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.utilsAssetEditor || "boolean" === typeof input.utilsAssetEditor) && (undefined === input.utilsAssetPanel || "boolean" === typeof input.utilsAssetPanel) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute) && (undefined === input.devWarnings || "boolean" === typeof input.devWarnings) && (undefined === input.downloadFiles || "boolean" === typeof input.downloadFiles) && (undefined === input.supportPortal || "boolean" === typeof input.supportPortal) && (undefined === input.multiplexWebSockets || "boolean" === typeof input.multiplexWebSockets) && (undefined === input.systemHealth || "boolean" === typeof input.systemHealth) && (undefined === input.systemHealthIgnore || "boolean" === typeof input.systemHealthIgnore); const _io78 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io79(input.events); const _io79 = input => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.publishSucceeded || "object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && _io80(input.publishSucceeded)); const _io80 = input => Object.keys(input).every(key => {
|
|
3389
|
+
}); const _io37 = input => (undefined === input.volume || "number" === typeof input.volume) && (undefined === input.muted || "boolean" === typeof input.muted) && (undefined === input.graphics || "boolean" === typeof input.graphics) && (undefined === input.waveform || "boolean" === typeof input.waveform) && (undefined === input.defaultFrameRate || "number" === typeof input.defaultFrameRate) && (undefined === input.dropFrame || "boolean" === typeof input.dropFrame) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.warnSubclipDuration || "number" === typeof input.warnSubclipDuration) && (undefined === input.displayAspectRatioPresets || Array.isArray(input.displayAspectRatioPresets) && input.displayAspectRatioPresets.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io38(elem))) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && _io39(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && _io40(input.tile)) && (undefined === input.timecodeReference || "string" === typeof input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && _io41(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io44(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && _io45(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io46(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && _io50(input.openCommand))) && (undefined === input.recorder || "object" === typeof input.recorder && null !== input.recorder && false === Array.isArray(input.recorder) && _io51(input.recorder)); const _io38 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.value || "string" === typeof input.value); const _io39 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe); const _io40 = input => (undefined === input.preview || "disabled" === input.preview || "play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "boolean" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress); const _io41 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine) && (undefined === input.suggestions || Array.isArray(input.suggestions) && input.suggestions.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io42(elem))) && (undefined === input.colors || Array.isArray(input.colors) && input.colors.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io43(elem))) && (undefined === input.overridableProperties || Array.isArray(input.overridableProperties) && input.overridableProperties.every(elem => null === elem || true === _iv29.has(elem))) && (undefined === input.previewResolutionScale || "number" === typeof input.previewResolutionScale); const _io42 = input => (null === input.ifAspectRatio || undefined === input.ifAspectRatio || "string" === typeof input.ifAspectRatio) && (null === input.ifLang || undefined === input.ifLang || "string" === typeof input.ifLang) && (null === input.thenStyle || undefined === input.thenStyle || "string" === typeof input.thenStyle) && (null === input.thenMaxCharactersPerLine || undefined === input.thenMaxCharactersPerLine || "number" === typeof input.thenMaxCharactersPerLine); const _io43 = input => (null === input.label || undefined === input.label || "string" === typeof input.label) && (null === input.color || undefined === input.color || "string" === typeof input.color); const _io44 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.aspectRatio || "string" === typeof input.aspectRatio); const _io45 = input => (undefined === input.enabled || "boolean" === typeof input.enabled) && (undefined === input.defaultEnterOption || "edit" === input.defaultEnterOption || "createNew" === input.defaultEnterOption || "none" === input.defaultEnterOption) && (undefined === input.defaultExitOption || "none" === input.defaultExitOption || "update" === input.defaultExitOption || "leave" === input.defaultExitOption); const _io46 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && _io47(input.subtitleDisclaimer); const _io47 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && _io48(input.defaultValue)); const _io48 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io49(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration); const _io49 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.value || "string" === typeof input.value); const _io50 = input => (undefined === input.url || "string" === typeof input.url) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.app || "string" === typeof input.app) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem)); const _io51 = input => (undefined === input.microphone || "object" === typeof input.microphone && null !== input.microphone && false === Array.isArray(input.microphone) && _io52(input.microphone)) && (undefined === input.webcam || "object" === typeof input.webcam && null !== input.webcam && false === Array.isArray(input.webcam) && _io53(input.webcam)) && (undefined === input.countdown || "number" === typeof input.countdown); const _io52 = input => (undefined === input.deviceId || "string" === typeof input.deviceId) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.monitorInput || "boolean" === typeof input.monitorInput); const _io53 = input => (undefined === input.deviceId || "string" === typeof input.deviceId) && (undefined === input.frameRate || "number" === typeof input.frameRate) && (undefined === input.aspectRatio || "number" === typeof input.aspectRatio); const _io54 = input => (undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView) && (undefined === input.audioMapping || "object" === typeof input.audioMapping && null !== input.audioMapping && false === Array.isArray(input.audioMapping) && _io55(input.audioMapping)) && (undefined === input.normalize || "object" === typeof input.normalize && null !== input.normalize && false === Array.isArray(input.normalize) && _io57(input.normalize)) && (undefined === input.voiceOver || "object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) && _io59(input.voiceOver)); const _io55 = input => undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _io56(elem)); const _io56 = input => "string" === typeof input.id && "string" === typeof input.title && (undefined === input.mapping || Array.isArray(input.mapping) && input.mapping.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem))) && (undefined === input.mute || Array.isArray(input.mute) && input.mute.every(elem => "boolean" === typeof elem)) && (undefined === input.minInChannels || "number" === typeof input.minInChannels) && (undefined === input.maxInChannels || "number" === typeof input.maxInChannels) && (undefined === input.minOutChannels || "number" === typeof input.minOutChannels) && (undefined === input.maxOutChannels || "number" === typeof input.maxOutChannels); const _io57 = input => (undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _io58(elem))) && (undefined === input.defaultPresetId || "string" === typeof input.defaultPresetId); const _io58 = input => "string" === typeof input.id && "string" === typeof input.title && "number" === typeof input.i && "number" === typeof input.tp; const _io59 = input => (undefined === input.inputDevice || "string" === typeof input.inputDevice) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.monitorInput || "boolean" === typeof input.monitorInput) && (undefined === input.backgroundReductionDb || "number" === typeof input.backgroundReductionDb) && (undefined === input.recordMode || "instant" === input.recordMode || "punchAndRoll" === input.recordMode) && (undefined === input.preRollDuration || "number" === typeof input.preRollDuration); const _io60 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem)); const _io61 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && _io62(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && _io63(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && _io67(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && _io69(input.item)); const _io62 = input => undefined === input.auto || "boolean" === typeof input.auto; const _io63 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && _io64(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && _io66(input.note)); const _io64 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && _io65(input.excerpt); const _io65 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode) && (undefined === input.comments || "boolean" === typeof input.comments); const _io66 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight; const _io67 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && _io68(input.search)) && (undefined === input.sortMode || true === _iv38.has(input.sortMode)); const _io68 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed; const _io69 = input => (undefined === input.maxHeight || "number" === typeof input.maxHeight) && (undefined === input.titleLines || "number" === typeof input.titleLines); const _io70 = input => (undefined === input.fontFamilies || Array.isArray(input.fontFamilies) && input.fontFamilies.every(elem => "string" === typeof elem)) && (undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _iu0(elem))); const _io71 = input => "script" === input.type && "string" === typeof input.title && "number" === typeof input.horizontalMargin && ("A5" === input.pageSize || "A4" === input.pageSize || "A3" === input.pageSize) && ("landscape" === input.orientation || "portrait" === input.orientation) && "number" === typeof input.fontSize && (undefined === input.fontFamily || "string" === typeof input.fontFamily) && (Array.isArray(input.hide) && input.hide.every(elem => "event" === elem || "event-data" === elem || "comment" === elem || "heading" === elem || "list" === elem || "quote" === elem || "paragraph" === elem || "horizontalrule" === elem)); const _io72 = input => "rundown" === input.type && (Array.isArray(input.columns) && input.columns.every(elem => "object" === typeof elem && null !== elem && _io73(elem))) && (undefined === input.rangeStart || "number" === typeof input.rangeStart) && (undefined === input.rangeEnd || "number" === typeof input.rangeEnd) && (Array.isArray(input.hide) && input.hide.every(elem => "event" === elem || "comment" === elem || "heading" === elem || "list" === elem || "quote" === elem || "paragraph" === elem || "horizontalrule" === elem)) && "string" === typeof input.title && "number" === typeof input.horizontalMargin && ("A5" === input.pageSize || "A4" === input.pageSize || "A3" === input.pageSize) && ("landscape" === input.orientation || "portrait" === input.orientation) && "number" === typeof input.fontSize && (undefined === input.fontFamily || "string" === typeof input.fontFamily); const _io73 = input => ("type" === input.key || "id" === input.key || "title" === input.key || "time" === input.key || "duration" === input.key || "position" === input.key || "accDuration" === input.key) && "string" === typeof input.label && "string" === typeof input.width && ("right" === input.textAlign || "left" === input.textAlign || "center" === input.textAlign); const _io74 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.folded || "boolean" === typeof input.folded); const _io75 = input => (undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && _io76(input.adobe)) && (undefined === input.ograf || "object" === typeof input.ograf && null !== input.ograf && false === Array.isArray(input.ograf) && _io78(input.ograf)) && (undefined === input.rive || "object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) && _io79(input.rive)); const _io76 = input => (undefined === input.videoBin || "string" === typeof input.videoBin) && (undefined === input.imageBin || "string" === typeof input.imageBin) && (undefined === input.audioBin || "string" === typeof input.audioBin) && (undefined === input.timelineBin || "string" === typeof input.timelineBin) && (undefined === input.clipBin || "string" === typeof input.clipBin) && (undefined === input.downloadPath || "string" === typeof input.downloadPath) && (undefined === input.renderPath || "string" === typeof input.renderPath) && (undefined === input.renderPresetPath || "string" === typeof input.renderPresetPath) && (undefined === input.renderPresets || Array.isArray(input.renderPresets) && input.renderPresets.every(elem => "string" === typeof elem)) && (undefined === input.videoRenderPreset || "string" === typeof input.videoRenderPreset) && (undefined === input.imageRenderPreset || "string" === typeof input.imageRenderPreset) && (undefined === input.audioRenderPreset || "string" === typeof input.audioRenderPreset) && (undefined === input.forceRender || "boolean" === typeof input.forceRender) && (undefined === input.useProxies || "boolean" === typeof input.useProxies) && (undefined === input.deleteIntermediateFiles || "boolean" === typeof input.deleteIntermediateFiles) && (undefined === input.bodymovin || "object" === typeof input.bodymovin && null !== input.bodymovin && false === Array.isArray(input.bodymovin) && _io77(input.bodymovin)); const _io77 = input => undefined === input.template || "string" === typeof input.template; const _io78 = input => undefined === input.template || "string" === typeof input.template; const _io79 = input => undefined === input.template || "string" === typeof input.template; const _io80 = input => (undefined === input.collections || "boolean" === typeof input.collections) && (undefined === input.aiMetadata || "boolean" === typeof input.aiMetadata) && (undefined === input.semanticSearch || "boolean" === typeof input.semanticSearch) && (undefined === input.ameRemoteRendering || "boolean" === typeof input.ameRemoteRendering); const _io81 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.utilsAssetEditor || "boolean" === typeof input.utilsAssetEditor) && (undefined === input.utilsAssetPanel || "boolean" === typeof input.utilsAssetPanel) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute) && (undefined === input.devWarnings || "boolean" === typeof input.devWarnings) && (undefined === input.downloadFiles || "boolean" === typeof input.downloadFiles) && (undefined === input.supportPortal || "boolean" === typeof input.supportPortal) && (undefined === input.multiplexWebSockets || "boolean" === typeof input.multiplexWebSockets) && (undefined === input.systemHealth || "boolean" === typeof input.systemHealth) && (undefined === input.systemHealthIgnore || "boolean" === typeof input.systemHealthIgnore); const _io82 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io83(input.events); const _io83 = input => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem)) && (undefined === input.publishSucceeded || "object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && _io84(input.publishSucceeded)); const _io84 = input => Object.keys(input).every(key => {
|
|
3342
3390
|
const value = input[key];
|
|
3343
3391
|
if (undefined === value)
|
|
3344
3392
|
return true;
|
|
3345
3393
|
return Array.isArray(value) && value.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem);
|
|
3346
|
-
}); const
|
|
3394
|
+
}); const _io85 = input => (undefined === input.create || "object" === typeof input.create && null !== input.create && false === Array.isArray(input.create) && _io86(input.create)) && (undefined === input.duplicate || "object" === typeof input.duplicate && null !== input.duplicate && false === Array.isArray(input.duplicate) && _io87(input.duplicate)); const _io86 = input => (undefined === input.titlePrefix || "string" === typeof input.titlePrefix) && (undefined === input.titleSuffix || "string" === typeof input.titleSuffix); const _io87 = input => (undefined === input.titlePrefix || "string" === typeof input.titlePrefix) && (undefined === input.titleSuffix || "string" === typeof input.titleSuffix); const _io88 = input => (undefined === input.stateFilter || Array.isArray(input.stateFilter) && input.stateFilter.every(elem => "number" === typeof elem)) && (undefined === input.textFilter || "string" === typeof input.textFilter) && (undefined === input.showEmpty || "boolean" === typeof input.showEmpty) && (undefined === input.selectedRecord || "string" === typeof input.selectedRecord) && (undefined === input.subscribeSearchHits || "boolean" === typeof input.subscribeSearchHits) && (undefined === input.parseRegex || "boolean" === typeof input.parseRegex); const _io89 = input => undefined === input.disableHotArea || "boolean" === typeof input.disableHotArea; const _io90 = input => undefined === input.refreshInterval || "number" === typeof input.refreshInterval; const _io91 = input => undefined === input.layout || "string" === typeof input.layout; const _io92 = input => (undefined === input.ignoredWarnings || Array.isArray(input.ignoredWarnings) && input.ignoredWarnings.every(elem => "string" === typeof elem)) && (undefined === input.ignoredErrors || Array.isArray(input.ignoredErrors) && input.ignoredErrors.every(elem => "string" === typeof elem)); const _io93 = input => (undefined === input.enableUpdate || "boolean" === typeof input.enableUpdate) && (undefined === input.autoUpdate || "boolean" === typeof input.autoUpdate); const _iu0 = input => (() => {
|
|
3395
|
+
if ("script" === input.type)
|
|
3396
|
+
return _io71(input);
|
|
3397
|
+
else if ("rundown" === input.type)
|
|
3398
|
+
return _io72(input);
|
|
3399
|
+
else
|
|
3400
|
+
return false;
|
|
3401
|
+
})(); return input => _so0(input); })()(input);
|
|
3347
3402
|
}
|
|
3348
3403
|
case ":settings.node": {
|
|
3349
3404
|
return (() => { const _so0 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
@@ -3372,6 +3427,33 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
3372
3427
|
return _io2(input);
|
|
3373
3428
|
})(); return input => _so0(input); })()(input);
|
|
3374
3429
|
}
|
|
3430
|
+
case ":storage": {
|
|
3431
|
+
return (() => { const _so0 = input => `{${undefined === input.port ? "" : `"port":${undefined !== input.port ? null !== input.port ? input.port : "null" : undefined},`}${undefined === input.location ? "" : `"location":${undefined !== input.location ? __typia_transform__jsonStringifyString._jsonStringifyString(input.location) : undefined},`}${undefined === input.cache ? "" : `"cache":${undefined !== input.cache ? null !== input.cache ? input.cache : "null" : undefined},`}${undefined === input.allows ? "" : `"allows":${undefined !== input.allows ? `[${input.allows.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined},`}${undefined === input.capacity ? "" : `"capacity":${undefined !== input.capacity ? null !== input.capacity ? input.capacity : "null" : undefined},`}${undefined === input.rxBytesSecMax ? "" : `"rxBytesSecMax":${undefined !== input.rxBytesSecMax ? null !== input.rxBytesSecMax ? input.rxBytesSecMax : "null" : undefined},`}${undefined === input.txBytesSecMax ? "" : `"txBytesSecMax":${undefined !== input.txBytesSecMax ? null !== input.txBytesSecMax ? input.txBytesSecMax : "null" : undefined},`}${undefined === input.rxBytesSecLimit ? "" : `"rxBytesSecLimit":${undefined !== input.rxBytesSecLimit ? null !== input.rxBytesSecLimit ? input.rxBytesSecLimit : "null" : undefined},`}${undefined === input.txBytesSecLimit ? "" : `"txBytesSecLimit":${undefined !== input.txBytesSecLimit ? null !== input.txBytesSecLimit ? input.txBytesSecLimit : "null" : undefined},`}"zone":${__typia_transform__jsonStringifyString._jsonStringifyString(input.zone)},"hostname":${null !== input.hostname ? __typia_transform__jsonStringifyString._jsonStringifyString(input.hostname) : "null"}}`; return input => _so0(input); })()(input);
|
|
3432
|
+
}
|
|
3433
|
+
case ":storage.stats": {
|
|
3434
|
+
return (() => { const _so0 = input => `{${undefined === input.fs ? "" : `"fs":${undefined !== input.fs ? _so7(input.fs) : undefined},`}${undefined === input.s3 ? "" : `"s3":${undefined !== input.s3 ? _so8(input.s3) : undefined},`}"id":${__typia_transform__jsonStringifyString._jsonStringifyString(input.id)},"location":${__typia_transform__jsonStringifyString._jsonStringifyString(input.location)},"timestamp":${__typia_transform__jsonStringifyString._jsonStringifyString(input.timestamp)},"type":${__typia_transform__jsonStringifyString._jsonStringifyString(input.type)},"zone":${__typia_transform__jsonStringifyString._jsonStringifyString(input.zone)},"origin":${__typia_transform__jsonStringifyString._jsonStringifyString(input.origin)},"free":${null !== input.free ? input.free : "null"},"size":${null !== input.size ? input.size : "null"},"available":${null !== input.available ? input.available : "null"},"cache":${null !== input.cache ? input.cache : "null"},"capacity":${null !== input.capacity ? input.capacity : "null"},"limiter":${_so1(input.limiter)},"http":${_so2(input.http)},"io":${_so3(input.io)}}`; const _so1 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.readBytesPerSecond ? "" : `"readBytesPerSecond":${undefined !== input.readBytesPerSecond ? input.readBytesPerSecond : undefined},`}${undefined === input.writeBytesPerSecond ? "" : `"writeBytesPerSecond":${undefined !== input.writeBytesPerSecond ? input.writeBytesPerSecond : undefined}`}`)}}`; const _so2 = input => `{"downstreamConnected":${input.downstreamConnected},"upstreamConnected":${input.upstreamConnected},"pending":${input.pending},"completed":${input.completed},"failed":${input.failed}}`; const _so3 = input => `{"read":${_so4(input.read)},"write":${_so6(input.write)}}`; const _so4 = input => `{"bytesPerSecond":${input.bytesPerSecond},"pending":${input.pending},"queues":${_so5(input.queues)}}`; const _so5 = input => `{"highest":${input.highest},"higher":${input.higher},"high":${input.high},"normal":${input.normal},"low":${input.low},"lower":${input.lower},"lowest":${input.lowest}}`; const _so6 = input => `{"bytesPerSecond":${input.bytesPerSecond},"pending":${input.pending},"queues":${_so5(input.queues)}}`; const _so7 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.concurrency ? "" : `"concurrency":${undefined !== input.concurrency ? input.concurrency : undefined},`}${undefined === input.path ? "" : `"path":${undefined !== input.path ? __typia_transform__jsonStringifyString._jsonStringifyString(input.path) : undefined},`}${undefined === input.snapshot ? "" : `"snapshot":${undefined !== input.snapshot ? null !== input.snapshot ? input.snapshot : "null" : undefined},`}${undefined === input.available ? "" : `"available":${undefined !== input.available ? input.available : undefined},`}${undefined === input.free ? "" : `"free":${undefined !== input.free ? input.free : undefined},`}${undefined === input.used ? "" : `"used":${undefined !== input.used ? input.used : undefined},`}${undefined === input.size ? "" : `"size":${undefined !== input.size ? input.size : undefined},`}${undefined === input.state ? "" : `"state":${undefined !== input.state ? __typia_transform__jsonStringifyString._jsonStringifyString(input.state) : undefined},`}${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
3435
|
+
return ""; if (["concurrency", "path", "snapshot", "available", "free", "used", "size", "state"].some(regular => regular === key))
|
|
3436
|
+
return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}`)}}`; const _so8 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.bucket ? "" : `"bucket":${undefined !== input.bucket ? __typia_transform__jsonStringifyString._jsonStringifyString(input.bucket) : undefined},`}${undefined === input.region ? "" : `"region":${undefined !== input.region ? __typia_transform__jsonStringifyString._jsonStringifyString(input.region) : undefined},`}${undefined === input.endpoint ? "" : `"endpoint":${undefined !== input.endpoint ? __typia_transform__jsonStringifyString._jsonStringifyString(input.endpoint) : undefined},`}${undefined === input.path ? "" : `"path":${undefined !== input.path ? __typia_transform__jsonStringifyString._jsonStringifyString(input.path) : undefined},`}${undefined === input.storageClass ? "" : `"storageClass":${undefined !== input.storageClass ? __typia_transform__jsonStringifyString._jsonStringifyString(input.storageClass) : undefined},`}${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
3437
|
+
return ""; if (["bucket", "region", "endpoint", "path", "storageClass"].some(regular => regular === key))
|
|
3438
|
+
return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}`)}}`; const _io1 = input => (undefined === input.readBytesPerSecond || "number" === typeof input.readBytesPerSecond) && (undefined === input.writeBytesPerSecond || "number" === typeof input.writeBytesPerSecond); const _io2 = input => "number" === typeof input.downstreamConnected && "number" === typeof input.upstreamConnected && "number" === typeof input.pending && "number" === typeof input.completed && "number" === typeof input.failed; const _io3 = input => "object" === typeof input.read && null !== input.read && _io4(input.read) && ("object" === typeof input.write && null !== input.write && _io6(input.write)); const _io4 = input => "number" === typeof input.bytesPerSecond && "number" === typeof input.pending && ("object" === typeof input.queues && null !== input.queues && _io5(input.queues)); const _io5 = input => "number" === typeof input.highest && "number" === typeof input.higher && "number" === typeof input.high && "number" === typeof input.normal && "number" === typeof input.low && "number" === typeof input.lower && "number" === typeof input.lowest; const _io6 = input => "number" === typeof input.bytesPerSecond && "number" === typeof input.pending && ("object" === typeof input.queues && null !== input.queues && _io5(input.queues)); const _io7 = input => (undefined === input.concurrency || "number" === typeof input.concurrency) && (undefined === input.path || "string" === typeof input.path) && (null === input.snapshot || undefined === input.snapshot || "number" === typeof input.snapshot) && (undefined === input.available || "number" === typeof input.available) && (undefined === input.free || "number" === typeof input.free) && (undefined === input.used || "number" === typeof input.used) && (undefined === input.size || "number" === typeof input.size) && (undefined === input.state || "string" === typeof input.state) && Object.keys(input).every(key => {
|
|
3439
|
+
if (["concurrency", "path", "snapshot", "available", "free", "used", "size", "state"].some(prop => key === prop))
|
|
3440
|
+
return true;
|
|
3441
|
+
const value = input[key];
|
|
3442
|
+
if (undefined === value)
|
|
3443
|
+
return true;
|
|
3444
|
+
return true;
|
|
3445
|
+
}); const _io8 = input => (undefined === input.bucket || "string" === typeof input.bucket) && (undefined === input.region || "string" === typeof input.region) && (undefined === input.endpoint || "string" === typeof input.endpoint) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.storageClass || "string" === typeof input.storageClass) && Object.keys(input).every(key => {
|
|
3446
|
+
if (["bucket", "region", "endpoint", "path", "storageClass"].some(prop => key === prop))
|
|
3447
|
+
return true;
|
|
3448
|
+
const value = input[key];
|
|
3449
|
+
if (undefined === value)
|
|
3450
|
+
return true;
|
|
3451
|
+
return true;
|
|
3452
|
+
}); return input => _so0(input); })()(input);
|
|
3453
|
+
}
|
|
3454
|
+
case ":storage-zone": {
|
|
3455
|
+
return (() => { const _so0 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.priority ? "" : `"priority":${undefined !== input.priority ? input.priority : undefined}`}`)}}`; return input => _so0(input); })()(input);
|
|
3456
|
+
}
|
|
3375
3457
|
case ":storyboard": {
|
|
3376
3458
|
return (() => { const _so0 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
3377
3459
|
return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}}`; return input => _so0(input); })()(input);
|
|
@@ -3437,12 +3519,18 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
3437
3519
|
}
|
|
3438
3520
|
case ":template": {
|
|
3439
3521
|
return (() => { const _so0 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.source ? "" : `"source":${undefined !== input.source ? __typia_transform__jsonStringifyString._jsonStringifyString(input.source) : undefined},`}${undefined === input.controller ? "" : `"controller":${undefined !== input.controller ? __typia_transform__jsonStringifyString._jsonStringifyString(input.controller) : undefined},`}${undefined === input.type ? "" : `"type":${undefined !== input.type ? __typia_transform__jsonStringifyString._jsonStringifyString(input.type) : undefined},`}${undefined === input.mixin ? "" : `"mixin":${undefined !== input.mixin ? `[${input.mixin.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined},`}${undefined === input.properties ? "" : `"properties":${undefined !== input.properties ? _so1(input.properties) : undefined}`}`)}}`; const _so1 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
3440
|
-
return ""; return `${JSON.stringify(key)}:${_so2(value)}`; }).filter(str => "" !== str).join(",")}}`; const _so2 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.path ? "" : `"path":${undefined !== input.path ? __typia_transform__jsonStringifyString._jsonStringifyString(input.path) : undefined}`}`)}}`; const
|
|
3522
|
+
return ""; return `${JSON.stringify(key)}:${_so2(value)}`; }).filter(str => "" !== str).join(",")}}`; const _so2 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.path ? "" : `"path":${undefined !== input.path ? __typia_transform__jsonStringifyString._jsonStringifyString(input.path) : undefined},`}${undefined === input.type ? "" : `"type":${undefined !== input.type ? __typia_transform__jsonStringifyString._jsonStringifyString(input.type) : undefined},`}${undefined === input.label ? "" : `"label":${undefined !== input.label ? __typia_transform__jsonStringifyString._jsonStringifyString(input.label) : undefined},`}${undefined === input.defaultValue ? "" : `"defaultValue":${undefined !== input.defaultValue ? __typia_transform__jsonStringifyString._jsonStringifyString(input.defaultValue) : undefined},`}${undefined === input.widget ? "" : `"widget":${undefined !== input.widget ? _so3(input.widget) : undefined},`}${undefined === input.properties ? "" : `"properties":${undefined !== input.properties ? _so4(input.properties) : undefined},`}${undefined === input.items ? "" : `"items":${undefined !== input.items ? _so5(input.items) : undefined},`}${undefined === input.render ? "" : `"render":${undefined !== input.render ? _so9(input.render) : undefined}`}`)}}`; const _so3 = input => `{"type":${__typia_transform__jsonStringifyString._jsonStringifyString(input.type)}}`; const _so4 = input => "{}"; const _so5 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.properties ? "" : `"properties":${undefined !== input.properties ? _so6(input.properties) : undefined}`}`)}}`; const _so6 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
3523
|
+
return ""; return `${JSON.stringify(key)}:${_so7(value)}`; }).filter(str => "" !== str).join(",")}}`; const _so7 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.path ? "" : `"path":${undefined !== input.path ? __typia_transform__jsonStringifyString._jsonStringifyString(input.path) : undefined},`}${undefined === input.type ? "" : `"type":${undefined !== input.type ? __typia_transform__jsonStringifyString._jsonStringifyString(input.type) : undefined},`}${undefined === input.label ? "" : `"label":${undefined !== input.label ? __typia_transform__jsonStringifyString._jsonStringifyString(input.label) : undefined},`}${undefined === input.defaultValue ? "" : `"defaultValue":${undefined !== input.defaultValue ? __typia_transform__jsonStringifyString._jsonStringifyString(input.defaultValue) : undefined},`}${undefined === input.widget ? "" : `"widget":${undefined !== input.widget ? _so8(input.widget) : undefined},`}${undefined === input.items ? "" : `"items":${undefined !== input.items ? _so7(input.items) : undefined},`}${undefined === input.properties ? "" : `"properties":${undefined !== input.properties ? _so6(input.properties) : undefined}`}`)}}`; const _so8 = input => `{"type":${__typia_transform__jsonStringifyString._jsonStringifyString(input.type)}}`; const _so9 = input => `{${undefined === input.profile ? "" : `"profile":${undefined !== input.profile ? _so10(input.profile) : undefined},`}"type":${"\"" + input.type + "\""}}`; const _so10 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.format ? "" : `"format":${undefined !== input.format ? __typia_transform__jsonStringifyString._jsonStringifyString(input.format) : undefined},`}${undefined === input.video ? "" : `"video":${undefined !== input.video ? _so11(input.video) : undefined}`}`)}}`; const _so11 = input => `{"width":${input.width},"height":${input.height},"fit":${"\"" + input.fit + "\""}}`; const _io1 = input => Object.keys(input).every(key => {
|
|
3441
3524
|
const value = input[key];
|
|
3442
3525
|
if (undefined === value)
|
|
3443
3526
|
return true;
|
|
3444
3527
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
|
|
3445
|
-
}); const _io2 = input => undefined === input.path || "string" === typeof input.path;
|
|
3528
|
+
}); const _io2 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.type || "string" === typeof input.type) && (undefined === input.label || "string" === typeof input.label) && (undefined === input.defaultValue || "string" === typeof input.defaultValue) && (undefined === input.widget || "object" === typeof input.widget && null !== input.widget && _io3(input.widget)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io4(input.properties)) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io5(input.items)) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io9(input.render)); const _io3 = input => "string" === typeof input.type; const _io4 = input => true; const _io5 = input => undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io6(input.properties); const _io6 = input => Object.keys(input).every(key => {
|
|
3529
|
+
const value = input[key];
|
|
3530
|
+
if (undefined === value)
|
|
3531
|
+
return true;
|
|
3532
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io7(value);
|
|
3533
|
+
}); const _io7 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.type || "string" === typeof input.type) && (undefined === input.label || "string" === typeof input.label) && (undefined === input.defaultValue || "string" === typeof input.defaultValue) && (undefined === input.widget || "object" === typeof input.widget && null !== input.widget && _io8(input.widget)) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io7(input.items)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io6(input.properties)); const _io8 = input => "string" === typeof input.type; const _io9 = input => "image" === input.type && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) && _io10(input.profile)); const _io10 = input => (undefined === input.format || "string" === typeof input.format) && (undefined === input.video || "object" === typeof input.video && null !== input.video && _io11(input.video)); const _io11 = input => "number" === typeof input.width && "number" === typeof input.height && "cover" === input.fit; return input => _so0(input); })()(input);
|
|
3446
3534
|
}
|
|
3447
3535
|
case ":_user-notification-status": {
|
|
3448
3536
|
return (() => { const _so0 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.assignee ? "" : `"assignee":${undefined !== input.assignee ? _so1(input.assignee) : undefined},`}${undefined === input.published ? "" : `"published":${undefined !== input.published ? _so2(input.published) : undefined},`}${undefined === input.comment ? "" : `"comment":${undefined !== input.comment ? _so3(input.comment) : undefined}`}`)}}`; const _so1 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined}`}`)}}`; const _so2 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? input.value : undefined}`}`)}}`; const _so3 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? (() => {
|