@nxtedition/types 23.1.2 → 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/app.d.ts +7 -1
- package/dist/common/index.d.ts +3 -0
- package/dist/common/index.js +3 -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/panel-property.d.ts +2 -29
- package/dist/common/print.d.ts +30 -0
- package/dist/common/print.js +1 -0
- package/dist/common/render-scene.d.ts +73 -12
- package/dist/common/schema-property.d.ts +36 -4
- package/dist/common/settings.d.ts +72 -43
- package/dist/common/settings.js +18 -1
- package/dist/common/widget.d.ts +16 -0
- package/dist/common/widget.js +1 -0
- package/dist/nxtpression.d.ts +745 -170
- package/dist/records/domains/condition.d.ts +1 -1
- package/dist/records/domains/connection/file/smb.d.ts +2 -0
- package/dist/records/domains/event.d.ts +10 -3
- package/dist/records/domains/gallery.d.ts +8 -0
- package/dist/records/domains/gallery.js +1 -0
- package/dist/records/domains/index.d.ts +9 -1
- package/dist/records/domains/index.js +4 -0
- package/dist/records/domains/ingestschedule.d.ts +1 -1
- package/dist/records/domains/media.d.ts +4 -0
- package/dist/records/domains/panel.d.ts +7 -19
- package/dist/records/domains/publish/file-legacy.d.ts +1 -1
- package/dist/records/domains/render.d.ts +54 -3
- package/dist/records/domains/role.d.ts +8 -0
- package/dist/records/domains/schema.d.ts +21 -0
- package/dist/records/domains/schema.js +1 -0
- package/dist/records/domains/search.d.ts +1 -1
- package/dist/records/domains/storage.d.ts +87 -0
- package/dist/records/domains/storage.js +1 -0
- package/dist/records/domains/stream.d.ts +80 -0
- package/dist/records/domains/stream.js +1 -0
- package/dist/records/domains/template.d.ts +34 -0
- package/dist/records/exact/asset.d.ts +17 -7
- package/dist/records/exact/index.d.ts +6 -0
- package/dist/records/exact/monitor.d.ts +1 -0
- package/dist/records/index.d.ts +1 -1
- package/dist/records/utils.d.ts +5 -1
- package/dist/records/validate/assert-guard.js +9235 -4387
- package/dist/records/validate/assert.js +9359 -4496
- package/dist/records/validate/is.js +224 -115
- package/dist/records/validate/schemas.d.ts +3 -10
- package/dist/records/validate/schemas.js +5652 -1454
- package/dist/records/validate/stringify.js +853 -180
- package/dist/records/validate/utils.d.ts +1 -1
- package/dist/records/validate/utils.js +2 -2
- package/dist/records/validate/validate-equals.js +11393 -5018
- package/dist/records/validate/validate.js +10257 -6113
- package/package.json +1 -1
|
@@ -103,14 +103,37 @@ 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 =>
|
|
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
|
+
if ("string" === typeof input.widget)
|
|
108
|
+
return __typia_transform__jsonStringifyString._jsonStringifyString(input.widget);
|
|
109
|
+
if ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget))
|
|
110
|
+
return _so3(input.widget);
|
|
111
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
112
|
+
method: "typia.json.stringify",
|
|
113
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
114
|
+
value: input.widget
|
|
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.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
|
+
if ("string" === typeof input.widget)
|
|
118
|
+
return __typia_transform__jsonStringifyString._jsonStringifyString(input.widget);
|
|
119
|
+
if ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget))
|
|
120
|
+
return _so3(input.widget);
|
|
121
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
122
|
+
method: "typia.json.stringify",
|
|
123
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
124
|
+
value: input.widget
|
|
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 ? _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
|
+
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 _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 ? (() => {
|
|
107
130
|
if ("string" === typeof input.recordName)
|
|
108
131
|
return __typia_transform__jsonStringifyString._jsonStringifyString(input.recordName);
|
|
109
132
|
if ("object" === typeof input.recordName && null !== input.recordName)
|
|
110
|
-
return
|
|
133
|
+
return _so7(input.recordName);
|
|
111
134
|
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
112
135
|
method: "typia.json.stringify",
|
|
113
|
-
expected: "(__type.
|
|
136
|
+
expected: "(__type.o1 | string | undefined)",
|
|
114
137
|
value: input.recordName
|
|
115
138
|
});
|
|
116
139
|
})() : undefined},`}${undefined === input.setter || "function" === typeof input.setter ? "" : `"setter":${undefined !== input.setter ? (() => {
|
|
@@ -119,13 +142,53 @@ function _stringifyExactRecord(name, input) {
|
|
|
119
142
|
if ("string" === typeof input.setter)
|
|
120
143
|
return __typia_transform__jsonStringifyString._jsonStringifyString(input.setter);
|
|
121
144
|
if ("object" === typeof input.setter && null !== input.setter)
|
|
122
|
-
return
|
|
145
|
+
return _so9(input.setter);
|
|
123
146
|
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
124
147
|
method: "typia.json.stringify",
|
|
125
|
-
expected: "(__type.
|
|
148
|
+
expected: "(__type.o3 | string | undefined)",
|
|
126
149
|
value: input.setter
|
|
127
150
|
});
|
|
128
|
-
})() : 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
|
+
if ("string" === typeof input.widget)
|
|
153
|
+
return __typia_transform__jsonStringifyString._jsonStringifyString(input.widget);
|
|
154
|
+
if ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget))
|
|
155
|
+
return _so3(input.widget);
|
|
156
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
157
|
+
method: "typia.json.stringify",
|
|
158
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
159
|
+
value: input.widget
|
|
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.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
|
+
if (undefined !== input.panel)
|
|
163
|
+
return _so1(input);
|
|
164
|
+
else if (undefined !== input.schema)
|
|
165
|
+
return _so6(input);
|
|
166
|
+
else
|
|
167
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
168
|
+
method: "typia.json.stringify",
|
|
169
|
+
expected: "(DynamicPanelProperty | DynamicSchemaProperty)",
|
|
170
|
+
value: input
|
|
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.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
|
+
if (["type", "readOnly"].some(prop => key === prop))
|
|
174
|
+
return true;
|
|
175
|
+
const value = input[key];
|
|
176
|
+
if (undefined === value)
|
|
177
|
+
return true;
|
|
178
|
+
return true;
|
|
179
|
+
}); const _io4 = input => Object.keys(input).every(key => {
|
|
180
|
+
const value = input[key];
|
|
181
|
+
if (undefined === value)
|
|
182
|
+
return true;
|
|
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
|
+
if (undefined !== input.panel)
|
|
186
|
+
return _io1(input);
|
|
187
|
+
else if (undefined !== input.schema)
|
|
188
|
+
return _io6(input);
|
|
189
|
+
else
|
|
190
|
+
return false;
|
|
191
|
+
})(); return input => _so0(input); })()(input);
|
|
129
192
|
}
|
|
130
193
|
case "asset.embedding": {
|
|
131
194
|
return (() => { const _so0 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? (() => {
|
|
@@ -299,6 +362,9 @@ function _stringifyExactRecord(name, input) {
|
|
|
299
362
|
});
|
|
300
363
|
})() : "null"}`; }).filter(str => "" !== str).join(",")}}`; const _so1 = input => `{${undefined === input.priority ? "" : `"priority":${undefined !== input.priority ? input.priority : undefined},`}${undefined === input.icon ? "" : `"icon":${undefined !== input.icon ? __typia_transform__jsonStringifyString._jsonStringifyString(input.icon) : undefined},`}"label":${__typia_transform__jsonStringifyString._jsonStringifyString(input.label)}}`; const _io1 = input => (undefined === input.priority || "number" === typeof input.priority) && "string" === typeof input.label && (undefined === input.icon || "string" === typeof input.icon); return input => _so0(input); })()(input);
|
|
301
364
|
}
|
|
365
|
+
case "asset.http": {
|
|
366
|
+
return (() => { const _so0 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.whitelist ? "" : `"whitelist":${undefined !== input.whitelist ? null !== input.whitelist ? `[${input.whitelist.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : "null" : undefined},`}${undefined === input.blacklist ? "" : `"blacklist":${undefined !== input.blacklist ? null !== input.blacklist ? `[${input.blacklist.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : "null" : undefined},`}${undefined === input.allowImport ? "" : `"allowImport":${undefined !== input.allowImport ? input.allowImport : undefined}`}`)}}`; return input => _so0(input); })()(input);
|
|
367
|
+
}
|
|
302
368
|
case "storage.locations?": {
|
|
303
369
|
return (() => { const _so0 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
304
370
|
return ""; return `${JSON.stringify(key)}:${_so1(value)}`; }).filter(str => "" !== str).join(",")}}`; const _so1 = input => `{${undefined === input.net ? "" : `"net":${undefined !== input.net ? _so2(input.net) : 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)},"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"},"origin":${__typia_transform__jsonStringifyString._jsonStringifyString(input.origin)},"allows":${`[${input.allows.map(elem => "\"" + elem + "\"").join(",")}]`},"latency":${input.latency}}`; const _so2 = input => `{"rx":${input.rx},"tx":${input.tx}}`; const _io1 = input => "string" === typeof input.id && "string" === typeof input.location && "string" === typeof input.timestamp && "string" === typeof input.type && "string" === typeof input.zone && (null === input.free || "number" === typeof input.free) && (null === input.size || "number" === typeof input.size) && (null === input.available || "number" === typeof input.available) && (null === input.cache || "boolean" === typeof input.cache) && (null === input.capacity || "number" === typeof input.capacity) && "string" === typeof input.origin && (Array.isArray(input.allows) && input.allows.every(elem => "get" === elem || "put" === elem || "del" === elem)) && (undefined === input.net || "object" === typeof input.net && null !== input.net && _io2(input.net)) && "number" === typeof input.latency; const _io2 = input => "number" === typeof input.rx && "number" === typeof input.tx; return input => _so0(input); })()(input);
|
|
@@ -319,13 +385,13 @@ function _stringifyExactRecord(name, input) {
|
|
|
319
385
|
expected: "(__type.o1 | string | undefined)",
|
|
320
386
|
value: input.url
|
|
321
387
|
});
|
|
322
|
-
})() : 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)
|
|
323
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 => {
|
|
324
390
|
const value = input[key];
|
|
325
391
|
if (undefined === value)
|
|
326
392
|
return true;
|
|
327
393
|
return "object" === typeof value && null !== value && _io2(value);
|
|
328
|
-
}); 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 => {
|
|
329
395
|
const value = input[key];
|
|
330
396
|
if (undefined === value)
|
|
331
397
|
return true;
|
|
@@ -593,7 +659,7 @@ function _stringifyExactRecord(name, input) {
|
|
|
593
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);
|
|
594
660
|
}
|
|
595
661
|
case "asset-daemon": {
|
|
596
|
-
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);
|
|
597
663
|
}
|
|
598
664
|
case "asset-daemon:user-notify.state": {
|
|
599
665
|
return (() => { const _so0 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.since ? "" : `"since":${undefined !== input.since ? null !== input.since ? (() => {
|
|
@@ -608,6 +674,19 @@ function _stringifyExactRecord(name, input) {
|
|
|
608
674
|
});
|
|
609
675
|
})() : "null" : undefined},`}${undefined === input.version ? "" : `"version":${undefined !== input.version ? input.version : undefined}`}`)}}`; return input => _so0(input); })()(input);
|
|
610
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
|
+
}
|
|
611
690
|
case "deepstream-replicator.stats?": {
|
|
612
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)
|
|
613
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 ? (() => {
|
|
@@ -1351,7 +1430,7 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
1351
1430
|
expected: "(number | string | undefined)",
|
|
1352
1431
|
value: input.port
|
|
1353
1432
|
});
|
|
1354
|
-
})() : 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 ? (() => {
|
|
1355
1434
|
if ("string" === typeof input.port)
|
|
1356
1435
|
return __typia_transform__jsonStringifyString._jsonStringifyString(input.port);
|
|
1357
1436
|
if ("number" === typeof input.port)
|
|
@@ -1520,7 +1599,7 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
1520
1599
|
if (undefined === value)
|
|
1521
1600
|
return true;
|
|
1522
1601
|
return null !== value && (undefined === value || "string" === typeof value || Array.isArray(value) && value.every(elem => "string" === typeof elem));
|
|
1523
|
-
}); 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 => (() => {
|
|
1524
1603
|
if (undefined !== input.__context)
|
|
1525
1604
|
return _io14(input);
|
|
1526
1605
|
else
|
|
@@ -1653,10 +1732,10 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
1653
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);
|
|
1654
1733
|
}
|
|
1655
1734
|
case ":event": {
|
|
1656
|
-
return (() => { const _so0 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.start ? "" : `"start":${undefined !== input.start ? input.start : undefined},`}${undefined === input.end ? "" : `"end":${undefined !== input.end ? input.end : undefined},`}${undefined === input.duration ? "" : `"duration":${undefined !== input.duration ? input.duration : 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);
|
|
1657
1736
|
}
|
|
1658
1737
|
case ":event._template?": {
|
|
1659
|
-
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}`}`)}}`; 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);
|
|
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);
|
|
1660
1739
|
}
|
|
1661
1740
|
case ":event.overlay?": {
|
|
1662
1741
|
return (() => { const _so0 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
@@ -1670,7 +1749,7 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
1670
1749
|
expected: "(boolean | string | undefined)",
|
|
1671
1750
|
value: input.cueCard
|
|
1672
1751
|
});
|
|
1673
|
-
})() : 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 ? (() => {
|
|
1674
1753
|
if ("string" === typeof input.shotboxGroup)
|
|
1675
1754
|
return __typia_transform__jsonStringifyString._jsonStringifyString(input.shotboxGroup);
|
|
1676
1755
|
if (Array.isArray(input.shotboxGroup))
|
|
@@ -1681,7 +1760,7 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
1681
1760
|
value: input.shotboxGroup
|
|
1682
1761
|
});
|
|
1683
1762
|
})() : undefined},`}${undefined === input.shotboxVisible ? "" : `"shotboxVisible":${undefined !== input.shotboxVisible ? input.shotboxVisible : undefined},`}${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
1684
|
-
return ""; if (["source", "cueCard", "startTime", "shotboxGroup", "shotboxVisible"].some(regular => regular === key))
|
|
1763
|
+
return ""; if (["source", "cueCard", "printRundownColor", "startTime", "shotboxGroup", "shotboxVisible"].some(regular => regular === key))
|
|
1685
1764
|
return ""; return `${JSON.stringify(key)}:${null !== value ? (() => {
|
|
1686
1765
|
if ("string" === typeof value)
|
|
1687
1766
|
return __typia_transform__jsonStringifyString._jsonStringifyString(value);
|
|
@@ -1731,8 +1810,8 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
1731
1810
|
expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
|
|
1732
1811
|
value: elem
|
|
1733
1812
|
});
|
|
1734
|
-
})() : "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 => {
|
|
1735
|
-
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))
|
|
1736
1815
|
return true;
|
|
1737
1816
|
const value = input[key];
|
|
1738
1817
|
if (undefined === value)
|
|
@@ -1746,7 +1825,7 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
1746
1825
|
}); 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) && _io3(elem)))); return input => _so0(input); })()(input);
|
|
1747
1826
|
}
|
|
1748
1827
|
case ":event.template?": {
|
|
1749
|
-
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}`}`)}}`; 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);
|
|
1828
|
+
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);
|
|
1750
1829
|
}
|
|
1751
1830
|
case ":event.duration?": {
|
|
1752
1831
|
return (() => { const _so0 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.scheduled ? "" : `"scheduled":${undefined !== input.scheduled ? input.scheduled : undefined},`}${undefined === input.actual ? "" : `"actual":${undefined !== input.actual ? input.actual : undefined},`}${undefined === input["in"] ? "" : `"in":${undefined !== input["in"] ? input["in"] : undefined},`}${undefined === input.out ? "" : `"out":${undefined !== input.out ? null !== input.out ? input.out : "null" : undefined}`}`)}}`; return input => _so0(input); })()(input);
|
|
@@ -1765,7 +1844,7 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
1765
1844
|
expected: "(boolean | string | undefined)",
|
|
1766
1845
|
value: input.cueCard
|
|
1767
1846
|
});
|
|
1768
|
-
})() : 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 ? (() => {
|
|
1769
1848
|
if ("string" === typeof input.shotboxGroup)
|
|
1770
1849
|
return __typia_transform__jsonStringifyString._jsonStringifyString(input.shotboxGroup);
|
|
1771
1850
|
if (Array.isArray(input.shotboxGroup))
|
|
@@ -1776,7 +1855,7 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
1776
1855
|
value: input.shotboxGroup
|
|
1777
1856
|
});
|
|
1778
1857
|
})() : undefined},`}${undefined === input.shotboxVisible ? "" : `"shotboxVisible":${undefined !== input.shotboxVisible ? input.shotboxVisible : undefined},`}${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
1779
|
-
return ""; if (["source", "cueCard", "startTime", "shotboxGroup", "shotboxVisible"].some(regular => regular === key))
|
|
1858
|
+
return ""; if (["source", "cueCard", "printRundownColor", "startTime", "shotboxGroup", "shotboxVisible"].some(regular => regular === key))
|
|
1780
1859
|
return ""; return `${JSON.stringify(key)}:${null !== value ? (() => {
|
|
1781
1860
|
if ("string" === typeof value)
|
|
1782
1861
|
return __typia_transform__jsonStringifyString._jsonStringifyString(value);
|
|
@@ -1833,6 +1912,9 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
1833
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)));
|
|
1834
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);
|
|
1835
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
|
+
}
|
|
1836
1918
|
case ":file.replicate": {
|
|
1837
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)
|
|
1838
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 => {
|
|
@@ -1868,6 +1950,9 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
1868
1950
|
case ":folder.items": {
|
|
1869
1951
|
return (() => { const _so0 = input => `{"value":${`[${input.value.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]`}}`; return input => _so0(input); })()(input);
|
|
1870
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
|
+
}
|
|
1871
1956
|
case ":general.title": {
|
|
1872
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);
|
|
1873
1958
|
}
|
|
@@ -1912,24 +1997,90 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
1912
1997
|
value: input.clipname
|
|
1913
1998
|
});
|
|
1914
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)
|
|
1915
|
-
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 => {
|
|
1916
2002
|
const value = input[key];
|
|
1917
2003
|
if (undefined === value)
|
|
1918
2004
|
return true;
|
|
1919
2005
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
|
|
1920
|
-
}); 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);
|
|
1921
2012
|
}
|
|
1922
2013
|
case ":ingestschedule.stats?": {
|
|
1923
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);
|
|
1924
2015
|
}
|
|
1925
2016
|
case ":media.source": {
|
|
1926
|
-
return (() => { const _so0 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.id ? "" : `"id":${undefined !== input.id ? __typia_transform__jsonStringifyString._jsonStringifyString(input.id) : undefined},`}${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? __typia_transform__jsonStringifyString._jsonStringifyString(input.preset) : undefined},`}${undefined === input.input ? "" : `"input":${undefined !== input.input ? null !== input.input ? _so1(input.input) : "null" : undefined},`}${undefined === input.lang ? "" : `"lang":${undefined !== input.lang ? __typia_transform__jsonStringifyString._jsonStringifyString(input.lang) : undefined},`}${undefined === input.subtitle ? "" : `"subtitle":${undefined !== input.subtitle ? __typia_transform__jsonStringifyString._jsonStringifyString(input.subtitle) : undefined},`}${undefined === input.subtitleTracks ? "" : `"subtitleTracks":${undefined !== input.subtitleTracks ?
|
|
1927
|
-
|
|
2017
|
+
return (() => { const _so0 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.id ? "" : `"id":${undefined !== input.id ? __typia_transform__jsonStringifyString._jsonStringifyString(input.id) : undefined},`}${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? __typia_transform__jsonStringifyString._jsonStringifyString(input.preset) : undefined},`}${undefined === input.input ? "" : `"input":${undefined !== input.input ? null !== input.input ? _so1(input.input) : "null" : undefined},`}${undefined === input.lang ? "" : `"lang":${undefined !== input.lang ? __typia_transform__jsonStringifyString._jsonStringifyString(input.lang) : undefined},`}${undefined === input.subtitle ? "" : `"subtitle":${undefined !== input.subtitle ? __typia_transform__jsonStringifyString._jsonStringifyString(input.subtitle) : undefined},`}${undefined === input.graphics ? "" : `"graphics":${undefined !== input.graphics ? __typia_transform__jsonStringifyString._jsonStringifyString(input.graphics) : undefined},`}${undefined === input.subtitleTracks ? "" : `"subtitleTracks":${undefined !== input.subtitleTracks ? _so3(input.subtitleTracks) : undefined},`}${undefined === input.video ? "" : `"video":${undefined !== input.video ? _so6(input.video) : undefined},`}${undefined === input.audio ? "" : `"audio":${undefined !== input.audio ? _so12(input.audio) : undefined},`}${undefined === input.start ? "" : `"start":${undefined !== input.start ? input.start : undefined},`}${undefined === input.end ? "" : `"end":${undefined !== input.end ? input.end : undefined},`}${undefined === input.transcribe ? "" : `"transcribe":${undefined !== input.transcribe ? _so13(input.transcribe) : undefined},`}${undefined === input.crop ? "" : `"crop":${undefined !== input.crop ? _so11(input.crop) : undefined},`}${undefined === input.filters ? "" : `"filters":${undefined !== input.filters ? _so7(input.filters) : undefined},`}${undefined === input.orientation ? "" : `"orientation":${undefined !== input.orientation ? input.orientation : undefined},`}${undefined === input.rotate ? "" : `"rotate":${undefined !== input.rotate ? input.rotate : undefined},`}${undefined === input.interlaced ? "" : `"interlaced":${undefined !== input.interlaced ? null !== input.interlaced ? (() => {
|
|
2018
|
+
if ("boolean" === typeof input.interlaced)
|
|
2019
|
+
return input.interlaced;
|
|
2020
|
+
if ("string" === typeof input.interlaced)
|
|
2021
|
+
return "\"" + input.interlaced + "\"";
|
|
2022
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2023
|
+
method: "typia.json.stringify",
|
|
2024
|
+
expected: "(\"bff\" | \"tff\" | false | null | undefined)",
|
|
2025
|
+
value: input.interlaced
|
|
2026
|
+
});
|
|
2027
|
+
})() : "null" : undefined},`}${undefined === input.alpha ? "" : `"alpha":${undefined !== input.alpha ? null !== input.alpha ? (() => {
|
|
2028
|
+
if ("string" === typeof input.alpha)
|
|
2029
|
+
return "\"" + input.alpha + "\"";
|
|
2030
|
+
if ("boolean" === typeof input.alpha)
|
|
2031
|
+
return input.alpha;
|
|
2032
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2033
|
+
method: "typia.json.stringify",
|
|
2034
|
+
expected: "(\"straight\" | boolean | null | undefined)",
|
|
2035
|
+
value: input.alpha
|
|
2036
|
+
});
|
|
2037
|
+
})() : "null" : undefined}`}`)}}`; const _so1 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.type ? "" : `"type":${undefined !== input.type ? __typia_transform__jsonStringifyString._jsonStringifyString(input.type) : undefined},`}${undefined === input.file ? "" : `"file":${undefined !== input.file ? null !== input.file ? __typia_transform__jsonStringifyString._jsonStringifyString(input.file) : "null" : undefined},`}${undefined === input.video ? "" : `"video":${undefined !== input.video ? _so2(input.video) : undefined},`}${undefined === input.proxy ? "" : `"proxy":${undefined !== input.proxy ? null !== input.proxy ? __typia_transform__jsonStringifyString._jsonStringifyString(input.proxy) : "null" : undefined},`}${undefined === input.proxyManifest ? "" : `"proxyManifest":${undefined !== input.proxyManifest ? null !== input.proxyManifest ? __typia_transform__jsonStringifyString._jsonStringifyString(input.proxyManifest) : "null" : undefined},`}${undefined === input.proxyFile ? "" : `"proxyFile":${undefined !== input.proxyFile ? null !== input.proxyFile ? __typia_transform__jsonStringifyString._jsonStringifyString(input.proxyFile) : "null" : undefined},`}${undefined === input.manifest ? "" : `"manifest":${undefined !== input.manifest ? null !== input.manifest ? __typia_transform__jsonStringifyString._jsonStringifyString(input.manifest) : "null" : undefined}`}`)}}`; const _so2 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.alpha ? "" : `"alpha":${undefined !== input.alpha ? null !== input.alpha ? (() => {
|
|
2038
|
+
if ("string" === typeof input.alpha)
|
|
2039
|
+
return "\"" + input.alpha + "\"";
|
|
2040
|
+
if ("boolean" === typeof input.alpha)
|
|
2041
|
+
return input.alpha;
|
|
2042
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2043
|
+
method: "typia.json.stringify",
|
|
2044
|
+
expected: "(\"straight\" | boolean | null | undefined)",
|
|
2045
|
+
value: input.alpha
|
|
2046
|
+
});
|
|
2047
|
+
})() : "null" : undefined},`}${undefined === input.interlaced ? "" : `"interlaced":${undefined !== input.interlaced ? null !== input.interlaced ? (() => {
|
|
2048
|
+
if ("boolean" === typeof input.interlaced)
|
|
2049
|
+
return input.interlaced;
|
|
2050
|
+
if ("string" === typeof input.interlaced)
|
|
2051
|
+
return "\"" + input.interlaced + "\"";
|
|
2052
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2053
|
+
method: "typia.json.stringify",
|
|
2054
|
+
expected: "(\"bff\" | \"tff\" | false | null | undefined)",
|
|
2055
|
+
value: input.interlaced
|
|
2056
|
+
});
|
|
2057
|
+
})() : "null" : undefined}`}`)}}`; const _so3 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
2058
|
+
return ""; return `${JSON.stringify(key)}:${_so4(value)}`; }).filter(str => "" !== str).join(",")}}`; const _so4 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.style ? "" : `"style":${undefined !== input.style ? null !== input.style ? __typia_transform__jsonStringifyString._jsonStringifyString(input.style) : "null" : undefined},`}${undefined === input.styleOverrides ? "" : `"styleOverrides":${undefined !== input.styleOverrides ? _so5(input.styleOverrides) : undefined}`}`)}}`; const _so5 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.name ? "" : `"name":${undefined !== input.name ? __typia_transform__jsonStringifyString._jsonStringifyString(input.name) : 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},`}${undefined === input.scaleX ? "" : `"scaleX":${undefined !== input.scaleX ? __typia_transform__jsonStringifyString._jsonStringifyString(input.scaleX) : undefined},`}${undefined === input.scaleY ? "" : `"scaleY":${undefined !== input.scaleY ? __typia_transform__jsonStringifyString._jsonStringifyString(input.scaleY) : undefined},`}${undefined === input.spacing ? "" : `"spacing":${undefined !== input.spacing ? __typia_transform__jsonStringifyString._jsonStringifyString(input.spacing) : undefined},`}${undefined === input.lineSpacing ? "" : `"lineSpacing":${undefined !== input.lineSpacing ? __typia_transform__jsonStringifyString._jsonStringifyString(input.lineSpacing) : undefined},`}${undefined === input.angle ? "" : `"angle":${undefined !== input.angle ? __typia_transform__jsonStringifyString._jsonStringifyString(input.angle) : undefined},`}${undefined === input.borderStyle ? "" : `"borderStyle":${undefined !== input.borderStyle ? __typia_transform__jsonStringifyString._jsonStringifyString(input.borderStyle) : undefined},`}${undefined === input.outline ? "" : `"outline":${undefined !== input.outline ? __typia_transform__jsonStringifyString._jsonStringifyString(input.outline) : undefined},`}${undefined === input.shadow ? "" : `"shadow":${undefined !== input.shadow ? __typia_transform__jsonStringifyString._jsonStringifyString(input.shadow) : undefined},`}${undefined === input.alignment ? "" : `"alignment":${undefined !== input.alignment ? __typia_transform__jsonStringifyString._jsonStringifyString(input.alignment) : undefined},`}${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.encoding ? "" : `"encoding":${undefined !== input.encoding ? __typia_transform__jsonStringifyString._jsonStringifyString(input.encoding) : undefined}`}`)}}`; const _so6 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.filters ? "" : `"filters":${undefined !== input.filters ? _so7(input.filters) : undefined},`}${undefined === input.crop ? "" : `"crop":${undefined !== input.crop ? _so11(input.crop) : undefined},`}${undefined === input.orientation ? "" : `"orientation":${undefined !== input.orientation ? input.orientation : undefined},`}${undefined === input.interlaced ? "" : `"interlaced":${undefined !== input.interlaced ? null !== input.interlaced ? (() => {
|
|
2059
|
+
if ("boolean" === typeof input.interlaced)
|
|
2060
|
+
return input.interlaced;
|
|
2061
|
+
if ("string" === typeof input.interlaced)
|
|
2062
|
+
return "\"" + input.interlaced + "\"";
|
|
2063
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2064
|
+
method: "typia.json.stringify",
|
|
2065
|
+
expected: "(\"bff\" | \"tff\" | false | null | undefined)",
|
|
2066
|
+
value: input.interlaced
|
|
2067
|
+
});
|
|
2068
|
+
})() : "null" : undefined},`}${undefined === input.alpha ? "" : `"alpha":${undefined !== input.alpha ? null !== input.alpha ? (() => {
|
|
2069
|
+
if ("string" === typeof input.alpha)
|
|
2070
|
+
return "\"" + input.alpha + "\"";
|
|
2071
|
+
if ("boolean" === typeof input.alpha)
|
|
2072
|
+
return input.alpha;
|
|
2073
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2074
|
+
method: "typia.json.stringify",
|
|
2075
|
+
expected: "(\"straight\" | boolean | null | undefined)",
|
|
2076
|
+
value: input.alpha
|
|
2077
|
+
});
|
|
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 => {
|
|
1928
2079
|
const value = input[key];
|
|
1929
2080
|
if (undefined === value)
|
|
1930
2081
|
return true;
|
|
1931
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
1932
|
-
}); const
|
|
2082
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io4(value);
|
|
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);
|
|
1933
2084
|
}
|
|
1934
2085
|
case ":media.consolidate": {
|
|
1935
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 ? (() => {
|
|
@@ -2044,6 +2195,76 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
2044
2195
|
return (() => { const _so0 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
2045
2196
|
return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}}`; return input => _so0(input); })()(input);
|
|
2046
2197
|
}
|
|
2198
|
+
case ":media.revisions": {
|
|
2199
|
+
return (() => { const _so0 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
2200
|
+
return ""; return `${JSON.stringify(key)}:${_so1(value)}`; }).filter(str => "" !== str).join(",")}}`; const _so1 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.id ? "" : `"id":${undefined !== input.id ? __typia_transform__jsonStringifyString._jsonStringifyString(input.id) : undefined},`}${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? __typia_transform__jsonStringifyString._jsonStringifyString(input.preset) : undefined},`}${undefined === input.input ? "" : `"input":${undefined !== input.input ? null !== input.input ? _so2(input.input) : "null" : undefined},`}${undefined === input.lang ? "" : `"lang":${undefined !== input.lang ? __typia_transform__jsonStringifyString._jsonStringifyString(input.lang) : undefined},`}${undefined === input.subtitle ? "" : `"subtitle":${undefined !== input.subtitle ? __typia_transform__jsonStringifyString._jsonStringifyString(input.subtitle) : undefined},`}${undefined === input.graphics ? "" : `"graphics":${undefined !== input.graphics ? __typia_transform__jsonStringifyString._jsonStringifyString(input.graphics) : undefined},`}${undefined === input.subtitleTracks ? "" : `"subtitleTracks":${undefined !== input.subtitleTracks ? _so4(input.subtitleTracks) : undefined},`}${undefined === input.video ? "" : `"video":${undefined !== input.video ? _so7(input.video) : undefined},`}${undefined === input.audio ? "" : `"audio":${undefined !== input.audio ? _so13(input.audio) : undefined},`}${undefined === input.start ? "" : `"start":${undefined !== input.start ? input.start : undefined},`}${undefined === input.end ? "" : `"end":${undefined !== input.end ? input.end : undefined},`}${undefined === input.transcribe ? "" : `"transcribe":${undefined !== input.transcribe ? _so14(input.transcribe) : undefined},`}${undefined === input.crop ? "" : `"crop":${undefined !== input.crop ? _so12(input.crop) : undefined},`}${undefined === input.filters ? "" : `"filters":${undefined !== input.filters ? _so8(input.filters) : undefined},`}${undefined === input.orientation ? "" : `"orientation":${undefined !== input.orientation ? input.orientation : undefined},`}${undefined === input.rotate ? "" : `"rotate":${undefined !== input.rotate ? input.rotate : undefined},`}${undefined === input.interlaced ? "" : `"interlaced":${undefined !== input.interlaced ? null !== input.interlaced ? (() => {
|
|
2201
|
+
if ("boolean" === typeof input.interlaced)
|
|
2202
|
+
return input.interlaced;
|
|
2203
|
+
if ("string" === typeof input.interlaced)
|
|
2204
|
+
return "\"" + input.interlaced + "\"";
|
|
2205
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2206
|
+
method: "typia.json.stringify",
|
|
2207
|
+
expected: "(\"bff\" | \"tff\" | false | null | undefined)",
|
|
2208
|
+
value: input.interlaced
|
|
2209
|
+
});
|
|
2210
|
+
})() : "null" : undefined},`}${undefined === input.alpha ? "" : `"alpha":${undefined !== input.alpha ? null !== input.alpha ? (() => {
|
|
2211
|
+
if ("string" === typeof input.alpha)
|
|
2212
|
+
return "\"" + input.alpha + "\"";
|
|
2213
|
+
if ("boolean" === typeof input.alpha)
|
|
2214
|
+
return input.alpha;
|
|
2215
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2216
|
+
method: "typia.json.stringify",
|
|
2217
|
+
expected: "(\"straight\" | boolean | null | undefined)",
|
|
2218
|
+
value: input.alpha
|
|
2219
|
+
});
|
|
2220
|
+
})() : "null" : undefined}`}`)}}`; const _so2 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.type ? "" : `"type":${undefined !== input.type ? __typia_transform__jsonStringifyString._jsonStringifyString(input.type) : undefined},`}${undefined === input.file ? "" : `"file":${undefined !== input.file ? null !== input.file ? __typia_transform__jsonStringifyString._jsonStringifyString(input.file) : "null" : undefined},`}${undefined === input.video ? "" : `"video":${undefined !== input.video ? _so3(input.video) : undefined},`}${undefined === input.proxy ? "" : `"proxy":${undefined !== input.proxy ? null !== input.proxy ? __typia_transform__jsonStringifyString._jsonStringifyString(input.proxy) : "null" : undefined},`}${undefined === input.proxyManifest ? "" : `"proxyManifest":${undefined !== input.proxyManifest ? null !== input.proxyManifest ? __typia_transform__jsonStringifyString._jsonStringifyString(input.proxyManifest) : "null" : undefined},`}${undefined === input.proxyFile ? "" : `"proxyFile":${undefined !== input.proxyFile ? null !== input.proxyFile ? __typia_transform__jsonStringifyString._jsonStringifyString(input.proxyFile) : "null" : undefined},`}${undefined === input.manifest ? "" : `"manifest":${undefined !== input.manifest ? null !== input.manifest ? __typia_transform__jsonStringifyString._jsonStringifyString(input.manifest) : "null" : undefined}`}`)}}`; const _so3 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.alpha ? "" : `"alpha":${undefined !== input.alpha ? null !== input.alpha ? (() => {
|
|
2221
|
+
if ("string" === typeof input.alpha)
|
|
2222
|
+
return "\"" + input.alpha + "\"";
|
|
2223
|
+
if ("boolean" === typeof input.alpha)
|
|
2224
|
+
return input.alpha;
|
|
2225
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2226
|
+
method: "typia.json.stringify",
|
|
2227
|
+
expected: "(\"straight\" | boolean | null | undefined)",
|
|
2228
|
+
value: input.alpha
|
|
2229
|
+
});
|
|
2230
|
+
})() : "null" : undefined},`}${undefined === input.interlaced ? "" : `"interlaced":${undefined !== input.interlaced ? null !== input.interlaced ? (() => {
|
|
2231
|
+
if ("boolean" === typeof input.interlaced)
|
|
2232
|
+
return input.interlaced;
|
|
2233
|
+
if ("string" === typeof input.interlaced)
|
|
2234
|
+
return "\"" + input.interlaced + "\"";
|
|
2235
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2236
|
+
method: "typia.json.stringify",
|
|
2237
|
+
expected: "(\"bff\" | \"tff\" | false | null | undefined)",
|
|
2238
|
+
value: input.interlaced
|
|
2239
|
+
});
|
|
2240
|
+
})() : "null" : undefined}`}`)}}`; const _so4 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
2241
|
+
return ""; return `${JSON.stringify(key)}:${_so5(value)}`; }).filter(str => "" !== str).join(",")}}`; const _so5 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.style ? "" : `"style":${undefined !== input.style ? null !== input.style ? __typia_transform__jsonStringifyString._jsonStringifyString(input.style) : "null" : undefined},`}${undefined === input.styleOverrides ? "" : `"styleOverrides":${undefined !== input.styleOverrides ? _so6(input.styleOverrides) : undefined}`}`)}}`; const _so6 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.name ? "" : `"name":${undefined !== input.name ? __typia_transform__jsonStringifyString._jsonStringifyString(input.name) : 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},`}${undefined === input.scaleX ? "" : `"scaleX":${undefined !== input.scaleX ? __typia_transform__jsonStringifyString._jsonStringifyString(input.scaleX) : undefined},`}${undefined === input.scaleY ? "" : `"scaleY":${undefined !== input.scaleY ? __typia_transform__jsonStringifyString._jsonStringifyString(input.scaleY) : undefined},`}${undefined === input.spacing ? "" : `"spacing":${undefined !== input.spacing ? __typia_transform__jsonStringifyString._jsonStringifyString(input.spacing) : undefined},`}${undefined === input.lineSpacing ? "" : `"lineSpacing":${undefined !== input.lineSpacing ? __typia_transform__jsonStringifyString._jsonStringifyString(input.lineSpacing) : undefined},`}${undefined === input.angle ? "" : `"angle":${undefined !== input.angle ? __typia_transform__jsonStringifyString._jsonStringifyString(input.angle) : undefined},`}${undefined === input.borderStyle ? "" : `"borderStyle":${undefined !== input.borderStyle ? __typia_transform__jsonStringifyString._jsonStringifyString(input.borderStyle) : undefined},`}${undefined === input.outline ? "" : `"outline":${undefined !== input.outline ? __typia_transform__jsonStringifyString._jsonStringifyString(input.outline) : undefined},`}${undefined === input.shadow ? "" : `"shadow":${undefined !== input.shadow ? __typia_transform__jsonStringifyString._jsonStringifyString(input.shadow) : undefined},`}${undefined === input.alignment ? "" : `"alignment":${undefined !== input.alignment ? __typia_transform__jsonStringifyString._jsonStringifyString(input.alignment) : undefined},`}${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.encoding ? "" : `"encoding":${undefined !== input.encoding ? __typia_transform__jsonStringifyString._jsonStringifyString(input.encoding) : undefined}`}`)}}`; const _so7 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.filters ? "" : `"filters":${undefined !== input.filters ? _so8(input.filters) : undefined},`}${undefined === input.crop ? "" : `"crop":${undefined !== input.crop ? _so12(input.crop) : undefined},`}${undefined === input.orientation ? "" : `"orientation":${undefined !== input.orientation ? input.orientation : undefined},`}${undefined === input.interlaced ? "" : `"interlaced":${undefined !== input.interlaced ? null !== input.interlaced ? (() => {
|
|
2242
|
+
if ("boolean" === typeof input.interlaced)
|
|
2243
|
+
return input.interlaced;
|
|
2244
|
+
if ("string" === typeof input.interlaced)
|
|
2245
|
+
return "\"" + input.interlaced + "\"";
|
|
2246
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2247
|
+
method: "typia.json.stringify",
|
|
2248
|
+
expected: "(\"bff\" | \"tff\" | false | null | undefined)",
|
|
2249
|
+
value: input.interlaced
|
|
2250
|
+
});
|
|
2251
|
+
})() : "null" : undefined},`}${undefined === input.alpha ? "" : `"alpha":${undefined !== input.alpha ? null !== input.alpha ? (() => {
|
|
2252
|
+
if ("string" === typeof input.alpha)
|
|
2253
|
+
return "\"" + input.alpha + "\"";
|
|
2254
|
+
if ("boolean" === typeof input.alpha)
|
|
2255
|
+
return input.alpha;
|
|
2256
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2257
|
+
method: "typia.json.stringify",
|
|
2258
|
+
expected: "(\"straight\" | boolean | null | undefined)",
|
|
2259
|
+
value: input.alpha
|
|
2260
|
+
});
|
|
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 => {
|
|
2262
|
+
const value = input[key];
|
|
2263
|
+
if (undefined === value)
|
|
2264
|
+
return true;
|
|
2265
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io5(value);
|
|
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);
|
|
2267
|
+
}
|
|
2047
2268
|
case ":monitor.stats?": {
|
|
2048
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)
|
|
2049
2270
|
return ""; return `${JSON.stringify(key)}:${null !== value ? (() => {
|
|
@@ -2121,8 +2342,31 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
2121
2342
|
expected: "(Array<string> | string | undefined)",
|
|
2122
2343
|
value: input.supports
|
|
2123
2344
|
});
|
|
2124
|
-
})() : undefined},`}${undefined === input.priority ? "" : `"priority":${undefined !== input.priority ? input.priority : undefined},`}${undefined === input.editorPriority ? "" : `"editorPriority":${undefined !== input.editorPriority ? input.editorPriority : undefined},`}${undefined === input.properties ? "" : `"properties":${undefined !== input.properties ? _so1(input.properties) : undefined},`}${undefined === input.layout ? "" : `"layout":${undefined !== input.layout ?
|
|
2125
|
-
return ""; return `${JSON.stringify(key)}:${_so2(value)}`; }).filter(str => "" !== str).join(",")}}`; const _so2 = input => `{${undefined === input.
|
|
2345
|
+
})() : undefined},`}${undefined === input.priority ? "" : `"priority":${undefined !== input.priority ? input.priority : undefined},`}${undefined === input.editorPriority ? "" : `"editorPriority":${undefined !== input.editorPriority ? input.editorPriority : undefined},`}${undefined === input.properties ? "" : `"properties":${undefined !== input.properties ? _so1(input.properties) : undefined},`}${undefined === input.layout ? "" : `"layout":${undefined !== input.layout ? _so7(input.layout) : undefined},`}${undefined === input.filter || "function" === typeof input.filter ? "" : `"filter":${undefined !== input.filter ? JSON.stringify(input.filter) : undefined},`}${undefined === input.expand || "function" === typeof input.expand ? "" : `"expand":${undefined !== input.expand ? JSON.stringify(input.expand) : undefined}`}`)}}`; const _so1 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
2346
|
+
return ""; return `${JSON.stringify(key)}:${_so2(value)}`; }).filter(str => "" !== str).join(",")}}`; 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 => _so3(elem)).join(",")}]` : undefined},`}${undefined === input.anyOf ? "" : `"anyOf":${undefined !== input.anyOf ? `[${input.anyOf.map(elem => _so3(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 ? (() => {
|
|
2347
|
+
if ("string" === typeof input.widget)
|
|
2348
|
+
return __typia_transform__jsonStringifyString._jsonStringifyString(input.widget);
|
|
2349
|
+
if ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget))
|
|
2350
|
+
return _so4(input.widget);
|
|
2351
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2352
|
+
method: "typia.json.stringify",
|
|
2353
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
2354
|
+
value: input.widget
|
|
2355
|
+
});
|
|
2356
|
+
})() : 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 ? _so3(input.items) : undefined},`}${undefined === input.properties ? "" : `"properties":${undefined !== input.properties ? _so5(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 ? _so6(input.index) : undefined}`}`)}}`; const _so3 = 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 => _so3(elem)).join(",")}]` : undefined},`}${undefined === input.anyOf ? "" : `"anyOf":${undefined !== input.anyOf ? `[${input.anyOf.map(elem => _so3(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 ? (() => {
|
|
2357
|
+
if ("string" === typeof input.widget)
|
|
2358
|
+
return __typia_transform__jsonStringifyString._jsonStringifyString(input.widget);
|
|
2359
|
+
if ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget))
|
|
2360
|
+
return _so4(input.widget);
|
|
2361
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2362
|
+
method: "typia.json.stringify",
|
|
2363
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
2364
|
+
value: input.widget
|
|
2365
|
+
});
|
|
2366
|
+
})() : 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 ? _so3(input.items) : undefined},`}${undefined === input.properties ? "" : `"properties":${undefined !== input.properties ? _so5(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 ? _so6(input.index) : undefined}`}`)}}`; const _so4 = 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)
|
|
2367
|
+
return ""; if (["type", "readOnly"].some(regular => regular === key))
|
|
2368
|
+
return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}`)}}`; const _so5 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
2369
|
+
return ""; return `${JSON.stringify(key)}:${_so3(value)}`; }).filter(str => "" !== str).join(",")}}`; const _so6 = input => `{"label":${__typia_transform__jsonStringifyString._jsonStringifyString(input.label)},"path":${__typia_transform__jsonStringifyString._jsonStringifyString(input.path)}}`; const _so7 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.panel ? "" : `"panel":${undefined !== input.panel ? (() => {
|
|
2126
2370
|
if ("string" === typeof input.panel)
|
|
2127
2371
|
return __typia_transform__jsonStringifyString._jsonStringifyString(input.panel);
|
|
2128
2372
|
if (Array.isArray(input.panel))
|
|
@@ -2131,7 +2375,7 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
2131
2375
|
return _su0(input.panel);
|
|
2132
2376
|
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2133
2377
|
method: "typia.json.stringify",
|
|
2134
|
-
expected: "(Array<
|
|
2378
|
+
expected: "(Array<WidgetLayout> | WidgetLayoutDivider | WidgetLayoutItem | string | undefined)",
|
|
2135
2379
|
value: input.panel
|
|
2136
2380
|
});
|
|
2137
2381
|
})() : undefined},`}${undefined === input.editor ? "" : `"editor":${undefined !== input.editor ? (() => {
|
|
@@ -2143,10 +2387,10 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
2143
2387
|
return _su0(input.editor);
|
|
2144
2388
|
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2145
2389
|
method: "typia.json.stringify",
|
|
2146
|
-
expected: "(Array<
|
|
2390
|
+
expected: "(Array<WidgetLayout> | WidgetLayoutDivider | WidgetLayoutItem | string | undefined)",
|
|
2147
2391
|
value: input.editor
|
|
2148
2392
|
});
|
|
2149
|
-
})() : undefined}`}`)}}`; const
|
|
2393
|
+
})() : undefined}`}`)}}`; const _so8 = input => `{${undefined === input.title ? "" : `"title":${undefined !== input.title ? __typia_transform__jsonStringifyString._jsonStringifyString(input.title) : undefined},`}"type":${"\"" + input.type + "\""}}`; const _so9 = input => `{${undefined === input.width ? "" : `"width":${undefined !== input.width ? (() => {
|
|
2150
2394
|
if ("string" === typeof input.width)
|
|
2151
2395
|
return __typia_transform__jsonStringifyString._jsonStringifyString(input.width);
|
|
2152
2396
|
if ("number" === typeof input.width)
|
|
@@ -2158,23 +2402,23 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
2158
2402
|
});
|
|
2159
2403
|
})() : undefined},`}${undefined === input.widget ? "" : `"widget":${undefined !== input.widget ? (() => {
|
|
2160
2404
|
if ("string" === typeof input.widget)
|
|
2161
|
-
return
|
|
2162
|
-
if ("object" === typeof input.widget && null !== input.widget)
|
|
2163
|
-
return
|
|
2405
|
+
return __typia_transform__jsonStringifyString._jsonStringifyString(input.widget);
|
|
2406
|
+
if ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget))
|
|
2407
|
+
return _so4(input.widget);
|
|
2164
2408
|
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2165
2409
|
method: "typia.json.stringify",
|
|
2166
|
-
expected: "(
|
|
2410
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
2167
2411
|
value: input.widget
|
|
2168
2412
|
});
|
|
2169
|
-
})() : undefined},`}"property":${__typia_transform__jsonStringifyString._jsonStringifyString(input.property)}}`; const
|
|
2413
|
+
})() : undefined},`}"property":${__typia_transform__jsonStringifyString._jsonStringifyString(input.property)}}`; const _su0 = input => (() => {
|
|
2170
2414
|
if (undefined !== input.type)
|
|
2171
|
-
return _so7(input);
|
|
2172
|
-
else if (undefined !== input.property)
|
|
2173
2415
|
return _so8(input);
|
|
2416
|
+
else if (undefined !== input.property)
|
|
2417
|
+
return _so9(input);
|
|
2174
2418
|
else
|
|
2175
2419
|
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2176
2420
|
method: "typia.json.stringify",
|
|
2177
|
-
expected: "(
|
|
2421
|
+
expected: "(WidgetLayoutDivider | WidgetLayoutItem)",
|
|
2178
2422
|
value: input
|
|
2179
2423
|
});
|
|
2180
2424
|
})(); const _sa0 = input => `[${input.map(elem => (() => {
|
|
@@ -2186,19 +2430,31 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
2186
2430
|
return _su0(elem);
|
|
2187
2431
|
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2188
2432
|
method: "typia.json.stringify",
|
|
2189
|
-
expected: "(Array<
|
|
2433
|
+
expected: "(Array<WidgetLayout> | WidgetLayoutDivider | WidgetLayoutItem | string)",
|
|
2190
2434
|
value: elem
|
|
2191
2435
|
});
|
|
2192
2436
|
})()).join(",")}]`; const _io1 = input => Object.keys(input).every(key => {
|
|
2193
2437
|
const value = input[key];
|
|
2194
2438
|
if (undefined === value)
|
|
2195
2439
|
return true;
|
|
2196
|
-
return "object" === typeof value && null !== value && _io2(value);
|
|
2197
|
-
}); const _io2 = input => (
|
|
2440
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
|
|
2441
|
+
}); 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) && _io3(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io3(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) && _io4(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) && _io3(input.items)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io5(input.properties)) && true && (undefined === input.index || "object" === typeof input.index && null !== input.index && _io6(input.index)); const _io3 = 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) && _io3(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io3(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) && _io4(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) && _io3(input.items)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io5(input.properties)) && true && (undefined === input.index || "object" === typeof input.index && null !== input.index && _io6(input.index)); const _io4 = input => (undefined === input.type || "string" === typeof input.type) && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && Object.keys(input).every(key => {
|
|
2442
|
+
if (["type", "readOnly"].some(prop => key === prop))
|
|
2443
|
+
return true;
|
|
2444
|
+
const value = input[key];
|
|
2445
|
+
if (undefined === value)
|
|
2446
|
+
return true;
|
|
2447
|
+
return true;
|
|
2448
|
+
}); const _io5 = input => Object.keys(input).every(key => {
|
|
2449
|
+
const value = input[key];
|
|
2450
|
+
if (undefined === value)
|
|
2451
|
+
return true;
|
|
2452
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io3(value);
|
|
2453
|
+
}); const _io6 = input => "string" === typeof input.label && "string" === typeof input.path; const _io7 = input => null !== input.panel && (undefined === input.panel || "string" === typeof input.panel || (Array.isArray(input.panel) && (_ia0(input.panel) || false) || "object" === typeof input.panel && null !== input.panel && _iu0(input.panel))) && (null !== input.editor && (undefined === input.editor || "string" === typeof input.editor || (Array.isArray(input.editor) && (_ia0(input.editor) || false) || "object" === typeof input.editor && null !== input.editor && _iu0(input.editor)))); const _io8 = input => "divider" === input.type && (undefined === input.title || "string" === typeof input.title); const _io9 = input => "string" === typeof input.property && (undefined === input.width || "string" === typeof input.width || "number" === typeof input.width) && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io4(input.widget))); const _iu0 = input => (() => {
|
|
2198
2454
|
if (undefined !== input.type)
|
|
2199
|
-
return _io7(input);
|
|
2200
|
-
else if (undefined !== input.property)
|
|
2201
2455
|
return _io8(input);
|
|
2456
|
+
else if (undefined !== input.property)
|
|
2457
|
+
return _io9(input);
|
|
2202
2458
|
else
|
|
2203
2459
|
return false;
|
|
2204
2460
|
})(); const _ia0 = input => input.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || (Array.isArray(elem) && (_ia0(elem) || false) || "object" === typeof elem && null !== elem && _iu0(elem)))); return input => _so0(input); })()(input);
|
|
@@ -2272,18 +2528,78 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
2272
2528
|
return (() => { const _so0 = input => `{${undefined === input.fontFamily ? "" : `"fontFamily":${undefined !== input.fontFamily ? __typia_transform__jsonStringifyString._jsonStringifyString(input.fontFamily) : undefined},`}${undefined === input.fontFamilies ? "" : `"fontFamilies":${undefined !== input.fontFamilies ? `[${input.fontFamilies.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined},`}${undefined === input.genericFontFamily ? "" : `"genericFontFamily":${undefined !== input.genericFontFamily ? __typia_transform__jsonStringifyString._jsonStringifyString(input.genericFontFamily) : undefined},`}${undefined === input.dummy ? "" : `"dummy":${undefined !== input.dummy ? input.dummy : undefined},`}${undefined === input.showInfo ? "" : `"showInfo":${undefined !== input.showInfo ? input.showInfo : undefined},`}"asset":${__typia_transform__jsonStringifyString._jsonStringifyString(input.asset)},"primaryColor":${__typia_transform__jsonStringifyString._jsonStringifyString(input.primaryColor)},"secondaryColor":${__typia_transform__jsonStringifyString._jsonStringifyString(input.secondaryColor)},"backgroundColor":${__typia_transform__jsonStringifyString._jsonStringifyString(input.backgroundColor)},"fontSize":${input.fontSize},"lineHeight":${input.lineHeight},"markerPosition":${input.markerPosition},"padding":${input.padding}}`; return input => _so0(input); })()(input);
|
|
2273
2529
|
}
|
|
2274
2530
|
case ":publish": {
|
|
2275
|
-
return (() => { const _so0 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.type ? "" : `"type":${null === input.type ? "null" : undefined},`}${undefined === input.asset ? "" : `"asset":${undefined !== input.asset ? null !== input.asset ? __typia_transform__jsonStringifyString._jsonStringifyString(input.asset) : "null" : undefined},`}${undefined === input.connection ? "" : `"connection":${undefined !== input.connection ? __typia_transform__jsonStringifyString._jsonStringifyString(input.connection) : undefined},`}${undefined === input.render ? "" : `"render":${undefined !== input.render ? _so1(input.render) : undefined},`}${undefined === input.draft || "function" === typeof input.draft ? "" : `"draft":${undefined !== input.draft ? JSON.stringify(input.draft) : undefined},`}${undefined === input.published || "function" === typeof input.published ? "" : `"published":${undefined !== input.published ? JSON.stringify(input.published) : undefined},`}${undefined === input.remote || "function" === typeof input.remote ? "" : `"remote":${undefined !== input.remote ? JSON.stringify(input.remote) : undefined},`}${undefined === input.error ? "" : `"error":${undefined !== input.error ? null !== input.error ?
|
|
2276
|
-
|
|
2531
|
+
return (() => { const _so0 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.type ? "" : `"type":${null === input.type ? "null" : undefined},`}${undefined === input.asset ? "" : `"asset":${undefined !== input.asset ? null !== input.asset ? __typia_transform__jsonStringifyString._jsonStringifyString(input.asset) : "null" : undefined},`}${undefined === input.connection ? "" : `"connection":${undefined !== input.connection ? __typia_transform__jsonStringifyString._jsonStringifyString(input.connection) : undefined},`}${undefined === input.render ? "" : `"render":${undefined !== input.render ? _so1(input.render) : undefined},`}${undefined === input.draft || "function" === typeof input.draft ? "" : `"draft":${undefined !== input.draft ? JSON.stringify(input.draft) : undefined},`}${undefined === input.published || "function" === typeof input.published ? "" : `"published":${undefined !== input.published ? JSON.stringify(input.published) : undefined},`}${undefined === input.remote || "function" === typeof input.remote ? "" : `"remote":${undefined !== input.remote ? JSON.stringify(input.remote) : undefined},`}${undefined === input.error ? "" : `"error":${undefined !== input.error ? null !== input.error ? _so23(input.error) : "null" : undefined},`}${undefined === input.messages ? "" : `"messages":${undefined !== input.messages ? `[${input.messages.map(elem => _so24(elem)).join(",")}]` : undefined}`}`)}}`; const _so1 = input => `{${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? __typia_transform__jsonStringifyString._jsonStringifyString(input.preset) : undefined},`}${undefined === input.scene ? "" : `"scene":${undefined !== input.scene ? _so2(input.scene) : undefined},`}${undefined === input.profile ? "" : `"profile":${undefined !== input.profile ? _so16(input.profile) : undefined},`}"type":${__typia_transform__jsonStringifyString._jsonStringifyString(input.type)}}`; const _so2 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.id ? "" : `"id":${undefined !== input.id ? __typia_transform__jsonStringifyString._jsonStringifyString(input.id) : undefined},`}${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? __typia_transform__jsonStringifyString._jsonStringifyString(input.preset) : undefined},`}${undefined === input.input ? "" : `"input":${undefined !== input.input ? null !== input.input ? _so3(input.input) : "null" : undefined},`}${undefined === input.lang ? "" : `"lang":${undefined !== input.lang ? __typia_transform__jsonStringifyString._jsonStringifyString(input.lang) : undefined},`}${undefined === input.subtitle ? "" : `"subtitle":${undefined !== input.subtitle ? __typia_transform__jsonStringifyString._jsonStringifyString(input.subtitle) : undefined},`}${undefined === input.graphics ? "" : `"graphics":${undefined !== input.graphics ? __typia_transform__jsonStringifyString._jsonStringifyString(input.graphics) : undefined},`}${undefined === input.subtitleTracks ? "" : `"subtitleTracks":${undefined !== input.subtitleTracks ? _so5(input.subtitleTracks) : undefined},`}${undefined === input.video ? "" : `"video":${undefined !== input.video ? _so8(input.video) : undefined},`}${undefined === input.audio ? "" : `"audio":${undefined !== input.audio ? _so14(input.audio) : undefined},`}${undefined === input.start ? "" : `"start":${undefined !== input.start ? input.start : undefined},`}${undefined === input.end ? "" : `"end":${undefined !== input.end ? input.end : undefined},`}${undefined === input.transcribe ? "" : `"transcribe":${undefined !== input.transcribe ? _so15(input.transcribe) : undefined},`}${undefined === input.crop ? "" : `"crop":${undefined !== input.crop ? _so13(input.crop) : undefined},`}${undefined === input.filters ? "" : `"filters":${undefined !== input.filters ? _so9(input.filters) : undefined},`}${undefined === input.orientation ? "" : `"orientation":${undefined !== input.orientation ? input.orientation : undefined},`}${undefined === input.rotate ? "" : `"rotate":${undefined !== input.rotate ? input.rotate : undefined},`}${undefined === input.interlaced ? "" : `"interlaced":${undefined !== input.interlaced ? null !== input.interlaced ? (() => {
|
|
2532
|
+
if ("boolean" === typeof input.interlaced)
|
|
2533
|
+
return input.interlaced;
|
|
2534
|
+
if ("string" === typeof input.interlaced)
|
|
2535
|
+
return "\"" + input.interlaced + "\"";
|
|
2536
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2537
|
+
method: "typia.json.stringify",
|
|
2538
|
+
expected: "(\"bff\" | \"tff\" | false | null | undefined)",
|
|
2539
|
+
value: input.interlaced
|
|
2540
|
+
});
|
|
2541
|
+
})() : "null" : undefined},`}${undefined === input.alpha ? "" : `"alpha":${undefined !== input.alpha ? null !== input.alpha ? (() => {
|
|
2542
|
+
if ("string" === typeof input.alpha)
|
|
2543
|
+
return "\"" + input.alpha + "\"";
|
|
2544
|
+
if ("boolean" === typeof input.alpha)
|
|
2545
|
+
return input.alpha;
|
|
2546
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2547
|
+
method: "typia.json.stringify",
|
|
2548
|
+
expected: "(\"straight\" | boolean | null | undefined)",
|
|
2549
|
+
value: input.alpha
|
|
2550
|
+
});
|
|
2551
|
+
})() : "null" : undefined}`}`)}}`; const _so3 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.type ? "" : `"type":${undefined !== input.type ? __typia_transform__jsonStringifyString._jsonStringifyString(input.type) : undefined},`}${undefined === input.file ? "" : `"file":${undefined !== input.file ? null !== input.file ? __typia_transform__jsonStringifyString._jsonStringifyString(input.file) : "null" : undefined},`}${undefined === input.video ? "" : `"video":${undefined !== input.video ? _so4(input.video) : undefined},`}${undefined === input.proxy ? "" : `"proxy":${undefined !== input.proxy ? null !== input.proxy ? __typia_transform__jsonStringifyString._jsonStringifyString(input.proxy) : "null" : undefined},`}${undefined === input.proxyManifest ? "" : `"proxyManifest":${undefined !== input.proxyManifest ? null !== input.proxyManifest ? __typia_transform__jsonStringifyString._jsonStringifyString(input.proxyManifest) : "null" : undefined},`}${undefined === input.proxyFile ? "" : `"proxyFile":${undefined !== input.proxyFile ? null !== input.proxyFile ? __typia_transform__jsonStringifyString._jsonStringifyString(input.proxyFile) : "null" : undefined},`}${undefined === input.manifest ? "" : `"manifest":${undefined !== input.manifest ? null !== input.manifest ? __typia_transform__jsonStringifyString._jsonStringifyString(input.manifest) : "null" : undefined}`}`)}}`; const _so4 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.alpha ? "" : `"alpha":${undefined !== input.alpha ? null !== input.alpha ? (() => {
|
|
2552
|
+
if ("string" === typeof input.alpha)
|
|
2553
|
+
return "\"" + input.alpha + "\"";
|
|
2554
|
+
if ("boolean" === typeof input.alpha)
|
|
2555
|
+
return input.alpha;
|
|
2556
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2557
|
+
method: "typia.json.stringify",
|
|
2558
|
+
expected: "(\"straight\" | boolean | null | undefined)",
|
|
2559
|
+
value: input.alpha
|
|
2560
|
+
});
|
|
2561
|
+
})() : "null" : undefined},`}${undefined === input.interlaced ? "" : `"interlaced":${undefined !== input.interlaced ? null !== input.interlaced ? (() => {
|
|
2562
|
+
if ("boolean" === typeof input.interlaced)
|
|
2563
|
+
return input.interlaced;
|
|
2564
|
+
if ("string" === typeof input.interlaced)
|
|
2565
|
+
return "\"" + input.interlaced + "\"";
|
|
2566
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2567
|
+
method: "typia.json.stringify",
|
|
2568
|
+
expected: "(\"bff\" | \"tff\" | false | null | undefined)",
|
|
2569
|
+
value: input.interlaced
|
|
2570
|
+
});
|
|
2571
|
+
})() : "null" : undefined}`}`)}}`; const _so5 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
2572
|
+
return ""; return `${JSON.stringify(key)}:${_so6(value)}`; }).filter(str => "" !== str).join(",")}}`; const _so6 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.style ? "" : `"style":${undefined !== input.style ? null !== input.style ? __typia_transform__jsonStringifyString._jsonStringifyString(input.style) : "null" : undefined},`}${undefined === input.styleOverrides ? "" : `"styleOverrides":${undefined !== input.styleOverrides ? _so7(input.styleOverrides) : undefined}`}`)}}`; const _so7 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.name ? "" : `"name":${undefined !== input.name ? __typia_transform__jsonStringifyString._jsonStringifyString(input.name) : 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},`}${undefined === input.scaleX ? "" : `"scaleX":${undefined !== input.scaleX ? __typia_transform__jsonStringifyString._jsonStringifyString(input.scaleX) : undefined},`}${undefined === input.scaleY ? "" : `"scaleY":${undefined !== input.scaleY ? __typia_transform__jsonStringifyString._jsonStringifyString(input.scaleY) : undefined},`}${undefined === input.spacing ? "" : `"spacing":${undefined !== input.spacing ? __typia_transform__jsonStringifyString._jsonStringifyString(input.spacing) : undefined},`}${undefined === input.lineSpacing ? "" : `"lineSpacing":${undefined !== input.lineSpacing ? __typia_transform__jsonStringifyString._jsonStringifyString(input.lineSpacing) : undefined},`}${undefined === input.angle ? "" : `"angle":${undefined !== input.angle ? __typia_transform__jsonStringifyString._jsonStringifyString(input.angle) : undefined},`}${undefined === input.borderStyle ? "" : `"borderStyle":${undefined !== input.borderStyle ? __typia_transform__jsonStringifyString._jsonStringifyString(input.borderStyle) : undefined},`}${undefined === input.outline ? "" : `"outline":${undefined !== input.outline ? __typia_transform__jsonStringifyString._jsonStringifyString(input.outline) : undefined},`}${undefined === input.shadow ? "" : `"shadow":${undefined !== input.shadow ? __typia_transform__jsonStringifyString._jsonStringifyString(input.shadow) : undefined},`}${undefined === input.alignment ? "" : `"alignment":${undefined !== input.alignment ? __typia_transform__jsonStringifyString._jsonStringifyString(input.alignment) : undefined},`}${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.encoding ? "" : `"encoding":${undefined !== input.encoding ? __typia_transform__jsonStringifyString._jsonStringifyString(input.encoding) : undefined}`}`)}}`; const _so8 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.filters ? "" : `"filters":${undefined !== input.filters ? _so9(input.filters) : undefined},`}${undefined === input.crop ? "" : `"crop":${undefined !== input.crop ? _so13(input.crop) : undefined},`}${undefined === input.orientation ? "" : `"orientation":${undefined !== input.orientation ? input.orientation : undefined},`}${undefined === input.interlaced ? "" : `"interlaced":${undefined !== input.interlaced ? null !== input.interlaced ? (() => {
|
|
2573
|
+
if ("boolean" === typeof input.interlaced)
|
|
2574
|
+
return input.interlaced;
|
|
2575
|
+
if ("string" === typeof input.interlaced)
|
|
2576
|
+
return "\"" + input.interlaced + "\"";
|
|
2577
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2578
|
+
method: "typia.json.stringify",
|
|
2579
|
+
expected: "(\"bff\" | \"tff\" | false | null | undefined)",
|
|
2580
|
+
value: input.interlaced
|
|
2581
|
+
});
|
|
2582
|
+
})() : "null" : undefined},`}${undefined === input.alpha ? "" : `"alpha":${undefined !== input.alpha ? null !== input.alpha ? (() => {
|
|
2583
|
+
if ("string" === typeof input.alpha)
|
|
2584
|
+
return "\"" + input.alpha + "\"";
|
|
2585
|
+
if ("boolean" === typeof input.alpha)
|
|
2586
|
+
return input.alpha;
|
|
2587
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2588
|
+
method: "typia.json.stringify",
|
|
2589
|
+
expected: "(\"straight\" | boolean | null | undefined)",
|
|
2590
|
+
value: input.alpha
|
|
2591
|
+
});
|
|
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 ? (() => {
|
|
2277
2593
|
if ("string" === typeof input.subtitle)
|
|
2278
2594
|
return __typia_transform__jsonStringifyString._jsonStringifyString(input.subtitle);
|
|
2279
2595
|
if ("object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle))
|
|
2280
|
-
return
|
|
2596
|
+
return _so20(input.subtitle);
|
|
2281
2597
|
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2282
2598
|
method: "typia.json.stringify",
|
|
2283
2599
|
expected: "(SubtitleProfile | string | undefined)",
|
|
2284
2600
|
value: input.subtitle
|
|
2285
2601
|
});
|
|
2286
|
-
})() : undefined},`}"format":${__typia_transform__jsonStringifyString._jsonStringifyString(input.format)}}`; const
|
|
2602
|
+
})() : undefined},`}"format":${__typia_transform__jsonStringifyString._jsonStringifyString(input.format)}}`; const _so17 = input => `{"engine":${__typia_transform__jsonStringifyString._jsonStringifyString(input.engine)}}`; const _so18 = input => `{"language":${__typia_transform__jsonStringifyString._jsonStringifyString(input.language)}}`; const _so19 = 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 _so20 = 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 ? _so21(input.ccconverter) : undefined},`}${undefined === input.ass ? "" : `"ass":${undefined !== input.ass ? _so22(input.ass) : undefined}`}`)}}`; const _so21 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? __typia_transform__jsonStringifyString._jsonStringifyString(input.preset) : undefined}`}`)}}`; const _so22 = 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 _so23 = input => `{"method":${__typia_transform__jsonStringifyString._jsonStringifyString(input.method)}}`; const _so24 = input => `{"level":${input.level},"code":${__typia_transform__jsonStringifyString._jsonStringifyString(input.code)},"msg":${__typia_transform__jsonStringifyString._jsonStringifyString(input.msg)}}`; const _so25 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.type ? "" : `"type":${undefined !== input.type ? "\"" + input.type + "\"" : undefined},`}${undefined === input.pageId ? "" : `"pageId":${undefined !== input.pageId ? __typia_transform__jsonStringifyString._jsonStringifyString(input.pageId) : undefined},`}${undefined === input.asset ? "" : `"asset":${undefined !== input.asset ? null !== input.asset ? __typia_transform__jsonStringifyString._jsonStringifyString(input.asset) : "null" : undefined},`}${undefined === input.connection ? "" : `"connection":${undefined !== input.connection ? __typia_transform__jsonStringifyString._jsonStringifyString(input.connection) : undefined},`}${undefined === input.render ? "" : `"render":${undefined !== input.render ? _so1(input.render) : undefined},`}${undefined === input.draft || "function" === typeof input.draft ? "" : `"draft":${undefined !== input.draft ? JSON.stringify(input.draft) : undefined},`}${undefined === input.published || "function" === typeof input.published ? "" : `"published":${undefined !== input.published ? JSON.stringify(input.published) : undefined},`}${undefined === input.remote || "function" === typeof input.remote ? "" : `"remote":${undefined !== input.remote ? JSON.stringify(input.remote) : undefined},`}${undefined === input.error ? "" : `"error":${undefined !== input.error ? null !== input.error ? _so23(input.error) : "null" : undefined},`}${undefined === input.messages ? "" : `"messages":${undefined !== input.messages ? `[${input.messages.map(elem => _so24(elem)).join(",")}]` : undefined}`}`)}}`; const _so26 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.type ? "" : `"type":${undefined !== input.type ? "\"" + input.type + "\"" : undefined},`}${undefined === input.directory ? "" : `"directory":${undefined !== input.directory ? __typia_transform__jsonStringifyString._jsonStringifyString(input.directory) : undefined},`}${undefined === input.filename ? "" : `"filename":${undefined !== input.filename ? __typia_transform__jsonStringifyString._jsonStringifyString(input.filename) : undefined},`}${undefined === input.renders ? "" : `"renders":${undefined !== input.renders ? _so27(input.renders) : undefined},`}${undefined === input.draft ? "" : `"draft":${undefined !== input.draft ? _so31(input.draft) : undefined},`}${undefined === input.remote ? "" : `"remote":${undefined !== input.remote ? _so32(input.remote) : undefined},`}${undefined === input.published ? "" : `"published":${undefined !== input.published ? _so35(input.published) : undefined},`}${undefined === input.asset ? "" : `"asset":${undefined !== input.asset ? null !== input.asset ? __typia_transform__jsonStringifyString._jsonStringifyString(input.asset) : "null" : undefined},`}${undefined === input.connection ? "" : `"connection":${undefined !== input.connection ? __typia_transform__jsonStringifyString._jsonStringifyString(input.connection) : undefined},`}${undefined === input.render ? "" : `"render":${undefined !== input.render ? _so1(input.render) : undefined},`}${undefined === input.error ? "" : `"error":${undefined !== input.error ? null !== input.error ? _so23(input.error) : "null" : undefined},`}${undefined === input.messages ? "" : `"messages":${undefined !== input.messages ? `[${input.messages.map(elem => _so24(elem)).join(",")}]` : undefined}`}`)}}`; const _so27 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
2287
2603
|
return ""; return `${JSON.stringify(key)}:${(() => {
|
|
2288
2604
|
if ("string" === typeof value)
|
|
2289
2605
|
return __typia_transform__jsonStringifyString._jsonStringifyString(value);
|
|
@@ -2291,66 +2607,66 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
2291
2607
|
return _su0(value);
|
|
2292
2608
|
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2293
2609
|
method: "typia.json.stringify",
|
|
2294
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
2610
|
+
expected: "(ResolvedFilePublishRender | __type.o14 | string)",
|
|
2295
2611
|
value: value
|
|
2296
2612
|
});
|
|
2297
|
-
})()}`; }).filter(str => "" !== str).join(",")}}`; const
|
|
2298
|
-
return ""; return `${JSON.stringify(key)}:${
|
|
2613
|
+
})()}`; }).filter(str => "" !== str).join(",")}}`; const _so28 = input => `{${undefined === input.name ? "" : `"name":${undefined !== input.name ? __typia_transform__jsonStringifyString._jsonStringifyString(input.name) : undefined},`}${undefined === input.collisionStrategy ? "" : `"collisionStrategy":${undefined !== input.collisionStrategy ? "\"" + input.collisionStrategy + "\"" : undefined},`}${undefined === input.ignoreEmptyScene ? "" : `"ignoreEmptyScene":${undefined !== input.ignoreEmptyScene ? input.ignoreEmptyScene : undefined},`}${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? __typia_transform__jsonStringifyString._jsonStringifyString(input.preset) : undefined},`}${undefined === input.scene ? "" : `"scene":${undefined !== input.scene ? _so2(input.scene) : undefined},`}${undefined === input.profile ? "" : `"profile":${undefined !== input.profile ? _so16(input.profile) : undefined},`}"path":${__typia_transform__jsonStringifyString._jsonStringifyString(input.path)},"type":${__typia_transform__jsonStringifyString._jsonStringifyString(input.type)}}`; const _so29 = input => `{"__context":${_so30(input.__context)},"__returnValue":${_so28(input.__returnValue)}}`; const _so30 = input => `{"publish":${_so26(input.publish)},"directory":${__typia_transform__jsonStringifyString._jsonStringifyString(input.directory)},"name":${__typia_transform__jsonStringifyString._jsonStringifyString(input.name)}}`; const _so31 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.directory ? "" : `"directory":${undefined !== input.directory ? __typia_transform__jsonStringifyString._jsonStringifyString(input.directory) : undefined},`}${undefined === input.filename ? "" : `"filename":${undefined !== input.filename ? __typia_transform__jsonStringifyString._jsonStringifyString(input.filename) : undefined}`}`)}}`; const _so32 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.directory ? "" : `"directory":${undefined !== input.directory ? __typia_transform__jsonStringifyString._jsonStringifyString(input.directory) : undefined},`}${undefined === input.filename ? "" : `"filename":${undefined !== input.filename ? __typia_transform__jsonStringifyString._jsonStringifyString(input.filename) : undefined},`}${undefined === input.renders ? "" : `"renders":${undefined !== input.renders ? _so33(input.renders) : undefined}`}`)}}`; const _so33 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
2614
|
+
return ""; return `${JSON.stringify(key)}:${_so34(value)}`; }).filter(str => "" !== str).join(",")}}`; const _so34 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.path ? "" : `"path":${undefined !== input.path ? __typia_transform__jsonStringifyString._jsonStringifyString(input.path) : undefined},`}${undefined === input.messages ? "" : `"messages":${undefined !== input.messages ? `[${input.messages.map(elem => _so24(elem)).join(",")}]` : undefined},`}${undefined === input.query || "function" === typeof input.query ? "" : `"query":${undefined !== input.query ? JSON.stringify(input.query) : undefined},`}${undefined === input.size ? "" : `"size":${undefined !== input.size ? input.size : undefined},`}${undefined === input.hash ? "" : `"hash":${undefined !== input.hash ? __typia_transform__jsonStringifyString._jsonStringifyString(input.hash) : undefined},`}${undefined === input.source ? "" : `"source":${undefined !== input.source ? __typia_transform__jsonStringifyString._jsonStringifyString(input.source) : undefined}`}`)}}`; const _so35 = input => `{${undefined === input.directory ? "" : `"directory":${undefined !== input.directory ? __typia_transform__jsonStringifyString._jsonStringifyString(input.directory) : undefined},`}"filename":${__typia_transform__jsonStringifyString._jsonStringifyString(input.filename)}}`; const _so36 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.type ? "" : `"type":${undefined !== input.type ? "\"" + input.type + "\"" : undefined},`}${undefined === input.directory ? "" : `"directory":${undefined !== input.directory ? __typia_transform__jsonStringifyString._jsonStringifyString(input.directory) : undefined},`}${undefined === input.filename ? "" : `"filename":${undefined !== input.filename ? __typia_transform__jsonStringifyString._jsonStringifyString(input.filename) : undefined},`}${undefined === input.draft ? "" : `"draft":${undefined !== input.draft ? _so31(input.draft) : undefined},`}${undefined === input.remote ? "" : `"remote":${undefined !== input.remote ? _so37(input.remote) : undefined},`}${undefined === input.published ? "" : `"published":${undefined !== input.published ? _so35(input.published) : undefined},`}${undefined === input.asset ? "" : `"asset":${undefined !== input.asset ? null !== input.asset ? __typia_transform__jsonStringifyString._jsonStringifyString(input.asset) : "null" : undefined},`}${undefined === input.connection ? "" : `"connection":${undefined !== input.connection ? __typia_transform__jsonStringifyString._jsonStringifyString(input.connection) : undefined},`}${undefined === input.render ? "" : `"render":${undefined !== input.render ? _so1(input.render) : undefined},`}${undefined === input.error ? "" : `"error":${undefined !== input.error ? null !== input.error ? _so23(input.error) : "null" : undefined},`}${undefined === input.messages ? "" : `"messages":${undefined !== input.messages ? `[${input.messages.map(elem => _so24(elem)).join(",")}]` : undefined}`}`)}}`; const _so37 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.id ? "" : `"id":${undefined !== input.id ? __typia_transform__jsonStringifyString._jsonStringifyString(input.id) : undefined},`}${undefined === input.directory ? "" : `"directory":${undefined !== input.directory ? __typia_transform__jsonStringifyString._jsonStringifyString(input.directory) : undefined},`}${undefined === input.subtitle ? "" : `"subtitle":${undefined !== input.subtitle ? _so38(input.subtitle) : undefined},`}${undefined === input.metafile ? "" : `"metafile":${undefined !== input.metafile ? _so39(input.metafile) : undefined},`}"path":${__typia_transform__jsonStringifyString._jsonStringifyString(input.path)},"filename":${__typia_transform__jsonStringifyString._jsonStringifyString(input.filename)},${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
2299
2615
|
return ""; if (["id", "directory", "subtitle", "metafile", "path", "filename"].some(regular => regular === key))
|
|
2300
|
-
return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}`)}}`; const
|
|
2616
|
+
return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}`)}}`; const _so38 = input => `{"path":${__typia_transform__jsonStringifyString._jsonStringifyString(input.path)}}`; const _so39 = input => `{"path":${__typia_transform__jsonStringifyString._jsonStringifyString(input.path)}}`; const _so40 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.type ? "" : `"type":${undefined !== input.type ? "\"" + input.type + "\"" : undefined},`}${undefined === input.draft ? "" : `"draft":${undefined !== input.draft ? _so41(input.draft) : undefined},`}${undefined === input.asset ? "" : `"asset":${undefined !== input.asset ? null !== input.asset ? __typia_transform__jsonStringifyString._jsonStringifyString(input.asset) : "null" : undefined},`}${undefined === input.connection ? "" : `"connection":${undefined !== input.connection ? __typia_transform__jsonStringifyString._jsonStringifyString(input.connection) : undefined},`}${undefined === input.render ? "" : `"render":${undefined !== input.render ? _so1(input.render) : undefined},`}${undefined === input.published || "function" === typeof input.published ? "" : `"published":${undefined !== input.published ? JSON.stringify(input.published) : undefined},`}${undefined === input.remote || "function" === typeof input.remote ? "" : `"remote":${undefined !== input.remote ? JSON.stringify(input.remote) : undefined},`}${undefined === input.error ? "" : `"error":${undefined !== input.error ? null !== input.error ? _so23(input.error) : "null" : undefined},`}${undefined === input.messages ? "" : `"messages":${undefined !== input.messages ? `[${input.messages.map(elem => _so24(elem)).join(",")}]` : undefined}`}`)}}`; const _so41 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.snippet ? "" : `"snippet":${undefined !== input.snippet ? _so42(input.snippet) : undefined}`}`)}}`; const _so42 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.title ? "" : `"title":${undefined !== input.title ? __typia_transform__jsonStringifyString._jsonStringifyString(input.title) : undefined},`}${undefined === input.tags ? "" : `"tags":${undefined !== input.tags ? `[${input.tags.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined},`}${undefined === input.description ? "" : `"description":${undefined !== input.description ? __typia_transform__jsonStringifyString._jsonStringifyString(input.description) : undefined}`}`)}}`; const _su0 = input => (() => {
|
|
2301
2617
|
if (undefined !== input.path)
|
|
2302
|
-
return
|
|
2618
|
+
return _so28(input);
|
|
2303
2619
|
else if (undefined !== input.__context)
|
|
2304
|
-
return
|
|
2620
|
+
return _so29(input);
|
|
2305
2621
|
else
|
|
2306
2622
|
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2307
2623
|
method: "typia.json.stringify",
|
|
2308
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
2624
|
+
expected: "(ResolvedFilePublishRender | __type.o14)",
|
|
2309
2625
|
value: input
|
|
2310
2626
|
});
|
|
2311
2627
|
})(); const _su1 = input => (() => {
|
|
2312
2628
|
if (_io0(input))
|
|
2313
2629
|
return _so0(input);
|
|
2314
|
-
if (
|
|
2315
|
-
return
|
|
2316
|
-
if (
|
|
2317
|
-
return
|
|
2318
|
-
if (
|
|
2319
|
-
return
|
|
2320
|
-
if (
|
|
2321
|
-
return
|
|
2630
|
+
if (_io25(input))
|
|
2631
|
+
return _so25(input);
|
|
2632
|
+
if (_io36(input))
|
|
2633
|
+
return _so36(input);
|
|
2634
|
+
if (_io26(input))
|
|
2635
|
+
return _so26(input);
|
|
2636
|
+
if (_io40(input))
|
|
2637
|
+
return _so40(input);
|
|
2322
2638
|
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2323
2639
|
method: "typia.json.stringify",
|
|
2324
2640
|
expected: "(EmptyPublishRecord | FacebookPublishRecord | FilePublishRecordLegacy | FilePublishRecord | YoutubePublishRecord)",
|
|
2325
2641
|
value: input
|
|
2326
2642
|
});
|
|
2327
|
-
})(); const _io0 = input => (null === input.type || undefined === input.type) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && true && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error &&
|
|
2643
|
+
})(); const _io0 = input => (null === input.type || undefined === input.type) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && true && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io23(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io24(elem))); const _io1 = input => (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io2(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io16(input.profile)); const _io2 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (null === input.input || undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && _io3(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.graphics || "string" === typeof input.graphics) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && _io5(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io8(input.video)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io14(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) && _io15(input.transcribe)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io13(input.crop)) && (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io9(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 _io3 = 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) && _io4(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 _io4 = 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 _io5 = input => Object.keys(input).every(key => {
|
|
2328
2644
|
const value = input[key];
|
|
2329
2645
|
if (undefined === value)
|
|
2330
2646
|
return true;
|
|
2331
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
2332
|
-
}); const
|
|
2647
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io6(value);
|
|
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 => {
|
|
2333
2649
|
const value = input[key];
|
|
2334
2650
|
if (undefined === value)
|
|
2335
2651
|
return true;
|
|
2336
2652
|
return null !== value && undefined !== value && ("string" === typeof value || "object" === typeof value && null !== value && _iu0(value));
|
|
2337
|
-
}); const
|
|
2653
|
+
}); const _io28 = input => (undefined === input.name || "string" === typeof input.name) && "string" === typeof input.path && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene) && (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io2(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io16(input.profile)); const _io29 = input => "object" === typeof input.__context && null !== input.__context && _io30(input.__context) && ("object" === typeof input.__returnValue && null !== input.__returnValue && _io28(input.__returnValue)); const _io30 = input => "object" === typeof input.publish && null !== input.publish && false === Array.isArray(input.publish) && _io26(input.publish) && "string" === typeof input.directory && "string" === typeof input.name; const _io31 = input => (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename); const _io32 = 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) && _io33(input.renders)); const _io33 = input => Object.keys(input).every(key => {
|
|
2338
2654
|
const value = input[key];
|
|
2339
2655
|
if (undefined === value)
|
|
2340
2656
|
return true;
|
|
2341
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
2342
|
-
}); const
|
|
2657
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io34(value);
|
|
2658
|
+
}); const _io34 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io24(elem))) && true && (undefined === input.size || "number" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash) && (undefined === input.source || "string" === typeof input.source); const _io35 = input => (undefined === input.directory || "string" === typeof input.directory) && "string" === typeof input.filename; const _io36 = input => (undefined === input.type || "file" === input.type) && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io31(input.draft)) && (undefined === input.remote || "object" === typeof input.remote && null !== input.remote && _io37(input.remote)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && _io35(input.published)) && (null !== input.renders && undefined === input.renders) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io23(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io24(elem))); const _io37 = input => (undefined === input.id || "string" === typeof input.id) && "string" === typeof input.path && "string" === typeof input.filename && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.subtitle || "object" === typeof input.subtitle && null !== input.subtitle && _io38(input.subtitle)) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && _io39(input.metafile)) && Object.keys(input).every(key => {
|
|
2343
2659
|
if (["id", "path", "filename", "directory", "subtitle", "metafile"].some(prop => key === prop))
|
|
2344
2660
|
return true;
|
|
2345
2661
|
const value = input[key];
|
|
2346
2662
|
if (undefined === value)
|
|
2347
2663
|
return true;
|
|
2348
2664
|
return true;
|
|
2349
|
-
}); const
|
|
2665
|
+
}); const _io38 = input => "string" === typeof input.path; const _io39 = input => "string" === typeof input.path; const _io40 = input => (undefined === input.type || "youtube" === input.type) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io41(input.draft)) && (null === input.asset || undefined === input.asset || "string" === typeof input.asset) && (undefined === input.connection || "string" === typeof input.connection) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io1(input.render)) && true && true && (null === input.error || undefined === input.error || "object" === typeof input.error && null !== input.error && _io23(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io24(elem))); const _io41 = input => undefined === input.snippet || "object" === typeof input.snippet && null !== input.snippet && false === Array.isArray(input.snippet) && _io42(input.snippet); const _io42 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.description || "string" === typeof input.description); const _iu0 = input => (() => {
|
|
2350
2666
|
if (undefined !== input.path)
|
|
2351
|
-
return
|
|
2667
|
+
return _io28(input);
|
|
2352
2668
|
else if (undefined !== input.__context)
|
|
2353
|
-
return
|
|
2669
|
+
return _io29(input);
|
|
2354
2670
|
else
|
|
2355
2671
|
return false;
|
|
2356
2672
|
})(); return input => _su1(input); })()(input);
|
|
@@ -2365,30 +2681,90 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
2365
2681
|
return _su0(value);
|
|
2366
2682
|
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2367
2683
|
method: "typia.json.stringify",
|
|
2368
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
2684
|
+
expected: "(ResolvedFilePublishRender | __type.o13 | string)",
|
|
2369
2685
|
value: value
|
|
2370
2686
|
});
|
|
2371
|
-
})()}`; }).filter(str => "" !== str).join(",")}}`; const _so8 = input => `{${undefined === input.name ? "" : `"name":${undefined !== input.name ? __typia_transform__jsonStringifyString._jsonStringifyString(input.name) : undefined},`}${undefined === input.collisionStrategy ? "" : `"collisionStrategy":${undefined !== input.collisionStrategy ? "\"" + input.collisionStrategy + "\"" : undefined},`}${undefined === input.ignoreEmptyScene ? "" : `"ignoreEmptyScene":${undefined !== input.ignoreEmptyScene ? input.ignoreEmptyScene : undefined},`}${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? __typia_transform__jsonStringifyString._jsonStringifyString(input.preset) : undefined},`}${undefined === input.scene ? "" : `"scene":${undefined !== input.scene ? _so9(input.scene) : undefined},`}${undefined === input.profile ? "" : `"profile":${undefined !== input.profile ?
|
|
2372
|
-
|
|
2687
|
+
})()}`; }).filter(str => "" !== str).join(",")}}`; const _so8 = input => `{${undefined === input.name ? "" : `"name":${undefined !== input.name ? __typia_transform__jsonStringifyString._jsonStringifyString(input.name) : undefined},`}${undefined === input.collisionStrategy ? "" : `"collisionStrategy":${undefined !== input.collisionStrategy ? "\"" + input.collisionStrategy + "\"" : undefined},`}${undefined === input.ignoreEmptyScene ? "" : `"ignoreEmptyScene":${undefined !== input.ignoreEmptyScene ? input.ignoreEmptyScene : undefined},`}${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? __typia_transform__jsonStringifyString._jsonStringifyString(input.preset) : undefined},`}${undefined === input.scene ? "" : `"scene":${undefined !== input.scene ? _so9(input.scene) : undefined},`}${undefined === input.profile ? "" : `"profile":${undefined !== input.profile ? _so23(input.profile) : undefined},`}"path":${__typia_transform__jsonStringifyString._jsonStringifyString(input.path)},"type":${__typia_transform__jsonStringifyString._jsonStringifyString(input.type)}}`; const _so9 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.id ? "" : `"id":${undefined !== input.id ? __typia_transform__jsonStringifyString._jsonStringifyString(input.id) : undefined},`}${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? __typia_transform__jsonStringifyString._jsonStringifyString(input.preset) : undefined},`}${undefined === input.input ? "" : `"input":${undefined !== input.input ? null !== input.input ? _so10(input.input) : "null" : undefined},`}${undefined === input.lang ? "" : `"lang":${undefined !== input.lang ? __typia_transform__jsonStringifyString._jsonStringifyString(input.lang) : undefined},`}${undefined === input.subtitle ? "" : `"subtitle":${undefined !== input.subtitle ? __typia_transform__jsonStringifyString._jsonStringifyString(input.subtitle) : undefined},`}${undefined === input.graphics ? "" : `"graphics":${undefined !== input.graphics ? __typia_transform__jsonStringifyString._jsonStringifyString(input.graphics) : undefined},`}${undefined === input.subtitleTracks ? "" : `"subtitleTracks":${undefined !== input.subtitleTracks ? _so12(input.subtitleTracks) : undefined},`}${undefined === input.video ? "" : `"video":${undefined !== input.video ? _so15(input.video) : undefined},`}${undefined === input.audio ? "" : `"audio":${undefined !== input.audio ? _so21(input.audio) : undefined},`}${undefined === input.start ? "" : `"start":${undefined !== input.start ? input.start : undefined},`}${undefined === input.end ? "" : `"end":${undefined !== input.end ? input.end : undefined},`}${undefined === input.transcribe ? "" : `"transcribe":${undefined !== input.transcribe ? _so22(input.transcribe) : undefined},`}${undefined === input.crop ? "" : `"crop":${undefined !== input.crop ? _so20(input.crop) : undefined},`}${undefined === input.filters ? "" : `"filters":${undefined !== input.filters ? _so16(input.filters) : undefined},`}${undefined === input.orientation ? "" : `"orientation":${undefined !== input.orientation ? input.orientation : undefined},`}${undefined === input.rotate ? "" : `"rotate":${undefined !== input.rotate ? input.rotate : undefined},`}${undefined === input.interlaced ? "" : `"interlaced":${undefined !== input.interlaced ? null !== input.interlaced ? (() => {
|
|
2688
|
+
if ("boolean" === typeof input.interlaced)
|
|
2689
|
+
return input.interlaced;
|
|
2690
|
+
if ("string" === typeof input.interlaced)
|
|
2691
|
+
return "\"" + input.interlaced + "\"";
|
|
2692
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2693
|
+
method: "typia.json.stringify",
|
|
2694
|
+
expected: "(\"bff\" | \"tff\" | false | null | undefined)",
|
|
2695
|
+
value: input.interlaced
|
|
2696
|
+
});
|
|
2697
|
+
})() : "null" : undefined},`}${undefined === input.alpha ? "" : `"alpha":${undefined !== input.alpha ? null !== input.alpha ? (() => {
|
|
2698
|
+
if ("string" === typeof input.alpha)
|
|
2699
|
+
return "\"" + input.alpha + "\"";
|
|
2700
|
+
if ("boolean" === typeof input.alpha)
|
|
2701
|
+
return input.alpha;
|
|
2702
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2703
|
+
method: "typia.json.stringify",
|
|
2704
|
+
expected: "(\"straight\" | boolean | null | undefined)",
|
|
2705
|
+
value: input.alpha
|
|
2706
|
+
});
|
|
2707
|
+
})() : "null" : undefined}`}`)}}`; const _so10 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.type ? "" : `"type":${undefined !== input.type ? __typia_transform__jsonStringifyString._jsonStringifyString(input.type) : undefined},`}${undefined === input.file ? "" : `"file":${undefined !== input.file ? null !== input.file ? __typia_transform__jsonStringifyString._jsonStringifyString(input.file) : "null" : undefined},`}${undefined === input.video ? "" : `"video":${undefined !== input.video ? _so11(input.video) : undefined},`}${undefined === input.proxy ? "" : `"proxy":${undefined !== input.proxy ? null !== input.proxy ? __typia_transform__jsonStringifyString._jsonStringifyString(input.proxy) : "null" : undefined},`}${undefined === input.proxyManifest ? "" : `"proxyManifest":${undefined !== input.proxyManifest ? null !== input.proxyManifest ? __typia_transform__jsonStringifyString._jsonStringifyString(input.proxyManifest) : "null" : undefined},`}${undefined === input.proxyFile ? "" : `"proxyFile":${undefined !== input.proxyFile ? null !== input.proxyFile ? __typia_transform__jsonStringifyString._jsonStringifyString(input.proxyFile) : "null" : undefined},`}${undefined === input.manifest ? "" : `"manifest":${undefined !== input.manifest ? null !== input.manifest ? __typia_transform__jsonStringifyString._jsonStringifyString(input.manifest) : "null" : undefined}`}`)}}`; const _so11 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.alpha ? "" : `"alpha":${undefined !== input.alpha ? null !== input.alpha ? (() => {
|
|
2708
|
+
if ("string" === typeof input.alpha)
|
|
2709
|
+
return "\"" + input.alpha + "\"";
|
|
2710
|
+
if ("boolean" === typeof input.alpha)
|
|
2711
|
+
return input.alpha;
|
|
2712
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2713
|
+
method: "typia.json.stringify",
|
|
2714
|
+
expected: "(\"straight\" | boolean | null | undefined)",
|
|
2715
|
+
value: input.alpha
|
|
2716
|
+
});
|
|
2717
|
+
})() : "null" : undefined},`}${undefined === input.interlaced ? "" : `"interlaced":${undefined !== input.interlaced ? null !== input.interlaced ? (() => {
|
|
2718
|
+
if ("boolean" === typeof input.interlaced)
|
|
2719
|
+
return input.interlaced;
|
|
2720
|
+
if ("string" === typeof input.interlaced)
|
|
2721
|
+
return "\"" + input.interlaced + "\"";
|
|
2722
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2723
|
+
method: "typia.json.stringify",
|
|
2724
|
+
expected: "(\"bff\" | \"tff\" | false | null | undefined)",
|
|
2725
|
+
value: input.interlaced
|
|
2726
|
+
});
|
|
2727
|
+
})() : "null" : undefined}`}`)}}`; const _so12 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
2728
|
+
return ""; return `${JSON.stringify(key)}:${_so13(value)}`; }).filter(str => "" !== str).join(",")}}`; const _so13 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.style ? "" : `"style":${undefined !== input.style ? null !== input.style ? __typia_transform__jsonStringifyString._jsonStringifyString(input.style) : "null" : undefined},`}${undefined === input.styleOverrides ? "" : `"styleOverrides":${undefined !== input.styleOverrides ? _so14(input.styleOverrides) : undefined}`}`)}}`; const _so14 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.name ? "" : `"name":${undefined !== input.name ? __typia_transform__jsonStringifyString._jsonStringifyString(input.name) : 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},`}${undefined === input.scaleX ? "" : `"scaleX":${undefined !== input.scaleX ? __typia_transform__jsonStringifyString._jsonStringifyString(input.scaleX) : undefined},`}${undefined === input.scaleY ? "" : `"scaleY":${undefined !== input.scaleY ? __typia_transform__jsonStringifyString._jsonStringifyString(input.scaleY) : undefined},`}${undefined === input.spacing ? "" : `"spacing":${undefined !== input.spacing ? __typia_transform__jsonStringifyString._jsonStringifyString(input.spacing) : undefined},`}${undefined === input.lineSpacing ? "" : `"lineSpacing":${undefined !== input.lineSpacing ? __typia_transform__jsonStringifyString._jsonStringifyString(input.lineSpacing) : undefined},`}${undefined === input.angle ? "" : `"angle":${undefined !== input.angle ? __typia_transform__jsonStringifyString._jsonStringifyString(input.angle) : undefined},`}${undefined === input.borderStyle ? "" : `"borderStyle":${undefined !== input.borderStyle ? __typia_transform__jsonStringifyString._jsonStringifyString(input.borderStyle) : undefined},`}${undefined === input.outline ? "" : `"outline":${undefined !== input.outline ? __typia_transform__jsonStringifyString._jsonStringifyString(input.outline) : undefined},`}${undefined === input.shadow ? "" : `"shadow":${undefined !== input.shadow ? __typia_transform__jsonStringifyString._jsonStringifyString(input.shadow) : undefined},`}${undefined === input.alignment ? "" : `"alignment":${undefined !== input.alignment ? __typia_transform__jsonStringifyString._jsonStringifyString(input.alignment) : undefined},`}${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.encoding ? "" : `"encoding":${undefined !== input.encoding ? __typia_transform__jsonStringifyString._jsonStringifyString(input.encoding) : undefined}`}`)}}`; const _so15 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.filters ? "" : `"filters":${undefined !== input.filters ? _so16(input.filters) : undefined},`}${undefined === input.crop ? "" : `"crop":${undefined !== input.crop ? _so20(input.crop) : undefined},`}${undefined === input.orientation ? "" : `"orientation":${undefined !== input.orientation ? input.orientation : undefined},`}${undefined === input.interlaced ? "" : `"interlaced":${undefined !== input.interlaced ? null !== input.interlaced ? (() => {
|
|
2729
|
+
if ("boolean" === typeof input.interlaced)
|
|
2730
|
+
return input.interlaced;
|
|
2731
|
+
if ("string" === typeof input.interlaced)
|
|
2732
|
+
return "\"" + input.interlaced + "\"";
|
|
2733
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2734
|
+
method: "typia.json.stringify",
|
|
2735
|
+
expected: "(\"bff\" | \"tff\" | false | null | undefined)",
|
|
2736
|
+
value: input.interlaced
|
|
2737
|
+
});
|
|
2738
|
+
})() : "null" : undefined},`}${undefined === input.alpha ? "" : `"alpha":${undefined !== input.alpha ? null !== input.alpha ? (() => {
|
|
2739
|
+
if ("string" === typeof input.alpha)
|
|
2740
|
+
return "\"" + input.alpha + "\"";
|
|
2741
|
+
if ("boolean" === typeof input.alpha)
|
|
2742
|
+
return input.alpha;
|
|
2743
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2744
|
+
method: "typia.json.stringify",
|
|
2745
|
+
expected: "(\"straight\" | boolean | null | undefined)",
|
|
2746
|
+
value: input.alpha
|
|
2747
|
+
});
|
|
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 ? (() => {
|
|
2373
2749
|
if ("string" === typeof input.subtitle)
|
|
2374
2750
|
return __typia_transform__jsonStringifyString._jsonStringifyString(input.subtitle);
|
|
2375
2751
|
if ("object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle))
|
|
2376
|
-
return
|
|
2752
|
+
return _so27(input.subtitle);
|
|
2377
2753
|
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2378
2754
|
method: "typia.json.stringify",
|
|
2379
2755
|
expected: "(SubtitleProfile | string | undefined)",
|
|
2380
2756
|
value: input.subtitle
|
|
2381
2757
|
});
|
|
2382
|
-
})() : undefined},`}"format":${__typia_transform__jsonStringifyString._jsonStringifyString(input.format)}}`; const
|
|
2383
|
-
return ""; return `${JSON.stringify(key)}:${
|
|
2758
|
+
})() : undefined},`}"format":${__typia_transform__jsonStringifyString._jsonStringifyString(input.format)}}`; const _so24 = input => `{"engine":${__typia_transform__jsonStringifyString._jsonStringifyString(input.engine)}}`; const _so25 = input => `{"language":${__typia_transform__jsonStringifyString._jsonStringifyString(input.language)}}`; const _so26 = 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 _so27 = 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 ? _so28(input.ccconverter) : undefined},`}${undefined === input.ass ? "" : `"ass":${undefined !== input.ass ? _so29(input.ass) : undefined}`}`)}}`; const _so28 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? __typia_transform__jsonStringifyString._jsonStringifyString(input.preset) : undefined}`}`)}}`; const _so29 = 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 _so30 = input => `{"__context":${_so31(input.__context)},"__returnValue":${_so8(input.__returnValue)}}`; const _so31 = input => `{"publish":${_so32(input.publish)},"directory":${__typia_transform__jsonStringifyString._jsonStringifyString(input.directory)},"name":${__typia_transform__jsonStringifyString._jsonStringifyString(input.name)}}`; const _so32 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.type ? "" : `"type":${undefined !== input.type ? "\"" + input.type + "\"" : undefined},`}${undefined === input.directory ? "" : `"directory":${undefined !== input.directory ? __typia_transform__jsonStringifyString._jsonStringifyString(input.directory) : undefined},`}${undefined === input.filename ? "" : `"filename":${undefined !== input.filename ? __typia_transform__jsonStringifyString._jsonStringifyString(input.filename) : undefined},`}${undefined === input.renders ? "" : `"renders":${undefined !== input.renders ? _so7(input.renders) : undefined},`}${undefined === input.draft ? "" : `"draft":${undefined !== input.draft ? _so33(input.draft) : undefined},`}${undefined === input.remote ? "" : `"remote":${undefined !== input.remote ? _so34(input.remote) : undefined},`}${undefined === input.published ? "" : `"published":${undefined !== input.published ? _so37(input.published) : undefined},`}${undefined === input.asset ? "" : `"asset":${undefined !== input.asset ? null !== input.asset ? __typia_transform__jsonStringifyString._jsonStringifyString(input.asset) : "null" : undefined},`}${undefined === input.connection ? "" : `"connection":${undefined !== input.connection ? __typia_transform__jsonStringifyString._jsonStringifyString(input.connection) : undefined},`}${undefined === input.render ? "" : `"render":${undefined !== input.render ? _so38(input.render) : undefined},`}${undefined === input.error ? "" : `"error":${undefined !== input.error ? null !== input.error ? _so39(input.error) : "null" : undefined},`}${undefined === input.messages ? "" : `"messages":${undefined !== input.messages ? `[${input.messages.map(elem => _so1(elem)).join(",")}]` : undefined}`}`)}}`; const _so33 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.directory ? "" : `"directory":${undefined !== input.directory ? __typia_transform__jsonStringifyString._jsonStringifyString(input.directory) : undefined},`}${undefined === input.filename ? "" : `"filename":${undefined !== input.filename ? __typia_transform__jsonStringifyString._jsonStringifyString(input.filename) : undefined}`}`)}}`; const _so34 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.directory ? "" : `"directory":${undefined !== input.directory ? __typia_transform__jsonStringifyString._jsonStringifyString(input.directory) : undefined},`}${undefined === input.filename ? "" : `"filename":${undefined !== input.filename ? __typia_transform__jsonStringifyString._jsonStringifyString(input.filename) : undefined},`}${undefined === input.renders ? "" : `"renders":${undefined !== input.renders ? _so35(input.renders) : undefined}`}`)}}`; const _so35 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
2759
|
+
return ""; return `${JSON.stringify(key)}:${_so36(value)}`; }).filter(str => "" !== str).join(",")}}`; const _so36 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.path ? "" : `"path":${undefined !== input.path ? __typia_transform__jsonStringifyString._jsonStringifyString(input.path) : undefined},`}${undefined === input.messages ? "" : `"messages":${undefined !== input.messages ? `[${input.messages.map(elem => _so1(elem)).join(",")}]` : undefined},`}${undefined === input.query || "function" === typeof input.query ? "" : `"query":${undefined !== input.query ? JSON.stringify(input.query) : undefined},`}${undefined === input.size ? "" : `"size":${undefined !== input.size ? input.size : undefined},`}${undefined === input.hash ? "" : `"hash":${undefined !== input.hash ? __typia_transform__jsonStringifyString._jsonStringifyString(input.hash) : undefined},`}${undefined === input.source ? "" : `"source":${undefined !== input.source ? __typia_transform__jsonStringifyString._jsonStringifyString(input.source) : undefined}`}`)}}`; const _so37 = input => `{${undefined === input.directory ? "" : `"directory":${undefined !== input.directory ? __typia_transform__jsonStringifyString._jsonStringifyString(input.directory) : undefined},`}"filename":${__typia_transform__jsonStringifyString._jsonStringifyString(input.filename)}}`; const _so38 = input => `{${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? __typia_transform__jsonStringifyString._jsonStringifyString(input.preset) : undefined},`}${undefined === input.scene ? "" : `"scene":${undefined !== input.scene ? _so9(input.scene) : undefined},`}${undefined === input.profile ? "" : `"profile":${undefined !== input.profile ? _so23(input.profile) : undefined},`}"type":${__typia_transform__jsonStringifyString._jsonStringifyString(input.type)}}`; const _so39 = input => `{"method":${__typia_transform__jsonStringifyString._jsonStringifyString(input.method)}}`; const _su0 = input => (() => {
|
|
2384
2760
|
if (undefined !== input.path)
|
|
2385
2761
|
return _so8(input);
|
|
2386
2762
|
else if (undefined !== input.__context)
|
|
2387
|
-
return
|
|
2763
|
+
return _so30(input);
|
|
2388
2764
|
else
|
|
2389
2765
|
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2390
2766
|
method: "typia.json.stringify",
|
|
2391
|
-
expected: "(ResolvedFilePublishRender | __type.
|
|
2767
|
+
expected: "(ResolvedFilePublishRender | __type.o13)",
|
|
2392
2768
|
value: input
|
|
2393
2769
|
});
|
|
2394
2770
|
})(); const _su1 = input => (() => {
|
|
@@ -2411,21 +2787,21 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
2411
2787
|
if (undefined === value)
|
|
2412
2788
|
return true;
|
|
2413
2789
|
return null !== value && undefined !== value && ("string" === typeof value || "object" === typeof value && null !== value && _iu0(value));
|
|
2414
|
-
}); const _io8 = input => (undefined === input.name || "string" === typeof input.name) && "string" === typeof input.path && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene) && (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io9(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile &&
|
|
2790
|
+
}); const _io8 = input => (undefined === input.name || "string" === typeof input.name) && "string" === typeof input.path && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.ignoreEmptyScene || "boolean" === typeof input.ignoreEmptyScene) && (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io9(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io23(input.profile)); const _io9 = 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) && _io10(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) && _io12(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io15(input.video)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io21(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) && _io22(input.transcribe)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io20(input.crop)) && (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io16(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 _io10 = 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) && _io11(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 _io11 = 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 _io12 = input => Object.keys(input).every(key => {
|
|
2415
2791
|
const value = input[key];
|
|
2416
2792
|
if (undefined === value)
|
|
2417
2793
|
return true;
|
|
2418
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
2419
|
-
}); const
|
|
2794
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io13(value);
|
|
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 => {
|
|
2420
2796
|
const value = input[key];
|
|
2421
2797
|
if (undefined === value)
|
|
2422
2798
|
return true;
|
|
2423
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
2424
|
-
}); const
|
|
2799
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io36(value);
|
|
2800
|
+
}); const _io36 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io1(elem))) && true && (undefined === input.size || "number" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash) && (undefined === input.source || "string" === typeof input.source); const _io37 = input => (undefined === input.directory || "string" === typeof input.directory) && "string" === typeof input.filename; const _io38 = input => (undefined === input.preset || "string" === typeof input.preset) && "string" === typeof input.type && (undefined === input.scene || "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io9(input.scene)) && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && _io23(input.profile)); const _io39 = input => "string" === typeof input.method; const _iu0 = input => (() => {
|
|
2425
2801
|
if (undefined !== input.path)
|
|
2426
2802
|
return _io8(input);
|
|
2427
2803
|
else if (undefined !== input.__context)
|
|
2428
|
-
return
|
|
2804
|
+
return _io30(input);
|
|
2429
2805
|
else
|
|
2430
2806
|
return false;
|
|
2431
2807
|
})(); return input => _su1(input); })()(input);
|
|
@@ -2486,7 +2862,7 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
2486
2862
|
})() : undefined},`}"format":${__typia_transform__jsonStringifyString._jsonStringifyString(input.format)}}`; const _so2 = input => `{"engine":${__typia_transform__jsonStringifyString._jsonStringifyString(input.engine)}}`; const _so3 = input => `{"language":${__typia_transform__jsonStringifyString._jsonStringifyString(input.language)}}`; const _so4 = 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 _so5 = 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 ? _so6(input.ccconverter) : undefined},`}${undefined === input.ass ? "" : `"ass":${undefined !== input.ass ? _so7(input.ass) : undefined}`}`)}}`; const _so6 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? __typia_transform__jsonStringifyString._jsonStringifyString(input.preset) : undefined}`}`)}}`; const _so7 = 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 => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io2(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io3(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io4(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) && _io5(input.subtitle))); const _io2 = input => "string" === typeof input.engine; const _io3 = input => "string" === typeof input.language; const _io4 = 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 _io5 = 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) && _io6(input.ccconverter)) && (undefined === input.ass || "object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) && _io7(input.ass)); const _io6 = input => undefined === input.preset || "string" === typeof input.preset; const _io7 = 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);
|
|
2487
2863
|
}
|
|
2488
2864
|
case ":render.stats?": {
|
|
2489
|
-
return (() => { const _so0 = input => `{${undefined === input.progress ? "" : `"progress":${undefined !== input.progress ? null !== input.progress ? input.progress : "null" : undefined},`}${undefined === input.error ? "" : `"error":${undefined !== input.error ? null !== input.error ? `[${input.error.map(elem => _so1(elem)).join(",")}]` : "null" : undefined},`}${undefined === input.status ? "" : `"status":${undefined !== input.status ? null !== input.status ? (() => {
|
|
2865
|
+
return (() => { const _so0 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.progress ? "" : `"progress":${undefined !== input.progress ? null !== input.progress ? input.progress : "null" : undefined},`}${undefined === input.error ? "" : `"error":${undefined !== input.error ? null !== input.error ? `[${input.error.map(elem => _so1(elem)).join(",")}]` : "null" : undefined},`}${undefined === input.status ? "" : `"status":${undefined !== input.status ? null !== input.status ? (() => {
|
|
2490
2866
|
if ("string" === typeof input.status)
|
|
2491
2867
|
return __typia_transform__jsonStringifyString._jsonStringifyString(input.status);
|
|
2492
2868
|
if (Array.isArray(input.status))
|
|
@@ -2496,7 +2872,7 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
2496
2872
|
expected: "(Array<string> | null | string | undefined)",
|
|
2497
2873
|
value: input.status
|
|
2498
2874
|
});
|
|
2499
|
-
})() : "null" : undefined},`}${undefined === input.lag ? "" : `"lag":${undefined !== input.lag ? null !== input.lag ? input.lag : "null" : undefined},`}${undefined === input.available ? "" : `"available":${undefined !== input.available ? null !== input.available ? input.available : "null" : undefined},`}${undefined === input.toobusy ? "" : `"toobusy":${undefined !== input.toobusy ? null !== input.toobusy ? input.toobusy : "null" : undefined},`}${undefined === input.cpuAvailable ? "" : `"cpuAvailable":${undefined !== input.cpuAvailable ? null !== input.cpuAvailable ? input.cpuAvailable : "null" : undefined},`}${undefined === input.cpuComputeAvailable ? "" : `"cpuComputeAvailable":${undefined !== input.cpuComputeAvailable ? null !== input.cpuComputeAvailable ? input.cpuComputeAvailable : "null" : undefined},`}${undefined === input.cpuComputeReservation ? "" : `"cpuComputeReservation":${undefined !== input.cpuComputeReservation ? null !== input.cpuComputeReservation ? input.cpuComputeReservation : "null" : undefined},`}${undefined === input.cpuCompute ? "" : `"cpuCompute":${undefined !== input.cpuCompute ? null !== input.cpuCompute ? input.cpuCompute : "null" : undefined},`}${undefined === input.cpuComputeLimit ? "" : `"cpuComputeLimit":${undefined !== input.cpuComputeLimit ? null !== input.cpuComputeLimit ? input.cpuComputeLimit : "null" : undefined},`}${undefined === input.cpuComputeTotal ? "" : `"cpuComputeTotal":${undefined !== input.cpuComputeTotal ? null !== input.cpuComputeTotal ? input.cpuComputeTotal : "null" : undefined},`}${undefined === input.cpuComputeValue ? "" : `"cpuComputeValue":${undefined !== input.cpuComputeValue ? null !== input.cpuComputeValue ? input.cpuComputeValue : "null" : undefined},`}${undefined === input.cpuMemoryAvailable ? "" : `"cpuMemoryAvailable":${undefined !== input.cpuMemoryAvailable ? null !== input.cpuMemoryAvailable ? input.cpuMemoryAvailable : "null" : undefined},`}${undefined === input.cpuMemoryReservation ? "" : `"cpuMemoryReservation":${undefined !== input.cpuMemoryReservation ? null !== input.cpuMemoryReservation ? input.cpuMemoryReservation : "null" : undefined},`}${undefined === input.cpuMemory ? "" : `"cpuMemory":${undefined !== input.cpuMemory ? null !== input.cpuMemory ? input.cpuMemory : "null" : undefined},`}${undefined === input.cpuMemoryLimit ? "" : `"cpuMemoryLimit":${undefined !== input.cpuMemoryLimit ? null !== input.cpuMemoryLimit ? input.cpuMemoryLimit : "null" : undefined},`}${undefined === input.cpuMemoryValue ? "" : `"cpuMemoryValue":${undefined !== input.cpuMemoryValue ? null !== input.cpuMemoryValue ? input.cpuMemoryValue : "null" : undefined},`}${undefined === input.cpuMemoryTotal ? "" : `"cpuMemoryTotal":${undefined !== input.cpuMemoryTotal ? null !== input.cpuMemoryTotal ? input.cpuMemoryTotal : "null" : undefined},`}${undefined === input.gpuType ? "" : `"gpuType":${undefined !== input.gpuType ? null !== input.gpuType ? __typia_transform__jsonStringifyString._jsonStringifyString(input.gpuType) : "null" : undefined},`}${undefined === input.gpuAvailable ? "" : `"gpuAvailable":${undefined !== input.gpuAvailable ? null !== input.gpuAvailable ? input.gpuAvailable : "null" : undefined},`}${undefined === input.gpuComputeAvailable ? "" : `"gpuComputeAvailable":${undefined !== input.gpuComputeAvailable ? null !== input.gpuComputeAvailable ? input.gpuComputeAvailable : "null" : undefined},`}${undefined === input.gpuComputeReservation ? "" : `"gpuComputeReservation":${undefined !== input.gpuComputeReservation ? null !== input.gpuComputeReservation ? input.gpuComputeReservation : "null" : undefined},`}${undefined === input.gpuCompute ? "" : `"gpuCompute":${undefined !== input.gpuCompute ? null !== input.gpuCompute ? input.gpuCompute : "null" : undefined},`}${undefined === input.gpuComputeLimit ? "" : `"gpuComputeLimit":${undefined !== input.gpuComputeLimit ? null !== input.gpuComputeLimit ? input.gpuComputeLimit : "null" : undefined},`}${undefined === input.gpuComputeValue ? "" : `"gpuComputeValue":${undefined !== input.gpuComputeValue ? null !== input.gpuComputeValue ? input.gpuComputeValue : "null" : undefined},`}${undefined === input.gpuComputeTotal ? "" : `"gpuComputeTotal":${undefined !== input.gpuComputeTotal ? null !== input.gpuComputeTotal ? input.gpuComputeTotal : "null" : undefined},`}${undefined === input.gpuMemoryAvailable ? "" : `"gpuMemoryAvailable":${undefined !== input.gpuMemoryAvailable ? null !== input.gpuMemoryAvailable ? input.gpuMemoryAvailable : "null" : undefined},`}${undefined === input.gpuMemoryReservation ? "" : `"gpuMemoryReservation":${undefined !== input.gpuMemoryReservation ? null !== input.gpuMemoryReservation ? input.gpuMemoryReservation : "null" : undefined},`}${undefined === input.gpuMemory ? "" : `"gpuMemory":${undefined !== input.gpuMemory ? null !== input.gpuMemory ? input.gpuMemory : "null" : undefined},`}${undefined === input.gpuMemoryLimit ? "" : `"gpuMemoryLimit":${undefined !== input.gpuMemoryLimit ? null !== input.gpuMemoryLimit ? input.gpuMemoryLimit : "null" : undefined},`}${undefined === input.gpuMemoryValue ? "" : `"gpuMemoryValue":${undefined !== input.gpuMemoryValue ? null !== input.gpuMemoryValue ? input.gpuMemoryValue : "null" : undefined},`}${undefined === input.gpuMemoryTotal ? "" : `"gpuMemoryTotal":${undefined !== input.gpuMemoryTotal ? null !== input.gpuMemoryTotal ? input.gpuMemoryTotal : "null" : undefined},`}${undefined === input.gpuQueueAvailable ? "" : `"gpuQueueAvailable":${undefined !== input.gpuQueueAvailable ? null !== input.gpuQueueAvailable ? input.gpuQueueAvailable : "null" : undefined},`}${undefined === input.gpuQueueReservation ? "" : `"gpuQueueReservation":${undefined !== input.gpuQueueReservation ? null !== input.gpuQueueReservation ? input.gpuQueueReservation : "null" : undefined},`}${undefined === input.gpuQueueLimit ? "" : `"gpuQueueLimit":${undefined !== input.gpuQueueLimit ? null !== input.gpuQueueLimit ? input.gpuQueueLimit : "null" : undefined},`}${undefined === input.gpuQueueValue ? "" : `"gpuQueueValue":${undefined !== input.gpuQueueValue ? null !== input.gpuQueueValue ? input.gpuQueueValue : "null" : undefined},`}${undefined === input.gpuQueueTotal ? "" : `"gpuQueueTotal":${undefined !== input.gpuQueueTotal ? null !== input.gpuQueueTotal ? input.gpuQueueTotal : "null" : undefined},`}${undefined === input.gpuEncoder ? "" : `"gpuEncoder":${undefined !== input.gpuEncoder ? null !== input.gpuEncoder ? input.gpuEncoder : "null" : undefined},`}${undefined === input.gpuEncoderLimit ? "" : `"gpuEncoderLimit":${undefined !== input.gpuEncoderLimit ? null !== input.gpuEncoderLimit ? input.gpuEncoderLimit : "null" : undefined},`}${undefined === input.gpuEncoderValue ? "" : `"gpuEncoderValue":${undefined !== input.gpuEncoderValue ? null !== input.gpuEncoderValue ? input.gpuEncoderValue : "null" : undefined},`}${undefined === input.gpuEncoderTotal ? "" : `"gpuEncoderTotal":${undefined !== input.gpuEncoderTotal ? null !== input.gpuEncoderTotal ? input.gpuEncoderTotal : "null" : undefined},`}${undefined === input.gpuDecoder ? "" : `"gpuDecoder":${undefined !== input.gpuDecoder ? null !== input.gpuDecoder ? input.gpuDecoder : "null" : undefined},`}${undefined === input.gpuDecoderLimit ? "" : `"gpuDecoderLimit":${undefined !== input.gpuDecoderLimit ? null !== input.gpuDecoderLimit ? input.gpuDecoderLimit : "null" : undefined},`}${undefined === input.gpuDecoderValue ? "" : `"gpuDecoderValue":${undefined !== input.gpuDecoderValue ? null !== input.gpuDecoderValue ? input.gpuDecoderValue : "null" : undefined},`}${undefined === input.gpuDecoderTotal ? "" : `"gpuDecoderTotal":${undefined !== input.gpuDecoderTotal ? null !== input.gpuDecoderTotal ? input.gpuDecoderTotal : "null" : undefined},`}${undefined === input.netAvailable ? "" : `"netAvailable":${undefined !== input.netAvailable ? null !== input.netAvailable ? input.netAvailable : "null" : undefined},`}${undefined === input.netTransferAvailable ? "" : `"netTransferAvailable":${undefined !== input.netTransferAvailable ? null !== input.netTransferAvailable ? input.netTransferAvailable : "null" : undefined},`}${undefined === input.netTransferReservation ? "" : `"netTransferReservation":${undefined !== input.netTransferReservation ? null !== input.netTransferReservation ? input.netTransferReservation : "null" : undefined},`}${undefined === input.netTransfer ? "" : `"netTransfer":${undefined !== input.netTransfer ? null !== input.netTransfer ? input.netTransfer : "null" : undefined},`}${undefined === input.netTransferLimit ? "" : `"netTransferLimit":${undefined !== input.netTransferLimit ? null !== input.netTransferLimit ? input.netTransferLimit : "null" : undefined},`}${undefined === input.netTransferValue ? "" : `"netTransferValue":${undefined !== input.netTransferValue ? null !== input.netTransferValue ? input.netTransferValue : "null" : undefined},`}${undefined === input.netTransferTotal ? "" : `"netTransferTotal":${undefined !== input.netTransferTotal ? null !== input.netTransferTotal ? input.netTransferTotal : "null" : undefined},`}${undefined === input.cpu ? "" : `"cpu":${undefined !== input.cpu ? null !== input.cpu ? input.cpu : "null" : undefined},`}${undefined === input.memory ? "" : `"memory":${undefined !== input.memory ? null !== input.memory ? input.memory : "null" : undefined},`}${undefined === input.gpuStat ? "" : `"gpuStat":${undefined !== input.gpuStat ? null !== input.gpuStat ? _so2(input.gpuStat) : "null" : undefined},`}${undefined === input.cpuStat ? "" : `"cpuStat":${undefined !== input.cpuStat ? null !== input.cpuStat ? _so3(input.cpuStat) : "null" : undefined},`}${undefined === input.netStat ? "" : `"netStat":${undefined !== input.netStat ? null !== input.netStat ? _so8(input.netStat) : "null" : undefined},`}${undefined === input.limits || "function" === typeof input.limits ? "" : `"limits":${undefined !== input.limits ? JSON.stringify(input.limits) : undefined},`}${undefined === input.taskset ? "" : `"taskset":${undefined !== input.taskset ? __typia_transform__jsonStringifyString._jsonStringifyString(input.taskset) : undefined},`}"activeCount":${null !== input.activeCount ? input.activeCount : "null"},"totalCount":${null !== input.totalCount ? input.totalCount : "null"}}`; const _so1 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
2875
|
+
})() : "null" : undefined},`}${undefined === input.lag ? "" : `"lag":${undefined !== input.lag ? null !== input.lag ? input.lag : "null" : undefined},`}${undefined === input.available ? "" : `"available":${undefined !== input.available ? null !== input.available ? input.available : "null" : undefined},`}${undefined === input.toobusy ? "" : `"toobusy":${undefined !== input.toobusy ? null !== input.toobusy ? input.toobusy : "null" : undefined},`}${undefined === input.cpuAvailable ? "" : `"cpuAvailable":${undefined !== input.cpuAvailable ? null !== input.cpuAvailable ? input.cpuAvailable : "null" : undefined},`}${undefined === input.cpuComputeAvailable ? "" : `"cpuComputeAvailable":${undefined !== input.cpuComputeAvailable ? null !== input.cpuComputeAvailable ? input.cpuComputeAvailable : "null" : undefined},`}${undefined === input.cpuComputeReservation ? "" : `"cpuComputeReservation":${undefined !== input.cpuComputeReservation ? null !== input.cpuComputeReservation ? input.cpuComputeReservation : "null" : undefined},`}${undefined === input.cpuCompute ? "" : `"cpuCompute":${undefined !== input.cpuCompute ? null !== input.cpuCompute ? input.cpuCompute : "null" : undefined},`}${undefined === input.cpuComputeLimit ? "" : `"cpuComputeLimit":${undefined !== input.cpuComputeLimit ? null !== input.cpuComputeLimit ? input.cpuComputeLimit : "null" : undefined},`}${undefined === input.cpuComputeTotal ? "" : `"cpuComputeTotal":${undefined !== input.cpuComputeTotal ? null !== input.cpuComputeTotal ? input.cpuComputeTotal : "null" : undefined},`}${undefined === input.cpuComputeValue ? "" : `"cpuComputeValue":${undefined !== input.cpuComputeValue ? null !== input.cpuComputeValue ? input.cpuComputeValue : "null" : undefined},`}${undefined === input.cpuMemoryAvailable ? "" : `"cpuMemoryAvailable":${undefined !== input.cpuMemoryAvailable ? null !== input.cpuMemoryAvailable ? input.cpuMemoryAvailable : "null" : undefined},`}${undefined === input.cpuMemoryReservation ? "" : `"cpuMemoryReservation":${undefined !== input.cpuMemoryReservation ? null !== input.cpuMemoryReservation ? input.cpuMemoryReservation : "null" : undefined},`}${undefined === input.cpuMemory ? "" : `"cpuMemory":${undefined !== input.cpuMemory ? null !== input.cpuMemory ? input.cpuMemory : "null" : undefined},`}${undefined === input.cpuMemoryLimit ? "" : `"cpuMemoryLimit":${undefined !== input.cpuMemoryLimit ? null !== input.cpuMemoryLimit ? input.cpuMemoryLimit : "null" : undefined},`}${undefined === input.cpuMemoryValue ? "" : `"cpuMemoryValue":${undefined !== input.cpuMemoryValue ? null !== input.cpuMemoryValue ? input.cpuMemoryValue : "null" : undefined},`}${undefined === input.cpuMemoryTotal ? "" : `"cpuMemoryTotal":${undefined !== input.cpuMemoryTotal ? null !== input.cpuMemoryTotal ? input.cpuMemoryTotal : "null" : undefined},`}${undefined === input.gpuType ? "" : `"gpuType":${undefined !== input.gpuType ? null !== input.gpuType ? __typia_transform__jsonStringifyString._jsonStringifyString(input.gpuType) : "null" : undefined},`}${undefined === input.gpuAvailable ? "" : `"gpuAvailable":${undefined !== input.gpuAvailable ? null !== input.gpuAvailable ? input.gpuAvailable : "null" : undefined},`}${undefined === input.gpuComputeAvailable ? "" : `"gpuComputeAvailable":${undefined !== input.gpuComputeAvailable ? null !== input.gpuComputeAvailable ? input.gpuComputeAvailable : "null" : undefined},`}${undefined === input.gpuComputeReservation ? "" : `"gpuComputeReservation":${undefined !== input.gpuComputeReservation ? null !== input.gpuComputeReservation ? input.gpuComputeReservation : "null" : undefined},`}${undefined === input.gpuCompute ? "" : `"gpuCompute":${undefined !== input.gpuCompute ? null !== input.gpuCompute ? input.gpuCompute : "null" : undefined},`}${undefined === input.gpuComputeLimit ? "" : `"gpuComputeLimit":${undefined !== input.gpuComputeLimit ? null !== input.gpuComputeLimit ? input.gpuComputeLimit : "null" : undefined},`}${undefined === input.gpuComputeValue ? "" : `"gpuComputeValue":${undefined !== input.gpuComputeValue ? null !== input.gpuComputeValue ? input.gpuComputeValue : "null" : undefined},`}${undefined === input.gpuComputeTotal ? "" : `"gpuComputeTotal":${undefined !== input.gpuComputeTotal ? null !== input.gpuComputeTotal ? input.gpuComputeTotal : "null" : undefined},`}${undefined === input.gpuMemoryAvailable ? "" : `"gpuMemoryAvailable":${undefined !== input.gpuMemoryAvailable ? null !== input.gpuMemoryAvailable ? input.gpuMemoryAvailable : "null" : undefined},`}${undefined === input.gpuMemoryReservation ? "" : `"gpuMemoryReservation":${undefined !== input.gpuMemoryReservation ? null !== input.gpuMemoryReservation ? input.gpuMemoryReservation : "null" : undefined},`}${undefined === input.gpuMemory ? "" : `"gpuMemory":${undefined !== input.gpuMemory ? null !== input.gpuMemory ? input.gpuMemory : "null" : undefined},`}${undefined === input.gpuMemoryLimit ? "" : `"gpuMemoryLimit":${undefined !== input.gpuMemoryLimit ? null !== input.gpuMemoryLimit ? input.gpuMemoryLimit : "null" : undefined},`}${undefined === input.gpuMemoryValue ? "" : `"gpuMemoryValue":${undefined !== input.gpuMemoryValue ? null !== input.gpuMemoryValue ? input.gpuMemoryValue : "null" : undefined},`}${undefined === input.gpuMemoryTotal ? "" : `"gpuMemoryTotal":${undefined !== input.gpuMemoryTotal ? null !== input.gpuMemoryTotal ? input.gpuMemoryTotal : "null" : undefined},`}${undefined === input.gpuQueueAvailable ? "" : `"gpuQueueAvailable":${undefined !== input.gpuQueueAvailable ? null !== input.gpuQueueAvailable ? input.gpuQueueAvailable : "null" : undefined},`}${undefined === input.gpuQueueReservation ? "" : `"gpuQueueReservation":${undefined !== input.gpuQueueReservation ? null !== input.gpuQueueReservation ? input.gpuQueueReservation : "null" : undefined},`}${undefined === input.gpuQueueLimit ? "" : `"gpuQueueLimit":${undefined !== input.gpuQueueLimit ? null !== input.gpuQueueLimit ? input.gpuQueueLimit : "null" : undefined},`}${undefined === input.gpuQueueValue ? "" : `"gpuQueueValue":${undefined !== input.gpuQueueValue ? null !== input.gpuQueueValue ? input.gpuQueueValue : "null" : undefined},`}${undefined === input.gpuQueueTotal ? "" : `"gpuQueueTotal":${undefined !== input.gpuQueueTotal ? null !== input.gpuQueueTotal ? input.gpuQueueTotal : "null" : undefined},`}${undefined === input.gpuEncoder ? "" : `"gpuEncoder":${undefined !== input.gpuEncoder ? null !== input.gpuEncoder ? input.gpuEncoder : "null" : undefined},`}${undefined === input.gpuEncoderLimit ? "" : `"gpuEncoderLimit":${undefined !== input.gpuEncoderLimit ? null !== input.gpuEncoderLimit ? input.gpuEncoderLimit : "null" : undefined},`}${undefined === input.gpuEncoderValue ? "" : `"gpuEncoderValue":${undefined !== input.gpuEncoderValue ? null !== input.gpuEncoderValue ? input.gpuEncoderValue : "null" : undefined},`}${undefined === input.gpuEncoderTotal ? "" : `"gpuEncoderTotal":${undefined !== input.gpuEncoderTotal ? null !== input.gpuEncoderTotal ? input.gpuEncoderTotal : "null" : undefined},`}${undefined === input.gpuDecoder ? "" : `"gpuDecoder":${undefined !== input.gpuDecoder ? null !== input.gpuDecoder ? input.gpuDecoder : "null" : undefined},`}${undefined === input.gpuDecoderLimit ? "" : `"gpuDecoderLimit":${undefined !== input.gpuDecoderLimit ? null !== input.gpuDecoderLimit ? input.gpuDecoderLimit : "null" : undefined},`}${undefined === input.gpuDecoderValue ? "" : `"gpuDecoderValue":${undefined !== input.gpuDecoderValue ? null !== input.gpuDecoderValue ? input.gpuDecoderValue : "null" : undefined},`}${undefined === input.gpuDecoderTotal ? "" : `"gpuDecoderTotal":${undefined !== input.gpuDecoderTotal ? null !== input.gpuDecoderTotal ? input.gpuDecoderTotal : "null" : undefined},`}${undefined === input.netAvailable ? "" : `"netAvailable":${undefined !== input.netAvailable ? null !== input.netAvailable ? input.netAvailable : "null" : undefined},`}${undefined === input.netTransferAvailable ? "" : `"netTransferAvailable":${undefined !== input.netTransferAvailable ? null !== input.netTransferAvailable ? input.netTransferAvailable : "null" : undefined},`}${undefined === input.netTransferReservation ? "" : `"netTransferReservation":${undefined !== input.netTransferReservation ? null !== input.netTransferReservation ? input.netTransferReservation : "null" : undefined},`}${undefined === input.netTransfer ? "" : `"netTransfer":${undefined !== input.netTransfer ? null !== input.netTransfer ? input.netTransfer : "null" : undefined},`}${undefined === input.netTransferLimit ? "" : `"netTransferLimit":${undefined !== input.netTransferLimit ? null !== input.netTransferLimit ? input.netTransferLimit : "null" : undefined},`}${undefined === input.netTransferValue ? "" : `"netTransferValue":${undefined !== input.netTransferValue ? null !== input.netTransferValue ? input.netTransferValue : "null" : undefined},`}${undefined === input.netTransferTotal ? "" : `"netTransferTotal":${undefined !== input.netTransferTotal ? null !== input.netTransferTotal ? input.netTransferTotal : "null" : undefined},`}${undefined === input.cpu ? "" : `"cpu":${undefined !== input.cpu ? null !== input.cpu ? input.cpu : "null" : undefined},`}${undefined === input.memory ? "" : `"memory":${undefined !== input.memory ? null !== input.memory ? input.memory : "null" : undefined},`}${undefined === input.activeCount ? "" : `"activeCount":${undefined !== input.activeCount ? null !== input.activeCount ? input.activeCount : "null" : undefined},`}${undefined === input.totalCount ? "" : `"totalCount":${undefined !== input.totalCount ? null !== input.totalCount ? input.totalCount : "null" : undefined},`}${undefined === input.gpuStat ? "" : `"gpuStat":${undefined !== input.gpuStat ? null !== input.gpuStat ? _so2(input.gpuStat) : "null" : undefined},`}${undefined === input.cpuStat ? "" : `"cpuStat":${undefined !== input.cpuStat ? null !== input.cpuStat ? _so3(input.cpuStat) : "null" : undefined},`}${undefined === input.netStat ? "" : `"netStat":${undefined !== input.netStat ? null !== input.netStat ? _so8(input.netStat) : "null" : undefined},`}${undefined === input.limits || "function" === typeof input.limits ? "" : `"limits":${undefined !== input.limits ? JSON.stringify(input.limits) : undefined},`}${undefined === input.taskset ? "" : `"taskset":${undefined !== input.taskset ? __typia_transform__jsonStringifyString._jsonStringifyString(input.taskset) : undefined},`}${undefined === input.end ? "" : `"end":${undefined !== input.end ? null !== input.end ? input.end : "null" : undefined}`}`)}}`; const _so1 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
2500
2876
|
return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}}`; const _so2 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
2501
2877
|
return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}}`; const _so3 = input => `{"cpu":${_so4(input.cpu)},"mem":${_so5(input.mem)}}`; const _so4 = input => `{"idle":${input.idle},"total":${input.total}}`; const _so5 = input => `{"used":${input.used},"total":${input.total},"arcstats":${_so6(input.arcstats)},"meminfo":${_so7(input.meminfo)}}`; const _so6 = input => `{"size":${null !== input.size ? input.size : "null"}}`; const _so7 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
2502
2878
|
return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}}`; const _so8 = input => `{${undefined === input.type ? "" : `"type":${undefined !== input.type ? __typia_transform__jsonStringifyString._jsonStringifyString(input.type) : undefined},`}${undefined === input.dev ? "" : `"dev":${undefined !== input.dev ? _so9(input.dev) : undefined},`}"used":${input.used}}`; const _so9 = input => `{"used":${input.used}}`; const _io1 = input => Object.keys(input).every(key => {
|
|
@@ -2517,44 +2893,112 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
2517
2893
|
}); const _io8 = input => "number" === typeof input.used && (undefined === input.type || "string" === typeof input.type) && (undefined === input.dev || "object" === typeof input.dev && null !== input.dev && _io9(input.dev)); const _io9 = input => "number" === typeof input.used; return input => _so0(input); })()(input);
|
|
2518
2894
|
}
|
|
2519
2895
|
case ":render.query?": {
|
|
2520
|
-
return (() => { const _so0 = input => `{${undefined === input.parent ? "" : `"parent":${undefined !== input.parent ? __typia_transform__jsonStringifyString._jsonStringifyString(input.parent) : undefined},`}"type":${__typia_transform__jsonStringifyString._jsonStringifyString(input.type)},"title":${__typia_transform__jsonStringifyString._jsonStringifyString(input.title)},"description":${_so1(input.description)}}`; const _so1 = input => `{"scene":${_so2(input.scene)},"profile":${
|
|
2521
|
-
|
|
2896
|
+
return (() => { const _so0 = input => `{${undefined === input.parent ? "" : `"parent":${undefined !== input.parent ? __typia_transform__jsonStringifyString._jsonStringifyString(input.parent) : undefined},`}"type":${__typia_transform__jsonStringifyString._jsonStringifyString(input.type)},"title":${__typia_transform__jsonStringifyString._jsonStringifyString(input.title)},"description":${_so1(input.description)}}`; const _so1 = input => `{"scene":${_so2(input.scene)},"profile":${_so16(input.profile)}}`; const _so2 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.id ? "" : `"id":${undefined !== input.id ? __typia_transform__jsonStringifyString._jsonStringifyString(input.id) : undefined},`}${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? __typia_transform__jsonStringifyString._jsonStringifyString(input.preset) : undefined},`}${undefined === input.input ? "" : `"input":${undefined !== input.input ? null !== input.input ? _so3(input.input) : "null" : undefined},`}${undefined === input.lang ? "" : `"lang":${undefined !== input.lang ? __typia_transform__jsonStringifyString._jsonStringifyString(input.lang) : undefined},`}${undefined === input.subtitle ? "" : `"subtitle":${undefined !== input.subtitle ? __typia_transform__jsonStringifyString._jsonStringifyString(input.subtitle) : undefined},`}${undefined === input.graphics ? "" : `"graphics":${undefined !== input.graphics ? __typia_transform__jsonStringifyString._jsonStringifyString(input.graphics) : undefined},`}${undefined === input.subtitleTracks ? "" : `"subtitleTracks":${undefined !== input.subtitleTracks ? _so5(input.subtitleTracks) : undefined},`}${undefined === input.video ? "" : `"video":${undefined !== input.video ? _so8(input.video) : undefined},`}${undefined === input.audio ? "" : `"audio":${undefined !== input.audio ? _so14(input.audio) : undefined},`}${undefined === input.start ? "" : `"start":${undefined !== input.start ? input.start : undefined},`}${undefined === input.end ? "" : `"end":${undefined !== input.end ? input.end : undefined},`}${undefined === input.transcribe ? "" : `"transcribe":${undefined !== input.transcribe ? _so15(input.transcribe) : undefined},`}${undefined === input.crop ? "" : `"crop":${undefined !== input.crop ? _so13(input.crop) : undefined},`}${undefined === input.filters ? "" : `"filters":${undefined !== input.filters ? _so9(input.filters) : undefined},`}${undefined === input.orientation ? "" : `"orientation":${undefined !== input.orientation ? input.orientation : undefined},`}${undefined === input.rotate ? "" : `"rotate":${undefined !== input.rotate ? input.rotate : undefined},`}${undefined === input.interlaced ? "" : `"interlaced":${undefined !== input.interlaced ? null !== input.interlaced ? (() => {
|
|
2897
|
+
if ("boolean" === typeof input.interlaced)
|
|
2898
|
+
return input.interlaced;
|
|
2899
|
+
if ("string" === typeof input.interlaced)
|
|
2900
|
+
return "\"" + input.interlaced + "\"";
|
|
2901
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2902
|
+
method: "typia.json.stringify",
|
|
2903
|
+
expected: "(\"bff\" | \"tff\" | false | null | undefined)",
|
|
2904
|
+
value: input.interlaced
|
|
2905
|
+
});
|
|
2906
|
+
})() : "null" : undefined},`}${undefined === input.alpha ? "" : `"alpha":${undefined !== input.alpha ? null !== input.alpha ? (() => {
|
|
2907
|
+
if ("string" === typeof input.alpha)
|
|
2908
|
+
return "\"" + input.alpha + "\"";
|
|
2909
|
+
if ("boolean" === typeof input.alpha)
|
|
2910
|
+
return input.alpha;
|
|
2911
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2912
|
+
method: "typia.json.stringify",
|
|
2913
|
+
expected: "(\"straight\" | boolean | null | undefined)",
|
|
2914
|
+
value: input.alpha
|
|
2915
|
+
});
|
|
2916
|
+
})() : "null" : undefined}`}`)}}`; const _so3 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.type ? "" : `"type":${undefined !== input.type ? __typia_transform__jsonStringifyString._jsonStringifyString(input.type) : undefined},`}${undefined === input.file ? "" : `"file":${undefined !== input.file ? null !== input.file ? __typia_transform__jsonStringifyString._jsonStringifyString(input.file) : "null" : undefined},`}${undefined === input.video ? "" : `"video":${undefined !== input.video ? _so4(input.video) : undefined},`}${undefined === input.proxy ? "" : `"proxy":${undefined !== input.proxy ? null !== input.proxy ? __typia_transform__jsonStringifyString._jsonStringifyString(input.proxy) : "null" : undefined},`}${undefined === input.proxyManifest ? "" : `"proxyManifest":${undefined !== input.proxyManifest ? null !== input.proxyManifest ? __typia_transform__jsonStringifyString._jsonStringifyString(input.proxyManifest) : "null" : undefined},`}${undefined === input.proxyFile ? "" : `"proxyFile":${undefined !== input.proxyFile ? null !== input.proxyFile ? __typia_transform__jsonStringifyString._jsonStringifyString(input.proxyFile) : "null" : undefined},`}${undefined === input.manifest ? "" : `"manifest":${undefined !== input.manifest ? null !== input.manifest ? __typia_transform__jsonStringifyString._jsonStringifyString(input.manifest) : "null" : undefined}`}`)}}`; const _so4 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.alpha ? "" : `"alpha":${undefined !== input.alpha ? null !== input.alpha ? (() => {
|
|
2917
|
+
if ("string" === typeof input.alpha)
|
|
2918
|
+
return "\"" + input.alpha + "\"";
|
|
2919
|
+
if ("boolean" === typeof input.alpha)
|
|
2920
|
+
return input.alpha;
|
|
2921
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2922
|
+
method: "typia.json.stringify",
|
|
2923
|
+
expected: "(\"straight\" | boolean | null | undefined)",
|
|
2924
|
+
value: input.alpha
|
|
2925
|
+
});
|
|
2926
|
+
})() : "null" : undefined},`}${undefined === input.interlaced ? "" : `"interlaced":${undefined !== input.interlaced ? null !== input.interlaced ? (() => {
|
|
2927
|
+
if ("boolean" === typeof input.interlaced)
|
|
2928
|
+
return input.interlaced;
|
|
2929
|
+
if ("string" === typeof input.interlaced)
|
|
2930
|
+
return "\"" + input.interlaced + "\"";
|
|
2931
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2932
|
+
method: "typia.json.stringify",
|
|
2933
|
+
expected: "(\"bff\" | \"tff\" | false | null | undefined)",
|
|
2934
|
+
value: input.interlaced
|
|
2935
|
+
});
|
|
2936
|
+
})() : "null" : undefined}`}`)}}`; const _so5 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
2937
|
+
return ""; return `${JSON.stringify(key)}:${_so6(value)}`; }).filter(str => "" !== str).join(",")}}`; const _so6 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.style ? "" : `"style":${undefined !== input.style ? null !== input.style ? __typia_transform__jsonStringifyString._jsonStringifyString(input.style) : "null" : undefined},`}${undefined === input.styleOverrides ? "" : `"styleOverrides":${undefined !== input.styleOverrides ? _so7(input.styleOverrides) : undefined}`}`)}}`; const _so7 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.name ? "" : `"name":${undefined !== input.name ? __typia_transform__jsonStringifyString._jsonStringifyString(input.name) : 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},`}${undefined === input.scaleX ? "" : `"scaleX":${undefined !== input.scaleX ? __typia_transform__jsonStringifyString._jsonStringifyString(input.scaleX) : undefined},`}${undefined === input.scaleY ? "" : `"scaleY":${undefined !== input.scaleY ? __typia_transform__jsonStringifyString._jsonStringifyString(input.scaleY) : undefined},`}${undefined === input.spacing ? "" : `"spacing":${undefined !== input.spacing ? __typia_transform__jsonStringifyString._jsonStringifyString(input.spacing) : undefined},`}${undefined === input.lineSpacing ? "" : `"lineSpacing":${undefined !== input.lineSpacing ? __typia_transform__jsonStringifyString._jsonStringifyString(input.lineSpacing) : undefined},`}${undefined === input.angle ? "" : `"angle":${undefined !== input.angle ? __typia_transform__jsonStringifyString._jsonStringifyString(input.angle) : undefined},`}${undefined === input.borderStyle ? "" : `"borderStyle":${undefined !== input.borderStyle ? __typia_transform__jsonStringifyString._jsonStringifyString(input.borderStyle) : undefined},`}${undefined === input.outline ? "" : `"outline":${undefined !== input.outline ? __typia_transform__jsonStringifyString._jsonStringifyString(input.outline) : undefined},`}${undefined === input.shadow ? "" : `"shadow":${undefined !== input.shadow ? __typia_transform__jsonStringifyString._jsonStringifyString(input.shadow) : undefined},`}${undefined === input.alignment ? "" : `"alignment":${undefined !== input.alignment ? __typia_transform__jsonStringifyString._jsonStringifyString(input.alignment) : undefined},`}${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.encoding ? "" : `"encoding":${undefined !== input.encoding ? __typia_transform__jsonStringifyString._jsonStringifyString(input.encoding) : undefined}`}`)}}`; const _so8 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.filters ? "" : `"filters":${undefined !== input.filters ? _so9(input.filters) : undefined},`}${undefined === input.crop ? "" : `"crop":${undefined !== input.crop ? _so13(input.crop) : undefined},`}${undefined === input.orientation ? "" : `"orientation":${undefined !== input.orientation ? input.orientation : undefined},`}${undefined === input.interlaced ? "" : `"interlaced":${undefined !== input.interlaced ? null !== input.interlaced ? (() => {
|
|
2938
|
+
if ("boolean" === typeof input.interlaced)
|
|
2939
|
+
return input.interlaced;
|
|
2940
|
+
if ("string" === typeof input.interlaced)
|
|
2941
|
+
return "\"" + input.interlaced + "\"";
|
|
2942
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2943
|
+
method: "typia.json.stringify",
|
|
2944
|
+
expected: "(\"bff\" | \"tff\" | false | null | undefined)",
|
|
2945
|
+
value: input.interlaced
|
|
2946
|
+
});
|
|
2947
|
+
})() : "null" : undefined},`}${undefined === input.alpha ? "" : `"alpha":${undefined !== input.alpha ? null !== input.alpha ? (() => {
|
|
2948
|
+
if ("string" === typeof input.alpha)
|
|
2949
|
+
return "\"" + input.alpha + "\"";
|
|
2950
|
+
if ("boolean" === typeof input.alpha)
|
|
2951
|
+
return input.alpha;
|
|
2952
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2953
|
+
method: "typia.json.stringify",
|
|
2954
|
+
expected: "(\"straight\" | boolean | null | undefined)",
|
|
2955
|
+
value: input.alpha
|
|
2956
|
+
});
|
|
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 ? (() => {
|
|
2522
2958
|
if ("string" === typeof input.subtitle)
|
|
2523
2959
|
return __typia_transform__jsonStringifyString._jsonStringifyString(input.subtitle);
|
|
2524
2960
|
if ("object" === typeof input.subtitle && null !== input.subtitle && false === Array.isArray(input.subtitle))
|
|
2525
|
-
return
|
|
2961
|
+
return _so20(input.subtitle);
|
|
2526
2962
|
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2527
2963
|
method: "typia.json.stringify",
|
|
2528
2964
|
expected: "(SubtitleProfile | string | undefined)",
|
|
2529
2965
|
value: input.subtitle
|
|
2530
2966
|
});
|
|
2531
|
-
})() : undefined},`}"format":${__typia_transform__jsonStringifyString._jsonStringifyString(input.format)}}`; const
|
|
2967
|
+
})() : undefined},`}"format":${__typia_transform__jsonStringifyString._jsonStringifyString(input.format)}}`; const _so17 = input => `{"engine":${__typia_transform__jsonStringifyString._jsonStringifyString(input.engine)}}`; const _so18 = input => `{"language":${__typia_transform__jsonStringifyString._jsonStringifyString(input.language)}}`; const _so19 = 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 _so20 = 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 ? _so21(input.ccconverter) : undefined},`}${undefined === input.ass ? "" : `"ass":${undefined !== input.ass ? _so22(input.ass) : undefined}`}`)}}`; const _so21 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? __typia_transform__jsonStringifyString._jsonStringifyString(input.preset) : undefined}`}`)}}`; const _so22 = 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 => "object" === typeof input.scene && null !== input.scene && false === Array.isArray(input.scene) && _io2(input.scene) && ("object" === typeof input.profile && null !== input.profile && _io16(input.profile)); const _io2 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.preset || "string" === typeof input.preset) && (null === input.input || undefined === input.input || "object" === typeof input.input && null !== input.input && false === Array.isArray(input.input) && _io3(input.input)) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.graphics || "string" === typeof input.graphics) && (undefined === input.subtitleTracks || "object" === typeof input.subtitleTracks && null !== input.subtitleTracks && false === Array.isArray(input.subtitleTracks) && _io5(input.subtitleTracks)) && (undefined === input.video || "object" === typeof input.video && null !== input.video && false === Array.isArray(input.video) && _io8(input.video)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io14(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) && _io15(input.transcribe)) && (undefined === input.crop || "object" === typeof input.crop && null !== input.crop && false === Array.isArray(input.crop) && _io13(input.crop)) && (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && _io9(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 _io3 = 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) && _io4(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 _io4 = 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 _io5 = input => Object.keys(input).every(key => {
|
|
2532
2968
|
const value = input[key];
|
|
2533
2969
|
if (undefined === value)
|
|
2534
2970
|
return true;
|
|
2535
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
2536
|
-
}); const
|
|
2971
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io6(value);
|
|
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);
|
|
2537
2973
|
}
|
|
2538
2974
|
case ":render.result?": {
|
|
2539
|
-
return (() => { const _so0 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.url ? "" : `"url":${undefined !== input.url ? __typia_transform__jsonStringifyString._jsonStringifyString(input.url) : 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 ? (() => {
|
|
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 ? (() => {
|
|
2540
2976
|
if (Array.isArray(input.error))
|
|
2541
|
-
return `[${input.error.map(elem =>
|
|
2977
|
+
return `[${input.error.map(elem => _so2(elem)).join(",")}]`;
|
|
2542
2978
|
if ("object" === typeof input.error && null !== input.error && false === Array.isArray(input.error))
|
|
2543
|
-
return
|
|
2979
|
+
return _so2(input.error);
|
|
2544
2980
|
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2545
2981
|
method: "typia.json.stringify",
|
|
2546
2982
|
expected: "(Array<Record<string, unknown>> | Record<string, unknown> | null | undefined)",
|
|
2547
2983
|
value: input.error
|
|
2548
2984
|
});
|
|
2549
|
-
})() : "null" : undefined},`}${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
2550
|
-
return "";
|
|
2551
|
-
|
|
2552
|
-
|
|
2985
|
+
})() : "null" : undefined},`}${undefined === input.extension ? "" : `"extension":${undefined !== input.extension ? __typia_transform__jsonStringifyString._jsonStringifyString(input.extension) : undefined},`}${undefined === input.extensions ? "" : `"extensions":${undefined !== input.extensions ? `[${input.extensions.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined},`}${undefined === input.type ? "" : `"type":${undefined !== input.type ? __typia_transform__jsonStringifyString._jsonStringifyString(input.type) : undefined},`}${undefined === input.format ? "" : `"format":${undefined !== input.format ? __typia_transform__jsonStringifyString._jsonStringifyString(input.format) : undefined},`}${undefined === input.formatName ? "" : `"formatName":${undefined !== input.formatName ? __typia_transform__jsonStringifyString._jsonStringifyString(input.formatName) : undefined},`}${undefined === input.mimeType ? "" : `"mimeType":${undefined !== input.mimeType ? __typia_transform__jsonStringifyString._jsonStringifyString(input.mimeType) : undefined},`}${undefined === input.duration ? "" : `"duration":${undefined !== input.duration ? input.duration : undefined},`}${undefined === input.estimatedDuration ? "" : `"estimatedDuration":${undefined !== input.estimatedDuration ? null !== input.estimatedDuration ? input.estimatedDuration : "null" : undefined},`}${undefined === input.video ? "" : `"video":${undefined !== input.video ? null !== input.video ? _so3(input.video) : "null" : undefined},`}${undefined === input.audio ? "" : `"audio":${undefined !== input.audio ? null !== input.audio ? _so4(input.audio) : "null" : undefined},`}${undefined === input.language ? "" : `"language":${undefined !== input.language ? __typia_transform__jsonStringifyString._jsonStringifyString(input.language) : undefined},`}${undefined === input.transcribe ? "" : `"transcribe":${undefined !== input.transcribe ? null !== input.transcribe ? _so5(input.transcribe) : "null" : undefined},`}${undefined === input.pan ? "" : `"pan":${undefined !== input.pan ? `[${input.pan.map(elem => elem).join(",")}]` : undefined},`}${undefined === input.translate ? "" : `"translate":${undefined !== input.translate ? null !== input.translate ? _so6(input.translate) : "null" : undefined}`}`)}}`; const _so1 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.file ? "" : `"file":${undefined !== input.file ? __typia_transform__jsonStringifyString._jsonStringifyString(input.file) : undefined},`}${undefined === input.offset ? "" : `"offset":${undefined !== input.offset ? input.offset : undefined},`}${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}`}`)}}`; const _so2 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
2986
|
+
return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}}`; const _so3 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.codec ? "" : `"codec":${undefined !== input.codec ? __typia_transform__jsonStringifyString._jsonStringifyString(input.codec) : undefined},`}${undefined === input.width ? "" : `"width":${undefined !== input.width ? input.width : undefined},`}${undefined === input.height ? "" : `"height":${undefined !== input.height ? input.height : undefined},`}${undefined === input.interlaced ? "" : `"interlaced":${undefined !== input.interlaced ? input.interlaced : undefined},`}${undefined === input.alpha ? "" : `"alpha":${undefined !== input.alpha ? (() => {
|
|
2987
|
+
if ("string" === typeof input.alpha)
|
|
2988
|
+
return __typia_transform__jsonStringifyString._jsonStringifyString(input.alpha);
|
|
2989
|
+
if ("boolean" === typeof input.alpha)
|
|
2990
|
+
return input.alpha;
|
|
2991
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2992
|
+
method: "typia.json.stringify",
|
|
2993
|
+
expected: "(boolean | string | undefined)",
|
|
2994
|
+
value: input.alpha
|
|
2995
|
+
});
|
|
2996
|
+
})() : undefined},`}${undefined === input.sar ? "" : `"sar":${undefined !== input.sar ? null !== input.sar ? __typia_transform__jsonStringifyString._jsonStringifyString(input.sar) : "null" : undefined},`}${undefined === input.dar ? "" : `"dar":${undefined !== input.dar ? __typia_transform__jsonStringifyString._jsonStringifyString(input.dar) : undefined},`}${undefined === input.framerate ? "" : `"framerate":${undefined !== input.framerate ? input.framerate : undefined},`}${undefined === input.format ? "" : `"format":${undefined !== input.format ? __typia_transform__jsonStringifyString._jsonStringifyString(input.format) : undefined},`}${undefined === input.encoder ? "" : `"encoder":${undefined !== input.encoder ? __typia_transform__jsonStringifyString._jsonStringifyString(input.encoder) : undefined},`}${undefined === input.codecName ? "" : `"codecName":${undefined !== input.codecName ? __typia_transform__jsonStringifyString._jsonStringifyString(input.codecName) : undefined}`}`)}}`; const _so4 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.codec ? "" : `"codec":${undefined !== input.codec ? __typia_transform__jsonStringifyString._jsonStringifyString(input.codec) : undefined},`}${undefined === input.codecName ? "" : `"codecName":${undefined !== input.codecName ? __typia_transform__jsonStringifyString._jsonStringifyString(input.codecName) : undefined},`}${undefined === input.format ? "" : `"format":${undefined !== input.format ? __typia_transform__jsonStringifyString._jsonStringifyString(input.format) : undefined},`}${undefined === input.channels ? "" : `"channels":${undefined !== input.channels ? input.channels : undefined},`}${undefined === input.samplerate ? "" : `"samplerate":${undefined !== input.samplerate ? input.samplerate : undefined},`}${undefined === input.peaksPerSecond ? "" : `"peaksPerSecond":${undefined !== input.peaksPerSecond ? input.peaksPerSecond : undefined},`}${undefined === input.streams ? "" : `"streams":${undefined !== input.streams ? input.streams : undefined},`}${undefined === input.encoder ? "" : `"encoder":${undefined !== input.encoder ? __typia_transform__jsonStringifyString._jsonStringifyString(input.encoder) : undefined}`}`)}}`; const _so5 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.engine ? "" : `"engine":${undefined !== input.engine ? __typia_transform__jsonStringifyString._jsonStringifyString(input.engine) : undefined},`}${undefined === input.version ? "" : `"version":${undefined !== input.version ? __typia_transform__jsonStringifyString._jsonStringifyString(input.version) : undefined},`}${undefined === input.language ? "" : `"language":${undefined !== input.language ? __typia_transform__jsonStringifyString._jsonStringifyString(input.language) : undefined}`}`)}}`; const _so6 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.engine ? "" : `"engine":${undefined !== input.engine ? __typia_transform__jsonStringifyString._jsonStringifyString(input.engine) : undefined},`}${undefined === input.source ? "" : `"source":${undefined !== input.source ? __typia_transform__jsonStringifyString._jsonStringifyString(input.source) : undefined},`}${undefined === input.target ? "" : `"target":${undefined !== input.target ? __typia_transform__jsonStringifyString._jsonStringifyString(input.target) : undefined}`}`)}}`; const _io1 = input => (undefined === input.file || "string" === typeof input.file) && (undefined === input.offset || "number" === typeof input.offset) && (null === input.start || undefined === input.start || "number" === typeof input.start) && (null === input.end || undefined === input.end || "number" === typeof input.end); const _io2 = input => Object.keys(input).every(key => {
|
|
2553
2997
|
const value = input[key];
|
|
2554
2998
|
if (undefined === value)
|
|
2555
2999
|
return true;
|
|
2556
3000
|
return true;
|
|
2557
|
-
}); return input => _so0(input); })()(input);
|
|
3001
|
+
}); const _io3 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.height || "number" === typeof input.height) && (undefined === input.interlaced || "boolean" === typeof input.interlaced) && (undefined === input.alpha || "string" === typeof input.alpha || "boolean" === typeof input.alpha) && (null === input.sar || undefined === input.sar || "string" === typeof input.sar) && (undefined === input.dar || "string" === typeof input.dar) && (undefined === input.framerate || "number" === typeof input.framerate) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.encoder || "string" === typeof input.encoder) && (undefined === input.codecName || "string" === typeof input.codecName); const _io4 = input => (undefined === input.codec || "string" === typeof input.codec) && (undefined === input.codecName || "string" === typeof input.codecName) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.channels || "number" === typeof input.channels) && (undefined === input.samplerate || "number" === typeof input.samplerate) && (undefined === input.peaksPerSecond || "number" === typeof input.peaksPerSecond) && (undefined === input.streams || "number" === typeof input.streams) && (undefined === input.encoder || "string" === typeof input.encoder); const _io5 = input => (undefined === input.engine || "string" === typeof input.engine) && (undefined === input.version || "string" === typeof input.version) && (undefined === input.language || "string" === typeof input.language); const _io6 = input => (undefined === input.engine || "string" === typeof input.engine) && (undefined === input.source || "string" === typeof input.source) && (undefined === input.target || "string" === typeof input.target); return input => _so0(input); })()(input);
|
|
2558
3002
|
}
|
|
2559
3003
|
case ":render.schedulers?": {
|
|
2560
3004
|
return (() => { const _so0 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
@@ -2563,15 +3007,177 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
2563
3007
|
case ":revs?": {
|
|
2564
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);
|
|
2565
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
|
+
}
|
|
2566
3022
|
case ":role.tags": {
|
|
2567
3023
|
return (() => { const _so0 = input => `{"value":${`[${input.value.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]`}}`; return input => _so0(input); })()(input);
|
|
2568
3024
|
}
|
|
3025
|
+
case ":schema": {
|
|
3026
|
+
return (() => { const _so0 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.title ? "" : `"title":${undefined !== input.title ? __typia_transform__jsonStringifyString._jsonStringifyString(input.title) : undefined},`}${undefined === input.supports ? "" : `"supports":${undefined !== input.supports ? (() => {
|
|
3027
|
+
if ("string" === typeof input.supports)
|
|
3028
|
+
return __typia_transform__jsonStringifyString._jsonStringifyString(input.supports);
|
|
3029
|
+
if (Array.isArray(input.supports))
|
|
3030
|
+
return `[${input.supports.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]`;
|
|
3031
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
3032
|
+
method: "typia.json.stringify",
|
|
3033
|
+
expected: "(Array<string> | string | undefined)",
|
|
3034
|
+
value: input.supports
|
|
3035
|
+
});
|
|
3036
|
+
})() : undefined},`}${undefined === input.domain ? "" : `"domain":${undefined !== input.domain ? __typia_transform__jsonStringifyString._jsonStringifyString(input.domain) : undefined},`}${undefined === input.priority ? "" : `"priority":${undefined !== input.priority ? input.priority : undefined},`}${undefined === input.properties ? "" : `"properties":${undefined !== input.properties ? _so1(input.properties) : undefined},`}${undefined === input.layout ? "" : `"layout":${undefined !== input.layout ? _so11(input.layout) : undefined}`}`)}}`; const _so1 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
3037
|
+
return ""; return `${JSON.stringify(key)}:${_so2(value)}`; }).filter(str => "" !== str).join(",")}}`; const _so2 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.recordName ? "" : `"recordName":${undefined !== input.recordName ? (() => {
|
|
3038
|
+
if ("string" === typeof input.recordName)
|
|
3039
|
+
return __typia_transform__jsonStringifyString._jsonStringifyString(input.recordName);
|
|
3040
|
+
if ("object" === typeof input.recordName && null !== input.recordName)
|
|
3041
|
+
return _so3(input.recordName);
|
|
3042
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
3043
|
+
method: "typia.json.stringify",
|
|
3044
|
+
expected: "(__type.o1 | string | undefined)",
|
|
3045
|
+
value: input.recordName
|
|
3046
|
+
});
|
|
3047
|
+
})() : undefined},`}${undefined === input.setter || "function" === typeof input.setter ? "" : `"setter":${undefined !== input.setter ? (() => {
|
|
3048
|
+
if ("function" === typeof input.setter)
|
|
3049
|
+
return undefined;
|
|
3050
|
+
if ("string" === typeof input.setter)
|
|
3051
|
+
return __typia_transform__jsonStringifyString._jsonStringifyString(input.setter);
|
|
3052
|
+
if ("object" === typeof input.setter && null !== input.setter)
|
|
3053
|
+
return _so5(input.setter);
|
|
3054
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
3055
|
+
method: "typia.json.stringify",
|
|
3056
|
+
expected: "(__type.o3 | string | undefined)",
|
|
3057
|
+
value: input.setter
|
|
3058
|
+
});
|
|
3059
|
+
})() : undefined},`}${undefined === input["default"] || "function" === typeof input["default"] ? "" : `"default":${undefined !== input["default"] ? JSON.stringify(input["default"]) : undefined},`}${undefined === input["const"] || "function" === typeof input["const"] ? "" : `"const":${undefined !== input["const"] ? JSON.stringify(input["const"]) : undefined},`}${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 => _so7(elem)).join(",")}]` : undefined},`}${undefined === input.anyOf ? "" : `"anyOf":${undefined !== input.anyOf ? `[${input.anyOf.map(elem => _so7(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 ? (() => {
|
|
3060
|
+
if ("string" === typeof input.widget)
|
|
3061
|
+
return __typia_transform__jsonStringifyString._jsonStringifyString(input.widget);
|
|
3062
|
+
if ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget))
|
|
3063
|
+
return _so8(input.widget);
|
|
3064
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
3065
|
+
method: "typia.json.stringify",
|
|
3066
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
3067
|
+
value: input.widget
|
|
3068
|
+
});
|
|
3069
|
+
})() : 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 ? _so7(input.items) : undefined},`}${undefined === input.properties ? "" : `"properties":${undefined !== input.properties ? _so9(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 ? _so10(input.index) : undefined}`}`)}}`; const _so3 = input => `{"__context":${_so4(input.__context)},"__returnValue":${__typia_transform__jsonStringifyString._jsonStringifyString(input.__returnValue)}}`; const _so4 = input => `{"id":${__typia_transform__jsonStringifyString._jsonStringifyString(input.id)}}`; const _so5 = input => `{"__context":${_so6(input.__context)}}`; const _so6 = 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 _so7 = 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 => _so7(elem)).join(",")}]` : undefined},`}${undefined === input.anyOf ? "" : `"anyOf":${undefined !== input.anyOf ? `[${input.anyOf.map(elem => _so7(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 ? (() => {
|
|
3070
|
+
if ("string" === typeof input.widget)
|
|
3071
|
+
return __typia_transform__jsonStringifyString._jsonStringifyString(input.widget);
|
|
3072
|
+
if ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget))
|
|
3073
|
+
return _so8(input.widget);
|
|
3074
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
3075
|
+
method: "typia.json.stringify",
|
|
3076
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
3077
|
+
value: input.widget
|
|
3078
|
+
});
|
|
3079
|
+
})() : 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 ? _so7(input.items) : undefined},`}${undefined === input.properties ? "" : `"properties":${undefined !== input.properties ? _so9(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 ? _so10(input.index) : undefined}`}`)}}`; const _so8 = 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)
|
|
3080
|
+
return ""; if (["type", "readOnly"].some(regular => regular === key))
|
|
3081
|
+
return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}`)}}`; const _so9 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
3082
|
+
return ""; return `${JSON.stringify(key)}:${_so7(value)}`; }).filter(str => "" !== str).join(",")}}`; const _so10 = input => `{"label":${__typia_transform__jsonStringifyString._jsonStringifyString(input.label)},"path":${__typia_transform__jsonStringifyString._jsonStringifyString(input.path)}}`; const _so11 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.panel ? "" : `"panel":${undefined !== input.panel ? (() => {
|
|
3083
|
+
if ("string" === typeof input.panel)
|
|
3084
|
+
return __typia_transform__jsonStringifyString._jsonStringifyString(input.panel);
|
|
3085
|
+
if (Array.isArray(input.panel))
|
|
3086
|
+
return _sa0(input.panel);
|
|
3087
|
+
if ("object" === typeof input.panel && null !== input.panel)
|
|
3088
|
+
return _su0(input.panel);
|
|
3089
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
3090
|
+
method: "typia.json.stringify",
|
|
3091
|
+
expected: "(Array<WidgetLayout> | WidgetLayoutDivider | WidgetLayoutItem | string | undefined)",
|
|
3092
|
+
value: input.panel
|
|
3093
|
+
});
|
|
3094
|
+
})() : undefined},`}${undefined === input.editor ? "" : `"editor":${undefined !== input.editor ? (() => {
|
|
3095
|
+
if ("string" === typeof input.editor)
|
|
3096
|
+
return __typia_transform__jsonStringifyString._jsonStringifyString(input.editor);
|
|
3097
|
+
if (Array.isArray(input.editor))
|
|
3098
|
+
return _sa0(input.editor);
|
|
3099
|
+
if ("object" === typeof input.editor && null !== input.editor)
|
|
3100
|
+
return _su0(input.editor);
|
|
3101
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
3102
|
+
method: "typia.json.stringify",
|
|
3103
|
+
expected: "(Array<WidgetLayout> | WidgetLayoutDivider | WidgetLayoutItem | string | undefined)",
|
|
3104
|
+
value: input.editor
|
|
3105
|
+
});
|
|
3106
|
+
})() : undefined}`}`)}}`; const _so12 = input => `{${undefined === input.title ? "" : `"title":${undefined !== input.title ? __typia_transform__jsonStringifyString._jsonStringifyString(input.title) : undefined},`}"type":${"\"" + input.type + "\""}}`; const _so13 = input => `{${undefined === input.width ? "" : `"width":${undefined !== input.width ? (() => {
|
|
3107
|
+
if ("string" === typeof input.width)
|
|
3108
|
+
return __typia_transform__jsonStringifyString._jsonStringifyString(input.width);
|
|
3109
|
+
if ("number" === typeof input.width)
|
|
3110
|
+
return input.width;
|
|
3111
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
3112
|
+
method: "typia.json.stringify",
|
|
3113
|
+
expected: "(number | string | undefined)",
|
|
3114
|
+
value: input.width
|
|
3115
|
+
});
|
|
3116
|
+
})() : undefined},`}${undefined === input.widget ? "" : `"widget":${undefined !== input.widget ? (() => {
|
|
3117
|
+
if ("string" === typeof input.widget)
|
|
3118
|
+
return __typia_transform__jsonStringifyString._jsonStringifyString(input.widget);
|
|
3119
|
+
if ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget))
|
|
3120
|
+
return _so8(input.widget);
|
|
3121
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
3122
|
+
method: "typia.json.stringify",
|
|
3123
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
3124
|
+
value: input.widget
|
|
3125
|
+
});
|
|
3126
|
+
})() : undefined},`}"property":${__typia_transform__jsonStringifyString._jsonStringifyString(input.property)}}`; const _su0 = input => (() => {
|
|
3127
|
+
if (undefined !== input.type)
|
|
3128
|
+
return _so12(input);
|
|
3129
|
+
else if (undefined !== input.property)
|
|
3130
|
+
return _so13(input);
|
|
3131
|
+
else
|
|
3132
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
3133
|
+
method: "typia.json.stringify",
|
|
3134
|
+
expected: "(WidgetLayoutDivider | WidgetLayoutItem)",
|
|
3135
|
+
value: input
|
|
3136
|
+
});
|
|
3137
|
+
})(); const _sa0 = input => `[${input.map(elem => (() => {
|
|
3138
|
+
if ("string" === typeof elem)
|
|
3139
|
+
return __typia_transform__jsonStringifyString._jsonStringifyString(elem);
|
|
3140
|
+
if (Array.isArray(elem))
|
|
3141
|
+
return _sa0(elem);
|
|
3142
|
+
if ("object" === typeof elem && null !== elem)
|
|
3143
|
+
return _su0(elem);
|
|
3144
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
3145
|
+
method: "typia.json.stringify",
|
|
3146
|
+
expected: "(Array<WidgetLayout> | WidgetLayoutDivider | WidgetLayoutItem | string)",
|
|
3147
|
+
value: elem
|
|
3148
|
+
});
|
|
3149
|
+
})()).join(",")}]`; const _io1 = input => Object.keys(input).every(key => {
|
|
3150
|
+
const value = input[key];
|
|
3151
|
+
if (undefined === value)
|
|
3152
|
+
return true;
|
|
3153
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
|
|
3154
|
+
}); const _io2 = input => null !== input.recordName && (undefined === input.recordName || "string" === typeof input.recordName || "object" === typeof input.recordName && null !== input.recordName && _io3(input.recordName)) && (null !== input.setter && (undefined === input.setter || "function" === typeof input.setter || "string" === typeof input.setter || "object" === typeof input.setter && null !== input.setter && _io5(input.setter))) && true && true && (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) && _io7(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io7(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) && _io8(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) && _io7(input.items)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io9(input.properties)) && true && (undefined === input.index || "object" === typeof input.index && null !== input.index && _io10(input.index)); const _io3 = input => "object" === typeof input.__context && null !== input.__context && _io4(input.__context) && "string" === typeof input.__returnValue; const _io4 = input => "string" === typeof input.id; const _io5 = input => "object" === typeof input.__context && null !== input.__context && _io6(input.__context) && true; const _io6 = input => "string" === typeof input.id && true; const _io7 = 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) && _io7(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io7(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) && _io8(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) && _io7(input.items)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io9(input.properties)) && true && (undefined === input.index || "object" === typeof input.index && null !== input.index && _io10(input.index)); const _io8 = input => (undefined === input.type || "string" === typeof input.type) && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && Object.keys(input).every(key => {
|
|
3155
|
+
if (["type", "readOnly"].some(prop => key === prop))
|
|
3156
|
+
return true;
|
|
3157
|
+
const value = input[key];
|
|
3158
|
+
if (undefined === value)
|
|
3159
|
+
return true;
|
|
3160
|
+
return true;
|
|
3161
|
+
}); const _io9 = input => Object.keys(input).every(key => {
|
|
3162
|
+
const value = input[key];
|
|
3163
|
+
if (undefined === value)
|
|
3164
|
+
return true;
|
|
3165
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io7(value);
|
|
3166
|
+
}); const _io10 = input => "string" === typeof input.label && "string" === typeof input.path; const _io11 = input => null !== input.panel && (undefined === input.panel || "string" === typeof input.panel || (Array.isArray(input.panel) && (_ia0(input.panel) || false) || "object" === typeof input.panel && null !== input.panel && _iu0(input.panel))) && (null !== input.editor && (undefined === input.editor || "string" === typeof input.editor || (Array.isArray(input.editor) && (_ia0(input.editor) || false) || "object" === typeof input.editor && null !== input.editor && _iu0(input.editor)))); const _io12 = input => "divider" === input.type && (undefined === input.title || "string" === typeof input.title); const _io13 = input => "string" === typeof input.property && (undefined === input.width || "string" === typeof input.width || "number" === typeof input.width) && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io8(input.widget))); const _iu0 = input => (() => {
|
|
3167
|
+
if (undefined !== input.type)
|
|
3168
|
+
return _io12(input);
|
|
3169
|
+
else if (undefined !== input.property)
|
|
3170
|
+
return _io13(input);
|
|
3171
|
+
else
|
|
3172
|
+
return false;
|
|
3173
|
+
})(); const _ia0 = input => input.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || (Array.isArray(elem) && (_ia0(elem) || false) || "object" === typeof elem && null !== elem && _iu0(elem)))); return input => _so0(input); })()(input);
|
|
3174
|
+
}
|
|
2569
3175
|
case ":script": {
|
|
2570
3176
|
return (() => { const _so0 = input => `{${undefined === input.refs ? "" : `"refs":${undefined !== input.refs ? `[${input.refs.map(elem => _so1(elem)).join(",")}]` : undefined},`}"value":${__typia_transform__jsonStringifyString._jsonStringifyString(input.value)}}`; const _so1 = input => `{${undefined === input.asset ? "" : `"asset":${undefined !== input.asset ? __typia_transform__jsonStringifyString._jsonStringifyString(input.asset) : undefined},`}"mixin":${__typia_transform__jsonStringifyString._jsonStringifyString(input.mixin)}}`; const _io1 = input => "string" === typeof input.mixin && (undefined === input.asset || "string" === typeof input.asset); return input => _so0(input); })()(input);
|
|
2571
3177
|
}
|
|
2572
3178
|
case ":script?": {
|
|
2573
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)
|
|
2574
|
-
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 => {
|
|
2575
3181
|
const value = input[key];
|
|
2576
3182
|
if (undefined === value)
|
|
2577
3183
|
return true;
|
|
@@ -2586,7 +3192,7 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
2586
3192
|
}
|
|
2587
3193
|
case ":script.revision?": {
|
|
2588
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)
|
|
2589
|
-
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 => {
|
|
2590
3196
|
const value = input[key];
|
|
2591
3197
|
if (undefined === value)
|
|
2592
3198
|
return true;
|
|
@@ -2689,32 +3295,44 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
2689
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);
|
|
2690
3296
|
}
|
|
2691
3297
|
case ":settings": {
|
|
2692
|
-
return (() => { const
|
|
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)
|
|
2693
3299
|
return ""; if (["settingsPanelStore"].some(regular => regular === key))
|
|
2694
|
-
return ""; return `${JSON.stringify(key)}:${undefined !== value ?
|
|
2695
|
-
return ""; return `${JSON.stringify(key)}:${
|
|
2696
|
-
return ""; return `${JSON.stringify(key)}:${
|
|
2697
|
-
return ""; return `${JSON.stringify(key)}:${
|
|
2698
|
-
return ""; return `${JSON.stringify(key)}:${
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
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)
|
|
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)
|
|
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)
|
|
3303
|
+
return ""; return `${JSON.stringify(key)}:${_so34(value)}`; }).filter(str => "" !== str).join(",")}}`; const _so34 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
3304
|
+
return ""; return `${JSON.stringify(key)}:${_so35(value)}`; }).filter(str => "" !== str).join(",")}}`; const _so35 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.title ? "" : `"title":${undefined !== input.title ? __typia_transform__jsonStringifyString._jsonStringifyString(input.title) : undefined},`}${undefined === input.sequence ? "" : `"sequence":${undefined !== input.sequence ? null !== input.sequence ? (() => {
|
|
3305
|
+
if ("string" === typeof input.sequence)
|
|
3306
|
+
return __typia_transform__jsonStringifyString._jsonStringifyString(input.sequence);
|
|
3307
|
+
if (Array.isArray(input.sequence))
|
|
3308
|
+
return `[${input.sequence.map(elem => (() => {
|
|
3309
|
+
if ("string" === typeof elem)
|
|
3310
|
+
return __typia_transform__jsonStringifyString._jsonStringifyString(elem);
|
|
3311
|
+
if (Array.isArray(elem) && (elem.length === 2 && "string" === typeof elem[0] && true))
|
|
3312
|
+
return `[${__typia_transform__jsonStringifyString._jsonStringifyString(elem[0])},${undefined !== elem[1] ? JSON.stringify(elem[1]) : "null"}]`;
|
|
3313
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
3314
|
+
method: "typia.json.stringify",
|
|
3315
|
+
expected: "([string, unknown] | string)",
|
|
3316
|
+
value: elem
|
|
3317
|
+
});
|
|
3318
|
+
})()).join(",")}]`;
|
|
3319
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
3320
|
+
method: "typia.json.stringify",
|
|
3321
|
+
expected: "(Array<string | [string, unknown]> | null | string | undefined)",
|
|
3322
|
+
value: input.sequence
|
|
3323
|
+
});
|
|
3324
|
+
})() : "null" : undefined},`}${undefined === input.schema ? "" : `"schema":${undefined !== input.schema ? _so36(input.schema) : undefined},`}${undefined === input.stopCallback ? "" : `"stopCallback":${undefined !== input.stopCallback ? input.stopCallback : undefined}`}`)}}`; const _so36 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
3325
|
+
return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}}`; const _so37 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.volume ? "" : `"volume":${undefined !== input.volume ? input.volume : undefined},`}${undefined === input.muted ? "" : `"muted":${undefined !== input.muted ? input.muted : undefined},`}${undefined === input.graphics ? "" : `"graphics":${undefined !== input.graphics ? input.graphics : undefined},`}${undefined === input.waveform ? "" : `"waveform":${undefined !== input.waveform ? input.waveform : undefined},`}${undefined === input.defaultFrameRate ? "" : `"defaultFrameRate":${undefined !== input.defaultFrameRate ? input.defaultFrameRate : undefined},`}${undefined === input.dropFrame ? "" : `"dropFrame":${undefined !== input.dropFrame ? input.dropFrame : undefined},`}${undefined === input.placeholder ? "" : `"placeholder":${undefined !== input.placeholder ? __typia_transform__jsonStringifyString._jsonStringifyString(input.placeholder) : undefined},`}${undefined === input.warnSubclipDuration ? "" : `"warnSubclipDuration":${undefined !== input.warnSubclipDuration ? input.warnSubclipDuration : undefined},`}${undefined === input.displayAspectRatioPresets ? "" : `"displayAspectRatioPresets":${undefined !== input.displayAspectRatioPresets ? `[${input.displayAspectRatioPresets.map(elem => _so38(elem)).join(",")}]` : undefined},`}${undefined === input.guide ? "" : `"guide":${undefined !== input.guide ? _so39(input.guide) : undefined},`}${undefined === input.stepManyFrames ? "" : `"stepManyFrames":${undefined !== input.stepManyFrames ? input.stepManyFrames : undefined},`}${undefined === input.liveZoomDuration ? "" : `"liveZoomDuration":${undefined !== input.liveZoomDuration ? input.liveZoomDuration : undefined},`}${undefined === input.importTitleTemplate ? "" : `"importTitleTemplate":${undefined !== input.importTitleTemplate ? __typia_transform__jsonStringifyString._jsonStringifyString(input.importTitleTemplate) : undefined},`}${undefined === input.tile ? "" : `"tile":${undefined !== input.tile ? _so40(input.tile) : undefined},`}${undefined === input.timecodeReference ? "" : `"timecodeReference":${undefined !== input.timecodeReference ? __typia_transform__jsonStringifyString._jsonStringifyString(input.timecodeReference) : undefined},`}${undefined === input.maxSubclipDuration ? "" : `"maxSubclipDuration":${undefined !== input.maxSubclipDuration ? input.maxSubclipDuration : undefined},`}${undefined === input.rewindStep ? "" : `"rewindStep":${undefined !== input.rewindStep ? input.rewindStep : undefined},`}${undefined === input.forwardStep ? "" : `"forwardStep":${undefined !== input.forwardStep ? input.forwardStep : undefined},`}${undefined === input.interlacedPlayback ? "" : `"interlacedPlayback":${undefined !== input.interlacedPlayback ? __typia_transform__jsonStringifyString._jsonStringifyString(input.interlacedPlayback) : undefined},`}${undefined === input.playbackRates ? "" : `"playbackRates":${undefined !== input.playbackRates ? `[${input.playbackRates.map(elem => elem).join(",")}]` : undefined},`}${undefined === input.subtitles ? "" : `"subtitles":${undefined !== input.subtitles ? _so41(input.subtitles) : undefined},`}${undefined === input.subtitleTemplateId ? "" : `"subtitleTemplateId":${undefined !== input.subtitleTemplateId ? __typia_transform__jsonStringifyString._jsonStringifyString(input.subtitleTemplateId) : undefined},`}${undefined === input.initialVolume ? "" : `"initialVolume":${undefined !== input.initialVolume ? __typia_transform__jsonStringifyString._jsonStringifyString(input.initialVolume) : undefined},`}${undefined === input.guides ? "" : `"guides":${undefined !== input.guides ? `[${input.guides.map(elem => _so44(elem)).join(",")}]` : undefined},`}${undefined === input.download ? "" : `"download":${undefined !== input.download ? input.download : undefined},`}${undefined === input.editMode ? "" : `"editMode":${undefined !== input.editMode ? _so45(input.editMode) : undefined},`}${undefined === input.transcribe ? "" : `"transcribe":${undefined !== input.transcribe ? _so46(input.transcribe) : undefined},`}${undefined === input.openCommand ? "" : `"openCommand":${undefined !== input.openCommand ? (() => {
|
|
2708
3326
|
if ("string" === typeof input.openCommand)
|
|
2709
3327
|
return __typia_transform__jsonStringifyString._jsonStringifyString(input.openCommand);
|
|
2710
3328
|
if ("object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand))
|
|
2711
|
-
return
|
|
3329
|
+
return _so50(input.openCommand);
|
|
2712
3330
|
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2713
3331
|
method: "typia.json.stringify",
|
|
2714
|
-
expected: "(__type.
|
|
3332
|
+
expected: "(__type.o40 | string | undefined)",
|
|
2715
3333
|
value: input.openCommand
|
|
2716
3334
|
});
|
|
2717
|
-
})() : undefined},`}${undefined === input.recorder ? "" : `"recorder":${undefined !== input.recorder ?
|
|
3335
|
+
})() : undefined},`}${undefined === input.recorder ? "" : `"recorder":${undefined !== input.recorder ? _so51(input.recorder) : undefined}`}`)}}`; const _so38 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.label ? "" : `"label":${undefined !== input.label ? __typia_transform__jsonStringifyString._jsonStringifyString(input.label) : undefined},`}${undefined === input.value ? "" : `"value":${undefined !== input.value ? __typia_transform__jsonStringifyString._jsonStringifyString(input.value) : undefined}`}`)}}`; const _so39 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.mask ? "" : `"mask":${undefined !== input.mask ? input.mask : undefined},`}${undefined === input.actionSafe ? "" : `"actionSafe":${undefined !== input.actionSafe ? input.actionSafe : undefined},`}${undefined === input.titleSafe ? "" : `"titleSafe":${undefined !== input.titleSafe ? input.titleSafe : undefined}`}`)}}`; const _so40 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.preview ? "" : `"preview":${undefined !== input.preview ? (() => {
|
|
2718
3336
|
if ("string" === typeof input.preview)
|
|
2719
3337
|
return "\"" + input.preview + "\"";
|
|
2720
3338
|
if ("boolean" === typeof input.preview)
|
|
@@ -2724,85 +3342,63 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
2724
3342
|
expected: "(\"disabled\" | \"play\" | \"seek\" | \"seekplay\" | boolean | undefined)",
|
|
2725
3343
|
value: input.preview
|
|
2726
3344
|
});
|
|
2727
|
-
})() : undefined},`}${undefined === input.showRenderProgress ? "" : `"showRenderProgress":${undefined !== input.showRenderProgress ? input.showRenderProgress : undefined}`}`)}}`; const _so47 = 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 => _so48(elem)).join(",")}]` : undefined},`}${undefined === input.colors ? "" : `"colors":${undefined !== input.colors ? `[${input.colors.map(elem => _so49(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 _so48 = 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 _so49 = 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 _so50 = 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 _so51 = 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 _so52 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.subtitleDisclaimer ? "" : `"subtitleDisclaimer":${undefined !== input.subtitleDisclaimer ? _so53(input.subtitleDisclaimer) : undefined}`}`)}}`; const _so53 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.isUserConfigurable ? "" : `"isUserConfigurable":${undefined !== input.isUserConfigurable ? input.isUserConfigurable : undefined},`}${undefined === input.defaultValue ? "" : `"defaultValue":${undefined !== input.defaultValue ? _so54(input.defaultValue) : undefined}`}`)}}`; const _so54 = 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 => _so55(elem)).join(",")}]` : undefined},`}${undefined === input.offset ? "" : `"offset":${undefined !== input.offset ? input.offset : undefined},`}${undefined === input.duration ? "" : `"duration":${undefined !== input.duration ? input.duration : undefined}`}`)}}`; const _so55 = 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 _so56 = 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 _so57 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.microphone ? "" : `"microphone":${undefined !== input.microphone ? _so58(input.microphone) : undefined},`}${undefined === input.webcam ? "" : `"webcam":${undefined !== input.webcam ? _so59(input.webcam) : undefined},`}${undefined === input.countdown ? "" : `"countdown":${undefined !== input.countdown ? input.countdown : undefined}`}`)}}`; const _so58 = 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 _so59 = 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 _so60 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.thumbnailView ? "" : `"thumbnailView":${undefined !== input.thumbnailView ? "\"" + input.thumbnailView + "\"" : undefined},`}${undefined === input.audioMapping ? "" : `"audioMapping":${undefined !== input.audioMapping ? _so61(input.audioMapping) : undefined},`}${undefined === input.normalize ? "" : `"normalize":${undefined !== input.normalize ? _so63(input.normalize) : undefined},`}${undefined === input.voiceOver ? "" : `"voiceOver":${undefined !== input.voiceOver ? _so65(input.voiceOver) : undefined}`}`)}}`; const _so61 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.presets ? "" : `"presets":${undefined !== input.presets ? `[${input.presets.map(elem => _so62(elem)).join(",")}]` : undefined}`}`)}}`; const _so62 = 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 _so63 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.presets ? "" : `"presets":${undefined !== input.presets ? `[${input.presets.map(elem => _so64(elem)).join(",")}]` : undefined},`}${undefined === input.defaultPresetId ? "" : `"defaultPresetId":${undefined !== input.defaultPresetId ? __typia_transform__jsonStringifyString._jsonStringifyString(input.defaultPresetId) : undefined}`}`)}}`; const _so64 = input => `{"id":${__typia_transform__jsonStringifyString._jsonStringifyString(input.id)},"title":${__typia_transform__jsonStringifyString._jsonStringifyString(input.title)},"i":${input.i},"tp":${input.tp}}`; const _so65 = 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 _so66 = 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 _so67 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.folded ? "" : `"folded":${undefined !== input.folded ? _so68(input.folded) : undefined},`}${undefined === input.assets ? "" : `"assets":${undefined !== input.assets ? _so69(input.assets) : undefined},`}${undefined === input.pipeline ? "" : `"pipeline":${undefined !== input.pipeline ? _so73(input.pipeline) : undefined},`}${undefined === input.item ? "" : `"item":${undefined !== input.item ? _so75(input.item) : undefined}`}`)}}`; const _so68 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.auto ? "" : `"auto":${undefined !== input.auto ? input.auto : undefined}`}`)}}`; const _so69 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.story ? "" : `"story":${undefined !== input.story ? _so70(input.story) : undefined},`}${undefined === input.note ? "" : `"note":${undefined !== input.note ? _so72(input.note) : undefined}`}`)}}`; const _so70 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.excerpt ? "" : `"excerpt":${undefined !== input.excerpt ? _so71(input.excerpt) : undefined}`}`)}}`; const _so71 = 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 _so72 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.maxHeight ? "" : `"maxHeight":${undefined !== input.maxHeight ? input.maxHeight : undefined}`}`)}}`; const _so73 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.search ? "" : `"search":${undefined !== input.search ? _so74(input.search) : undefined},`}${undefined === input.sortMode ? "" : `"sortMode":${undefined !== input.sortMode ? "\"" + input.sortMode + "\"" : undefined}`}`)}}`; const _so74 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.maxItemsDisplayed ? "" : `"maxItemsDisplayed":${undefined !== input.maxItemsDisplayed ? input.maxItemsDisplayed : undefined}`}`)}}`; const _so75 = 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 _so76 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.fontFamilies ? "" : `"fontFamilies":${undefined !== input.fontFamilies ? `[${input.fontFamilies.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined}`}`)}}`; const _so77 = 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 _so78 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.adobe ? "" : `"adobe":${undefined !== input.adobe ? _so79(input.adobe) : undefined},`}${undefined === input.rive ? "" : `"rive":${undefined !== input.rive ? _so80(input.rive) : undefined}`}`)}}`; const _so79 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.useProxies ? "" : `"useProxies":${undefined !== input.useProxies ? input.useProxies : undefined}`}`)}}`; const _so80 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.template ? "" : `"template":${undefined !== input.template ? __typia_transform__jsonStringifyString._jsonStringifyString(input.template) : undefined}`}`)}}`; const _so81 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.collections ? "" : `"collections":${undefined !== input.collections ? input.collections : undefined},`}${undefined === input.semanticSearch ? "" : `"semanticSearch":${undefined !== input.semanticSearch ? input.semanticSearch : undefined},`}${undefined === input.ameRemoteRendering ? "" : `"ameRemoteRendering":${undefined !== input.ameRemoteRendering ? input.ameRemoteRendering : undefined}`}`)}}`; const _so82 = 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.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 _so83 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.events ? "" : `"events":${undefined !== input.events ? _so84(input.events) : undefined}`}`)}}`; const _so84 = 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 ? _so85(input.publishSucceeded) : undefined}`}`)}}`; const _so85 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
2728
|
-
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 => {
|
|
2729
3358
|
if (["settingsPanelStore"].some(prop => key === prop))
|
|
2730
3359
|
return true;
|
|
2731
3360
|
const value = input[key];
|
|
2732
3361
|
if (undefined === value)
|
|
2733
3362
|
return true;
|
|
2734
|
-
return undefined === value || "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
2735
|
-
}); const
|
|
2736
|
-
const value = input[key];
|
|
2737
|
-
if (undefined === value)
|
|
2738
|
-
return true;
|
|
2739
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io24(value);
|
|
2740
|
-
}); const _io24 = input => (undefined === input.preview || "boolean" === typeof input.preview) && (undefined === input.children || "boolean" === typeof input.children); const _io25 = input => (null === input.color || "string" === typeof input.color) && (null === input.backgroundColor || "string" === typeof input.backgroundColor); const _io26 = input => (undefined === input.graphicBaseTemplate || "string" === typeof input.graphicBaseTemplate) && (undefined === input.favorites || Array.isArray(input.favorites) && input.favorites.every(elem => "string" === typeof elem)) && (undefined === input.defaults || "object" === typeof input.defaults && null !== input.defaults && false === Array.isArray(input.defaults) && _io27(input.defaults)); const _io27 = input => Object.keys(input).every(key => {
|
|
2741
|
-
const value = input[key];
|
|
2742
|
-
if (undefined === value)
|
|
2743
|
-
return true;
|
|
2744
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io28(value);
|
|
2745
|
-
}); const _io28 = input => (undefined === input.event || "string" === typeof input.event) && (undefined === input.property || "string" === typeof input.property); const _io29 = input => (undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails) && ("folded" === input.scriptEventFolding || "unfoldedUntilFolded" === input.scriptEventFolding); const _io30 = input => (undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur) && (undefined === input.float || "rundown" === input.float || "gallery" === input.float || "disabled" === input.float) && (undefined === input.countFloatedDuration || "boolean" === typeof input.countFloatedDuration); const _io31 = input => (undefined === input.display || "object" === typeof input.display && null !== input.display && false === Array.isArray(input.display) && _io32(input.display)) && (undefined === input.browser || "object" === typeof input.browser && null !== input.browser && false === Array.isArray(input.browser) && _io34(input.browser)) && (undefined === input.gallery || "object" === typeof input.gallery && null !== input.gallery && false === Array.isArray(input.gallery) && _io35(input.gallery)) && (undefined === input.global || "object" === typeof input.global && null !== input.global && false === Array.isArray(input.global) && _io36(input.global)) && (undefined === input.player || "object" === typeof input.player && null !== input.player && false === Array.isArray(input.player) && _io37(input.player)) && (undefined === input.script || "object" === typeof input.script && null !== input.script && false === Array.isArray(input.script) && _io38(input.script)) && (undefined === input.codeEditor || "object" === typeof input.codeEditor && null !== input.codeEditor && false === Array.isArray(input.codeEditor) && _io39(input.codeEditor)) && (undefined === input.bookmarks || "object" === typeof input.bookmarks && null !== input.bookmarks && false === Array.isArray(input.bookmarks) && _io40(input.bookmarks)) && (undefined === input.edit || "object" === typeof input.edit && null !== input.edit && false === Array.isArray(input.edit) && _io41(input.edit)) && (undefined === input.rundown || "object" === typeof input.rundown && null !== input.rundown && false === Array.isArray(input.rundown) && _io42(input.rundown)) && (undefined === input.segment || "object" === typeof input.segment && null !== input.segment && false === Array.isArray(input.segment) && _io43(input.segment)); const _io32 = input => Object.keys(input).every(key => {
|
|
2746
|
-
const value = input[key];
|
|
2747
|
-
if (undefined === value)
|
|
2748
|
-
return true;
|
|
2749
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io33(value);
|
|
2750
|
-
}); const _io33 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.sequence || "string" === typeof input.sequence); const _io34 = input => Object.keys(input).every(key => {
|
|
2751
|
-
const value = input[key];
|
|
2752
|
-
if (undefined === value)
|
|
2753
|
-
return true;
|
|
2754
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io33(value);
|
|
2755
|
-
}); const _io35 = input => Object.keys(input).every(key => {
|
|
2756
|
-
const value = input[key];
|
|
2757
|
-
if (undefined === value)
|
|
2758
|
-
return true;
|
|
2759
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io33(value);
|
|
2760
|
-
}); const _io36 = input => Object.keys(input).every(key => {
|
|
2761
|
-
const value = input[key];
|
|
2762
|
-
if (undefined === value)
|
|
2763
|
-
return true;
|
|
2764
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io33(value);
|
|
2765
|
-
}); const _io37 = input => Object.keys(input).every(key => {
|
|
2766
|
-
const value = input[key];
|
|
2767
|
-
if (undefined === value)
|
|
2768
|
-
return true;
|
|
2769
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io33(value);
|
|
2770
|
-
}); const _io38 = input => Object.keys(input).every(key => {
|
|
2771
|
-
const value = input[key];
|
|
2772
|
-
if (undefined === value)
|
|
2773
|
-
return true;
|
|
2774
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io33(value);
|
|
2775
|
-
}); const _io39 = input => Object.keys(input).every(key => {
|
|
3363
|
+
return undefined === value || "object" === typeof value && null !== value && false === Array.isArray(value) && _io8(value);
|
|
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 => {
|
|
2776
3365
|
const value = input[key];
|
|
2777
3366
|
if (undefined === value)
|
|
2778
3367
|
return true;
|
|
2779
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
2780
|
-
}); const
|
|
3368
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io26(value);
|
|
3369
|
+
}); const _io26 = input => (undefined === input.preview || "boolean" === typeof input.preview) && (undefined === input.children || "boolean" === typeof input.children); const _io27 = input => (null === input.color || "string" === typeof input.color) && (null === input.backgroundColor || "string" === typeof input.backgroundColor); const _io28 = input => (undefined === input.graphicBaseTemplate || "string" === typeof input.graphicBaseTemplate) && (undefined === input.favorites || Array.isArray(input.favorites) && input.favorites.every(elem => "string" === typeof elem)) && (undefined === input.defaults || "object" === typeof input.defaults && null !== input.defaults && false === Array.isArray(input.defaults) && _io29(input.defaults)); const _io29 = input => Object.keys(input).every(key => {
|
|
2781
3370
|
const value = input[key];
|
|
2782
3371
|
if (undefined === value)
|
|
2783
3372
|
return true;
|
|
2784
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
2785
|
-
}); const
|
|
3373
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io30(value);
|
|
3374
|
+
}); const _io30 = input => (undefined === input.event || "string" === typeof input.event) && (undefined === input.property || "string" === typeof input.property); const _io31 = input => (undefined === input.eventThumbnails || "boolean" === typeof input.eventThumbnails) && ("folded" === input.scriptEventFolding || "unfoldedUntilFolded" === input.scriptEventFolding); const _io32 = input => (undefined === input.dimOnBlur || "boolean" === typeof input.dimOnBlur) && (undefined === input.float || "rundown" === input.float || "gallery" === input.float || "disabled" === input.float) && (undefined === input.countFloatedDuration || "boolean" === typeof input.countFloatedDuration); const _io33 = input => Object.keys(input).every(key => {
|
|
2786
3375
|
const value = input[key];
|
|
2787
3376
|
if (undefined === value)
|
|
2788
3377
|
return true;
|
|
2789
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
2790
|
-
}); const
|
|
3378
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io34(value);
|
|
3379
|
+
}); const _io34 = input => Object.keys(input).every(key => {
|
|
2791
3380
|
const value = input[key];
|
|
2792
3381
|
if (undefined === value)
|
|
2793
3382
|
return true;
|
|
2794
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
2795
|
-
}); const
|
|
3383
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io35(value);
|
|
3384
|
+
}); const _io35 = input => (undefined === input.title || "string" === typeof input.title) && (null === input.sequence || undefined === input.sequence || "string" === typeof input.sequence || Array.isArray(input.sequence) && input.sequence.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || Array.isArray(elem) && (elem.length === 2 && "string" === typeof elem[0] && true)))) && (undefined === input.schema || "object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) && _io36(input.schema)) && (undefined === input.stopCallback || "boolean" === typeof input.stopCallback); const _io36 = input => Object.keys(input).every(key => {
|
|
2796
3385
|
const value = input[key];
|
|
2797
3386
|
if (undefined === value)
|
|
2798
3387
|
return true;
|
|
2799
|
-
return
|
|
2800
|
-
}); const _io44 = input => (undefined === input.defaultFrameRate || "number" === typeof input.defaultFrameRate) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && _io45(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) && _io46(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) && _io47(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) && _io50(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && _io51(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io52(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && _io56(input.openCommand))) && (undefined === input.recorder || "object" === typeof input.recorder && null !== input.recorder && false === Array.isArray(input.recorder) && _io57(input.recorder)); const _io45 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe); const _io46 = 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 _io47 = 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) && _io48(elem))) && (undefined === input.colors || Array.isArray(input.colors) && input.colors.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io49(elem))) && (undefined === input.overridableProperties || Array.isArray(input.overridableProperties) && input.overridableProperties.every(elem => null === elem || true === _iv23.has(elem))) && (undefined === input.previewResolutionScale || "number" === typeof input.previewResolutionScale); const _io48 = 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 _io49 = input => (null === input.label || undefined === input.label || "string" === typeof input.label) && (null === input.color || undefined === input.color || "string" === typeof input.color); const _io50 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.aspectRatio || "string" === typeof input.aspectRatio); const _io51 = 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 _io52 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && _io53(input.subtitleDisclaimer); const _io53 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && _io54(input.defaultValue)); const _io54 = 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) && _io55(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration); const _io55 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.value || "string" === typeof input.value); const _io56 = 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 _io57 = input => (undefined === input.microphone || "object" === typeof input.microphone && null !== input.microphone && false === Array.isArray(input.microphone) && _io58(input.microphone)) && (undefined === input.webcam || "object" === typeof input.webcam && null !== input.webcam && false === Array.isArray(input.webcam) && _io59(input.webcam)) && (undefined === input.countdown || "number" === typeof input.countdown); const _io58 = input => (undefined === input.deviceId || "string" === typeof input.deviceId) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.monitorInput || "boolean" === typeof input.monitorInput); const _io59 = input => (undefined === input.deviceId || "string" === typeof input.deviceId) && (undefined === input.frameRate || "number" === typeof input.frameRate) && (undefined === input.aspectRatio || "number" === typeof input.aspectRatio); const _io60 = 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) && _io61(input.audioMapping)) && (undefined === input.normalize || "object" === typeof input.normalize && null !== input.normalize && false === Array.isArray(input.normalize) && _io63(input.normalize)) && (undefined === input.voiceOver || "object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) && _io65(input.voiceOver)); const _io61 = input => undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _io62(elem)); const _io62 = 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 _io63 = input => (undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _io64(elem))) && (undefined === input.defaultPresetId || "string" === typeof input.defaultPresetId); const _io64 = input => "string" === typeof input.id && "string" === typeof input.title && "number" === typeof input.i && "number" === typeof input.tp; const _io65 = 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 _io66 = 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 _io67 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && _io68(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && _io69(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && _io73(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && _io75(input.item)); const _io68 = input => undefined === input.auto || "boolean" === typeof input.auto; const _io69 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && _io70(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && _io72(input.note)); const _io70 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && _io71(input.excerpt); const _io71 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode) && (undefined === input.comments || "boolean" === typeof input.comments); const _io72 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight; const _io73 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && _io74(input.search)) && (undefined === input.sortMode || true === _iv32.has(input.sortMode)); const _io74 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed; const _io75 = input => (undefined === input.maxHeight || "number" === typeof input.maxHeight) && (undefined === input.titleLines || "number" === typeof input.titleLines); const _io76 = input => undefined === input.fontFamilies || Array.isArray(input.fontFamilies) && input.fontFamilies.every(elem => "string" === typeof elem); const _io77 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.folded || "boolean" === typeof input.folded); const _io78 = input => (undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && _io79(input.adobe)) && (undefined === input.rive || "object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) && _io80(input.rive)); const _io79 = input => undefined === input.useProxies || "boolean" === typeof input.useProxies; const _io80 = input => undefined === input.template || "string" === typeof input.template; const _io81 = input => (undefined === input.collections || "boolean" === typeof input.collections) && (undefined === input.semanticSearch || "boolean" === typeof input.semanticSearch) && (undefined === input.ameRemoteRendering || "boolean" === typeof input.ameRemoteRendering); const _io82 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.utilsAssetEditor || "boolean" === typeof input.utilsAssetEditor) && (undefined === input.utilsAssetPanel || "boolean" === typeof input.utilsAssetPanel) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute) && (undefined === input.devWarnings || "boolean" === typeof input.devWarnings) && (undefined === input.multiplexWebSockets || "boolean" === typeof input.multiplexWebSockets) && (undefined === input.systemHealth || "boolean" === typeof input.systemHealth) && (undefined === input.systemHealthIgnore || "boolean" === typeof input.systemHealthIgnore); const _io83 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io84(input.events); const _io84 = 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) && _io85(input.publishSucceeded)); const _io85 = input => Object.keys(input).every(key => {
|
|
3388
|
+
return true;
|
|
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 => {
|
|
2801
3390
|
const value = input[key];
|
|
2802
3391
|
if (undefined === value)
|
|
2803
3392
|
return true;
|
|
2804
3393
|
return Array.isArray(value) && value.every(elem => "mentioned" === elem || "assigned" === elem || "author" === elem || "participated" === elem || "always" === elem);
|
|
2805
|
-
}); 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);
|
|
2806
3402
|
}
|
|
2807
3403
|
case ":settings.node": {
|
|
2808
3404
|
return (() => { const _so0 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
@@ -2831,6 +3427,33 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
2831
3427
|
return _io2(input);
|
|
2832
3428
|
})(); return input => _so0(input); })()(input);
|
|
2833
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
|
+
}
|
|
2834
3457
|
case ":storyboard": {
|
|
2835
3458
|
return (() => { const _so0 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
2836
3459
|
return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}}`; return input => _so0(input); })()(input);
|
|
@@ -2844,6 +3467,50 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
2844
3467
|
case ":storyboard.ancestors?": {
|
|
2845
3468
|
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);
|
|
2846
3469
|
}
|
|
3470
|
+
case ":stream": {
|
|
3471
|
+
return (() => { const _so0 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.input ? "" : `"input":${undefined !== input.input ? __typia_transform__jsonStringifyString._jsonStringifyString(input.input) : undefined},`}${undefined === input.url ? "" : `"url":${undefined !== input.url ? __typia_transform__jsonStringifyString._jsonStringifyString(input.url) : undefined},`}${undefined === input.enabled ? "" : `"enabled":${undefined !== input.enabled ? input.enabled : undefined},`}${undefined === input.endpoints ? "" : `"endpoints":${undefined !== input.endpoints ? `[${input.endpoints.map(elem => _so1(elem)).join(",")}]` : undefined}`}`)}}`; const _so1 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.enabled ? "" : `"enabled":${undefined !== input.enabled ? input.enabled : undefined},`}${undefined === input.url ? "" : `"url":${undefined !== input.url ? __typia_transform__jsonStringifyString._jsonStringifyString(input.url) : undefined},`}${undefined === input.asset ? "" : `"asset":${undefined !== input.asset ? __typia_transform__jsonStringifyString._jsonStringifyString(input.asset) : undefined}`}`)}}`; const _io1 = input => (undefined === input.enabled || "boolean" === typeof input.enabled) && (undefined === input.url || "string" === typeof input.url) && (undefined === input.asset || "string" === typeof input.asset); return input => _so0(input); })()(input);
|
|
3472
|
+
}
|
|
3473
|
+
case ":stream.stats?": {
|
|
3474
|
+
return (() => { const _so0 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.status ? "" : `"status":${undefined !== input.status ? "\"" + input.status + "\"" : undefined},`}${undefined === input.proxyStatus ? "" : `"proxyStatus":${undefined !== input.proxyStatus ? "\"" + input.proxyStatus + "\"" : undefined},`}${undefined === input.rtmpUrl ? "" : `"rtmpUrl":${undefined !== input.rtmpUrl ? __typia_transform__jsonStringifyString._jsonStringifyString(input.rtmpUrl) : undefined},`}${undefined === input.rtmpPublishUrl ? "" : `"rtmpPublishUrl":${undefined !== input.rtmpPublishUrl ? __typia_transform__jsonStringifyString._jsonStringifyString(input.rtmpPublishUrl) : undefined},`}${undefined === input.endpoints ? "" : `"endpoints":${undefined !== input.endpoints ? `[${input.endpoints.map(elem => _so1(elem)).join(",")}]` : undefined},`}${undefined === input.error ? "" : `"error":${undefined !== input.error ? __typia_transform__jsonStringifyString._jsonStringifyString(input.error) : undefined}`}`)}}`; const _so1 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.rtmpUrl ? "" : `"rtmpUrl":${undefined !== input.rtmpUrl ? __typia_transform__jsonStringifyString._jsonStringifyString(input.rtmpUrl) : undefined},`}${undefined === input.status ? "" : `"status":${undefined !== input.status ? "\"" + input.status + "\"" : undefined}`}`)}}`; const _io1 = input => (undefined === input.rtmpUrl || "string" === typeof input.rtmpUrl) && (undefined === input.status || "created" === input.status || "stopped" === input.status || "broadcasting" === input.status || "failed" === input.status || "finished" === input.status); return input => _so0(input); })()(input);
|
|
3475
|
+
}
|
|
3476
|
+
case ":stream.ingest": {
|
|
3477
|
+
return (() => { const _so0 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.server ? "" : `"server":${undefined !== input.server ? __typia_transform__jsonStringifyString._jsonStringifyString(input.server) : undefined},`}${undefined === input.enabled ? "" : `"enabled":${undefined !== input.enabled ? input.enabled : undefined},`}${undefined === input.input ? "" : `"input":${undefined !== input.input ? _so1(input.input) : undefined},`}${undefined === input.encoding ? "" : `"encoding":${undefined !== input.encoding ? _so2(input.encoding) : undefined},`}${undefined === input.record ? "" : `"record":${undefined !== input.record ? _so4(input.record) : undefined},`}${undefined === input.stream ? "" : `"stream":${undefined !== input.stream ? _so7(input.stream) : undefined},`}${undefined === input.subtitle ? "" : `"subtitle":${undefined !== input.subtitle ? _so10(input.subtitle) : undefined},`}${undefined === input.video ? "" : `"video":${undefined !== input.video ? __typia_transform__jsonStringifyString._jsonStringifyString(input.video) : undefined},`}${undefined === input.audio ? "" : `"audio":${undefined !== input.audio ? __typia_transform__jsonStringifyString._jsonStringifyString(input.audio) : undefined},`}${undefined === input.channels ? "" : `"channels":${undefined !== input.channels ? input.channels : undefined},`}${undefined === input.audioDelay ? "" : `"audioDelay":${undefined !== input.audioDelay ? input.audioDelay : undefined},`}${undefined === input.interlaced ? "" : `"interlaced":${undefined !== input.interlaced ? input.interlaced : undefined}`}`)}}`; const _so1 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.raw_format ? "" : `"raw_format":${undefined !== input.raw_format ? __typia_transform__jsonStringifyString._jsonStringifyString(input.raw_format) : undefined},`}${undefined === input.video_format ? "" : `"video_format":${undefined !== input.video_format ? __typia_transform__jsonStringifyString._jsonStringifyString(input.video_format) : undefined}`}`)}}`; const _so2 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
3478
|
+
return ""; return `${JSON.stringify(key)}:${_so3(value)}`; }).filter(str => "" !== str).join(",")}}`; const _so3 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
3479
|
+
return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}}`; const _so4 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.hls_time ? "" : `"hls_time":${undefined !== input.hls_time ? input.hls_time : undefined},`}${undefined === input.hls_list_size ? "" : `"hls_list_size":${undefined !== input.hls_list_size ? input.hls_list_size : undefined},`}${undefined === input.mainPreset ? "" : `"mainPreset":${undefined !== input.mainPreset ? (() => {
|
|
3480
|
+
if ("string" === typeof input.mainPreset)
|
|
3481
|
+
return __typia_transform__jsonStringifyString._jsonStringifyString(input.mainPreset);
|
|
3482
|
+
if ("object" === typeof input.mainPreset && null !== input.mainPreset)
|
|
3483
|
+
return _so5(input.mainPreset);
|
|
3484
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
3485
|
+
method: "typia.json.stringify",
|
|
3486
|
+
expected: "(__type.o3 | string | undefined)",
|
|
3487
|
+
value: input.mainPreset
|
|
3488
|
+
});
|
|
3489
|
+
})() : undefined},`}${undefined === input.proxyPreset ? "" : `"proxyPreset":${undefined !== input.proxyPreset ? (() => {
|
|
3490
|
+
if ("string" === typeof input.proxyPreset)
|
|
3491
|
+
return __typia_transform__jsonStringifyString._jsonStringifyString(input.proxyPreset);
|
|
3492
|
+
if ("object" === typeof input.proxyPreset && null !== input.proxyPreset)
|
|
3493
|
+
return _so6(input.proxyPreset);
|
|
3494
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
3495
|
+
method: "typia.json.stringify",
|
|
3496
|
+
expected: "(__type.o4 | string | undefined)",
|
|
3497
|
+
value: input.proxyPreset
|
|
3498
|
+
});
|
|
3499
|
+
})() : undefined},`}${undefined === input.main ? "" : `"main":${undefined !== input.main ? _so3(input.main) : undefined},`}${undefined === input.proxy ? "" : `"proxy":${undefined !== input.proxy ? _so3(input.proxy) : undefined}`}`)}}`; const _so5 = input => `{"video":${__typia_transform__jsonStringifyString._jsonStringifyString(input.video)},"audio":${__typia_transform__jsonStringifyString._jsonStringifyString(input.audio)}}`; const _so6 = input => `{"video":${__typia_transform__jsonStringifyString._jsonStringifyString(input.video)},"audio":${__typia_transform__jsonStringifyString._jsonStringifyString(input.audio)}}`; const _so7 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.mainPreset ? "" : `"mainPreset":${undefined !== input.mainPreset ? _so8(input.mainPreset) : undefined},`}${undefined === input.proxyPreset ? "" : `"proxyPreset":${undefined !== input.proxyPreset ? _so9(input.proxyPreset) : undefined},`}${undefined === input.main ? "" : `"main":${undefined !== input.main ? _so3(input.main) : undefined},`}${undefined === input.proxy ? "" : `"proxy":${undefined !== input.proxy ? _so3(input.proxy) : undefined}`}`)}}`; const _so8 = input => `{"video":${__typia_transform__jsonStringifyString._jsonStringifyString(input.video)},"audio":${__typia_transform__jsonStringifyString._jsonStringifyString(input.audio)}}`; const _so9 = input => `{"video":${__typia_transform__jsonStringifyString._jsonStringifyString(input.video)},"audio":${__typia_transform__jsonStringifyString._jsonStringifyString(input.audio)}}`; const _so10 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.driver ? "" : `"driver":${undefined !== input.driver ? __typia_transform__jsonStringifyString._jsonStringifyString(input.driver) : undefined},`}${undefined === input.template ? "" : `"template":${undefined !== input.template ? __typia_transform__jsonStringifyString._jsonStringifyString(input.template) : undefined}`}`)}}`; const _io1 = input => (undefined === input.raw_format || "string" === typeof input.raw_format) && (undefined === input.video_format || "string" === typeof input.video_format); const _io2 = input => Object.keys(input).every(key => {
|
|
3500
|
+
const value = input[key];
|
|
3501
|
+
if (undefined === value)
|
|
3502
|
+
return true;
|
|
3503
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io3(value);
|
|
3504
|
+
}); const _io3 = input => Object.keys(input).every(key => {
|
|
3505
|
+
const value = input[key];
|
|
3506
|
+
if (undefined === value)
|
|
3507
|
+
return true;
|
|
3508
|
+
return true;
|
|
3509
|
+
}); const _io4 = input => (undefined === input.hls_time || "number" === typeof input.hls_time) && (undefined === input.hls_list_size || "number" === typeof input.hls_list_size) && (null !== input.mainPreset && (undefined === input.mainPreset || "string" === typeof input.mainPreset || "object" === typeof input.mainPreset && null !== input.mainPreset && _io5(input.mainPreset))) && (null !== input.proxyPreset && (undefined === input.proxyPreset || "string" === typeof input.proxyPreset || "object" === typeof input.proxyPreset && null !== input.proxyPreset && _io6(input.proxyPreset))) && (undefined === input.main || "object" === typeof input.main && null !== input.main && false === Array.isArray(input.main) && _io3(input.main)) && (undefined === input.proxy || "object" === typeof input.proxy && null !== input.proxy && false === Array.isArray(input.proxy) && _io3(input.proxy)); const _io5 = input => "string" === typeof input.video && "string" === typeof input.audio; const _io6 = input => "string" === typeof input.video && "string" === typeof input.audio; const _io7 = input => (undefined === input.mainPreset || "object" === typeof input.mainPreset && null !== input.mainPreset && _io8(input.mainPreset)) && (undefined === input.proxyPreset || "object" === typeof input.proxyPreset && null !== input.proxyPreset && _io9(input.proxyPreset)) && (undefined === input.main || "object" === typeof input.main && null !== input.main && false === Array.isArray(input.main) && _io3(input.main)) && (undefined === input.proxy || "object" === typeof input.proxy && null !== input.proxy && false === Array.isArray(input.proxy) && _io3(input.proxy)); const _io8 = input => "string" === typeof input.video && "string" === typeof input.audio; const _io9 = input => "string" === typeof input.video && "string" === typeof input.audio; const _io10 = input => (undefined === input.driver || "string" === typeof input.driver) && (undefined === input.template || "string" === typeof input.template); return input => _so0(input); })()(input);
|
|
3510
|
+
}
|
|
3511
|
+
case ":stream.ingest.stats?": {
|
|
3512
|
+
return (() => { const _iv1 = new Set(["error", "stopped", "starting", "recording", "streaming", "stopping", "restarting", "stalled", "deleted", "exited", "not configured", "initializing"]); const _so0 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.status ? "" : `"status":${undefined !== input.status ? "\"" + input.status + "\"" : undefined},`}${undefined === input.server ? "" : `"server":${undefined !== input.server ? __typia_transform__jsonStringifyString._jsonStringifyString(input.server) : undefined},`}${undefined === input.hostname ? "" : `"hostname":${undefined !== input.hostname ? __typia_transform__jsonStringifyString._jsonStringifyString(input.hostname) : undefined},`}${undefined === input.port ? "" : `"port":${undefined !== input.port ? input.port : undefined},`}${undefined === input.error ? "" : `"error":${undefined !== input.error ? __typia_transform__jsonStringifyString._jsonStringifyString(input.error) : undefined}`}`)}}`; return input => _so0(input); })()(input);
|
|
3513
|
+
}
|
|
2847
3514
|
case ":subtitle-style": {
|
|
2848
3515
|
return (() => { const _so0 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.scaledBorderAndShadow ? "" : `"scaledBorderAndShadow":${undefined !== input.scaledBorderAndShadow ? input.scaledBorderAndShadow : undefined},`}${undefined === input.futureWordWrapping ? "" : `"futureWordWrapping":${undefined !== input.futureWordWrapping ? input.futureWordWrapping : undefined},`}${undefined === input.previewSettings ? "" : `"previewSettings":${undefined !== input.previewSettings ? _so1(input.previewSettings) : undefined},`}${undefined === input.name ? "" : `"name":${undefined !== input.name ? __typia_transform__jsonStringifyString._jsonStringifyString(input.name) : 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},`}${undefined === input.scaleX ? "" : `"scaleX":${undefined !== input.scaleX ? __typia_transform__jsonStringifyString._jsonStringifyString(input.scaleX) : undefined},`}${undefined === input.scaleY ? "" : `"scaleY":${undefined !== input.scaleY ? __typia_transform__jsonStringifyString._jsonStringifyString(input.scaleY) : undefined},`}${undefined === input.spacing ? "" : `"spacing":${undefined !== input.spacing ? __typia_transform__jsonStringifyString._jsonStringifyString(input.spacing) : undefined},`}${undefined === input.lineSpacing ? "" : `"lineSpacing":${undefined !== input.lineSpacing ? __typia_transform__jsonStringifyString._jsonStringifyString(input.lineSpacing) : undefined},`}${undefined === input.angle ? "" : `"angle":${undefined !== input.angle ? __typia_transform__jsonStringifyString._jsonStringifyString(input.angle) : undefined},`}${undefined === input.borderStyle ? "" : `"borderStyle":${undefined !== input.borderStyle ? __typia_transform__jsonStringifyString._jsonStringifyString(input.borderStyle) : undefined},`}${undefined === input.outline ? "" : `"outline":${undefined !== input.outline ? __typia_transform__jsonStringifyString._jsonStringifyString(input.outline) : undefined},`}${undefined === input.shadow ? "" : `"shadow":${undefined !== input.shadow ? __typia_transform__jsonStringifyString._jsonStringifyString(input.shadow) : undefined},`}${undefined === input.alignment ? "" : `"alignment":${undefined !== input.alignment ? __typia_transform__jsonStringifyString._jsonStringifyString(input.alignment) : undefined},`}${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.encoding ? "" : `"encoding":${undefined !== input.encoding ? __typia_transform__jsonStringifyString._jsonStringifyString(input.encoding) : undefined}`}`)}}`; const _so1 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.aspectRatio ? "" : `"aspectRatio":${undefined !== input.aspectRatio ? __typia_transform__jsonStringifyString._jsonStringifyString(input.aspectRatio) : undefined},`}${undefined === input.backgroundAssetId ? "" : `"backgroundAssetId":${undefined !== input.backgroundAssetId ? __typia_transform__jsonStringifyString._jsonStringifyString(input.backgroundAssetId) : undefined},`}${undefined === input.text ? "" : `"text":${undefined !== input.text ? __typia_transform__jsonStringifyString._jsonStringifyString(input.text) : undefined}`}`)}}`; const _io1 = input => (undefined === input.aspectRatio || "string" === typeof input.aspectRatio) && (undefined === input.backgroundAssetId || "string" === typeof input.backgroundAssetId) && (undefined === input.text || "string" === typeof input.text); return input => _so0(input); })()(input);
|
|
2849
3516
|
}
|
|
@@ -2851,13 +3518,19 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
2851
3518
|
return (() => { const _so0 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => _so1(elem)).join(",")}]` : undefined},`}${undefined === input.style || "function" === typeof input.style ? "" : `"style":${undefined !== input.style ? JSON.stringify(input.style) : undefined}`}`)}}`; const _so1 = input => `{${undefined === input.lang ? "" : `"lang":${undefined !== input.lang ? __typia_transform__jsonStringifyString._jsonStringifyString(input.lang) : undefined},`}${undefined === input.text ? "" : `"text":${undefined !== input.text ? __typia_transform__jsonStringifyString._jsonStringifyString(input.text) : undefined},`}"start":${input.start},"end":${input.end}}`; const _io1 = input => (undefined === input.lang || "string" === typeof input.lang) && "number" === typeof input.start && "number" === typeof input.end && (undefined === input.text || "string" === typeof input.text); return input => _so0(input); })()(input);
|
|
2852
3519
|
}
|
|
2853
3520
|
case ":template": {
|
|
2854
|
-
return (() => { const _so0 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.controller ? "" : `"controller":${undefined !== input.controller ? __typia_transform__jsonStringifyString._jsonStringifyString(input.controller) : 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)
|
|
2855
|
-
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
|
|
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)
|
|
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 => {
|
|
2856
3524
|
const value = input[key];
|
|
2857
3525
|
if (undefined === value)
|
|
2858
3526
|
return true;
|
|
2859
3527
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
|
|
2860
|
-
}); 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);
|
|
2861
3534
|
}
|
|
2862
3535
|
case ":_user-notification-status": {
|
|
2863
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 ? (() => {
|