@nxtedition/types 23.1.6 → 23.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common/index.d.ts +2 -0
- package/dist/common/index.js +2 -0
- package/dist/common/panel-property.d.ts +35 -2
- package/dist/common/render-scene.d.ts +2 -0
- package/dist/common/report.d.ts +85 -0
- package/dist/common/report.js +8 -0
- package/dist/common/rss.d.ts +70 -0
- package/dist/common/rss.js +11 -0
- package/dist/common/schema-property.d.ts +31 -27
- package/dist/common/settings.d.ts +3 -1
- package/dist/nxtpression.d.ts +306 -42
- package/dist/records/domains/connection/index.d.ts +3 -1
- package/dist/records/domains/connection/index.js +1 -0
- package/dist/records/domains/connection/report.d.ts +7 -0
- package/dist/records/domains/connection/report.js +1 -0
- package/dist/records/domains/file.d.ts +7 -0
- package/dist/records/domains/panel.d.ts +26 -3
- package/dist/records/domains/publish/index.d.ts +3 -1
- package/dist/records/domains/publish/index.js +1 -0
- package/dist/records/domains/publish/report.d.ts +70 -0
- package/dist/records/domains/publish/report.js +1304 -0
- package/dist/records/domains/render.d.ts +3 -0
- package/dist/records/domains/schema.d.ts +2 -2
- package/dist/records/validate/assert-guard.js +2659 -1038
- package/dist/records/validate/assert.js +2659 -1037
- package/dist/records/validate/is.js +143 -38
- package/dist/records/validate/schemas.js +1878 -657
- package/dist/records/validate/stringify.js +565 -101
- package/dist/records/validate/utils.js +1 -1
- package/dist/records/validate/validate-equals.js +2886 -861
- package/dist/records/validate/validate.js +2129 -777
- package/dist/rpc.d.ts +1 -1
- package/package.json +1 -1
|
@@ -104,89 +104,83 @@ function _stringifyExactRecord(name, input) {
|
|
|
104
104
|
})() : undefined}`}`)}}`; const _so1 = input => `{"__context":${_so2(input.__context)},"__returnValue":${String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(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);
|
|
105
105
|
}
|
|
106
106
|
case "asset.dynamicProperties?": {
|
|
107
|
-
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 ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.minItems)) : undefined},`}${undefined === input.maxItems ? "" : `"maxItems":${undefined !== input.maxItems ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.maxItems)) : undefined},`}${undefined === input.properties ? "" : `"properties":${undefined !== input.properties ?
|
|
107
|
+
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 ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.minItems)) : undefined},`}${undefined === input.maxItems ? "" : `"maxItems":${undefined !== input.maxItems ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.maxItems)) : undefined},`}${undefined === input.properties ? "" : `"properties":${undefined !== input.properties ? _so3(input.properties) : undefined},`}${undefined === input.required ? "" : `"required":${undefined !== input.required ? String(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.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.widget ? "" : `"widget":${undefined !== input.widget ? (() => {
|
|
108
108
|
if ("string" === typeof input.widget)
|
|
109
109
|
return __typia_transform__jsonStringifyString._jsonStringifyString(input.widget);
|
|
110
110
|
if ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget))
|
|
111
|
-
return
|
|
111
|
+
return _so4(input.widget);
|
|
112
112
|
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
113
113
|
method: "typia.json.stringify",
|
|
114
114
|
expected: "(WidgetOptions | string | undefined)",
|
|
115
115
|
value: input.widget
|
|
116
116
|
});
|
|
117
|
-
})() : undefined},`}${undefined === input.
|
|
117
|
+
})() : 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 ? String(input.invalid) : undefined},`}${undefined === input.emptyValue || "function" === typeof input.emptyValue ? "" : `"emptyValue":${undefined !== input.emptyValue ? JSON.stringify(input.emptyValue) : 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.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 ? String(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.minItems ? "" : `"minItems":${undefined !== input.minItems ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.minItems)) : undefined},`}${undefined === input.maxItems ? "" : `"maxItems":${undefined !== input.maxItems ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.maxItems)) : undefined},`}${undefined === input.items ? "" : `"items":${undefined !== input.items ? _so2(input.items) : undefined},`}${undefined === input["const"] || "function" === typeof input["const"] ? "" : `"const":${undefined !== input["const"] ? JSON.stringify(input["const"]) : undefined},`}${undefined === input.properties ? "" : `"properties":${undefined !== input.properties ? _so3(input.properties) : undefined},`}${undefined === input.widget ? "" : `"widget":${undefined !== input.widget ? (() => {
|
|
118
118
|
if ("string" === typeof input.widget)
|
|
119
119
|
return __typia_transform__jsonStringifyString._jsonStringifyString(input.widget);
|
|
120
120
|
if ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget))
|
|
121
|
-
return
|
|
121
|
+
return _so4(input.widget);
|
|
122
122
|
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
123
123
|
method: "typia.json.stringify",
|
|
124
124
|
expected: "(WidgetOptions | string | undefined)",
|
|
125
125
|
value: input.widget
|
|
126
126
|
});
|
|
127
|
-
})() : 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 ? String(input.invalid) : undefined},`}${undefined === input.emptyValue || "function" === typeof input.emptyValue ? "" : `"emptyValue":${undefined !== input.emptyValue ? JSON.stringify(input.emptyValue) : undefined}
|
|
127
|
+
})() : 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 ? String(input.invalid) : undefined},`}${undefined === input.emptyValue || "function" === typeof input.emptyValue ? "" : `"emptyValue":${undefined !== input.emptyValue ? JSON.stringify(input.emptyValue) : undefined}`}`)}}`; const _so3 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
128
|
+
return ""; return `${JSON.stringify(key)}:${_so2(value)}`; }).filter(str => "" !== str).join(",")}}`; 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 ? String(input.readOnly) : undefined},`}${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
128
129
|
return ""; if (["type", "readOnly"].some(regular => regular === key))
|
|
129
|
-
return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}`)}}`; const
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
return _so7(input.recordName);
|
|
135
|
-
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
136
|
-
method: "typia.json.stringify",
|
|
137
|
-
expected: "(__type.o1 | string | undefined)",
|
|
138
|
-
value: input.recordName
|
|
139
|
-
});
|
|
140
|
-
})() : undefined},`}${undefined === input.setter || "function" === typeof input.setter ? "" : `"setter":${undefined !== input.setter ? (() => {
|
|
141
|
-
if ("function" === typeof input.setter)
|
|
142
|
-
return undefined;
|
|
143
|
-
if ("string" === typeof input.setter)
|
|
144
|
-
return __typia_transform__jsonStringifyString._jsonStringifyString(input.setter);
|
|
145
|
-
if ("object" === typeof input.setter && null !== input.setter)
|
|
146
|
-
return _so9(input.setter);
|
|
130
|
+
return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}`)}}`; const _so5 = 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 ? _so6(input.items) : undefined},`}${undefined === input.minItems ? "" : `"minItems":${undefined !== input.minItems ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.minItems)) : undefined},`}${undefined === input.maxItems ? "" : `"maxItems":${undefined !== input.maxItems ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.maxItems)) : undefined},`}${undefined === input.properties ? "" : `"properties":${undefined !== input.properties ? _so7(input.properties) : undefined},`}${undefined === input.required ? "" : `"required":${undefined !== input.required ? String(input.required) : undefined},`}${undefined === input.oneOf ? "" : `"oneOf":${undefined !== input.oneOf ? `[${input.oneOf.map(elem => _so6(elem)).join(",")}]` : undefined},`}${undefined === input.anyOf ? "" : `"anyOf":${undefined !== input.anyOf ? `[${input.anyOf.map(elem => _so6(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.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.widget ? "" : `"widget":${undefined !== input.widget ? (() => {
|
|
131
|
+
if ("string" === typeof input.widget)
|
|
132
|
+
return __typia_transform__jsonStringifyString._jsonStringifyString(input.widget);
|
|
133
|
+
if ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget))
|
|
134
|
+
return _so4(input.widget);
|
|
147
135
|
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
148
136
|
method: "typia.json.stringify",
|
|
149
|
-
expected: "(
|
|
150
|
-
value: input.
|
|
137
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
138
|
+
value: input.widget
|
|
151
139
|
});
|
|
152
|
-
})() : undefined},`}${undefined === input.
|
|
140
|
+
})() : 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 ? String(input.invalid) : undefined},`}${undefined === input.emptyValue || "function" === typeof input.emptyValue ? "" : `"emptyValue":${undefined !== input.emptyValue ? JSON.stringify(input.emptyValue) : undefined},`}"schema":${__typia_transform__jsonStringifyString._jsonStringifyString(input.schema)},"path":${__typia_transform__jsonStringifyString._jsonStringifyString(input.path)},"domain":${__typia_transform__jsonStringifyString._jsonStringifyString(input.domain)}}`; const _so6 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${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 ? String(input.required) : undefined},`}${undefined === input.oneOf ? "" : `"oneOf":${undefined !== input.oneOf ? `[${input.oneOf.map(elem => _so6(elem)).join(",")}]` : undefined},`}${undefined === input.anyOf ? "" : `"anyOf":${undefined !== input.anyOf ? `[${input.anyOf.map(elem => _so6(elem)).join(",")}]` : undefined},`}${undefined === input["enum"] ? "" : `"enum":${undefined !== input["enum"] ? `[${input["enum"].map(elem => undefined !== elem ? JSON.stringify(elem) : "null").join(",")}]` : undefined},`}${undefined === input.minItems ? "" : `"minItems":${undefined !== input.minItems ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.minItems)) : undefined},`}${undefined === input.maxItems ? "" : `"maxItems":${undefined !== input.maxItems ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.maxItems)) : undefined},`}${undefined === input.items ? "" : `"items":${undefined !== input.items ? _so6(input.items) : undefined},`}${undefined === input.properties ? "" : `"properties":${undefined !== input.properties ? _so7(input.properties) : 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.widget ? "" : `"widget":${undefined !== input.widget ? (() => {
|
|
153
141
|
if ("string" === typeof input.widget)
|
|
154
142
|
return __typia_transform__jsonStringifyString._jsonStringifyString(input.widget);
|
|
155
143
|
if ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget))
|
|
156
|
-
return
|
|
144
|
+
return _so4(input.widget);
|
|
157
145
|
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
158
146
|
method: "typia.json.stringify",
|
|
159
147
|
expected: "(WidgetOptions | string | undefined)",
|
|
160
148
|
value: input.widget
|
|
161
149
|
});
|
|
162
|
-
})() : undefined},`}${undefined === input.
|
|
150
|
+
})() : 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 ? String(input.invalid) : undefined},`}${undefined === input.emptyValue || "function" === typeof input.emptyValue ? "" : `"emptyValue":${undefined !== input.emptyValue ? JSON.stringify(input.emptyValue) : undefined}`}`)}}`; const _so7 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
151
|
+
return ""; return `${JSON.stringify(key)}:${_so6(value)}`; }).filter(str => "" !== str).join(",")}}`; const _su0 = input => (() => {
|
|
163
152
|
if (undefined !== input.panel)
|
|
164
153
|
return _so1(input);
|
|
165
154
|
else if (undefined !== input.schema)
|
|
166
|
-
return
|
|
155
|
+
return _so5(input);
|
|
167
156
|
else
|
|
168
157
|
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
169
158
|
method: "typia.json.stringify",
|
|
170
159
|
expected: "(DynamicPanelProperty | DynamicSchemaProperty)",
|
|
171
160
|
value: input
|
|
172
161
|
});
|
|
173
|
-
})(); 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) &&
|
|
162
|
+
})(); 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) && _io3(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 && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (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; const _io2 = input => (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"])) && (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)) && true && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io3(input.properties)) && (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; const _io3 = input => Object.keys(input).every(key => {
|
|
163
|
+
const value = input[key];
|
|
164
|
+
if (undefined === value)
|
|
165
|
+
return true;
|
|
166
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
|
|
167
|
+
}); const _io4 = input => (undefined === input.type || "string" === typeof input.type) && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && Object.keys(input).every(key => {
|
|
174
168
|
if (["type", "readOnly"].some(prop => key === prop))
|
|
175
169
|
return true;
|
|
176
170
|
const value = input[key];
|
|
177
171
|
if (undefined === value)
|
|
178
172
|
return true;
|
|
179
173
|
return true;
|
|
180
|
-
}); const _io4 = input => Object.keys(input).every(key => {
|
|
174
|
+
}); const _io5 = 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) && _io6(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) && _io7(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) && _io6(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && true && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (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; const _io6 = input => (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) && _io6(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && (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) && _io6(input.items)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io7(input.properties)) && true && true && (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; const _io7 = input => Object.keys(input).every(key => {
|
|
181
175
|
const value = input[key];
|
|
182
176
|
if (undefined === value)
|
|
183
177
|
return true;
|
|
184
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
185
|
-
}); const
|
|
178
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io6(value);
|
|
179
|
+
}); const _iu0 = input => (() => {
|
|
186
180
|
if (undefined !== input.panel)
|
|
187
181
|
return _io1(input);
|
|
188
182
|
else if (undefined !== input.schema)
|
|
189
|
-
return
|
|
183
|
+
return _io5(input);
|
|
190
184
|
else
|
|
191
185
|
return false;
|
|
192
186
|
})(); return input => _so0(input); })()(input);
|
|
@@ -1451,7 +1445,7 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
1451
1445
|
expected: "(number | string | undefined)",
|
|
1452
1446
|
value: input.port
|
|
1453
1447
|
});
|
|
1454
|
-
})() : undefined},`}${undefined === input.ignoreMissing ? "" : `"ignoreMissing":${undefined !== input.ignoreMissing ? String(input.ignoreMissing) : undefined},`}${undefined === input.concurrency ? "" : `"concurrency":${undefined !== input.concurrency ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.concurrency)) : undefined},`}${undefined === input.stabilityThreshold ? "" : `"stabilityThreshold":${undefined !== input.stabilityThreshold ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.stabilityThreshold)) : undefined},`}${undefined === input.pollInterval ? "" : `"pollInterval":${undefined !== input.pollInterval ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.pollInterval)) : undefined},`}${undefined === input.listConcurrency ? "" : `"listConcurrency":${undefined !== input.listConcurrency ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.listConcurrency)) : undefined},`}${undefined === input.metafile ? "" : `"metafile":${undefined !== input.metafile ? _so1(input.metafile) : undefined},`}${undefined === input.userNotificationsEnabled ? "" : `"userNotificationsEnabled":${undefined !== input.userNotificationsEnabled ? String(input.userNotificationsEnabled) : undefined}`}`)}}`; const _so76 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.type ? "" : `"type":${undefined !== input.type ? "\"" + input.type + "\"" : undefined},`}${undefined === input.grantedScopes ? "" : `"grantedScopes":${undefined !== input.grantedScopes ? `[${input.grantedScopes.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined},`}${undefined === input.userNotificationsEnabled ? "" : `"userNotificationsEnabled":${undefined !== input.userNotificationsEnabled ? String(input.userNotificationsEnabled) : undefined}`}`)}}`; const _so77 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.type ? "" : `"type":${undefined !== input.type ? "\"" + input.type + "\"" : undefined},`}${undefined === input.clientId ? "" : `"clientId":${undefined !== input.clientId ? __typia_transform__jsonStringifyString._jsonStringifyString(input.clientId) : undefined},`}${undefined === input.clientSecret ? "" : `"clientSecret":${undefined !== input.clientSecret ? __typia_transform__jsonStringifyString._jsonStringifyString(input.clientSecret) : undefined},`}${undefined === input.audience ? "" : `"audience":${undefined !== input.audience ? __typia_transform__jsonStringifyString._jsonStringifyString(input.audience) : undefined},`}${undefined === input.userNotificationsEnabled ? "" : `"userNotificationsEnabled":${undefined !== input.userNotificationsEnabled ? String(input.userNotificationsEnabled) : undefined}`}`)}}`; const
|
|
1448
|
+
})() : undefined},`}${undefined === input.ignoreMissing ? "" : `"ignoreMissing":${undefined !== input.ignoreMissing ? String(input.ignoreMissing) : undefined},`}${undefined === input.concurrency ? "" : `"concurrency":${undefined !== input.concurrency ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.concurrency)) : undefined},`}${undefined === input.stabilityThreshold ? "" : `"stabilityThreshold":${undefined !== input.stabilityThreshold ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.stabilityThreshold)) : undefined},`}${undefined === input.pollInterval ? "" : `"pollInterval":${undefined !== input.pollInterval ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.pollInterval)) : undefined},`}${undefined === input.listConcurrency ? "" : `"listConcurrency":${undefined !== input.listConcurrency ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.listConcurrency)) : undefined},`}${undefined === input.metafile ? "" : `"metafile":${undefined !== input.metafile ? _so1(input.metafile) : undefined},`}${undefined === input.userNotificationsEnabled ? "" : `"userNotificationsEnabled":${undefined !== input.userNotificationsEnabled ? String(input.userNotificationsEnabled) : undefined}`}`)}}`; const _so76 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.type ? "" : `"type":${undefined !== input.type ? "\"" + input.type + "\"" : undefined},`}${undefined === input.grantedScopes ? "" : `"grantedScopes":${undefined !== input.grantedScopes ? `[${input.grantedScopes.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : undefined},`}${undefined === input.userNotificationsEnabled ? "" : `"userNotificationsEnabled":${undefined !== input.userNotificationsEnabled ? String(input.userNotificationsEnabled) : undefined}`}`)}}`; const _so77 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.type ? "" : `"type":${undefined !== input.type ? "\"" + input.type + "\"" : undefined},`}${undefined === input.userNotificationsEnabled ? "" : `"userNotificationsEnabled":${undefined !== input.userNotificationsEnabled ? String(input.userNotificationsEnabled) : undefined}`}`)}}`; const _so78 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.type ? "" : `"type":${undefined !== input.type ? "\"" + input.type + "\"" : undefined},`}${undefined === input.clientId ? "" : `"clientId":${undefined !== input.clientId ? __typia_transform__jsonStringifyString._jsonStringifyString(input.clientId) : undefined},`}${undefined === input.clientSecret ? "" : `"clientSecret":${undefined !== input.clientSecret ? __typia_transform__jsonStringifyString._jsonStringifyString(input.clientSecret) : undefined},`}${undefined === input.audience ? "" : `"audience":${undefined !== input.audience ? __typia_transform__jsonStringifyString._jsonStringifyString(input.audience) : undefined},`}${undefined === input.userNotificationsEnabled ? "" : `"userNotificationsEnabled":${undefined !== input.userNotificationsEnabled ? String(input.userNotificationsEnabled) : undefined}`}`)}}`; const _so79 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.type ? "" : `"type":${null === input.type ? "null" : undefined},`}${undefined === input.userNotificationsEnabled ? "" : `"userNotificationsEnabled":${undefined !== input.userNotificationsEnabled ? String(input.userNotificationsEnabled) : undefined}`}`)}}`; const _su0 = input => (() => {
|
|
1455
1449
|
if (undefined !== input.__context)
|
|
1456
1450
|
return _so14(input);
|
|
1457
1451
|
else
|
|
@@ -1563,9 +1557,11 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
1563
1557
|
return _so77(input);
|
|
1564
1558
|
if (_io78(input))
|
|
1565
1559
|
return _so78(input);
|
|
1560
|
+
if (_io79(input))
|
|
1561
|
+
return _so79(input);
|
|
1566
1562
|
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
1567
1563
|
method: "typia.json.stringify",
|
|
1568
|
-
expected: "(FileConnectionFtpRecord | FileConnectionHttpRecord | FileConnectionS3Record | FileConnectionSmbRecord | FileConnectionSftpRecord | FacebookConnectionRecord | ReutersConnectionRecord | EmptyConnectionRecord)",
|
|
1564
|
+
expected: "(FileConnectionFtpRecord | FileConnectionHttpRecord | FileConnectionS3Record | FileConnectionSmbRecord | FileConnectionSftpRecord | FacebookConnectionRecord | ReportConnectionRecord | ReutersConnectionRecord | EmptyConnectionRecord)",
|
|
1569
1565
|
value: input
|
|
1570
1566
|
});
|
|
1571
1567
|
})(); const _io0 = input => (undefined === input.protocol || "ftp" === input.protocol) && (undefined === input.host || "string" === typeof input.host) && (undefined === input.username || "string" === typeof input.username) && (undefined === input.password || "string" === typeof input.password) && (undefined === input.utf8 || "boolean" === typeof input.utf8) && (undefined === input.timezone || "string" === typeof input.timezone) && (undefined === input.type || "file" === input.type) && (undefined === input.port || "string" === typeof input.port || "number" === typeof input.port) && (undefined === input.ignoreMissing || "boolean" === typeof input.ignoreMissing) && (undefined === input.concurrency || "number" === typeof input.concurrency) && (undefined === input.stabilityThreshold || "number" === typeof input.stabilityThreshold) && (undefined === input.pollInterval || "number" === typeof input.pollInterval) && (undefined === input.listConcurrency || "number" === typeof input.listConcurrency) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && false === Array.isArray(input.metafile) && _io1(input.metafile)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io1 = input => undefined === input.content || "string" === typeof input.content; const _io2 = input => (undefined === input.protocol || "http" === input.protocol) && (undefined === input.secure || "boolean" === typeof input.secure) && (undefined === input.authType || "none" === input.authType || "oauth2" === input.authType) && (undefined === input.oauth2 || "object" === typeof input.oauth2 && null !== input.oauth2 && false === Array.isArray(input.oauth2) && _io3(input.oauth2)) && (undefined === input.actions || "object" === typeof input.actions && null !== input.actions && false === Array.isArray(input.actions) && _io8(input.actions)) && (undefined === input.type || "file" === input.type) && (undefined === input.host || "string" === typeof input.host) && (undefined === input.port || "string" === typeof input.port || "number" === typeof input.port) && (undefined === input.ignoreMissing || "boolean" === typeof input.ignoreMissing) && (undefined === input.concurrency || "number" === typeof input.concurrency) && (undefined === input.stabilityThreshold || "number" === typeof input.stabilityThreshold) && (undefined === input.pollInterval || "number" === typeof input.pollInterval) && (undefined === input.listConcurrency || "number" === typeof input.listConcurrency) && (undefined === input.metafile || "object" === typeof input.metafile && null !== input.metafile && false === Array.isArray(input.metafile) && _io1(input.metafile)) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io3 = input => (undefined === input.client || "object" === typeof input.client && null !== input.client && false === Array.isArray(input.client) && _io4(input.client)) && (undefined === input.auth || "object" === typeof input.auth && null !== input.auth && false === Array.isArray(input.auth) && _io5(input.auth)) && (undefined === input.tokenParams || "object" === typeof input.tokenParams && null !== input.tokenParams && false === Array.isArray(input.tokenParams) && _io6(input.tokenParams)) && (undefined === input.grantType || "password" === input.grantType) && (undefined === input.token || "object" === typeof input.token && null !== input.token && _io7(input.token)) && (undefined === input.error || "string" === typeof input.error); const _io4 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.secret || "string" === typeof input.secret) && (undefined === input.secretParamName || "string" === typeof input.secretParamName) && (undefined === input.idParamName || "string" === typeof input.idParamName); const _io5 = input => (undefined === input.tokenHost || "string" === typeof input.tokenHost) && (undefined === input.tokenPath || "string" === typeof input.tokenPath) && (undefined === input.refreshPath || "string" === typeof input.refreshPath) && (undefined === input.revokePath || "string" === typeof input.revokePath); const _io6 = input => Object.keys(input).every(key => {
|
|
@@ -1595,12 +1591,12 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
1595
1591
|
if (undefined === value)
|
|
1596
1592
|
return true;
|
|
1597
1593
|
return undefined === value || "string" === typeof value;
|
|
1598
|
-
}); const _io19 = input => "object" === typeof input.__context && null !== input.__context && _io12(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io20 = input => "object" === typeof input.__context && null !== input.__context && _io12(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io21 = input => (undefined === input.responseFormat || "
|
|
1594
|
+
}); const _io19 = input => "object" === typeof input.__context && null !== input.__context && _io12(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io18(input.__returnValue)); const _io20 = input => "object" === typeof input.__context && null !== input.__context && _io12(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io21 = input => (undefined === input.responseFormat || "json" === input.responseFormat || "text" === 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 && _io25(input.transform))); const _io22 = input => "object" === typeof input.__context && null !== input.__context && _io23(input.__context) && (null === input.__returnValue || undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io23 = input => "object" === typeof input.connection && null !== input.connection && false === Array.isArray(input.connection) && _io2(input.connection) && ("object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _io24(input.headers)) && "number" === typeof input.statusCode; const _io24 = input => Object.keys(input).every(key => {
|
|
1599
1595
|
const value = input[key];
|
|
1600
1596
|
if (undefined === value)
|
|
1601
1597
|
return true;
|
|
1602
1598
|
return null !== value && (undefined === value || "string" === typeof value || Array.isArray(value) && value.every(elem => "string" === typeof elem));
|
|
1603
|
-
}); 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 => (() => {
|
|
1599
|
+
}); 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 || "json" === input.responseFormat || "text" === 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 || "json" === input.responseFormat || "text" === 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 || "report" === input.type) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _io78 = 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 _io79 = input => (null === input.type || undefined === input.type) && (undefined === input.userNotificationsEnabled || "boolean" === typeof input.userNotificationsEnabled); const _iu0 = input => (() => {
|
|
1604
1600
|
if (undefined !== input.__context)
|
|
1605
1601
|
return _io14(input);
|
|
1606
1602
|
else
|
|
@@ -1954,6 +1950,9 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
1954
1950
|
return "string" === typeof value;
|
|
1955
1951
|
}); const _io4 = input => true; return input => _so0(input); })()(input);
|
|
1956
1952
|
}
|
|
1953
|
+
case ":file.methods?": {
|
|
1954
|
+
return (() => { const _so0 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.stop ? "" : `"stop":${undefined !== input.stop ? _so1(input.stop) : undefined}`}`)}}`; const _so1 = input => `{${undefined === input.rpcData || "function" === typeof input.rpcData ? "" : `"rpcData":${undefined !== input.rpcData ? JSON.stringify(input.rpcData) : undefined},`}"rpcId":${__typia_transform__jsonStringifyString._jsonStringifyString(input.rpcId)}}`; const _io1 = input => "string" === typeof input.rpcId && true; return input => _so0(input); })()(input);
|
|
1955
|
+
}
|
|
1957
1956
|
case ":folder.items": {
|
|
1958
1957
|
return (() => { const _so0 = input => `{"value":${`[${input.value.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]`}}`; return input => _so0(input); })()(input);
|
|
1959
1958
|
}
|
|
@@ -2041,7 +2040,7 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
2041
2040
|
expected: "(\"straight\" | boolean | null | undefined)",
|
|
2042
2041
|
value: input.alpha
|
|
2043
2042
|
});
|
|
2044
|
-
})() : "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 ? (() => {
|
|
2043
|
+
})() : "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},`}${undefined === input.timecode ? "" : `"timecode":${undefined !== input.timecode ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.timecode)) : undefined},`}${undefined === input.timezone ? "" : `"timezone":${undefined !== input.timezone ? __typia_transform__jsonStringifyString._jsonStringifyString(input.timezone) : undefined}`}`)}}`; const _so2 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.alpha ? "" : `"alpha":${undefined !== input.alpha ? null !== input.alpha ? (() => {
|
|
2045
2044
|
if ("string" === typeof input.alpha)
|
|
2046
2045
|
return "\"" + input.alpha + "\"";
|
|
2047
2046
|
if ("boolean" === typeof input.alpha)
|
|
@@ -2082,7 +2081,7 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
2082
2081
|
expected: "(\"straight\" | boolean | null | undefined)",
|
|
2083
2082
|
value: input.alpha
|
|
2084
2083
|
});
|
|
2085
|
-
})() : "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 ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.brightness)) : undefined},`}${undefined === input.contrast ? "" : `"contrast":${undefined !== input.contrast ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.contrast)) : undefined},`}${undefined === input.gamma ? "" : `"gamma":${undefined !== input.gamma ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gamma)) : undefined},`}${undefined === input.saturation ? "" : `"saturation":${undefined !== input.saturation ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.saturation)) : undefined}`}`)}}`; const _so9 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.h ? "" : `"h":${undefined !== input.h ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.h)) : undefined},`}${undefined === input.s ? "" : `"s":${undefined !== input.s ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.s)) : undefined},`}${undefined === input.b ? "" : `"b":${undefined !== input.b ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.b)) : undefined}`}`)}}`; const _so10 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.rs ? "" : `"rs":${undefined !== input.rs ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.rs)) : undefined},`}${undefined === input.gs ? "" : `"gs":${undefined !== input.gs ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gs)) : undefined},`}${undefined === input.bs ? "" : `"bs":${undefined !== input.bs ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.bs)) : undefined},`}${undefined === input.rm ? "" : `"rm":${undefined !== input.rm ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.rm)) : undefined},`}${undefined === input.gm ? "" : `"gm":${undefined !== input.gm ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gm)) : undefined},`}${undefined === input.bm ? "" : `"bm":${undefined !== input.bm ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.bm)) : undefined},`}${undefined === input.rh ? "" : `"rh":${undefined !== input.rh ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.rh)) : undefined},`}${undefined === input.gh ? "" : `"gh":${undefined !== input.gh ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gh)) : undefined},`}${undefined === input.bh ? "" : `"bh":${undefined !== input.bh ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.bh)) : undefined}`}`)}}`; const _so11 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.x ? "" : `"x":${undefined !== input.x ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.x)) : undefined},`}${undefined === input.y ? "" : `"y":${undefined !== input.y ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.y)) : undefined},`}${undefined === input.width ? "" : `"width":${undefined !== input.width ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.width)) : undefined},`}${undefined === input.height ? "" : `"height":${undefined !== input.height ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.height)) : undefined}`}`)}}`; const _so12 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.x ? "" : `"x":${undefined !== input.x ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.x)) : undefined},`}${undefined === input.y ? "" : `"y":${undefined !== input.y ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.y)) : undefined}`}`)}}`; const _so13 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.pan ? "" : `"pan":${undefined !== input.pan ? `[${input.pan.map(elem => `[${elem.map(elem => String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(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 => String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(elem))).join(",")}]` : undefined},`}${undefined === input.diarization ? "" : `"diarization":${undefined !== input.diarization ? String(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 => {
|
|
2084
|
+
})() : "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 ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.brightness)) : undefined},`}${undefined === input.contrast ? "" : `"contrast":${undefined !== input.contrast ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.contrast)) : undefined},`}${undefined === input.gamma ? "" : `"gamma":${undefined !== input.gamma ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gamma)) : undefined},`}${undefined === input.saturation ? "" : `"saturation":${undefined !== input.saturation ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.saturation)) : undefined}`}`)}}`; const _so9 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.h ? "" : `"h":${undefined !== input.h ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.h)) : undefined},`}${undefined === input.s ? "" : `"s":${undefined !== input.s ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.s)) : undefined},`}${undefined === input.b ? "" : `"b":${undefined !== input.b ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.b)) : undefined}`}`)}}`; const _so10 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.rs ? "" : `"rs":${undefined !== input.rs ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.rs)) : undefined},`}${undefined === input.gs ? "" : `"gs":${undefined !== input.gs ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gs)) : undefined},`}${undefined === input.bs ? "" : `"bs":${undefined !== input.bs ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.bs)) : undefined},`}${undefined === input.rm ? "" : `"rm":${undefined !== input.rm ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.rm)) : undefined},`}${undefined === input.gm ? "" : `"gm":${undefined !== input.gm ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gm)) : undefined},`}${undefined === input.bm ? "" : `"bm":${undefined !== input.bm ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.bm)) : undefined},`}${undefined === input.rh ? "" : `"rh":${undefined !== input.rh ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.rh)) : undefined},`}${undefined === input.gh ? "" : `"gh":${undefined !== input.gh ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gh)) : undefined},`}${undefined === input.bh ? "" : `"bh":${undefined !== input.bh ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.bh)) : undefined}`}`)}}`; const _so11 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.x ? "" : `"x":${undefined !== input.x ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.x)) : undefined},`}${undefined === input.y ? "" : `"y":${undefined !== input.y ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.y)) : undefined},`}${undefined === input.width ? "" : `"width":${undefined !== input.width ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.width)) : undefined},`}${undefined === input.height ? "" : `"height":${undefined !== input.height ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.height)) : undefined}`}`)}}`; const _so12 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.x ? "" : `"x":${undefined !== input.x ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.x)) : undefined},`}${undefined === input.y ? "" : `"y":${undefined !== input.y ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.y)) : undefined}`}`)}}`; const _so13 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.pan ? "" : `"pan":${undefined !== input.pan ? `[${input.pan.map(elem => `[${elem.map(elem => String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(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 => String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(elem))).join(",")}]` : undefined},`}${undefined === input.diarization ? "" : `"diarization":${undefined !== input.diarization ? String(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) && (undefined === input.timecode || "number" === typeof input.timecode) && (undefined === input.timezone || "string" === typeof input.timezone); 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 => {
|
|
2086
2085
|
const value = input[key];
|
|
2087
2086
|
if (undefined === value)
|
|
2088
2087
|
return true;
|
|
@@ -2224,7 +2223,7 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
2224
2223
|
expected: "(\"straight\" | boolean | null | undefined)",
|
|
2225
2224
|
value: input.alpha
|
|
2226
2225
|
});
|
|
2227
|
-
})() : "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 ? (() => {
|
|
2226
|
+
})() : "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},`}${undefined === input.timecode ? "" : `"timecode":${undefined !== input.timecode ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.timecode)) : undefined},`}${undefined === input.timezone ? "" : `"timezone":${undefined !== input.timezone ? __typia_transform__jsonStringifyString._jsonStringifyString(input.timezone) : undefined}`}`)}}`; const _so3 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.alpha ? "" : `"alpha":${undefined !== input.alpha ? null !== input.alpha ? (() => {
|
|
2228
2227
|
if ("string" === typeof input.alpha)
|
|
2229
2228
|
return "\"" + input.alpha + "\"";
|
|
2230
2229
|
if ("boolean" === typeof input.alpha)
|
|
@@ -2265,7 +2264,7 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
2265
2264
|
expected: "(\"straight\" | boolean | null | undefined)",
|
|
2266
2265
|
value: input.alpha
|
|
2267
2266
|
});
|
|
2268
|
-
})() : "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 ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.brightness)) : undefined},`}${undefined === input.contrast ? "" : `"contrast":${undefined !== input.contrast ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.contrast)) : undefined},`}${undefined === input.gamma ? "" : `"gamma":${undefined !== input.gamma ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gamma)) : undefined},`}${undefined === input.saturation ? "" : `"saturation":${undefined !== input.saturation ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.saturation)) : undefined}`}`)}}`; const _so10 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.h ? "" : `"h":${undefined !== input.h ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.h)) : undefined},`}${undefined === input.s ? "" : `"s":${undefined !== input.s ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.s)) : undefined},`}${undefined === input.b ? "" : `"b":${undefined !== input.b ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.b)) : undefined}`}`)}}`; const _so11 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.rs ? "" : `"rs":${undefined !== input.rs ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.rs)) : undefined},`}${undefined === input.gs ? "" : `"gs":${undefined !== input.gs ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gs)) : undefined},`}${undefined === input.bs ? "" : `"bs":${undefined !== input.bs ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.bs)) : undefined},`}${undefined === input.rm ? "" : `"rm":${undefined !== input.rm ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.rm)) : undefined},`}${undefined === input.gm ? "" : `"gm":${undefined !== input.gm ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gm)) : undefined},`}${undefined === input.bm ? "" : `"bm":${undefined !== input.bm ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.bm)) : undefined},`}${undefined === input.rh ? "" : `"rh":${undefined !== input.rh ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.rh)) : undefined},`}${undefined === input.gh ? "" : `"gh":${undefined !== input.gh ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gh)) : undefined},`}${undefined === input.bh ? "" : `"bh":${undefined !== input.bh ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.bh)) : undefined}`}`)}}`; const _so12 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.x ? "" : `"x":${undefined !== input.x ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.x)) : undefined},`}${undefined === input.y ? "" : `"y":${undefined !== input.y ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.y)) : undefined},`}${undefined === input.width ? "" : `"width":${undefined !== input.width ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.width)) : undefined},`}${undefined === input.height ? "" : `"height":${undefined !== input.height ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.height)) : undefined}`}`)}}`; const _so13 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.x ? "" : `"x":${undefined !== input.x ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.x)) : undefined},`}${undefined === input.y ? "" : `"y":${undefined !== input.y ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.y)) : undefined}`}`)}}`; const _so14 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.pan ? "" : `"pan":${undefined !== input.pan ? `[${input.pan.map(elem => `[${elem.map(elem => String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(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 => String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(elem))).join(",")}]` : undefined},`}${undefined === input.diarization ? "" : `"diarization":${undefined !== input.diarization ? String(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) && _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) && _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 => {
|
|
2267
|
+
})() : "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 ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.brightness)) : undefined},`}${undefined === input.contrast ? "" : `"contrast":${undefined !== input.contrast ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.contrast)) : undefined},`}${undefined === input.gamma ? "" : `"gamma":${undefined !== input.gamma ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gamma)) : undefined},`}${undefined === input.saturation ? "" : `"saturation":${undefined !== input.saturation ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.saturation)) : undefined}`}`)}}`; const _so10 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.h ? "" : `"h":${undefined !== input.h ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.h)) : undefined},`}${undefined === input.s ? "" : `"s":${undefined !== input.s ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.s)) : undefined},`}${undefined === input.b ? "" : `"b":${undefined !== input.b ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.b)) : undefined}`}`)}}`; const _so11 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.rs ? "" : `"rs":${undefined !== input.rs ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.rs)) : undefined},`}${undefined === input.gs ? "" : `"gs":${undefined !== input.gs ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gs)) : undefined},`}${undefined === input.bs ? "" : `"bs":${undefined !== input.bs ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.bs)) : undefined},`}${undefined === input.rm ? "" : `"rm":${undefined !== input.rm ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.rm)) : undefined},`}${undefined === input.gm ? "" : `"gm":${undefined !== input.gm ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gm)) : undefined},`}${undefined === input.bm ? "" : `"bm":${undefined !== input.bm ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.bm)) : undefined},`}${undefined === input.rh ? "" : `"rh":${undefined !== input.rh ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.rh)) : undefined},`}${undefined === input.gh ? "" : `"gh":${undefined !== input.gh ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gh)) : undefined},`}${undefined === input.bh ? "" : `"bh":${undefined !== input.bh ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.bh)) : undefined}`}`)}}`; const _so12 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.x ? "" : `"x":${undefined !== input.x ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.x)) : undefined},`}${undefined === input.y ? "" : `"y":${undefined !== input.y ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.y)) : undefined},`}${undefined === input.width ? "" : `"width":${undefined !== input.width ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.width)) : undefined},`}${undefined === input.height ? "" : `"height":${undefined !== input.height ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.height)) : undefined}`}`)}}`; const _so13 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.x ? "" : `"x":${undefined !== input.x ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.x)) : undefined},`}${undefined === input.y ? "" : `"y":${undefined !== input.y ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.y)) : undefined}`}`)}}`; const _so14 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.pan ? "" : `"pan":${undefined !== input.pan ? `[${input.pan.map(elem => `[${elem.map(elem => String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(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 => String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(elem))).join(",")}]` : undefined},`}${undefined === input.diarization ? "" : `"diarization":${undefined !== input.diarization ? String(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) && _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) && _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) && (undefined === input.timecode || "number" === typeof input.timecode) && (undefined === input.timezone || "string" === typeof input.timezone); 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 => {
|
|
2269
2268
|
const value = input[key];
|
|
2270
2269
|
if (undefined === value)
|
|
2271
2270
|
return true;
|
|
@@ -2349,31 +2348,31 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
2349
2348
|
expected: "(Array<string> | string | undefined)",
|
|
2350
2349
|
value: input.supports
|
|
2351
2350
|
});
|
|
2352
|
-
})() : undefined},`}${undefined === input.priority ? "" : `"priority":${undefined !== input.priority ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.priority)) : undefined},`}${undefined === input.editorPriority ? "" : `"editorPriority":${undefined !== input.editorPriority ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(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)
|
|
2353
|
-
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.
|
|
2351
|
+
})() : undefined},`}${undefined === input.priority ? "" : `"priority":${undefined !== input.priority ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.priority)) : undefined},`}${undefined === input.editorPriority ? "" : `"editorPriority":${undefined !== input.editorPriority ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(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},`}${undefined === input.expandSkipEmpty ? "" : `"expandSkipEmpty":${undefined !== input.expandSkipEmpty ? String(input.expandSkipEmpty) : undefined},`}${undefined === input.xml ? "" : `"xml":${undefined !== input.xml ? _so10(input.xml) : undefined},`}${undefined === input.rss ? "" : `"rss":${undefined !== input.rss ? _so21(input.rss) : undefined},`}${undefined === input.expandIngestclip ? "" : `"expandIngestclip":${undefined !== input.expandIngestclip ? String(input.expandIngestclip) : undefined},`}${undefined === input.publishedTypes ? "" : `"publishedTypes":${undefined !== input.publishedTypes ? null !== input.publishedTypes ? `[${input.publishedTypes.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]` : "null" : undefined}`}`)}}`; const _so1 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
2352
|
+
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.computed || "function" === typeof input.computed ? "" : `"computed":${undefined !== input.computed ? JSON.stringify(input.computed) : undefined},`}${undefined === input.index ? "" : `"index":${undefined !== input.index ? _so3(input.index) : undefined},`}${undefined === input.type ? "" : `"type":${undefined !== input.type ? "\"" + input.type + "\"" : undefined},`}${undefined === input.items ? "" : `"items":${undefined !== input.items ? _so4(input.items) : undefined},`}${undefined === input.minItems ? "" : `"minItems":${undefined !== input.minItems ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.minItems)) : undefined},`}${undefined === input.maxItems ? "" : `"maxItems":${undefined !== input.maxItems ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.maxItems)) : undefined},`}${undefined === input.properties ? "" : `"properties":${undefined !== input.properties ? _so5(input.properties) : undefined},`}${undefined === input.required ? "" : `"required":${undefined !== input.required ? String(input.required) : undefined},`}${undefined === input.oneOf ? "" : `"oneOf":${undefined !== input.oneOf ? `[${input.oneOf.map(elem => _so4(elem)).join(",")}]` : undefined},`}${undefined === input.anyOf ? "" : `"anyOf":${undefined !== input.anyOf ? `[${input.anyOf.map(elem => _so4(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.description ? "" : `"description":${undefined !== input.description ? __typia_transform__jsonStringifyString._jsonStringifyString(input.description) : undefined},`}${undefined === input.widget ? "" : `"widget":${undefined !== input.widget ? (() => {
|
|
2354
2353
|
if ("string" === typeof input.widget)
|
|
2355
2354
|
return __typia_transform__jsonStringifyString._jsonStringifyString(input.widget);
|
|
2356
2355
|
if ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget))
|
|
2357
|
-
return
|
|
2356
|
+
return _so6(input.widget);
|
|
2358
2357
|
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2359
2358
|
method: "typia.json.stringify",
|
|
2360
2359
|
expected: "(WidgetOptions | string | undefined)",
|
|
2361
2360
|
value: input.widget
|
|
2362
2361
|
});
|
|
2363
|
-
})() : 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 ? String(input.invalid) : undefined},`}${undefined === input.emptyValue || "function" === typeof input.emptyValue ? "" : `"emptyValue":${undefined !== input.emptyValue ? JSON.stringify(input.emptyValue) : undefined}
|
|
2362
|
+
})() : 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 ? String(input.invalid) : undefined},`}${undefined === input.emptyValue || "function" === typeof input.emptyValue ? "" : `"emptyValue":${undefined !== input.emptyValue ? JSON.stringify(input.emptyValue) : undefined}`}`)}}`; const _so3 = input => `{"label":${__typia_transform__jsonStringifyString._jsonStringifyString(input.label)},"path":${__typia_transform__jsonStringifyString._jsonStringifyString(input.path)}}`; const _so4 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${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 ? String(input.required) : undefined},`}${undefined === input.oneOf ? "" : `"oneOf":${undefined !== input.oneOf ? `[${input.oneOf.map(elem => _so4(elem)).join(",")}]` : undefined},`}${undefined === input.anyOf ? "" : `"anyOf":${undefined !== input.anyOf ? `[${input.anyOf.map(elem => _so4(elem)).join(",")}]` : undefined},`}${undefined === input["enum"] ? "" : `"enum":${undefined !== input["enum"] ? `[${input["enum"].map(elem => undefined !== elem ? JSON.stringify(elem) : "null").join(",")}]` : undefined},`}${undefined === input.minItems ? "" : `"minItems":${undefined !== input.minItems ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.minItems)) : undefined},`}${undefined === input.maxItems ? "" : `"maxItems":${undefined !== input.maxItems ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.maxItems)) : undefined},`}${undefined === input.items ? "" : `"items":${undefined !== input.items ? _so4(input.items) : undefined},`}${undefined === input["const"] || "function" === typeof input["const"] ? "" : `"const":${undefined !== input["const"] ? JSON.stringify(input["const"]) : undefined},`}${undefined === input.properties ? "" : `"properties":${undefined !== input.properties ? _so5(input.properties) : undefined},`}${undefined === input.widget ? "" : `"widget":${undefined !== input.widget ? (() => {
|
|
2364
2363
|
if ("string" === typeof input.widget)
|
|
2365
2364
|
return __typia_transform__jsonStringifyString._jsonStringifyString(input.widget);
|
|
2366
2365
|
if ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget))
|
|
2367
|
-
return
|
|
2366
|
+
return _so6(input.widget);
|
|
2368
2367
|
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2369
2368
|
method: "typia.json.stringify",
|
|
2370
2369
|
expected: "(WidgetOptions | string | undefined)",
|
|
2371
2370
|
value: input.widget
|
|
2372
2371
|
});
|
|
2373
|
-
})() : 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 ? String(input.invalid) : undefined},`}${undefined === input.emptyValue || "function" === typeof input.emptyValue ? "" : `"emptyValue":${undefined !== input.emptyValue ? JSON.stringify(input.emptyValue) : undefined}
|
|
2372
|
+
})() : 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 ? String(input.invalid) : undefined},`}${undefined === input.emptyValue || "function" === typeof input.emptyValue ? "" : `"emptyValue":${undefined !== input.emptyValue ? JSON.stringify(input.emptyValue) : undefined}`}`)}}`; const _so5 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
2373
|
+
return ""; return `${JSON.stringify(key)}:${_so4(value)}`; }).filter(str => "" !== str).join(",")}}`; const _so6 = 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 ? String(input.readOnly) : undefined},`}${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
2374
2374
|
return ""; if (["type", "readOnly"].some(regular => regular === key))
|
|
2375
|
-
return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}`)}}`; const
|
|
2376
|
-
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 ? (() => {
|
|
2375
|
+
return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}`)}}`; const _so7 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.panel ? "" : `"panel":${undefined !== input.panel ? (() => {
|
|
2377
2376
|
if ("string" === typeof input.panel)
|
|
2378
2377
|
return __typia_transform__jsonStringifyString._jsonStringifyString(input.panel);
|
|
2379
2378
|
if (Array.isArray(input.panel))
|
|
@@ -2397,6 +2396,46 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
2397
2396
|
expected: "(Array<WidgetLayout> | WidgetLayoutDivider | WidgetLayoutItem | string | undefined)",
|
|
2398
2397
|
value: input.editor
|
|
2399
2398
|
});
|
|
2399
|
+
})() : undefined},`}${undefined === input.csv ? "" : `"csv":${undefined !== input.csv ? (() => {
|
|
2400
|
+
if ("boolean" === typeof input.csv)
|
|
2401
|
+
return String(input.csv);
|
|
2402
|
+
if (Array.isArray(input.csv))
|
|
2403
|
+
return `[${input.csv.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]`;
|
|
2404
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2405
|
+
method: "typia.json.stringify",
|
|
2406
|
+
expected: "(Array<string> | true | undefined)",
|
|
2407
|
+
value: input.csv
|
|
2408
|
+
});
|
|
2409
|
+
})() : undefined},`}${undefined === input.json ? "" : `"json":${undefined !== input.json ? (() => {
|
|
2410
|
+
if ("boolean" === typeof input.json)
|
|
2411
|
+
return String(input.json);
|
|
2412
|
+
if (Array.isArray(input.json))
|
|
2413
|
+
return `[${input.json.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]`;
|
|
2414
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2415
|
+
method: "typia.json.stringify",
|
|
2416
|
+
expected: "(Array<string> | true | undefined)",
|
|
2417
|
+
value: input.json
|
|
2418
|
+
});
|
|
2419
|
+
})() : undefined},`}${undefined === input.xml ? "" : `"xml":${undefined !== input.xml ? (() => {
|
|
2420
|
+
if ("boolean" === typeof input.xml)
|
|
2421
|
+
return String(input.xml);
|
|
2422
|
+
if (Array.isArray(input.xml))
|
|
2423
|
+
return `[${input.xml.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]`;
|
|
2424
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2425
|
+
method: "typia.json.stringify",
|
|
2426
|
+
expected: "(Array<string> | true | undefined)",
|
|
2427
|
+
value: input.xml
|
|
2428
|
+
});
|
|
2429
|
+
})() : undefined},`}${undefined === input.rss ? "" : `"rss":${undefined !== input.rss ? (() => {
|
|
2430
|
+
if ("boolean" === typeof input.rss)
|
|
2431
|
+
return String(input.rss);
|
|
2432
|
+
if (Array.isArray(input.rss))
|
|
2433
|
+
return `[${input.rss.map(elem => __typia_transform__jsonStringifyString._jsonStringifyString(elem)).join(",")}]`;
|
|
2434
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2435
|
+
method: "typia.json.stringify",
|
|
2436
|
+
expected: "(Array<string> | true | undefined)",
|
|
2437
|
+
value: input.rss
|
|
2438
|
+
});
|
|
2400
2439
|
})() : 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 ? (() => {
|
|
2401
2440
|
if ("string" === typeof input.width)
|
|
2402
2441
|
return __typia_transform__jsonStringifyString._jsonStringifyString(input.width);
|
|
@@ -2411,13 +2450,85 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
2411
2450
|
if ("string" === typeof input.widget)
|
|
2412
2451
|
return __typia_transform__jsonStringifyString._jsonStringifyString(input.widget);
|
|
2413
2452
|
if ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget))
|
|
2414
|
-
return
|
|
2453
|
+
return _so6(input.widget);
|
|
2415
2454
|
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2416
2455
|
method: "typia.json.stringify",
|
|
2417
2456
|
expected: "(WidgetOptions | string | undefined)",
|
|
2418
2457
|
value: input.widget
|
|
2419
2458
|
});
|
|
2420
|
-
})() : undefined},`}"property":${__typia_transform__jsonStringifyString._jsonStringifyString(input.property)}}`; const
|
|
2459
|
+
})() : undefined},`}"property":${__typia_transform__jsonStringifyString._jsonStringifyString(input.property)}}`; const _so10 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.options ? "" : `"options":${undefined !== input.options ? _so11(input.options) : undefined},`}${undefined === input.formatterOptions ? "" : `"formatterOptions":${undefined !== input.formatterOptions ? _so15(input.formatterOptions) : undefined},`}${undefined === input.rootSchema ? "" : `"rootSchema":${undefined !== input.rootSchema ? (() => {
|
|
2460
|
+
if ("string" === typeof input.rootSchema)
|
|
2461
|
+
return __typia_transform__jsonStringifyString._jsonStringifyString(input.rootSchema);
|
|
2462
|
+
if (Array.isArray(input.rootSchema))
|
|
2463
|
+
return `[${input.rootSchema.map(elem => undefined !== elem ? JSON.stringify(elem) : "null").join(",")}]`;
|
|
2464
|
+
if ("object" === typeof input.rootSchema && null !== input.rootSchema && false === Array.isArray(input.rootSchema))
|
|
2465
|
+
return _su1(input.rootSchema);
|
|
2466
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2467
|
+
method: "typia.json.stringify",
|
|
2468
|
+
expected: "(Array<any> | __type.o5 | __type.o6 | string | undefined)",
|
|
2469
|
+
value: input.rootSchema
|
|
2470
|
+
});
|
|
2471
|
+
})() : undefined},`}${undefined === input.itemSchema ? "" : `"itemSchema":${undefined !== input.itemSchema ? (() => {
|
|
2472
|
+
if ("string" === typeof input.itemSchema)
|
|
2473
|
+
return __typia_transform__jsonStringifyString._jsonStringifyString(input.itemSchema);
|
|
2474
|
+
if (Array.isArray(input.itemSchema))
|
|
2475
|
+
return `[${input.itemSchema.map(elem => undefined !== elem ? JSON.stringify(elem) : "null").join(",")}]`;
|
|
2476
|
+
if ("object" === typeof input.itemSchema && null !== input.itemSchema && false === Array.isArray(input.itemSchema))
|
|
2477
|
+
return _su2(input.itemSchema);
|
|
2478
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2479
|
+
method: "typia.json.stringify",
|
|
2480
|
+
expected: "(Array<any> | __type.o5 | __type.o8 | string | undefined)",
|
|
2481
|
+
value: input.itemSchema
|
|
2482
|
+
});
|
|
2483
|
+
})() : undefined}`}`)}}`; const _so11 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.version ? "" : `"version":${undefined !== input.version ? "\"" + input.version + "\"" : undefined},`}${undefined === input.encoding ? "" : `"encoding":${undefined !== input.encoding ? __typia_transform__jsonStringifyString._jsonStringifyString(input.encoding) : undefined},`}${undefined === input.standalone ? "" : `"standalone":${undefined !== input.standalone ? String(input.standalone) : undefined},`}${undefined === input.keepNullNodes ? "" : `"keepNullNodes":${undefined !== input.keepNullNodes ? String(input.keepNullNodes) : undefined},`}${undefined === input.keepNullAttributes ? "" : `"keepNullAttributes":${undefined !== input.keepNullAttributes ? String(input.keepNullAttributes) : undefined},`}${undefined === input.ignoreConverters ? "" : `"ignoreConverters":${undefined !== input.ignoreConverters ? String(input.ignoreConverters) : undefined},`}${undefined === input.skipWhitespaceOnlyText ? "" : `"skipWhitespaceOnlyText":${undefined !== input.skipWhitespaceOnlyText ? String(input.skipWhitespaceOnlyText) : undefined},`}${undefined === input.convert ? "" : `"convert":${undefined !== input.convert ? _so12(input.convert) : undefined},`}${undefined === input.defaultNamespace ? "" : `"defaultNamespace":${undefined !== input.defaultNamespace ? _so13(input.defaultNamespace) : undefined},`}${undefined === input.namespaceAlias ? "" : `"namespaceAlias":${undefined !== input.namespaceAlias ? _so14(input.namespaceAlias) : undefined},`}${undefined === input.invalidCharReplacement || "function" === typeof input.invalidCharReplacement ? "" : `"invalidCharReplacement":${undefined !== input.invalidCharReplacement ? (() => {
|
|
2484
|
+
if ("function" === typeof input.invalidCharReplacement)
|
|
2485
|
+
return undefined;
|
|
2486
|
+
if ("string" === typeof input.invalidCharReplacement)
|
|
2487
|
+
return __typia_transform__jsonStringifyString._jsonStringifyString(input.invalidCharReplacement);
|
|
2488
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2489
|
+
method: "typia.json.stringify",
|
|
2490
|
+
expected: "(string | undefined)",
|
|
2491
|
+
value: input.invalidCharReplacement
|
|
2492
|
+
});
|
|
2493
|
+
})() : undefined},`}${undefined === input.parser || "function" === typeof input.parser ? "" : `"parser":${undefined !== input.parser ? JSON.stringify(input.parser) : undefined},`}${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
2494
|
+
return ""; if (["version", "encoding", "standalone", "keepNullNodes", "keepNullAttributes", "ignoreConverters", "skipWhitespaceOnlyText", "convert", "defaultNamespace", "namespaceAlias", "invalidCharReplacement", "parser"].some(regular => regular === key))
|
|
2495
|
+
return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}`)}}`; const _so12 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.att ? "" : `"att":${undefined !== input.att ? __typia_transform__jsonStringifyString._jsonStringifyString(input.att) : undefined},`}${undefined === input.ins ? "" : `"ins":${undefined !== input.ins ? __typia_transform__jsonStringifyString._jsonStringifyString(input.ins) : undefined},`}${undefined === input.text ? "" : `"text":${undefined !== input.text ? __typia_transform__jsonStringifyString._jsonStringifyString(input.text) : undefined},`}${undefined === input.cdata ? "" : `"cdata":${undefined !== input.cdata ? __typia_transform__jsonStringifyString._jsonStringifyString(input.cdata) : undefined},`}${undefined === input.comment ? "" : `"comment":${undefined !== input.comment ? __typia_transform__jsonStringifyString._jsonStringifyString(input.comment) : undefined}`}`)}}`; const _so13 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.ele ? "" : `"ele":${undefined !== input.ele ? null !== input.ele ? __typia_transform__jsonStringifyString._jsonStringifyString(input.ele) : "null" : undefined},`}${undefined === input.att ? "" : `"att":${undefined !== input.att ? null !== input.att ? __typia_transform__jsonStringifyString._jsonStringifyString(input.att) : "null" : undefined}`}`)}}`; const _so14 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
2496
|
+
return ""; return `${JSON.stringify(key)}:${undefined !== value ? null !== value ? __typia_transform__jsonStringifyString._jsonStringifyString(value) : "null" : undefined}`; }).filter(str => "" !== str).join(",")}}`; const _so15 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.wellFormed ? "" : `"wellFormed":${undefined !== input.wellFormed ? String(input.wellFormed) : undefined},`}${undefined === input.format ? "" : `"format":${undefined !== input.format ? "\"" + input.format + "\"" : undefined},`}${undefined === input.headless ? "" : `"headless":${undefined !== input.headless ? String(input.headless) : undefined},`}${undefined === input.prettyPrint ? "" : `"prettyPrint":${undefined !== input.prettyPrint ? String(input.prettyPrint) : undefined},`}${undefined === input.indent ? "" : `"indent":${undefined !== input.indent ? __typia_transform__jsonStringifyString._jsonStringifyString(input.indent) : undefined},`}${undefined === input.newline ? "" : `"newline":${undefined !== input.newline ? __typia_transform__jsonStringifyString._jsonStringifyString(input.newline) : undefined},`}${undefined === input.offset ? "" : `"offset":${undefined !== input.offset ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.offset)) : undefined},`}${undefined === input.width ? "" : `"width":${undefined !== input.width ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.width)) : undefined},`}${undefined === input.allowEmptyTags ? "" : `"allowEmptyTags":${undefined !== input.allowEmptyTags ? String(input.allowEmptyTags) : undefined},`}${undefined === input.indentTextOnlyNodes ? "" : `"indentTextOnlyNodes":${undefined !== input.indentTextOnlyNodes ? String(input.indentTextOnlyNodes) : undefined},`}${undefined === input.spaceBeforeSlash ? "" : `"spaceBeforeSlash":${undefined !== input.spaceBeforeSlash ? String(input.spaceBeforeSlash) : undefined}`}`)}}`; const _so16 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
2497
|
+
return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}}`; const _so17 = input => `{"__context":${_so18(input.__context)},"__returnValue":${(() => {
|
|
2498
|
+
if (Array.isArray(input.__returnValue))
|
|
2499
|
+
return `[${input.__returnValue.map(elem => undefined !== elem ? JSON.stringify(elem) : "null").join(",")}]`;
|
|
2500
|
+
if ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue))
|
|
2501
|
+
return _so16(input.__returnValue);
|
|
2502
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2503
|
+
method: "typia.json.stringify",
|
|
2504
|
+
expected: "(Array<any> | __type.o5)",
|
|
2505
|
+
value: input.__returnValue
|
|
2506
|
+
});
|
|
2507
|
+
})()}}`; const _so18 = input => `{"publishId":${__typia_transform__jsonStringifyString._jsonStringifyString(input.publishId)},"items":${`[${input.items.map(elem => undefined !== elem ? JSON.stringify(elem) : "null").join(",")}]`}}`; const _so19 = input => `{"__context":${_so20(input.__context)},"__returnValue":${(() => {
|
|
2508
|
+
if (Array.isArray(input.__returnValue))
|
|
2509
|
+
return `[${input.__returnValue.map(elem => undefined !== elem ? JSON.stringify(elem) : "null").join(",")}]`;
|
|
2510
|
+
if ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue))
|
|
2511
|
+
return _so16(input.__returnValue);
|
|
2512
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2513
|
+
method: "typia.json.stringify",
|
|
2514
|
+
expected: "(Array<any> | __type.o5)",
|
|
2515
|
+
value: input.__returnValue
|
|
2516
|
+
});
|
|
2517
|
+
})()}}`; const _so20 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
2518
|
+
return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}}`; const _so21 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.namespaces ? "" : `"namespaces":${undefined !== input.namespaces ? _so22(input.namespaces) : undefined},`}${undefined === input.id ? "" : `"id":${undefined !== input.id ? __typia_transform__jsonStringifyString._jsonStringifyString(input.id) : undefined},`}${undefined === input.title ? "" : `"title":${undefined !== input.title ? __typia_transform__jsonStringifyString._jsonStringifyString(input.title) : undefined},`}${undefined === input.updated ? "" : `"updated":${undefined !== input.updated ? (() => {
|
|
2519
|
+
if ("string" === typeof input.updated)
|
|
2520
|
+
return __typia_transform__jsonStringifyString._jsonStringifyString(input.updated);
|
|
2521
|
+
if ("number" === typeof input.updated)
|
|
2522
|
+
return String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.updated));
|
|
2523
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2524
|
+
method: "typia.json.stringify",
|
|
2525
|
+
expected: "(number | string | undefined)",
|
|
2526
|
+
value: input.updated
|
|
2527
|
+
});
|
|
2528
|
+
})() : undefined},`}${undefined === input.generator ? "" : `"generator":${undefined !== input.generator ? __typia_transform__jsonStringifyString._jsonStringifyString(input.generator) : undefined},`}${undefined === input.language ? "" : `"language":${undefined !== input.language ? __typia_transform__jsonStringifyString._jsonStringifyString(input.language) : undefined},`}${undefined === input.ttl ? "" : `"ttl":${undefined !== input.ttl ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.ttl)) : undefined},`}${undefined === input.stylesheet ? "" : `"stylesheet":${undefined !== input.stylesheet ? __typia_transform__jsonStringifyString._jsonStringifyString(input.stylesheet) : undefined},`}${undefined === input.feed ? "" : `"feed":${undefined !== input.feed ? __typia_transform__jsonStringifyString._jsonStringifyString(input.feed) : undefined},`}${undefined === input.feedLinks ? "" : `"feedLinks":${undefined !== input.feedLinks ? _so23(input.feedLinks) : undefined},`}${undefined === input.hub ? "" : `"hub":${undefined !== input.hub ? __typia_transform__jsonStringifyString._jsonStringifyString(input.hub) : undefined},`}${undefined === input.docs ? "" : `"docs":${undefined !== input.docs ? __typia_transform__jsonStringifyString._jsonStringifyString(input.docs) : undefined},`}${undefined === input.podcast ? "" : `"podcast":${undefined !== input.podcast ? String(input.podcast) : undefined},`}${undefined === input.category ? "" : `"category":${undefined !== input.category ? __typia_transform__jsonStringifyString._jsonStringifyString(input.category) : undefined},`}${undefined === input.author ? "" : `"author":${undefined !== input.author ? _so24(input.author) : undefined},`}${undefined === input.link ? "" : `"link":${undefined !== input.link ? __typia_transform__jsonStringifyString._jsonStringifyString(input.link) : undefined},`}${undefined === input.description ? "" : `"description":${undefined !== input.description ? __typia_transform__jsonStringifyString._jsonStringifyString(input.description) : undefined},`}${undefined === input.image ? "" : `"image":${undefined !== input.image ? __typia_transform__jsonStringifyString._jsonStringifyString(input.image) : undefined},`}${undefined === input.favicon ? "" : `"favicon":${undefined !== input.favicon ? __typia_transform__jsonStringifyString._jsonStringifyString(input.favicon) : undefined},`}${undefined === input.copyright ? "" : `"copyright":${undefined !== input.copyright ? __typia_transform__jsonStringifyString._jsonStringifyString(input.copyright) : undefined}`}`)}}`; const _so22 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
2529
|
+
return ""; return `${JSON.stringify(key)}:${__typia_transform__jsonStringifyString._jsonStringifyString(value)}`; }).filter(str => "" !== str).join(",")}}`; const _so23 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.rss ? "" : `"rss":${undefined !== input.rss ? __typia_transform__jsonStringifyString._jsonStringifyString(input.rss) : undefined},`}${undefined === input.atom ? "" : `"atom":${undefined !== input.atom ? __typia_transform__jsonStringifyString._jsonStringifyString(input.atom) : undefined},`}${undefined === input.json ? "" : `"json":${undefined !== input.json ? __typia_transform__jsonStringifyString._jsonStringifyString(input.json) : undefined},`}${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
2530
|
+
return ""; if (["rss", "atom", "json"].some(regular => regular === key))
|
|
2531
|
+
return ""; return `${JSON.stringify(key)}:${undefined !== value ? __typia_transform__jsonStringifyString._jsonStringifyString(value) : undefined}`; }).filter(str => "" !== str).join(",")}`)}}`; const _so24 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.name ? "" : `"name":${undefined !== input.name ? __typia_transform__jsonStringifyString._jsonStringifyString(input.name) : undefined},`}${undefined === input.email ? "" : `"email":${undefined !== input.email ? __typia_transform__jsonStringifyString._jsonStringifyString(input.email) : undefined},`}${undefined === input.link ? "" : `"link":${undefined !== input.link ? __typia_transform__jsonStringifyString._jsonStringifyString(input.link) : undefined},`}${undefined === input.avatar ? "" : `"avatar":${undefined !== input.avatar ? __typia_transform__jsonStringifyString._jsonStringifyString(input.avatar) : undefined}`}`)}}`; const _su0 = input => (() => {
|
|
2421
2532
|
if (undefined !== input.type)
|
|
2422
2533
|
return _so8(input);
|
|
2423
2534
|
else if (undefined !== input.property)
|
|
@@ -2428,6 +2539,16 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
2428
2539
|
expected: "(WidgetLayoutDivider | WidgetLayoutItem)",
|
|
2429
2540
|
value: input
|
|
2430
2541
|
});
|
|
2542
|
+
})(); const _su1 = input => (() => {
|
|
2543
|
+
if (undefined !== input.__context)
|
|
2544
|
+
return _so17(input);
|
|
2545
|
+
else
|
|
2546
|
+
return _so16(input);
|
|
2547
|
+
})(); const _su2 = input => (() => {
|
|
2548
|
+
if (undefined !== input.__context)
|
|
2549
|
+
return _so19(input);
|
|
2550
|
+
else
|
|
2551
|
+
return _so16(input);
|
|
2431
2552
|
})(); const _sa0 = input => `[${input.map(elem => (() => {
|
|
2432
2553
|
if ("string" === typeof elem)
|
|
2433
2554
|
return __typia_transform__jsonStringifyString._jsonStringifyString(elem);
|
|
@@ -2445,25 +2566,69 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
2445
2566
|
if (undefined === value)
|
|
2446
2567
|
return true;
|
|
2447
2568
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
|
|
2448
|
-
}); 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.
|
|
2569
|
+
}); const _io2 = input => (undefined === input.domain || "string" === typeof input.domain) && (undefined === input.path || "string" === typeof input.path) && true && (undefined === input.index || "object" === typeof input.index && null !== input.index && _io3(input.index)) && (undefined === input.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) && _io4(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) && _io5(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) && _io4(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io4(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io6(input.widget))) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true; const _io3 = input => "string" === typeof input.label && "string" === typeof input.path; const _io4 = input => (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) && _io4(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io4(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && (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) && _io4(input.items)) && true && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io5(input.properties)) && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io6(input.widget))) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true; const _io5 = input => Object.keys(input).every(key => {
|
|
2570
|
+
const value = input[key];
|
|
2571
|
+
if (undefined === value)
|
|
2572
|
+
return true;
|
|
2573
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io4(value);
|
|
2574
|
+
}); const _io6 = input => (undefined === input.type || "string" === typeof input.type) && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && Object.keys(input).every(key => {
|
|
2449
2575
|
if (["type", "readOnly"].some(prop => key === prop))
|
|
2450
2576
|
return true;
|
|
2451
2577
|
const value = input[key];
|
|
2452
2578
|
if (undefined === value)
|
|
2453
2579
|
return true;
|
|
2454
2580
|
return true;
|
|
2455
|
-
}); const
|
|
2581
|
+
}); 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)))) && (null !== input.csv && (undefined === input.csv || true === input.csv || Array.isArray(input.csv) && input.csv.every(elem => "string" === typeof elem))) && (null !== input.json && (undefined === input.json || true === input.json || Array.isArray(input.json) && input.json.every(elem => "string" === typeof elem))) && (null !== input.xml && (undefined === input.xml || true === input.xml || Array.isArray(input.xml) && input.xml.every(elem => "string" === typeof elem))) && (null !== input.rss && (undefined === input.rss || true === input.rss || Array.isArray(input.rss) && input.rss.every(elem => "string" === typeof elem))); 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) && _io6(input.widget))); const _io10 = input => (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io11(input.options)) && (undefined === input.formatterOptions || "object" === typeof input.formatterOptions && null !== input.formatterOptions && false === Array.isArray(input.formatterOptions) && _io15(input.formatterOptions)) && (null !== input.rootSchema && (undefined === input.rootSchema || "string" === typeof input.rootSchema || (Array.isArray(input.rootSchema) || "object" === typeof input.rootSchema && null !== input.rootSchema && false === Array.isArray(input.rootSchema) && _iu1(input.rootSchema)))) && (null !== input.itemSchema && (undefined === input.itemSchema || "string" === typeof input.itemSchema || (Array.isArray(input.itemSchema) || "object" === typeof input.itemSchema && null !== input.itemSchema && false === Array.isArray(input.itemSchema) && _iu2(input.itemSchema)))); const _io11 = input => (undefined === input.version || "1.0" === input.version) && (undefined === input.encoding || "string" === typeof input.encoding) && (undefined === input.standalone || "boolean" === typeof input.standalone) && (undefined === input.keepNullNodes || "boolean" === typeof input.keepNullNodes) && (undefined === input.keepNullAttributes || "boolean" === typeof input.keepNullAttributes) && (undefined === input.ignoreConverters || "boolean" === typeof input.ignoreConverters) && (undefined === input.skipWhitespaceOnlyText || "boolean" === typeof input.skipWhitespaceOnlyText) && (undefined === input.convert || "object" === typeof input.convert && null !== input.convert && false === Array.isArray(input.convert) && _io12(input.convert)) && (undefined === input.defaultNamespace || "object" === typeof input.defaultNamespace && null !== input.defaultNamespace && false === Array.isArray(input.defaultNamespace) && _io13(input.defaultNamespace)) && (undefined === input.namespaceAlias || "object" === typeof input.namespaceAlias && null !== input.namespaceAlias && false === Array.isArray(input.namespaceAlias) && _io14(input.namespaceAlias)) && (null !== input.invalidCharReplacement && (undefined === input.invalidCharReplacement || "function" === typeof input.invalidCharReplacement || "string" === typeof input.invalidCharReplacement)) && true && Object.keys(input).every(key => {
|
|
2582
|
+
if (["version", "encoding", "standalone", "keepNullNodes", "keepNullAttributes", "ignoreConverters", "skipWhitespaceOnlyText", "convert", "defaultNamespace", "namespaceAlias", "invalidCharReplacement", "parser"].some(prop => key === prop))
|
|
2583
|
+
return true;
|
|
2456
2584
|
const value = input[key];
|
|
2457
2585
|
if (undefined === value)
|
|
2458
2586
|
return true;
|
|
2459
|
-
return
|
|
2460
|
-
}); const
|
|
2587
|
+
return true;
|
|
2588
|
+
}); const _io12 = input => (undefined === input.att || "string" === typeof input.att) && (undefined === input.ins || "string" === typeof input.ins) && (undefined === input.text || "string" === typeof input.text) && (undefined === input.cdata || "string" === typeof input.cdata) && (undefined === input.comment || "string" === typeof input.comment); const _io13 = input => (null === input.ele || undefined === input.ele || "string" === typeof input.ele) && (null === input.att || undefined === input.att || "string" === typeof input.att); const _io14 = input => Object.keys(input).every(key => {
|
|
2589
|
+
const value = input[key];
|
|
2590
|
+
if (undefined === value)
|
|
2591
|
+
return true;
|
|
2592
|
+
return null === value || undefined === value || "string" === typeof value;
|
|
2593
|
+
}); const _io15 = input => (undefined === input.wellFormed || "boolean" === typeof input.wellFormed) && (undefined === input.format || "xml" === input.format) && (undefined === input.headless || "boolean" === typeof input.headless) && (undefined === input.prettyPrint || "boolean" === typeof input.prettyPrint) && (undefined === input.indent || "string" === typeof input.indent) && (undefined === input.newline || "string" === typeof input.newline) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.allowEmptyTags || "boolean" === typeof input.allowEmptyTags) && (undefined === input.indentTextOnlyNodes || "boolean" === typeof input.indentTextOnlyNodes) && (undefined === input.spaceBeforeSlash || "boolean" === typeof input.spaceBeforeSlash); const _io16 = input => Object.keys(input).every(key => {
|
|
2594
|
+
const value = input[key];
|
|
2595
|
+
if (undefined === value)
|
|
2596
|
+
return true;
|
|
2597
|
+
return true;
|
|
2598
|
+
}); const _io17 = input => "object" === typeof input.__context && null !== input.__context && _io18(input.__context) && (null !== input.__returnValue && undefined !== input.__returnValue && (Array.isArray(input.__returnValue) || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io16(input.__returnValue))); const _io18 = input => "string" === typeof input.publishId && Array.isArray(input.items); const _io19 = input => "object" === typeof input.__context && null !== input.__context && false === Array.isArray(input.__context) && _io20(input.__context) && (null !== input.__returnValue && undefined !== input.__returnValue && (Array.isArray(input.__returnValue) || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io16(input.__returnValue))); const _io20 = input => Object.keys(input).every(key => {
|
|
2599
|
+
const value = input[key];
|
|
2600
|
+
if (undefined === value)
|
|
2601
|
+
return true;
|
|
2602
|
+
return true;
|
|
2603
|
+
}); const _io21 = input => (undefined === input.namespaces || "object" === typeof input.namespaces && null !== input.namespaces && false === Array.isArray(input.namespaces) && _io22(input.namespaces)) && (undefined === input.id || "string" === typeof input.id) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.updated || "string" === typeof input.updated || "number" === typeof input.updated) && (undefined === input.generator || "string" === typeof input.generator) && (undefined === input.language || "string" === typeof input.language) && (undefined === input.ttl || "number" === typeof input.ttl) && (undefined === input.stylesheet || "string" === typeof input.stylesheet) && (undefined === input.feed || "string" === typeof input.feed) && (undefined === input.feedLinks || "object" === typeof input.feedLinks && null !== input.feedLinks && false === Array.isArray(input.feedLinks) && _io23(input.feedLinks)) && (undefined === input.hub || "string" === typeof input.hub) && (undefined === input.docs || "string" === typeof input.docs) && (undefined === input.podcast || "boolean" === typeof input.podcast) && (undefined === input.category || "string" === typeof input.category) && (undefined === input.author || "object" === typeof input.author && null !== input.author && false === Array.isArray(input.author) && _io24(input.author)) && (undefined === input.link || "string" === typeof input.link) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.image || "string" === typeof input.image) && (undefined === input.favicon || "string" === typeof input.favicon) && (undefined === input.copyright || "string" === typeof input.copyright); const _io22 = input => Object.keys(input).every(key => {
|
|
2604
|
+
const value = input[key];
|
|
2605
|
+
if (undefined === value)
|
|
2606
|
+
return true;
|
|
2607
|
+
return "string" === typeof value;
|
|
2608
|
+
}); const _io23 = input => (undefined === input.rss || "string" === typeof input.rss) && (undefined === input.atom || "string" === typeof input.atom) && (undefined === input.json || "string" === typeof input.json) && Object.keys(input).every(key => {
|
|
2609
|
+
if (["rss", "atom", "json"].some(prop => key === prop))
|
|
2610
|
+
return true;
|
|
2611
|
+
const value = input[key];
|
|
2612
|
+
if (undefined === value)
|
|
2613
|
+
return true;
|
|
2614
|
+
return undefined === value || "string" === typeof value;
|
|
2615
|
+
}); const _io24 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.email || "string" === typeof input.email) && (undefined === input.link || "string" === typeof input.link) && (undefined === input.avatar || "string" === typeof input.avatar); const _iu0 = input => (() => {
|
|
2461
2616
|
if (undefined !== input.type)
|
|
2462
2617
|
return _io8(input);
|
|
2463
2618
|
else if (undefined !== input.property)
|
|
2464
2619
|
return _io9(input);
|
|
2465
2620
|
else
|
|
2466
2621
|
return false;
|
|
2622
|
+
})(); const _iu1 = input => (() => {
|
|
2623
|
+
if (undefined !== input.__context)
|
|
2624
|
+
return _io17(input);
|
|
2625
|
+
else
|
|
2626
|
+
return _io16(input);
|
|
2627
|
+
})(); const _iu2 = input => (() => {
|
|
2628
|
+
if (undefined !== input.__context)
|
|
2629
|
+
return _io19(input);
|
|
2630
|
+
else
|
|
2631
|
+
return _io16(input);
|
|
2467
2632
|
})(); 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);
|
|
2468
2633
|
}
|
|
2469
2634
|
case ":permission?": {
|
|
@@ -2555,7 +2720,7 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
2555
2720
|
expected: "(\"straight\" | boolean | null | undefined)",
|
|
2556
2721
|
value: input.alpha
|
|
2557
2722
|
});
|
|
2558
|
-
})() : "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 ? (() => {
|
|
2723
|
+
})() : "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},`}${undefined === input.timecode ? "" : `"timecode":${undefined !== input.timecode ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.timecode)) : undefined},`}${undefined === input.timezone ? "" : `"timezone":${undefined !== input.timezone ? __typia_transform__jsonStringifyString._jsonStringifyString(input.timezone) : undefined}`}`)}}`; const _so4 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.alpha ? "" : `"alpha":${undefined !== input.alpha ? null !== input.alpha ? (() => {
|
|
2559
2724
|
if ("string" === typeof input.alpha)
|
|
2560
2725
|
return "\"" + input.alpha + "\"";
|
|
2561
2726
|
if ("boolean" === typeof input.alpha)
|
|
@@ -2620,7 +2785,66 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
2620
2785
|
})()}`; }).filter(str => "" !== str).join(",")}}`; const _so29 = 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 ? String(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 ? _so17(input.profile) : undefined},`}"path":${__typia_transform__jsonStringifyString._jsonStringifyString(input.path)},"type":${__typia_transform__jsonStringifyString._jsonStringifyString(input.type)}}`; const _so30 = input => `{"__context":${_so31(input.__context)},"__returnValue":${_so29(input.__returnValue)}}`; const _so31 = input => `{"publish":${_so27(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.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 _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},`}${undefined === input.renders ? "" : `"renders":${undefined !== input.renders ? _so34(input.renders) : undefined}`}`)}}`; const _so34 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
2621
2786
|
return ""; return `${JSON.stringify(key)}:${_so35(value)}`; }).filter(str => "" !== str).join(",")}}`; const _so35 = 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 => _so25(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 ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(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 _so36 = input => `{${undefined === input.directory ? "" : `"directory":${undefined !== input.directory ? __typia_transform__jsonStringifyString._jsonStringifyString(input.directory) : undefined},`}"filename":${__typia_transform__jsonStringifyString._jsonStringifyString(input.filename)}}`; const _so37 = 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 ? _so32(input.draft) : undefined},`}${undefined === input.remote ? "" : `"remote":${undefined !== input.remote ? _so38(input.remote) : undefined},`}${undefined === input.published ? "" : `"published":${undefined !== input.published ? _so36(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 ? _so24(input.error) : "null" : undefined},`}${undefined === input.messages ? "" : `"messages":${undefined !== input.messages ? `[${input.messages.map(elem => _so25(elem)).join(",")}]` : undefined}`}`)}}`; const _so38 = 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 ? _so39(input.subtitle) : undefined},`}${undefined === input.metafile ? "" : `"metafile":${undefined !== input.metafile ? _so40(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)
|
|
2622
2787
|
return ""; if (["id", "directory", "subtitle", "metafile", "path", "filename"].some(regular => regular === key))
|
|
2623
|
-
return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}`)}}`; const _so39 = input => `{"path":${__typia_transform__jsonStringifyString._jsonStringifyString(input.path)}}`; const _so40 = input => `{"path":${__typia_transform__jsonStringifyString._jsonStringifyString(input.path)}}`; const _so41 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.type ? "" : `"type":${undefined !== input.type ? "\"" + input.type + "\"" : undefined},`}${undefined === input.
|
|
2788
|
+
return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}`)}}`; const _so39 = input => `{"path":${__typia_transform__jsonStringifyString._jsonStringifyString(input.path)}}`; const _so40 = input => `{"path":${__typia_transform__jsonStringifyString._jsonStringifyString(input.path)}}`; const _so41 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.type ? "" : `"type":${undefined !== input.type ? "\"" + input.type + "\"" : undefined},`}${undefined === input.searchId ? "" : `"searchId":${undefined !== input.searchId ? __typia_transform__jsonStringifyString._jsonStringifyString(input.searchId) : undefined},`}${undefined === input.expand ? "" : `"expand":${undefined !== input.expand ? _so42(input.expand) : undefined},`}${undefined === input.panel ? "" : `"panel":${undefined !== input.panel ? __typia_transform__jsonStringifyString._jsonStringifyString(input.panel) : undefined},`}${undefined === input.route ? "" : `"route":${undefined !== input.route ? __typia_transform__jsonStringifyString._jsonStringifyString(input.route) : undefined},`}${undefined === input.sort ? "" : `"sort":${undefined !== input.sort ? __typia_transform__jsonStringifyString._jsonStringifyString(input.sort) : undefined},`}${undefined === input.order ? "" : `"order":${undefined !== input.order ? "\"" + input.order + "\"" : undefined},`}${undefined === input.format ? "" : `"format":${undefined !== input.format ? "\"" + input.format + "\"" : undefined},`}${undefined === input.xml ? "" : `"xml":${undefined !== input.xml ? _so43(input.xml) : 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 ? _so24(input.error) : "null" : undefined},`}${undefined === input.messages ? "" : `"messages":${undefined !== input.messages ? `[${input.messages.map(elem => _so25(elem)).join(",")}]` : undefined}`}`)}}`; const _so42 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.type ? "" : `"type":${undefined !== input.type ? "\"" + input.type + "\"" : undefined},`}${undefined === input.start ? "" : `"start":${undefined !== input.start ? __typia_transform__jsonStringifyString._jsonStringifyString(input.start) : undefined},`}${undefined === input.end ? "" : `"end":${undefined !== input.end ? __typia_transform__jsonStringifyString._jsonStringifyString(input.end) : undefined}`}`)}}`; const _so43 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.options ? "" : `"options":${undefined !== input.options ? _so44(input.options) : undefined},`}${undefined === input.formatterOptions ? "" : `"formatterOptions":${undefined !== input.formatterOptions ? _so48(input.formatterOptions) : undefined},`}${undefined === input.rootSchema ? "" : `"rootSchema":${undefined !== input.rootSchema ? (() => {
|
|
2789
|
+
if ("string" === typeof input.rootSchema)
|
|
2790
|
+
return __typia_transform__jsonStringifyString._jsonStringifyString(input.rootSchema);
|
|
2791
|
+
if (Array.isArray(input.rootSchema))
|
|
2792
|
+
return `[${input.rootSchema.map(elem => undefined !== elem ? JSON.stringify(elem) : "null").join(",")}]`;
|
|
2793
|
+
if ("object" === typeof input.rootSchema && null !== input.rootSchema && false === Array.isArray(input.rootSchema))
|
|
2794
|
+
return _su1(input.rootSchema);
|
|
2795
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2796
|
+
method: "typia.json.stringify",
|
|
2797
|
+
expected: "(Array<any> | __type.o21 | __type.o22 | string | undefined)",
|
|
2798
|
+
value: input.rootSchema
|
|
2799
|
+
});
|
|
2800
|
+
})() : undefined},`}${undefined === input.itemSchema ? "" : `"itemSchema":${undefined !== input.itemSchema ? (() => {
|
|
2801
|
+
if ("string" === typeof input.itemSchema)
|
|
2802
|
+
return __typia_transform__jsonStringifyString._jsonStringifyString(input.itemSchema);
|
|
2803
|
+
if (Array.isArray(input.itemSchema))
|
|
2804
|
+
return `[${input.itemSchema.map(elem => undefined !== elem ? JSON.stringify(elem) : "null").join(",")}]`;
|
|
2805
|
+
if ("object" === typeof input.itemSchema && null !== input.itemSchema && false === Array.isArray(input.itemSchema))
|
|
2806
|
+
return _su2(input.itemSchema);
|
|
2807
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2808
|
+
method: "typia.json.stringify",
|
|
2809
|
+
expected: "(Array<any> | __type.o21 | __type.o24 | string | undefined)",
|
|
2810
|
+
value: input.itemSchema
|
|
2811
|
+
});
|
|
2812
|
+
})() : undefined}`}`)}}`; const _so44 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.version ? "" : `"version":${undefined !== input.version ? "\"" + input.version + "\"" : undefined},`}${undefined === input.encoding ? "" : `"encoding":${undefined !== input.encoding ? __typia_transform__jsonStringifyString._jsonStringifyString(input.encoding) : undefined},`}${undefined === input.standalone ? "" : `"standalone":${undefined !== input.standalone ? String(input.standalone) : undefined},`}${undefined === input.keepNullNodes ? "" : `"keepNullNodes":${undefined !== input.keepNullNodes ? String(input.keepNullNodes) : undefined},`}${undefined === input.keepNullAttributes ? "" : `"keepNullAttributes":${undefined !== input.keepNullAttributes ? String(input.keepNullAttributes) : undefined},`}${undefined === input.ignoreConverters ? "" : `"ignoreConverters":${undefined !== input.ignoreConverters ? String(input.ignoreConverters) : undefined},`}${undefined === input.skipWhitespaceOnlyText ? "" : `"skipWhitespaceOnlyText":${undefined !== input.skipWhitespaceOnlyText ? String(input.skipWhitespaceOnlyText) : undefined},`}${undefined === input.convert ? "" : `"convert":${undefined !== input.convert ? _so45(input.convert) : undefined},`}${undefined === input.defaultNamespace ? "" : `"defaultNamespace":${undefined !== input.defaultNamespace ? _so46(input.defaultNamespace) : undefined},`}${undefined === input.namespaceAlias ? "" : `"namespaceAlias":${undefined !== input.namespaceAlias ? _so47(input.namespaceAlias) : undefined},`}${undefined === input.invalidCharReplacement || "function" === typeof input.invalidCharReplacement ? "" : `"invalidCharReplacement":${undefined !== input.invalidCharReplacement ? (() => {
|
|
2813
|
+
if ("function" === typeof input.invalidCharReplacement)
|
|
2814
|
+
return undefined;
|
|
2815
|
+
if ("string" === typeof input.invalidCharReplacement)
|
|
2816
|
+
return __typia_transform__jsonStringifyString._jsonStringifyString(input.invalidCharReplacement);
|
|
2817
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2818
|
+
method: "typia.json.stringify",
|
|
2819
|
+
expected: "(string | undefined)",
|
|
2820
|
+
value: input.invalidCharReplacement
|
|
2821
|
+
});
|
|
2822
|
+
})() : undefined},`}${undefined === input.parser || "function" === typeof input.parser ? "" : `"parser":${undefined !== input.parser ? JSON.stringify(input.parser) : undefined},`}${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
2823
|
+
return ""; if (["version", "encoding", "standalone", "keepNullNodes", "keepNullAttributes", "ignoreConverters", "skipWhitespaceOnlyText", "convert", "defaultNamespace", "namespaceAlias", "invalidCharReplacement", "parser"].some(regular => regular === key))
|
|
2824
|
+
return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}`)}}`; const _so45 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.att ? "" : `"att":${undefined !== input.att ? __typia_transform__jsonStringifyString._jsonStringifyString(input.att) : undefined},`}${undefined === input.ins ? "" : `"ins":${undefined !== input.ins ? __typia_transform__jsonStringifyString._jsonStringifyString(input.ins) : undefined},`}${undefined === input.text ? "" : `"text":${undefined !== input.text ? __typia_transform__jsonStringifyString._jsonStringifyString(input.text) : undefined},`}${undefined === input.cdata ? "" : `"cdata":${undefined !== input.cdata ? __typia_transform__jsonStringifyString._jsonStringifyString(input.cdata) : undefined},`}${undefined === input.comment ? "" : `"comment":${undefined !== input.comment ? __typia_transform__jsonStringifyString._jsonStringifyString(input.comment) : undefined}`}`)}}`; const _so46 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.ele ? "" : `"ele":${undefined !== input.ele ? null !== input.ele ? __typia_transform__jsonStringifyString._jsonStringifyString(input.ele) : "null" : undefined},`}${undefined === input.att ? "" : `"att":${undefined !== input.att ? null !== input.att ? __typia_transform__jsonStringifyString._jsonStringifyString(input.att) : "null" : undefined}`}`)}}`; const _so47 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
2825
|
+
return ""; return `${JSON.stringify(key)}:${undefined !== value ? null !== value ? __typia_transform__jsonStringifyString._jsonStringifyString(value) : "null" : undefined}`; }).filter(str => "" !== str).join(",")}}`; const _so48 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.wellFormed ? "" : `"wellFormed":${undefined !== input.wellFormed ? String(input.wellFormed) : undefined},`}${undefined === input.format ? "" : `"format":${undefined !== input.format ? "\"" + input.format + "\"" : undefined},`}${undefined === input.headless ? "" : `"headless":${undefined !== input.headless ? String(input.headless) : undefined},`}${undefined === input.prettyPrint ? "" : `"prettyPrint":${undefined !== input.prettyPrint ? String(input.prettyPrint) : undefined},`}${undefined === input.indent ? "" : `"indent":${undefined !== input.indent ? __typia_transform__jsonStringifyString._jsonStringifyString(input.indent) : undefined},`}${undefined === input.newline ? "" : `"newline":${undefined !== input.newline ? __typia_transform__jsonStringifyString._jsonStringifyString(input.newline) : undefined},`}${undefined === input.offset ? "" : `"offset":${undefined !== input.offset ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.offset)) : undefined},`}${undefined === input.width ? "" : `"width":${undefined !== input.width ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.width)) : undefined},`}${undefined === input.allowEmptyTags ? "" : `"allowEmptyTags":${undefined !== input.allowEmptyTags ? String(input.allowEmptyTags) : undefined},`}${undefined === input.indentTextOnlyNodes ? "" : `"indentTextOnlyNodes":${undefined !== input.indentTextOnlyNodes ? String(input.indentTextOnlyNodes) : undefined},`}${undefined === input.spaceBeforeSlash ? "" : `"spaceBeforeSlash":${undefined !== input.spaceBeforeSlash ? String(input.spaceBeforeSlash) : undefined}`}`)}}`; const _so49 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
2826
|
+
return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}}`; const _so50 = input => `{"__context":${_so51(input.__context)},"__returnValue":${(() => {
|
|
2827
|
+
if (Array.isArray(input.__returnValue))
|
|
2828
|
+
return `[${input.__returnValue.map(elem => undefined !== elem ? JSON.stringify(elem) : "null").join(",")}]`;
|
|
2829
|
+
if ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue))
|
|
2830
|
+
return _so49(input.__returnValue);
|
|
2831
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2832
|
+
method: "typia.json.stringify",
|
|
2833
|
+
expected: "(Array<any> | __type.o21)",
|
|
2834
|
+
value: input.__returnValue
|
|
2835
|
+
});
|
|
2836
|
+
})()}}`; const _so51 = input => `{"publishId":${__typia_transform__jsonStringifyString._jsonStringifyString(input.publishId)},"items":${`[${input.items.map(elem => undefined !== elem ? JSON.stringify(elem) : "null").join(",")}]`}}`; const _so52 = input => `{"__context":${_so53(input.__context)},"__returnValue":${(() => {
|
|
2837
|
+
if (Array.isArray(input.__returnValue))
|
|
2838
|
+
return `[${input.__returnValue.map(elem => undefined !== elem ? JSON.stringify(elem) : "null").join(",")}]`;
|
|
2839
|
+
if ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue))
|
|
2840
|
+
return _so49(input.__returnValue);
|
|
2841
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2842
|
+
method: "typia.json.stringify",
|
|
2843
|
+
expected: "(Array<any> | __type.o21)",
|
|
2844
|
+
value: input.__returnValue
|
|
2845
|
+
});
|
|
2846
|
+
})()}}`; const _so53 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
2847
|
+
return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}}`; const _so54 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.type ? "" : `"type":${undefined !== input.type ? "\"" + input.type + "\"" : undefined},`}${undefined === input.draft ? "" : `"draft":${undefined !== input.draft ? _so55(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 ? _so24(input.error) : "null" : undefined},`}${undefined === input.messages ? "" : `"messages":${undefined !== input.messages ? `[${input.messages.map(elem => _so25(elem)).join(",")}]` : undefined}`}`)}}`; const _so55 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.snippet ? "" : `"snippet":${undefined !== input.snippet ? _so56(input.snippet) : undefined}`}`)}}`; const _so56 = 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 => (() => {
|
|
2624
2848
|
if (undefined !== input.path)
|
|
2625
2849
|
return _so29(input);
|
|
2626
2850
|
else if (undefined !== input.__context)
|
|
@@ -2632,6 +2856,16 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
2632
2856
|
value: input
|
|
2633
2857
|
});
|
|
2634
2858
|
})(); const _su1 = input => (() => {
|
|
2859
|
+
if (undefined !== input.__context)
|
|
2860
|
+
return _so50(input);
|
|
2861
|
+
else
|
|
2862
|
+
return _so49(input);
|
|
2863
|
+
})(); const _su2 = input => (() => {
|
|
2864
|
+
if (undefined !== input.__context)
|
|
2865
|
+
return _so52(input);
|
|
2866
|
+
else
|
|
2867
|
+
return _so49(input);
|
|
2868
|
+
})(); const _su3 = input => (() => {
|
|
2635
2869
|
if (_io0(input))
|
|
2636
2870
|
return _so0(input);
|
|
2637
2871
|
if (_io26(input))
|
|
@@ -2642,12 +2876,14 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
2642
2876
|
return _so27(input);
|
|
2643
2877
|
if (_io41(input))
|
|
2644
2878
|
return _so41(input);
|
|
2879
|
+
if (_io54(input))
|
|
2880
|
+
return _so54(input);
|
|
2645
2881
|
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2646
2882
|
method: "typia.json.stringify",
|
|
2647
|
-
expected: "(EmptyPublishRecord | FacebookPublishRecord | FilePublishRecordLegacy | FilePublishRecord | YoutubePublishRecord)",
|
|
2883
|
+
expected: "(EmptyPublishRecord | FacebookPublishRecord | FilePublishRecordLegacy | FilePublishRecord | ReportPublishRecord | YoutubePublishRecord)",
|
|
2648
2884
|
value: input
|
|
2649
2885
|
});
|
|
2650
|
-
})(); 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 && _io24(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io25(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 && _io17(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) && _io15(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) && _io16(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 => {
|
|
2886
|
+
})(); 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 && _io24(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io25(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 && _io17(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) && _io15(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) && _io16(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) && (undefined === input.timecode || "number" === typeof input.timecode) && (undefined === input.timezone || "string" === typeof input.timezone); 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 => {
|
|
2651
2887
|
const value = input[key];
|
|
2652
2888
|
if (undefined === value)
|
|
2653
2889
|
return true;
|
|
@@ -2669,14 +2905,46 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
2669
2905
|
if (undefined === value)
|
|
2670
2906
|
return true;
|
|
2671
2907
|
return true;
|
|
2672
|
-
}); const _io39 = input => "string" === typeof input.path; const _io40 = input => "string" === typeof input.path; const _io41 = input => (undefined === input.type || "
|
|
2908
|
+
}); const _io39 = input => "string" === typeof input.path; const _io40 = input => "string" === typeof input.path; const _io41 = input => (undefined === input.type || "report" === input.type) && (undefined === input.searchId || "string" === typeof input.searchId) && (undefined === input.expand || "object" === typeof input.expand && null !== input.expand && false === Array.isArray(input.expand) && _io42(input.expand)) && (undefined === input.panel || "string" === typeof input.panel) && (undefined === input.route || "string" === typeof input.route) && (undefined === input.sort || "string" === typeof input.sort) && (undefined === input.order || "asc" === input.order || "desc" === input.order) && (undefined === input.format || "rss" === input.format || "json" === input.format || "xml" === input.format || "csv" === input.format) && (undefined === input.xml || "object" === typeof input.xml && null !== input.xml && false === Array.isArray(input.xml) && _io43(input.xml)) && (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 && _io24(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io25(elem))); const _io42 = input => (undefined === input.type || "" === input.type || "deadlines" === input.type || "published" === input.type || "recurrence_date_range" === input.type) && (undefined === input.start || "string" === typeof input.start) && (undefined === input.end || "string" === typeof input.end); const _io43 = input => (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io44(input.options)) && (undefined === input.formatterOptions || "object" === typeof input.formatterOptions && null !== input.formatterOptions && false === Array.isArray(input.formatterOptions) && _io48(input.formatterOptions)) && (null !== input.rootSchema && (undefined === input.rootSchema || "string" === typeof input.rootSchema || (Array.isArray(input.rootSchema) || "object" === typeof input.rootSchema && null !== input.rootSchema && false === Array.isArray(input.rootSchema) && _iu1(input.rootSchema)))) && (null !== input.itemSchema && (undefined === input.itemSchema || "string" === typeof input.itemSchema || (Array.isArray(input.itemSchema) || "object" === typeof input.itemSchema && null !== input.itemSchema && false === Array.isArray(input.itemSchema) && _iu2(input.itemSchema)))); const _io44 = input => (undefined === input.version || "1.0" === input.version) && (undefined === input.encoding || "string" === typeof input.encoding) && (undefined === input.standalone || "boolean" === typeof input.standalone) && (undefined === input.keepNullNodes || "boolean" === typeof input.keepNullNodes) && (undefined === input.keepNullAttributes || "boolean" === typeof input.keepNullAttributes) && (undefined === input.ignoreConverters || "boolean" === typeof input.ignoreConverters) && (undefined === input.skipWhitespaceOnlyText || "boolean" === typeof input.skipWhitespaceOnlyText) && (undefined === input.convert || "object" === typeof input.convert && null !== input.convert && false === Array.isArray(input.convert) && _io45(input.convert)) && (undefined === input.defaultNamespace || "object" === typeof input.defaultNamespace && null !== input.defaultNamespace && false === Array.isArray(input.defaultNamespace) && _io46(input.defaultNamespace)) && (undefined === input.namespaceAlias || "object" === typeof input.namespaceAlias && null !== input.namespaceAlias && false === Array.isArray(input.namespaceAlias) && _io47(input.namespaceAlias)) && (null !== input.invalidCharReplacement && (undefined === input.invalidCharReplacement || "function" === typeof input.invalidCharReplacement || "string" === typeof input.invalidCharReplacement)) && true && Object.keys(input).every(key => {
|
|
2909
|
+
if (["version", "encoding", "standalone", "keepNullNodes", "keepNullAttributes", "ignoreConverters", "skipWhitespaceOnlyText", "convert", "defaultNamespace", "namespaceAlias", "invalidCharReplacement", "parser"].some(prop => key === prop))
|
|
2910
|
+
return true;
|
|
2911
|
+
const value = input[key];
|
|
2912
|
+
if (undefined === value)
|
|
2913
|
+
return true;
|
|
2914
|
+
return true;
|
|
2915
|
+
}); const _io45 = input => (undefined === input.att || "string" === typeof input.att) && (undefined === input.ins || "string" === typeof input.ins) && (undefined === input.text || "string" === typeof input.text) && (undefined === input.cdata || "string" === typeof input.cdata) && (undefined === input.comment || "string" === typeof input.comment); const _io46 = input => (null === input.ele || undefined === input.ele || "string" === typeof input.ele) && (null === input.att || undefined === input.att || "string" === typeof input.att); const _io47 = input => Object.keys(input).every(key => {
|
|
2916
|
+
const value = input[key];
|
|
2917
|
+
if (undefined === value)
|
|
2918
|
+
return true;
|
|
2919
|
+
return null === value || undefined === value || "string" === typeof value;
|
|
2920
|
+
}); const _io48 = input => (undefined === input.wellFormed || "boolean" === typeof input.wellFormed) && (undefined === input.format || "xml" === input.format) && (undefined === input.headless || "boolean" === typeof input.headless) && (undefined === input.prettyPrint || "boolean" === typeof input.prettyPrint) && (undefined === input.indent || "string" === typeof input.indent) && (undefined === input.newline || "string" === typeof input.newline) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.width || "number" === typeof input.width) && (undefined === input.allowEmptyTags || "boolean" === typeof input.allowEmptyTags) && (undefined === input.indentTextOnlyNodes || "boolean" === typeof input.indentTextOnlyNodes) && (undefined === input.spaceBeforeSlash || "boolean" === typeof input.spaceBeforeSlash); const _io49 = input => Object.keys(input).every(key => {
|
|
2921
|
+
const value = input[key];
|
|
2922
|
+
if (undefined === value)
|
|
2923
|
+
return true;
|
|
2924
|
+
return true;
|
|
2925
|
+
}); const _io50 = input => "object" === typeof input.__context && null !== input.__context && _io51(input.__context) && (null !== input.__returnValue && undefined !== input.__returnValue && (Array.isArray(input.__returnValue) || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io49(input.__returnValue))); const _io51 = input => "string" === typeof input.publishId && Array.isArray(input.items); const _io52 = input => "object" === typeof input.__context && null !== input.__context && false === Array.isArray(input.__context) && _io53(input.__context) && (null !== input.__returnValue && undefined !== input.__returnValue && (Array.isArray(input.__returnValue) || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io49(input.__returnValue))); const _io53 = input => Object.keys(input).every(key => {
|
|
2926
|
+
const value = input[key];
|
|
2927
|
+
if (undefined === value)
|
|
2928
|
+
return true;
|
|
2929
|
+
return true;
|
|
2930
|
+
}); const _io54 = input => (undefined === input.type || "youtube" === input.type) && (undefined === input.draft || "object" === typeof input.draft && null !== input.draft && false === Array.isArray(input.draft) && _io55(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 && _io24(input.error)) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io25(elem))); const _io55 = input => undefined === input.snippet || "object" === typeof input.snippet && null !== input.snippet && false === Array.isArray(input.snippet) && _io56(input.snippet); const _io56 = 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 => (() => {
|
|
2673
2931
|
if (undefined !== input.path)
|
|
2674
2932
|
return _io29(input);
|
|
2675
2933
|
else if (undefined !== input.__context)
|
|
2676
2934
|
return _io30(input);
|
|
2677
2935
|
else
|
|
2678
2936
|
return false;
|
|
2679
|
-
})();
|
|
2937
|
+
})(); const _iu1 = input => (() => {
|
|
2938
|
+
if (undefined !== input.__context)
|
|
2939
|
+
return _io50(input);
|
|
2940
|
+
else
|
|
2941
|
+
return _io49(input);
|
|
2942
|
+
})(); const _iu2 = input => (() => {
|
|
2943
|
+
if (undefined !== input.__context)
|
|
2944
|
+
return _io52(input);
|
|
2945
|
+
else
|
|
2946
|
+
return _io49(input);
|
|
2947
|
+
})(); return input => _su3(input); })()(input);
|
|
2680
2948
|
}
|
|
2681
2949
|
case ":publish.stats?": {
|
|
2682
2950
|
return (() => { const _so0 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.status ? "" : `"status":${undefined !== input.status ? __typia_transform__jsonStringifyString._jsonStringifyString(input.status) : undefined},`}${undefined === input.substatus ? "" : `"substatus":${undefined !== input.substatus ? __typia_transform__jsonStringifyString._jsonStringifyString(input.substatus) : undefined},`}${undefined === input.messages ? "" : `"messages":${undefined !== input.messages ? `[${input.messages.map(elem => _so1(elem)).join(",")}]` : undefined},`}${undefined === input.retrieved || "function" === typeof input.retrieved ? "" : `"retrieved":${undefined !== input.retrieved ? JSON.stringify(input.retrieved) : undefined},`}${undefined === input.defaults || "function" === typeof input.defaults ? "" : `"defaults":${undefined !== input.defaults ? JSON.stringify(input.defaults) : undefined}`}`)}}`; const _so1 = input => `{"level":${String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.level))},"code":${__typia_transform__jsonStringifyString._jsonStringifyString(input.code)},"msg":${__typia_transform__jsonStringifyString._jsonStringifyString(input.msg)}}`; const _so2 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.retrieved ? "" : `"retrieved":${undefined !== input.retrieved ? _so3(input.retrieved) : undefined},`}${undefined === input.defaults ? "" : `"defaults":${undefined !== input.defaults ? _so6(input.defaults) : undefined},`}${undefined === input.status ? "" : `"status":${undefined !== input.status ? __typia_transform__jsonStringifyString._jsonStringifyString(input.status) : undefined},`}${undefined === input.substatus ? "" : `"substatus":${undefined !== input.substatus ? __typia_transform__jsonStringifyString._jsonStringifyString(input.substatus) : undefined},`}${undefined === input.messages ? "" : `"messages":${undefined !== input.messages ? `[${input.messages.map(elem => _so1(elem)).join(",")}]` : undefined}`}`)}}`; const _so3 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.filename ? "" : `"filename":${undefined !== input.filename ? __typia_transform__jsonStringifyString._jsonStringifyString(input.filename) : undefined},`}${undefined === input.directory ? "" : `"directory":${undefined !== input.directory ? __typia_transform__jsonStringifyString._jsonStringifyString(input.directory) : undefined},`}${undefined === input.renders ? "" : `"renders":${undefined !== input.renders ? _so4(input.renders) : undefined}`}`)}}`; const _so4 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
@@ -2711,7 +2979,7 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
2711
2979
|
expected: "(\"straight\" | boolean | null | undefined)",
|
|
2712
2980
|
value: input.alpha
|
|
2713
2981
|
});
|
|
2714
|
-
})() : "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 ? (() => {
|
|
2982
|
+
})() : "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},`}${undefined === input.timecode ? "" : `"timecode":${undefined !== input.timecode ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.timecode)) : undefined},`}${undefined === input.timezone ? "" : `"timezone":${undefined !== input.timezone ? __typia_transform__jsonStringifyString._jsonStringifyString(input.timezone) : undefined}`}`)}}`; const _so11 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.alpha ? "" : `"alpha":${undefined !== input.alpha ? null !== input.alpha ? (() => {
|
|
2715
2983
|
if ("string" === typeof input.alpha)
|
|
2716
2984
|
return "\"" + input.alpha + "\"";
|
|
2717
2985
|
if ("boolean" === typeof input.alpha)
|
|
@@ -2763,7 +3031,7 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
2763
3031
|
value: input.subtitle
|
|
2764
3032
|
});
|
|
2765
3033
|
})() : undefined},`}"format":${__typia_transform__jsonStringifyString._jsonStringifyString(input.format)}}`; const _so25 = input => `{"engine":${__typia_transform__jsonStringifyString._jsonStringifyString(input.engine)}}`; const _so26 = input => `{"language":${__typia_transform__jsonStringifyString._jsonStringifyString(input.language)}}`; const _so27 = 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 ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.samplerate)) : undefined},`}${undefined === input.split ? "" : `"split":${undefined !== input.split ? String(input.split) : undefined}`}`)}}`; const _so28 = 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 ? _so29(input.ccconverter) : undefined},`}${undefined === input.ass ? "" : `"ass":${undefined !== input.ass ? _so30(input.ass) : undefined}`}`)}}`; const _so29 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? __typia_transform__jsonStringifyString._jsonStringifyString(input.preset) : undefined}`}`)}}`; const _so30 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.futureWordWrapping ? "" : `"futureWordWrapping":${undefined !== input.futureWordWrapping ? String(input.futureWordWrapping) : undefined},`}${undefined === input.scaledBorderAndShadow ? "" : `"scaledBorderAndShadow":${undefined !== input.scaledBorderAndShadow ? String(input.scaledBorderAndShadow) : undefined},`}${undefined === input.enableUnsafeLineSpacingHack ? "" : `"enableUnsafeLineSpacingHack":${undefined !== input.enableUnsafeLineSpacingHack ? String(input.enableUnsafeLineSpacingHack) : undefined}`}`)}}`; const _so31 = input => `{"__context":${_so32(input.__context)},"__returnValue":${_so8(input.__returnValue)}}`; const _so32 = input => `{"publish":${_so33(input.publish)},"directory":${__typia_transform__jsonStringifyString._jsonStringifyString(input.directory)},"name":${__typia_transform__jsonStringifyString._jsonStringifyString(input.name)}}`; const _so33 = 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 ? _so34(input.draft) : undefined},`}${undefined === input.remote ? "" : `"remote":${undefined !== input.remote ? _so35(input.remote) : undefined},`}${undefined === input.published ? "" : `"published":${undefined !== input.published ? _so38(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 ? _so39(input.render) : undefined},`}${undefined === input.error ? "" : `"error":${undefined !== input.error ? null !== input.error ? _so40(input.error) : "null" : undefined},`}${undefined === input.messages ? "" : `"messages":${undefined !== input.messages ? `[${input.messages.map(elem => _so1(elem)).join(",")}]` : 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}`}`)}}`; const _so35 = 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 ? _so36(input.renders) : undefined}`}`)}}`; const _so36 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
2766
|
-
return ""; return `${JSON.stringify(key)}:${_so37(value)}`; }).filter(str => "" !== str).join(",")}}`; const _so37 = 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 ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(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 _so38 = input => `{${undefined === input.directory ? "" : `"directory":${undefined !== input.directory ? __typia_transform__jsonStringifyString._jsonStringifyString(input.directory) : undefined},`}"filename":${__typia_transform__jsonStringifyString._jsonStringifyString(input.filename)}}`; const _so39 = 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 ? _so24(input.profile) : undefined},`}"type":${__typia_transform__jsonStringifyString._jsonStringifyString(input.type)}}`; const _so40 = input => `{"method":${__typia_transform__jsonStringifyString._jsonStringifyString(input.method)}}`; const _su0 = input => (() => {
|
|
3034
|
+
return ""; return `${JSON.stringify(key)}:${_so37(value)}`; }).filter(str => "" !== str).join(",")}}`; const _so37 = 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 ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(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 _so38 = input => `{${undefined === input.directory ? "" : `"directory":${undefined !== input.directory ? __typia_transform__jsonStringifyString._jsonStringifyString(input.directory) : undefined},`}"filename":${__typia_transform__jsonStringifyString._jsonStringifyString(input.filename)}}`; const _so39 = 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 ? _so24(input.profile) : undefined},`}"type":${__typia_transform__jsonStringifyString._jsonStringifyString(input.type)}}`; const _so40 = input => `{"method":${__typia_transform__jsonStringifyString._jsonStringifyString(input.method)}}`; const _so41 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.retrieved ? "" : `"retrieved":${undefined !== input.retrieved ? _so42(input.retrieved) : undefined},`}${undefined === input.status ? "" : `"status":${undefined !== input.status ? __typia_transform__jsonStringifyString._jsonStringifyString(input.status) : undefined},`}${undefined === input.substatus ? "" : `"substatus":${undefined !== input.substatus ? __typia_transform__jsonStringifyString._jsonStringifyString(input.substatus) : undefined},`}${undefined === input.messages ? "" : `"messages":${undefined !== input.messages ? `[${input.messages.map(elem => _so1(elem)).join(",")}]` : undefined},`}${undefined === input.defaults || "function" === typeof input.defaults ? "" : `"defaults":${undefined !== input.defaults ? JSON.stringify(input.defaults) : undefined}`}`)}}`; const _so42 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.total ? "" : `"total":${undefined !== input.total ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.total)) : undefined},`}${undefined === input.count ? "" : `"count":${undefined !== input.count ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.count)) : undefined}`}`)}}`; const _su0 = input => (() => {
|
|
2767
3035
|
if (undefined !== input.path)
|
|
2768
3036
|
return _so8(input);
|
|
2769
3037
|
else if (undefined !== input.__context)
|
|
@@ -2775,13 +3043,15 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
2775
3043
|
value: input
|
|
2776
3044
|
});
|
|
2777
3045
|
})(); const _su1 = input => (() => {
|
|
3046
|
+
if (_io41(input))
|
|
3047
|
+
return _so41(input);
|
|
2778
3048
|
if (_io2(input))
|
|
2779
3049
|
return _so2(input);
|
|
2780
3050
|
if (_io0(input))
|
|
2781
3051
|
return _so0(input);
|
|
2782
3052
|
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
2783
3053
|
method: "typia.json.stringify",
|
|
2784
|
-
expected: "(FilePublishStatsRecord | PublishStatsRecordBase)",
|
|
3054
|
+
expected: "(ReportPublishStatsRecord | FilePublishStatsRecord | PublishStatsRecordBase)",
|
|
2785
3055
|
value: input
|
|
2786
3056
|
});
|
|
2787
3057
|
})(); const _io0 = input => (undefined === input.status || "string" === typeof input.status) && (undefined === input.substatus || "string" === typeof input.substatus) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io1(elem))) && true && true; const _io1 = input => "number" === typeof input.level && "string" === typeof input.code && "string" === typeof input.msg; const _io2 = input => (undefined === input.retrieved || "object" === typeof input.retrieved && null !== input.retrieved && false === Array.isArray(input.retrieved) && _io3(input.retrieved)) && (undefined === input.defaults || "object" === typeof input.defaults && null !== input.defaults && _io6(input.defaults)) && (undefined === input.status || "string" === typeof input.status) && (undefined === input.substatus || "string" === typeof input.substatus) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io3 = input => (undefined === input.filename || "string" === typeof input.filename) && (undefined === input.directory || "string" === typeof input.directory) && (undefined === input.renders || "object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && _io4(input.renders)); const _io4 = input => Object.keys(input).every(key => {
|
|
@@ -2794,7 +3064,7 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
2794
3064
|
if (undefined === value)
|
|
2795
3065
|
return true;
|
|
2796
3066
|
return null !== value && undefined !== value && ("string" === typeof value || "object" === typeof value && null !== value && _iu0(value));
|
|
2797
|
-
}); 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 && _io24(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) && _io22(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) && _io23(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 => {
|
|
3067
|
+
}); 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 && _io24(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) && _io22(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) && _io23(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) && (undefined === input.timecode || "number" === typeof input.timecode) && (undefined === input.timezone || "string" === typeof input.timezone); 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 => {
|
|
2798
3068
|
const value = input[key];
|
|
2799
3069
|
if (undefined === value)
|
|
2800
3070
|
return true;
|
|
@@ -2804,7 +3074,7 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
2804
3074
|
if (undefined === value)
|
|
2805
3075
|
return true;
|
|
2806
3076
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io37(value);
|
|
2807
|
-
}); const _io37 = 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 _io38 = input => (undefined === input.directory || "string" === typeof input.directory) && "string" === typeof input.filename; const _io39 = 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 && _io24(input.profile)); const _io40 = input => "string" === typeof input.method; const _iu0 = input => (() => {
|
|
3077
|
+
}); const _io37 = 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 _io38 = input => (undefined === input.directory || "string" === typeof input.directory) && "string" === typeof input.filename; const _io39 = 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 && _io24(input.profile)); const _io40 = input => "string" === typeof input.method; const _io41 = input => (undefined === input.retrieved || "object" === typeof input.retrieved && null !== input.retrieved && false === Array.isArray(input.retrieved) && _io42(input.retrieved)) && (undefined === input.status || "string" === typeof input.status) && (undefined === input.substatus || "string" === typeof input.substatus) && (undefined === input.messages || Array.isArray(input.messages) && input.messages.every(elem => "object" === typeof elem && null !== elem && _io1(elem))) && true; const _io42 = input => (undefined === input.total || "number" === typeof input.total) && (undefined === input.count || "number" === typeof input.count); const _iu0 = input => (() => {
|
|
2808
3078
|
if (undefined !== input.path)
|
|
2809
3079
|
return _io8(input);
|
|
2810
3080
|
else if (undefined !== input.__context)
|
|
@@ -2879,7 +3149,7 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
2879
3149
|
expected: "(Array<string> | null | string | undefined)",
|
|
2880
3150
|
value: input.status
|
|
2881
3151
|
});
|
|
2882
|
-
})() : "null" : undefined},`}${undefined === input.lag ? "" : `"lag":${undefined !== input.lag ? null !== input.lag ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.lag)) : "null" : undefined},`}${undefined === input.available ? "" : `"available":${undefined !== input.available ? null !== input.available ? String(input.available) : "null" : undefined},`}${undefined === input.toobusy ? "" : `"toobusy":${undefined !== input.toobusy ? null !== input.toobusy ? String(input.toobusy) : "null" : undefined},`}${undefined === input.cpuAvailable ? "" : `"cpuAvailable":${undefined !== input.cpuAvailable ? null !== input.cpuAvailable ? String(input.cpuAvailable) : "null" : undefined},`}${undefined === input.cpuComputeAvailable ? "" : `"cpuComputeAvailable":${undefined !== input.cpuComputeAvailable ? null !== input.cpuComputeAvailable ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.cpuComputeAvailable)) : "null" : undefined},`}${undefined === input.cpuComputeReservation ? "" : `"cpuComputeReservation":${undefined !== input.cpuComputeReservation ? null !== input.cpuComputeReservation ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.cpuComputeReservation)) : "null" : undefined},`}${undefined === input.cpuCompute ? "" : `"cpuCompute":${undefined !== input.cpuCompute ? null !== input.cpuCompute ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.cpuCompute)) : "null" : undefined},`}${undefined === input.cpuComputeLimit ? "" : `"cpuComputeLimit":${undefined !== input.cpuComputeLimit ? null !== input.cpuComputeLimit ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.cpuComputeLimit)) : "null" : undefined},`}${undefined === input.cpuComputeTotal ? "" : `"cpuComputeTotal":${undefined !== input.cpuComputeTotal ? null !== input.cpuComputeTotal ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.cpuComputeTotal)) : "null" : undefined},`}${undefined === input.cpuComputeValue ? "" : `"cpuComputeValue":${undefined !== input.cpuComputeValue ? null !== input.cpuComputeValue ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.cpuComputeValue)) : "null" : undefined},`}${undefined === input.cpuMemoryAvailable ? "" : `"cpuMemoryAvailable":${undefined !== input.cpuMemoryAvailable ? null !== input.cpuMemoryAvailable ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.cpuMemoryAvailable)) : "null" : undefined},`}${undefined === input.cpuMemoryReservation ? "" : `"cpuMemoryReservation":${undefined !== input.cpuMemoryReservation ? null !== input.cpuMemoryReservation ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.cpuMemoryReservation)) : "null" : undefined},`}${undefined === input.cpuMemory ? "" : `"cpuMemory":${undefined !== input.cpuMemory ? null !== input.cpuMemory ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.cpuMemory)) : "null" : undefined},`}${undefined === input.cpuMemoryLimit ? "" : `"cpuMemoryLimit":${undefined !== input.cpuMemoryLimit ? null !== input.cpuMemoryLimit ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.cpuMemoryLimit)) : "null" : undefined},`}${undefined === input.cpuMemoryValue ? "" : `"cpuMemoryValue":${undefined !== input.cpuMemoryValue ? null !== input.cpuMemoryValue ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.cpuMemoryValue)) : "null" : undefined},`}${undefined === input.cpuMemoryTotal ? "" : `"cpuMemoryTotal":${undefined !== input.cpuMemoryTotal ? null !== input.cpuMemoryTotal ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(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 ? String(input.gpuAvailable) : "null" : undefined},`}${undefined === input.gpuComputeAvailable ? "" : `"gpuComputeAvailable":${undefined !== input.gpuComputeAvailable ? null !== input.gpuComputeAvailable ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gpuComputeAvailable)) : "null" : undefined},`}${undefined === input.gpuComputeReservation ? "" : `"gpuComputeReservation":${undefined !== input.gpuComputeReservation ? null !== input.gpuComputeReservation ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gpuComputeReservation)) : "null" : undefined},`}${undefined === input.gpuCompute ? "" : `"gpuCompute":${undefined !== input.gpuCompute ? null !== input.gpuCompute ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gpuCompute)) : "null" : undefined},`}${undefined === input.gpuComputeLimit ? "" : `"gpuComputeLimit":${undefined !== input.gpuComputeLimit ? null !== input.gpuComputeLimit ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gpuComputeLimit)) : "null" : undefined},`}${undefined === input.gpuComputeValue ? "" : `"gpuComputeValue":${undefined !== input.gpuComputeValue ? null !== input.gpuComputeValue ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gpuComputeValue)) : "null" : undefined},`}${undefined === input.gpuComputeTotal ? "" : `"gpuComputeTotal":${undefined !== input.gpuComputeTotal ? null !== input.gpuComputeTotal ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gpuComputeTotal)) : "null" : undefined},`}${undefined === input.gpuMemoryAvailable ? "" : `"gpuMemoryAvailable":${undefined !== input.gpuMemoryAvailable ? null !== input.gpuMemoryAvailable ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gpuMemoryAvailable)) : "null" : undefined},`}${undefined === input.gpuMemoryReservation ? "" : `"gpuMemoryReservation":${undefined !== input.gpuMemoryReservation ? null !== input.gpuMemoryReservation ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gpuMemoryReservation)) : "null" : undefined},`}${undefined === input.gpuMemory ? "" : `"gpuMemory":${undefined !== input.gpuMemory ? null !== input.gpuMemory ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gpuMemory)) : "null" : undefined},`}${undefined === input.gpuMemoryLimit ? "" : `"gpuMemoryLimit":${undefined !== input.gpuMemoryLimit ? null !== input.gpuMemoryLimit ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gpuMemoryLimit)) : "null" : undefined},`}${undefined === input.gpuMemoryValue ? "" : `"gpuMemoryValue":${undefined !== input.gpuMemoryValue ? null !== input.gpuMemoryValue ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gpuMemoryValue)) : "null" : undefined},`}${undefined === input.gpuMemoryTotal ? "" : `"gpuMemoryTotal":${undefined !== input.gpuMemoryTotal ? null !== input.gpuMemoryTotal ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gpuMemoryTotal)) : "null" : undefined},`}${undefined === input.gpuQueueAvailable ? "" : `"gpuQueueAvailable":${undefined !== input.gpuQueueAvailable ? null !== input.gpuQueueAvailable ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gpuQueueAvailable)) : "null" : undefined},`}${undefined === input.gpuQueueReservation ? "" : `"gpuQueueReservation":${undefined !== input.gpuQueueReservation ? null !== input.gpuQueueReservation ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gpuQueueReservation)) : "null" : undefined},`}${undefined === input.gpuQueueLimit ? "" : `"gpuQueueLimit":${undefined !== input.gpuQueueLimit ? null !== input.gpuQueueLimit ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gpuQueueLimit)) : "null" : undefined},`}${undefined === input.gpuQueueValue ? "" : `"gpuQueueValue":${undefined !== input.gpuQueueValue ? null !== input.gpuQueueValue ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gpuQueueValue)) : "null" : undefined},`}${undefined === input.gpuQueueTotal ? "" : `"gpuQueueTotal":${undefined !== input.gpuQueueTotal ? null !== input.gpuQueueTotal ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gpuQueueTotal)) : "null" : undefined},`}${undefined === input.gpuEncoder ? "" : `"gpuEncoder":${undefined !== input.gpuEncoder ? null !== input.gpuEncoder ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gpuEncoder)) : "null" : undefined},`}${undefined === input.gpuEncoderLimit ? "" : `"gpuEncoderLimit":${undefined !== input.gpuEncoderLimit ? null !== input.gpuEncoderLimit ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gpuEncoderLimit)) : "null" : undefined},`}${undefined === input.gpuEncoderValue ? "" : `"gpuEncoderValue":${undefined !== input.gpuEncoderValue ? null !== input.gpuEncoderValue ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gpuEncoderValue)) : "null" : undefined},`}${undefined === input.gpuEncoderTotal ? "" : `"gpuEncoderTotal":${undefined !== input.gpuEncoderTotal ? null !== input.gpuEncoderTotal ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gpuEncoderTotal)) : "null" : undefined},`}${undefined === input.gpuDecoder ? "" : `"gpuDecoder":${undefined !== input.gpuDecoder ? null !== input.gpuDecoder ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gpuDecoder)) : "null" : undefined},`}${undefined === input.gpuDecoderLimit ? "" : `"gpuDecoderLimit":${undefined !== input.gpuDecoderLimit ? null !== input.gpuDecoderLimit ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gpuDecoderLimit)) : "null" : undefined},`}${undefined === input.gpuDecoderValue ? "" : `"gpuDecoderValue":${undefined !== input.gpuDecoderValue ? null !== input.gpuDecoderValue ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gpuDecoderValue)) : "null" : undefined},`}${undefined === input.gpuDecoderTotal ? "" : `"gpuDecoderTotal":${undefined !== input.gpuDecoderTotal ? null !== input.gpuDecoderTotal ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gpuDecoderTotal)) : "null" : undefined},`}${undefined === input.netAvailable ? "" : `"netAvailable":${undefined !== input.netAvailable ? null !== input.netAvailable ? String(input.netAvailable) : "null" : undefined},`}${undefined === input.netTransferAvailable ? "" : `"netTransferAvailable":${undefined !== input.netTransferAvailable ? null !== input.netTransferAvailable ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.netTransferAvailable)) : "null" : undefined},`}${undefined === input.netTransferReservation ? "" : `"netTransferReservation":${undefined !== input.netTransferReservation ? null !== input.netTransferReservation ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.netTransferReservation)) : "null" : undefined},`}${undefined === input.netTransfer ? "" : `"netTransfer":${undefined !== input.netTransfer ? null !== input.netTransfer ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.netTransfer)) : "null" : undefined},`}${undefined === input.netTransferLimit ? "" : `"netTransferLimit":${undefined !== input.netTransferLimit ? null !== input.netTransferLimit ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.netTransferLimit)) : "null" : undefined},`}${undefined === input.netTransferValue ? "" : `"netTransferValue":${undefined !== input.netTransferValue ? null !== input.netTransferValue ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.netTransferValue)) : "null" : undefined},`}${undefined === input.netTransferTotal ? "" : `"netTransferTotal":${undefined !== input.netTransferTotal ? null !== input.netTransferTotal ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.netTransferTotal)) : "null" : undefined},`}${undefined === input.cpu ? "" : `"cpu":${undefined !== input.cpu ? null !== input.cpu ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.cpu)) : "null" : undefined},`}${undefined === input.memory ? "" : `"memory":${undefined !== input.memory ? null !== input.memory ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.memory)) : "null" : undefined},`}${undefined === input.activeCount ? "" : `"activeCount":${undefined !== input.activeCount ? null !== input.activeCount ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.activeCount)) : "null" : undefined},`}${undefined === input.totalCount ? "" : `"totalCount":${undefined !== input.totalCount ? null !== input.totalCount ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(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 ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.end)) : "null" : undefined}`}`)}}`; const _so1 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
3152
|
+
})() : "null" : undefined},`}${undefined === input.lag ? "" : `"lag":${undefined !== input.lag ? null !== input.lag ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.lag)) : "null" : undefined},`}${undefined === input.available ? "" : `"available":${undefined !== input.available ? null !== input.available ? String(input.available) : "null" : undefined},`}${undefined === input.toobusy ? "" : `"toobusy":${undefined !== input.toobusy ? null !== input.toobusy ? String(input.toobusy) : "null" : undefined},`}${undefined === input.cpuAvailable ? "" : `"cpuAvailable":${undefined !== input.cpuAvailable ? null !== input.cpuAvailable ? String(input.cpuAvailable) : "null" : undefined},`}${undefined === input.cpuComputeAvailable ? "" : `"cpuComputeAvailable":${undefined !== input.cpuComputeAvailable ? null !== input.cpuComputeAvailable ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.cpuComputeAvailable)) : "null" : undefined},`}${undefined === input.cpuComputeReservation ? "" : `"cpuComputeReservation":${undefined !== input.cpuComputeReservation ? null !== input.cpuComputeReservation ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.cpuComputeReservation)) : "null" : undefined},`}${undefined === input.cpuCompute ? "" : `"cpuCompute":${undefined !== input.cpuCompute ? null !== input.cpuCompute ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.cpuCompute)) : "null" : undefined},`}${undefined === input.cpuComputeLimit ? "" : `"cpuComputeLimit":${undefined !== input.cpuComputeLimit ? null !== input.cpuComputeLimit ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.cpuComputeLimit)) : "null" : undefined},`}${undefined === input.cpuComputeTotal ? "" : `"cpuComputeTotal":${undefined !== input.cpuComputeTotal ? null !== input.cpuComputeTotal ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.cpuComputeTotal)) : "null" : undefined},`}${undefined === input.cpuComputeValue ? "" : `"cpuComputeValue":${undefined !== input.cpuComputeValue ? null !== input.cpuComputeValue ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.cpuComputeValue)) : "null" : undefined},`}${undefined === input.cpuMemoryAvailable ? "" : `"cpuMemoryAvailable":${undefined !== input.cpuMemoryAvailable ? null !== input.cpuMemoryAvailable ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.cpuMemoryAvailable)) : "null" : undefined},`}${undefined === input.cpuMemoryReservation ? "" : `"cpuMemoryReservation":${undefined !== input.cpuMemoryReservation ? null !== input.cpuMemoryReservation ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.cpuMemoryReservation)) : "null" : undefined},`}${undefined === input.cpuMemory ? "" : `"cpuMemory":${undefined !== input.cpuMemory ? null !== input.cpuMemory ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.cpuMemory)) : "null" : undefined},`}${undefined === input.cpuMemoryLimit ? "" : `"cpuMemoryLimit":${undefined !== input.cpuMemoryLimit ? null !== input.cpuMemoryLimit ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.cpuMemoryLimit)) : "null" : undefined},`}${undefined === input.cpuMemoryValue ? "" : `"cpuMemoryValue":${undefined !== input.cpuMemoryValue ? null !== input.cpuMemoryValue ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.cpuMemoryValue)) : "null" : undefined},`}${undefined === input.cpuMemoryTotal ? "" : `"cpuMemoryTotal":${undefined !== input.cpuMemoryTotal ? null !== input.cpuMemoryTotal ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(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 ? String(input.gpuAvailable) : "null" : undefined},`}${undefined === input.gpuComputeAvailable ? "" : `"gpuComputeAvailable":${undefined !== input.gpuComputeAvailable ? null !== input.gpuComputeAvailable ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gpuComputeAvailable)) : "null" : undefined},`}${undefined === input.gpuComputeReservation ? "" : `"gpuComputeReservation":${undefined !== input.gpuComputeReservation ? null !== input.gpuComputeReservation ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gpuComputeReservation)) : "null" : undefined},`}${undefined === input.gpuCompute ? "" : `"gpuCompute":${undefined !== input.gpuCompute ? null !== input.gpuCompute ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gpuCompute)) : "null" : undefined},`}${undefined === input.gpuComputeLimit ? "" : `"gpuComputeLimit":${undefined !== input.gpuComputeLimit ? null !== input.gpuComputeLimit ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gpuComputeLimit)) : "null" : undefined},`}${undefined === input.gpuComputeValue ? "" : `"gpuComputeValue":${undefined !== input.gpuComputeValue ? null !== input.gpuComputeValue ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gpuComputeValue)) : "null" : undefined},`}${undefined === input.gpuComputeTotal ? "" : `"gpuComputeTotal":${undefined !== input.gpuComputeTotal ? null !== input.gpuComputeTotal ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gpuComputeTotal)) : "null" : undefined},`}${undefined === input.gpuMemoryAvailable ? "" : `"gpuMemoryAvailable":${undefined !== input.gpuMemoryAvailable ? null !== input.gpuMemoryAvailable ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gpuMemoryAvailable)) : "null" : undefined},`}${undefined === input.gpuMemoryReservation ? "" : `"gpuMemoryReservation":${undefined !== input.gpuMemoryReservation ? null !== input.gpuMemoryReservation ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gpuMemoryReservation)) : "null" : undefined},`}${undefined === input.gpuMemory ? "" : `"gpuMemory":${undefined !== input.gpuMemory ? null !== input.gpuMemory ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gpuMemory)) : "null" : undefined},`}${undefined === input.gpuMemoryLimit ? "" : `"gpuMemoryLimit":${undefined !== input.gpuMemoryLimit ? null !== input.gpuMemoryLimit ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gpuMemoryLimit)) : "null" : undefined},`}${undefined === input.gpuMemoryValue ? "" : `"gpuMemoryValue":${undefined !== input.gpuMemoryValue ? null !== input.gpuMemoryValue ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gpuMemoryValue)) : "null" : undefined},`}${undefined === input.gpuMemoryTotal ? "" : `"gpuMemoryTotal":${undefined !== input.gpuMemoryTotal ? null !== input.gpuMemoryTotal ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gpuMemoryTotal)) : "null" : undefined},`}${undefined === input.gpuQueueAvailable ? "" : `"gpuQueueAvailable":${undefined !== input.gpuQueueAvailable ? null !== input.gpuQueueAvailable ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gpuQueueAvailable)) : "null" : undefined},`}${undefined === input.gpuQueueReservation ? "" : `"gpuQueueReservation":${undefined !== input.gpuQueueReservation ? null !== input.gpuQueueReservation ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gpuQueueReservation)) : "null" : undefined},`}${undefined === input.gpuQueueLimit ? "" : `"gpuQueueLimit":${undefined !== input.gpuQueueLimit ? null !== input.gpuQueueLimit ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gpuQueueLimit)) : "null" : undefined},`}${undefined === input.gpuQueueValue ? "" : `"gpuQueueValue":${undefined !== input.gpuQueueValue ? null !== input.gpuQueueValue ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gpuQueueValue)) : "null" : undefined},`}${undefined === input.gpuQueueTotal ? "" : `"gpuQueueTotal":${undefined !== input.gpuQueueTotal ? null !== input.gpuQueueTotal ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gpuQueueTotal)) : "null" : undefined},`}${undefined === input.gpuEncoder ? "" : `"gpuEncoder":${undefined !== input.gpuEncoder ? null !== input.gpuEncoder ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gpuEncoder)) : "null" : undefined},`}${undefined === input.gpuEncoderLimit ? "" : `"gpuEncoderLimit":${undefined !== input.gpuEncoderLimit ? null !== input.gpuEncoderLimit ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gpuEncoderLimit)) : "null" : undefined},`}${undefined === input.gpuEncoderValue ? "" : `"gpuEncoderValue":${undefined !== input.gpuEncoderValue ? null !== input.gpuEncoderValue ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gpuEncoderValue)) : "null" : undefined},`}${undefined === input.gpuEncoderTotal ? "" : `"gpuEncoderTotal":${undefined !== input.gpuEncoderTotal ? null !== input.gpuEncoderTotal ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gpuEncoderTotal)) : "null" : undefined},`}${undefined === input.gpuDecoder ? "" : `"gpuDecoder":${undefined !== input.gpuDecoder ? null !== input.gpuDecoder ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gpuDecoder)) : "null" : undefined},`}${undefined === input.gpuDecoderLimit ? "" : `"gpuDecoderLimit":${undefined !== input.gpuDecoderLimit ? null !== input.gpuDecoderLimit ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gpuDecoderLimit)) : "null" : undefined},`}${undefined === input.gpuDecoderValue ? "" : `"gpuDecoderValue":${undefined !== input.gpuDecoderValue ? null !== input.gpuDecoderValue ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gpuDecoderValue)) : "null" : undefined},`}${undefined === input.gpuDecoderTotal ? "" : `"gpuDecoderTotal":${undefined !== input.gpuDecoderTotal ? null !== input.gpuDecoderTotal ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.gpuDecoderTotal)) : "null" : undefined},`}${undefined === input.netAvailable ? "" : `"netAvailable":${undefined !== input.netAvailable ? null !== input.netAvailable ? String(input.netAvailable) : "null" : undefined},`}${undefined === input.netTransferAvailable ? "" : `"netTransferAvailable":${undefined !== input.netTransferAvailable ? null !== input.netTransferAvailable ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.netTransferAvailable)) : "null" : undefined},`}${undefined === input.netTransferReservation ? "" : `"netTransferReservation":${undefined !== input.netTransferReservation ? null !== input.netTransferReservation ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.netTransferReservation)) : "null" : undefined},`}${undefined === input.netTransfer ? "" : `"netTransfer":${undefined !== input.netTransfer ? null !== input.netTransfer ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.netTransfer)) : "null" : undefined},`}${undefined === input.netTransferLimit ? "" : `"netTransferLimit":${undefined !== input.netTransferLimit ? null !== input.netTransferLimit ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.netTransferLimit)) : "null" : undefined},`}${undefined === input.netTransferValue ? "" : `"netTransferValue":${undefined !== input.netTransferValue ? null !== input.netTransferValue ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.netTransferValue)) : "null" : undefined},`}${undefined === input.netTransferTotal ? "" : `"netTransferTotal":${undefined !== input.netTransferTotal ? null !== input.netTransferTotal ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.netTransferTotal)) : "null" : undefined},`}${undefined === input.cpu ? "" : `"cpu":${undefined !== input.cpu ? null !== input.cpu ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.cpu)) : "null" : undefined},`}${undefined === input.memory ? "" : `"memory":${undefined !== input.memory ? null !== input.memory ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.memory)) : "null" : undefined},`}${undefined === input.activeCount ? "" : `"activeCount":${undefined !== input.activeCount ? null !== input.activeCount ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.activeCount)) : "null" : undefined},`}${undefined === input.totalCount ? "" : `"totalCount":${undefined !== input.totalCount ? null !== input.totalCount ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(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 ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.end)) : "null" : undefined},`}${undefined === input.duration ? "" : `"duration":${undefined !== input.duration ? null !== input.duration ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.duration)) : "null" : undefined}`}`)}}`; const _so1 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
2883
3153
|
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)
|
|
2884
3154
|
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":${String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.idle))},"total":${String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.total))}}`; const _so5 = input => `{"used":${String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.used))},"total":${String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.total))},"arcstats":${_so6(input.arcstats)},"meminfo":${_so7(input.meminfo)}}`; const _so6 = input => `{"size":${null !== input.size ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.size)) : "null"}}`; const _so7 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
2885
3155
|
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":${String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.used))}}`; const _so9 = input => `{"used":${String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.used))}}`; const _io1 = input => Object.keys(input).every(key => {
|
|
@@ -2920,7 +3190,7 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
2920
3190
|
expected: "(\"straight\" | boolean | null | undefined)",
|
|
2921
3191
|
value: input.alpha
|
|
2922
3192
|
});
|
|
2923
|
-
})() : "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 ? (() => {
|
|
3193
|
+
})() : "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},`}${undefined === input.timecode ? "" : `"timecode":${undefined !== input.timecode ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.timecode)) : undefined},`}${undefined === input.timezone ? "" : `"timezone":${undefined !== input.timezone ? __typia_transform__jsonStringifyString._jsonStringifyString(input.timezone) : undefined}`}`)}}`; const _so4 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.alpha ? "" : `"alpha":${undefined !== input.alpha ? null !== input.alpha ? (() => {
|
|
2924
3194
|
if ("string" === typeof input.alpha)
|
|
2925
3195
|
return "\"" + input.alpha + "\"";
|
|
2926
3196
|
if ("boolean" === typeof input.alpha)
|
|
@@ -2971,7 +3241,7 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
2971
3241
|
expected: "(SubtitleProfile | string | undefined)",
|
|
2972
3242
|
value: input.subtitle
|
|
2973
3243
|
});
|
|
2974
|
-
})() : undefined},`}"format":${__typia_transform__jsonStringifyString._jsonStringifyString(input.format)}}`; const _so18 = input => `{"engine":${__typia_transform__jsonStringifyString._jsonStringifyString(input.engine)}}`; const _so19 = input => `{"language":${__typia_transform__jsonStringifyString._jsonStringifyString(input.language)}}`; const _so20 = 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 ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.samplerate)) : undefined},`}${undefined === input.split ? "" : `"split":${undefined !== input.split ? String(input.split) : undefined}`}`)}}`; const _so21 = 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 ? _so22(input.ccconverter) : undefined},`}${undefined === input.ass ? "" : `"ass":${undefined !== input.ass ? _so23(input.ass) : undefined}`}`)}}`; const _so22 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? __typia_transform__jsonStringifyString._jsonStringifyString(input.preset) : undefined}`}`)}}`; const _so23 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.futureWordWrapping ? "" : `"futureWordWrapping":${undefined !== input.futureWordWrapping ? String(input.futureWordWrapping) : undefined},`}${undefined === input.scaledBorderAndShadow ? "" : `"scaledBorderAndShadow":${undefined !== input.scaledBorderAndShadow ? String(input.scaledBorderAndShadow) : undefined},`}${undefined === input.enableUnsafeLineSpacingHack ? "" : `"enableUnsafeLineSpacingHack":${undefined !== input.enableUnsafeLineSpacingHack ? String(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 && _io17(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) && _io15(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) && _io16(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 => {
|
|
3244
|
+
})() : undefined},`}"format":${__typia_transform__jsonStringifyString._jsonStringifyString(input.format)}}`; const _so18 = input => `{"engine":${__typia_transform__jsonStringifyString._jsonStringifyString(input.engine)}}`; const _so19 = input => `{"language":${__typia_transform__jsonStringifyString._jsonStringifyString(input.language)}}`; const _so20 = 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 ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.samplerate)) : undefined},`}${undefined === input.split ? "" : `"split":${undefined !== input.split ? String(input.split) : undefined}`}`)}}`; const _so21 = 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 ? _so22(input.ccconverter) : undefined},`}${undefined === input.ass ? "" : `"ass":${undefined !== input.ass ? _so23(input.ass) : undefined}`}`)}}`; const _so22 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? __typia_transform__jsonStringifyString._jsonStringifyString(input.preset) : undefined}`}`)}}`; const _so23 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.futureWordWrapping ? "" : `"futureWordWrapping":${undefined !== input.futureWordWrapping ? String(input.futureWordWrapping) : undefined},`}${undefined === input.scaledBorderAndShadow ? "" : `"scaledBorderAndShadow":${undefined !== input.scaledBorderAndShadow ? String(input.scaledBorderAndShadow) : undefined},`}${undefined === input.enableUnsafeLineSpacingHack ? "" : `"enableUnsafeLineSpacingHack":${undefined !== input.enableUnsafeLineSpacingHack ? String(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 && _io17(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) && _io15(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) && _io16(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) && (undefined === input.timecode || "number" === typeof input.timecode) && (undefined === input.timezone || "string" === typeof input.timezone); 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 => {
|
|
2975
3245
|
const value = input[key];
|
|
2976
3246
|
if (undefined === value)
|
|
2977
3247
|
return true;
|
|
@@ -2979,7 +3249,7 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
2979
3249
|
}); 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.focus || "object" === typeof input.focus && null !== input.focus && false === Array.isArray(input.focus) && _io14(input.focus)) && (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.x || "number" === typeof input.x) && (undefined === input.y || "number" === typeof input.y); const _io15 = input => undefined === input.pan || Array.isArray(input.pan) && input.pan.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem)); const _io16 = 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 _io17 = input => "string" === typeof input.format && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && _io18(input.transcribe)) && (undefined === input.translate || "object" === typeof input.translate && null !== input.translate && _io19(input.translate)) && (undefined === input.audio || "object" === typeof input.audio && null !== input.audio && false === Array.isArray(input.audio) && _io20(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) && _io21(input.subtitle))); const _io18 = input => "string" === typeof input.engine; const _io19 = input => "string" === typeof input.language; const _io20 = 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 _io21 = 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) && _io22(input.ccconverter)) && (undefined === input.ass || "object" === typeof input.ass && null !== input.ass && false === Array.isArray(input.ass) && _io23(input.ass)); const _io22 = input => undefined === input.preset || "string" === typeof input.preset; const _io23 = 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);
|
|
2980
3250
|
}
|
|
2981
3251
|
case ":render.result?": {
|
|
2982
|
-
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 ? (() => {
|
|
3252
|
+
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.timecode ? "" : `"timecode":${undefined !== input.timecode ? null !== input.timecode ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.timecode)) : "null" : undefined},`}${undefined === input.live ? "" : `"live":${undefined !== input.live ? null !== input.live ? String(input.live) : "null" : 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 ? (() => {
|
|
2983
3253
|
if (Array.isArray(input.error))
|
|
2984
3254
|
return `[${input.error.map(elem => _so2(elem)).join(",")}]`;
|
|
2985
3255
|
if ("object" === typeof input.error && null !== input.error && false === Array.isArray(input.error))
|
|
@@ -3040,8 +3310,8 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
3040
3310
|
expected: "(Array<string> | string | undefined)",
|
|
3041
3311
|
value: input.supports
|
|
3042
3312
|
});
|
|
3043
|
-
})() : undefined},`}${undefined === input.domain ? "" : `"domain":${undefined !== input.domain ? __typia_transform__jsonStringifyString._jsonStringifyString(input.domain) : undefined},`}${undefined === input.priority ? "" : `"priority":${undefined !== input.priority ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.priority)) : undefined},`}${undefined === input.properties ? "" : `"properties":${undefined !== input.properties ? _so1(input.properties) : undefined},`}${undefined === input.layout ? "" : `"layout":${undefined !== input.layout ?
|
|
3044
|
-
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 ? (() => {
|
|
3313
|
+
})() : undefined},`}${undefined === input.domain ? "" : `"domain":${undefined !== input.domain ? __typia_transform__jsonStringifyString._jsonStringifyString(input.domain) : undefined},`}${undefined === input.priority ? "" : `"priority":${undefined !== input.priority ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.priority)) : undefined},`}${undefined === input.properties ? "" : `"properties":${undefined !== input.properties ? _so1(input.properties) : undefined},`}${undefined === input.layout ? "" : `"layout":${undefined !== input.layout ? _so21(input.layout) : undefined}`}`)}}`; const _so1 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
3314
|
+
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.recordName ? "" : `"recordName":${undefined !== input.recordName ? (() => {
|
|
3045
3315
|
if ("string" === typeof input.recordName)
|
|
3046
3316
|
return __typia_transform__jsonStringifyString._jsonStringifyString(input.recordName);
|
|
3047
3317
|
if ("object" === typeof input.recordName && null !== input.recordName)
|
|
@@ -3063,30 +3333,194 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
3063
3333
|
expected: "(__type.o3 | string | undefined)",
|
|
3064
3334
|
value: input.setter
|
|
3065
3335
|
});
|
|
3066
|
-
})() : undefined},`}${undefined === input
|
|
3336
|
+
})() : undefined},`}${undefined === input.index ? "" : `"index":${undefined !== input.index ? _so7(input.index) : undefined},`}${undefined === input.type ? "" : `"type":${undefined !== input.type ? (() => {
|
|
3337
|
+
if ("string" === typeof input.type)
|
|
3338
|
+
return __typia_transform__jsonStringifyString._jsonStringifyString(input.type);
|
|
3339
|
+
if ("object" === typeof input.type && null !== input.type)
|
|
3340
|
+
return _so8(input.type);
|
|
3341
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
3342
|
+
method: "typia.json.stringify",
|
|
3343
|
+
expected: "(__type.o6 | string | undefined)",
|
|
3344
|
+
value: input.type
|
|
3345
|
+
});
|
|
3346
|
+
})() : undefined},`}${undefined === input.title ? "" : `"title":${undefined !== input.title ? (() => {
|
|
3347
|
+
if ("string" === typeof input.title)
|
|
3348
|
+
return __typia_transform__jsonStringifyString._jsonStringifyString(input.title);
|
|
3349
|
+
if ("object" === typeof input.title && null !== input.title)
|
|
3350
|
+
return _so10(input.title);
|
|
3351
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
3352
|
+
method: "typia.json.stringify",
|
|
3353
|
+
expected: "(__type.o8 | string | undefined)",
|
|
3354
|
+
value: input.title
|
|
3355
|
+
});
|
|
3356
|
+
})() : undefined},`}${undefined === input.description ? "" : `"description":${undefined !== input.description ? (() => {
|
|
3357
|
+
if ("string" === typeof input.description)
|
|
3358
|
+
return __typia_transform__jsonStringifyString._jsonStringifyString(input.description);
|
|
3359
|
+
if ("object" === typeof input.description && null !== input.description)
|
|
3360
|
+
return _so10(input.description);
|
|
3361
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
3362
|
+
method: "typia.json.stringify",
|
|
3363
|
+
expected: "(__type.o8 | string | undefined)",
|
|
3364
|
+
value: input.description
|
|
3365
|
+
});
|
|
3366
|
+
})() : undefined},`}${undefined === input.required ? "" : `"required":${undefined !== input.required ? (() => {
|
|
3367
|
+
if ("string" === typeof input.required)
|
|
3368
|
+
return __typia_transform__jsonStringifyString._jsonStringifyString(input.required);
|
|
3369
|
+
if ("boolean" === typeof input.required)
|
|
3370
|
+
return String(input.required);
|
|
3371
|
+
if ("object" === typeof input.required && null !== input.required)
|
|
3372
|
+
return _so11(input.required);
|
|
3373
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
3374
|
+
method: "typia.json.stringify",
|
|
3375
|
+
expected: "(__type.o9 | boolean | string | undefined)",
|
|
3376
|
+
value: input.required
|
|
3377
|
+
});
|
|
3378
|
+
})() : undefined},`}${undefined === input.oneOf ? "" : `"oneOf":${undefined !== input.oneOf ? (() => {
|
|
3379
|
+
if ("string" === typeof input.oneOf)
|
|
3380
|
+
return __typia_transform__jsonStringifyString._jsonStringifyString(input.oneOf);
|
|
3381
|
+
if (Array.isArray(input.oneOf))
|
|
3382
|
+
return `[${input.oneOf.map(elem => _so12(elem)).join(",")}]`;
|
|
3383
|
+
if ("object" === typeof input.oneOf && null !== input.oneOf)
|
|
3384
|
+
return _so15(input.oneOf);
|
|
3385
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
3386
|
+
method: "typia.json.stringify",
|
|
3387
|
+
expected: "(Array<SchemaProperty<unknown>> | __type.o10 | string | undefined)",
|
|
3388
|
+
value: input.oneOf
|
|
3389
|
+
});
|
|
3390
|
+
})() : undefined},`}${undefined === input.anyOf ? "" : `"anyOf":${undefined !== input.anyOf ? (() => {
|
|
3391
|
+
if ("string" === typeof input.anyOf)
|
|
3392
|
+
return __typia_transform__jsonStringifyString._jsonStringifyString(input.anyOf);
|
|
3393
|
+
if (Array.isArray(input.anyOf))
|
|
3394
|
+
return `[${input.anyOf.map(elem => _so12(elem)).join(",")}]`;
|
|
3395
|
+
if ("object" === typeof input.anyOf && null !== input.anyOf)
|
|
3396
|
+
return _so15(input.anyOf);
|
|
3397
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
3398
|
+
method: "typia.json.stringify",
|
|
3399
|
+
expected: "(Array<SchemaProperty<unknown>> | __type.o10 | string | undefined)",
|
|
3400
|
+
value: input.anyOf
|
|
3401
|
+
});
|
|
3402
|
+
})() : undefined},`}${undefined === input["enum"] ? "" : `"enum":${undefined !== input["enum"] ? (() => {
|
|
3403
|
+
if ("string" === typeof input["enum"])
|
|
3404
|
+
return __typia_transform__jsonStringifyString._jsonStringifyString(input["enum"]);
|
|
3405
|
+
if (Array.isArray(input["enum"]))
|
|
3406
|
+
return `[${input["enum"].map(elem => undefined !== elem ? JSON.stringify(elem) : "null").join(",")}]`;
|
|
3407
|
+
if ("object" === typeof input["enum"] && null !== input["enum"])
|
|
3408
|
+
return _so16(input["enum"]);
|
|
3409
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
3410
|
+
method: "typia.json.stringify",
|
|
3411
|
+
expected: "(ReadonlyArray<unknown> | __type.o11 | string | undefined)",
|
|
3412
|
+
value: input["enum"]
|
|
3413
|
+
});
|
|
3414
|
+
})() : undefined},`}${undefined === input.minItems ? "" : `"minItems":${undefined !== input.minItems ? (() => {
|
|
3415
|
+
if ("string" === typeof input.minItems)
|
|
3416
|
+
return __typia_transform__jsonStringifyString._jsonStringifyString(input.minItems);
|
|
3417
|
+
if ("number" === typeof input.minItems)
|
|
3418
|
+
return String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.minItems));
|
|
3419
|
+
if ("object" === typeof input.minItems && null !== input.minItems)
|
|
3420
|
+
return _so17(input.minItems);
|
|
3421
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
3422
|
+
method: "typia.json.stringify",
|
|
3423
|
+
expected: "(__type.o12 | number | string | undefined)",
|
|
3424
|
+
value: input.minItems
|
|
3425
|
+
});
|
|
3426
|
+
})() : undefined},`}${undefined === input.maxItems ? "" : `"maxItems":${undefined !== input.maxItems ? (() => {
|
|
3427
|
+
if ("string" === typeof input.maxItems)
|
|
3428
|
+
return __typia_transform__jsonStringifyString._jsonStringifyString(input.maxItems);
|
|
3429
|
+
if ("number" === typeof input.maxItems)
|
|
3430
|
+
return String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.maxItems));
|
|
3431
|
+
if ("object" === typeof input.maxItems && null !== input.maxItems)
|
|
3432
|
+
return _so17(input.maxItems);
|
|
3433
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
3434
|
+
method: "typia.json.stringify",
|
|
3435
|
+
expected: "(__type.o12 | number | string | undefined)",
|
|
3436
|
+
value: input.maxItems
|
|
3437
|
+
});
|
|
3438
|
+
})() : undefined},`}${undefined === input.items ? "" : `"items":${undefined !== input.items ? (() => {
|
|
3439
|
+
if ("string" === typeof input.items)
|
|
3440
|
+
return __typia_transform__jsonStringifyString._jsonStringifyString(input.items);
|
|
3441
|
+
if ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items))
|
|
3442
|
+
return _su1(input.items);
|
|
3443
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
3444
|
+
method: "typia.json.stringify",
|
|
3445
|
+
expected: "(SchemaProperty<unknown> | __type.o13 | string | undefined)",
|
|
3446
|
+
value: input.items
|
|
3447
|
+
});
|
|
3448
|
+
})() : undefined},`}${undefined === input.properties ? "" : `"properties":${undefined !== input.properties ? (() => {
|
|
3449
|
+
if ("string" === typeof input.properties)
|
|
3450
|
+
return __typia_transform__jsonStringifyString._jsonStringifyString(input.properties);
|
|
3451
|
+
if ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties))
|
|
3452
|
+
return _su2(input.properties);
|
|
3453
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
3454
|
+
method: "typia.json.stringify",
|
|
3455
|
+
expected: "(Record<string, SchemaProperty<unknown>> | __type.o14 | string | undefined)",
|
|
3456
|
+
value: input.properties
|
|
3457
|
+
});
|
|
3458
|
+
})() : 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.widget ? "" : `"widget":${undefined !== input.widget ? (() => {
|
|
3067
3459
|
if ("string" === typeof input.widget)
|
|
3068
3460
|
return __typia_transform__jsonStringifyString._jsonStringifyString(input.widget);
|
|
3069
3461
|
if ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget))
|
|
3070
|
-
return
|
|
3462
|
+
return _su3(input.widget);
|
|
3071
3463
|
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
3072
3464
|
method: "typia.json.stringify",
|
|
3073
|
-
expected: "(WidgetOptions | string | undefined)",
|
|
3465
|
+
expected: "(WidgetOptions | __type.o15 | string | undefined)",
|
|
3074
3466
|
value: input.widget
|
|
3075
3467
|
});
|
|
3076
|
-
})() : undefined},`}${undefined === input.placeholder ? "" : `"placeholder":${undefined !== input.placeholder ?
|
|
3468
|
+
})() : undefined},`}${undefined === input.placeholder ? "" : `"placeholder":${undefined !== input.placeholder ? (() => {
|
|
3469
|
+
if ("string" === typeof input.placeholder)
|
|
3470
|
+
return __typia_transform__jsonStringifyString._jsonStringifyString(input.placeholder);
|
|
3471
|
+
if ("object" === typeof input.placeholder && null !== input.placeholder)
|
|
3472
|
+
return _so10(input.placeholder);
|
|
3473
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
3474
|
+
method: "typia.json.stringify",
|
|
3475
|
+
expected: "(__type.o8 | string | undefined)",
|
|
3476
|
+
value: input.placeholder
|
|
3477
|
+
});
|
|
3478
|
+
})() : undefined},`}${undefined === input.helpText ? "" : `"helpText":${undefined !== input.helpText ? (() => {
|
|
3479
|
+
if ("string" === typeof input.helpText)
|
|
3480
|
+
return __typia_transform__jsonStringifyString._jsonStringifyString(input.helpText);
|
|
3481
|
+
if ("object" === typeof input.helpText && null !== input.helpText)
|
|
3482
|
+
return _so10(input.helpText);
|
|
3483
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
3484
|
+
method: "typia.json.stringify",
|
|
3485
|
+
expected: "(__type.o8 | string | undefined)",
|
|
3486
|
+
value: input.helpText
|
|
3487
|
+
});
|
|
3488
|
+
})() : undefined},`}${undefined === input.invalid ? "" : `"invalid":${undefined !== input.invalid ? (() => {
|
|
3489
|
+
if ("string" === typeof input.invalid)
|
|
3490
|
+
return __typia_transform__jsonStringifyString._jsonStringifyString(input.invalid);
|
|
3491
|
+
if ("boolean" === typeof input.invalid)
|
|
3492
|
+
return String(input.invalid);
|
|
3493
|
+
if ("object" === typeof input.invalid && null !== input.invalid)
|
|
3494
|
+
return _so11(input.invalid);
|
|
3495
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
3496
|
+
method: "typia.json.stringify",
|
|
3497
|
+
expected: "(__type.o9 | boolean | string | undefined)",
|
|
3498
|
+
value: input.invalid
|
|
3499
|
+
});
|
|
3500
|
+
})() : undefined},`}${undefined === input.emptyValue || "function" === typeof input.emptyValue ? "" : `"emptyValue":${undefined !== input.emptyValue ? JSON.stringify(input.emptyValue) : 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 => `{"label":${__typia_transform__jsonStringifyString._jsonStringifyString(input.label)},"path":${__typia_transform__jsonStringifyString._jsonStringifyString(input.path)}}`; const _so8 = input => `{${undefined === input.__returnValue ? "" : `"__returnValue":${undefined !== input.__returnValue ? "\"" + input.__returnValue + "\"" : undefined},`}"__context":${_so9(input.__context)}}`; const _so9 = input => `{"id":${__typia_transform__jsonStringifyString._jsonStringifyString(input.id)}}`; const _so10 = input => `{${undefined === input.__returnValue ? "" : `"__returnValue":${undefined !== input.__returnValue ? __typia_transform__jsonStringifyString._jsonStringifyString(input.__returnValue) : undefined},`}"__context":${_so9(input.__context)}}`; const _so11 = input => `{${undefined === input.__returnValue ? "" : `"__returnValue":${undefined !== input.__returnValue ? String(input.__returnValue) : undefined},`}"__context":${_so9(input.__context)}}`; const _so12 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${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 ? String(input.required) : undefined},`}${undefined === input.oneOf ? "" : `"oneOf":${undefined !== input.oneOf ? `[${input.oneOf.map(elem => _so12(elem)).join(",")}]` : undefined},`}${undefined === input.anyOf ? "" : `"anyOf":${undefined !== input.anyOf ? `[${input.anyOf.map(elem => _so12(elem)).join(",")}]` : undefined},`}${undefined === input["enum"] ? "" : `"enum":${undefined !== input["enum"] ? `[${input["enum"].map(elem => undefined !== elem ? JSON.stringify(elem) : "null").join(",")}]` : undefined},`}${undefined === input.minItems ? "" : `"minItems":${undefined !== input.minItems ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.minItems)) : undefined},`}${undefined === input.maxItems ? "" : `"maxItems":${undefined !== input.maxItems ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.maxItems)) : undefined},`}${undefined === input.items ? "" : `"items":${undefined !== input.items ? _so12(input.items) : undefined},`}${undefined === input.properties ? "" : `"properties":${undefined !== input.properties ? _so13(input.properties) : 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.widget ? "" : `"widget":${undefined !== input.widget ? (() => {
|
|
3077
3501
|
if ("string" === typeof input.widget)
|
|
3078
3502
|
return __typia_transform__jsonStringifyString._jsonStringifyString(input.widget);
|
|
3079
3503
|
if ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget))
|
|
3080
|
-
return
|
|
3504
|
+
return _so14(input.widget);
|
|
3081
3505
|
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
3082
3506
|
method: "typia.json.stringify",
|
|
3083
3507
|
expected: "(WidgetOptions | string | undefined)",
|
|
3084
3508
|
value: input.widget
|
|
3085
3509
|
});
|
|
3086
|
-
})() : 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 ? String(input.invalid) : undefined},`}${undefined === input.emptyValue || "function" === typeof input.emptyValue ? "" : `"emptyValue":${undefined !== input.emptyValue ? JSON.stringify(input.emptyValue) : undefined}
|
|
3510
|
+
})() : 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 ? String(input.invalid) : undefined},`}${undefined === input.emptyValue || "function" === typeof input.emptyValue ? "" : `"emptyValue":${undefined !== input.emptyValue ? JSON.stringify(input.emptyValue) : undefined}`}`)}}`; const _so13 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
3511
|
+
return ""; return `${JSON.stringify(key)}:${_so12(value)}`; }).filter(str => "" !== str).join(",")}}`; const _so14 = 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 ? String(input.readOnly) : undefined},`}${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
3087
3512
|
return ""; if (["type", "readOnly"].some(regular => regular === key))
|
|
3088
|
-
return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}`)}}`; const
|
|
3089
|
-
|
|
3513
|
+
return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}`)}}`; const _so15 = input => `{${undefined === input.__returnValue ? "" : `"__returnValue":${undefined !== input.__returnValue ? `[${input.__returnValue.map(elem => _so12(elem)).join(",")}]` : undefined},`}"__context":${_so9(input.__context)}}`; const _so16 = input => `{${undefined === input.__returnValue ? "" : `"__returnValue":${undefined !== input.__returnValue ? `[${input.__returnValue.map(elem => undefined !== elem ? JSON.stringify(elem) : "null").join(",")}]` : undefined},`}"__context":${_so9(input.__context)}}`; const _so17 = input => `{${undefined === input.__returnValue ? "" : `"__returnValue":${undefined !== input.__returnValue ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.__returnValue)) : undefined},`}"__context":${_so9(input.__context)}}`; const _so18 = input => `{${undefined === input.__returnValue ? "" : `"__returnValue":${undefined !== input.__returnValue ? _so12(input.__returnValue) : undefined},`}"__context":${_so9(input.__context)}}`; const _so19 = input => `{${undefined === input.__returnValue ? "" : `"__returnValue":${undefined !== input.__returnValue ? _so13(input.__returnValue) : undefined},`}"__context":${_so9(input.__context)}}`; const _so20 = input => `{${undefined === input.__returnValue ? "" : `"__returnValue":${undefined !== input.__returnValue ? (() => {
|
|
3514
|
+
if ("string" === typeof input.__returnValue)
|
|
3515
|
+
return __typia_transform__jsonStringifyString._jsonStringifyString(input.__returnValue);
|
|
3516
|
+
if ("object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue))
|
|
3517
|
+
return _so14(input.__returnValue);
|
|
3518
|
+
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
3519
|
+
method: "typia.json.stringify",
|
|
3520
|
+
expected: "(WidgetOptions | string | undefined)",
|
|
3521
|
+
value: input.__returnValue
|
|
3522
|
+
});
|
|
3523
|
+
})() : undefined},`}"__context":${_so9(input.__context)}}`; const _so21 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.panel ? "" : `"panel":${undefined !== input.panel ? (() => {
|
|
3090
3524
|
if ("string" === typeof input.panel)
|
|
3091
3525
|
return __typia_transform__jsonStringifyString._jsonStringifyString(input.panel);
|
|
3092
3526
|
if (Array.isArray(input.panel))
|
|
@@ -3110,7 +3544,7 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
3110
3544
|
expected: "(Array<WidgetLayout> | WidgetLayoutDivider | WidgetLayoutItem | string | undefined)",
|
|
3111
3545
|
value: input.editor
|
|
3112
3546
|
});
|
|
3113
|
-
})() : undefined}`}`)}}`; const
|
|
3547
|
+
})() : undefined}`}`)}}`; const _so22 = input => `{${undefined === input.title ? "" : `"title":${undefined !== input.title ? __typia_transform__jsonStringifyString._jsonStringifyString(input.title) : undefined},`}"type":${"\"" + input.type + "\""}}`; const _so23 = input => `{${undefined === input.width ? "" : `"width":${undefined !== input.width ? (() => {
|
|
3114
3548
|
if ("string" === typeof input.width)
|
|
3115
3549
|
return __typia_transform__jsonStringifyString._jsonStringifyString(input.width);
|
|
3116
3550
|
if ("number" === typeof input.width)
|
|
@@ -3124,7 +3558,7 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
3124
3558
|
if ("string" === typeof input.widget)
|
|
3125
3559
|
return __typia_transform__jsonStringifyString._jsonStringifyString(input.widget);
|
|
3126
3560
|
if ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget))
|
|
3127
|
-
return
|
|
3561
|
+
return _so14(input.widget);
|
|
3128
3562
|
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
3129
3563
|
method: "typia.json.stringify",
|
|
3130
3564
|
expected: "(WidgetOptions | string | undefined)",
|
|
@@ -3132,15 +3566,30 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
3132
3566
|
});
|
|
3133
3567
|
})() : undefined},`}"property":${__typia_transform__jsonStringifyString._jsonStringifyString(input.property)}}`; const _su0 = input => (() => {
|
|
3134
3568
|
if (undefined !== input.type)
|
|
3135
|
-
return
|
|
3569
|
+
return _so22(input);
|
|
3136
3570
|
else if (undefined !== input.property)
|
|
3137
|
-
return
|
|
3571
|
+
return _so23(input);
|
|
3138
3572
|
else
|
|
3139
3573
|
__typia_transform__throwTypeGuardError._throwTypeGuardError({
|
|
3140
3574
|
method: "typia.json.stringify",
|
|
3141
3575
|
expected: "(WidgetLayoutDivider | WidgetLayoutItem)",
|
|
3142
3576
|
value: input
|
|
3143
3577
|
});
|
|
3578
|
+
})(); const _su1 = input => (() => {
|
|
3579
|
+
if (undefined !== input.__context)
|
|
3580
|
+
return _so18(input);
|
|
3581
|
+
else
|
|
3582
|
+
return _so12(input);
|
|
3583
|
+
})(); const _su2 = input => (() => {
|
|
3584
|
+
if (undefined !== input.__context)
|
|
3585
|
+
return _so19(input);
|
|
3586
|
+
else
|
|
3587
|
+
return _so13(input);
|
|
3588
|
+
})(); const _su3 = input => (() => {
|
|
3589
|
+
if (undefined !== input.__context)
|
|
3590
|
+
return _so20(input);
|
|
3591
|
+
else
|
|
3592
|
+
return _so14(input);
|
|
3144
3593
|
})(); const _sa0 = input => `[${input.map(elem => (() => {
|
|
3145
3594
|
if ("string" === typeof elem)
|
|
3146
3595
|
return __typia_transform__jsonStringifyString._jsonStringifyString(elem);
|
|
@@ -3158,25 +3607,40 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
3158
3607
|
if (undefined === value)
|
|
3159
3608
|
return true;
|
|
3160
3609
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
|
|
3161
|
-
}); 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))) &&
|
|
3162
|
-
if (["type", "readOnly"].some(prop => key === prop))
|
|
3163
|
-
return true;
|
|
3610
|
+
}); const _io2 = input => (undefined === input.domain || "string" === typeof input.domain) && (undefined === input.path || "string" === typeof input.path) && (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))) && (undefined === input.index || "object" === typeof input.index && null !== input.index && _io7(input.index)) && (null !== input.type && (undefined === input.type || "string" === typeof input.type || "object" === typeof input.type && null !== input.type && _io8(input.type))) && (null !== input.title && (undefined === input.title || "string" === typeof input.title || "object" === typeof input.title && null !== input.title && _io10(input.title))) && (null !== input.description && (undefined === input.description || "string" === typeof input.description || "object" === typeof input.description && null !== input.description && _io10(input.description))) && (null !== input.required && (undefined === input.required || "string" === typeof input.required || "boolean" === typeof input.required || "object" === typeof input.required && null !== input.required && _io11(input.required))) && (null !== input.oneOf && (undefined === input.oneOf || "string" === typeof input.oneOf || (Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io12(elem)) || "object" === typeof input.oneOf && null !== input.oneOf && _io15(input.oneOf)))) && (null !== input.anyOf && (undefined === input.anyOf || "string" === typeof input.anyOf || (Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io12(elem)) || "object" === typeof input.anyOf && null !== input.anyOf && _io15(input.anyOf)))) && (null !== input["enum"] && (undefined === input["enum"] || "string" === typeof input["enum"] || (Array.isArray(input["enum"]) || "object" === typeof input["enum"] && null !== input["enum"] && _io16(input["enum"])))) && (null !== input.minItems && (undefined === input.minItems || "string" === typeof input.minItems || "number" === typeof input.minItems || "object" === typeof input.minItems && null !== input.minItems && _io17(input.minItems))) && (null !== input.maxItems && (undefined === input.maxItems || "string" === typeof input.maxItems || "number" === typeof input.maxItems || "object" === typeof input.maxItems && null !== input.maxItems && _io17(input.maxItems))) && (null !== input.items && (undefined === input.items || "string" === typeof input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _iu1(input.items))) && (null !== input.properties && (undefined === input.properties || "string" === typeof input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _iu2(input.properties))) && true && true && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _iu3(input.widget))) && (null !== input.placeholder && (undefined === input.placeholder || "string" === typeof input.placeholder || "object" === typeof input.placeholder && null !== input.placeholder && _io10(input.placeholder))) && (null !== input.helpText && (undefined === input.helpText || "string" === typeof input.helpText || "object" === typeof input.helpText && null !== input.helpText && _io10(input.helpText))) && (null !== input.invalid && (undefined === input.invalid || "string" === typeof input.invalid || "boolean" === typeof input.invalid || "object" === typeof input.invalid && null !== input.invalid && _io11(input.invalid))) && true; 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 => "string" === typeof input.label && "string" === typeof input.path; const _io8 = input => "object" === typeof input.__context && null !== input.__context && _io9(input.__context) && (undefined === input.__returnValue || "string" === input.__returnValue || "number" === input.__returnValue || "boolean" === input.__returnValue || "object" === input.__returnValue || "array" === input.__returnValue || "asset" === input.__returnValue || "datetime" === input.__returnValue || "rpc" === input.__returnValue); const _io9 = input => "string" === typeof input.id; const _io10 = input => "object" === typeof input.__context && null !== input.__context && _io9(input.__context) && (undefined === input.__returnValue || "string" === typeof input.__returnValue); const _io11 = input => "object" === typeof input.__context && null !== input.__context && _io9(input.__context) && (undefined === input.__returnValue || "boolean" === typeof input.__returnValue); const _io12 = input => (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) && _io12(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io12(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && (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) && _io12(input.items)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io13(input.properties)) && true && true && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io14(input.widget))) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true; const _io13 = input => Object.keys(input).every(key => {
|
|
3164
3611
|
const value = input[key];
|
|
3165
3612
|
if (undefined === value)
|
|
3166
3613
|
return true;
|
|
3167
|
-
return
|
|
3168
|
-
}); const
|
|
3614
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io12(value);
|
|
3615
|
+
}); const _io14 = input => (undefined === input.type || "string" === typeof input.type) && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && Object.keys(input).every(key => {
|
|
3616
|
+
if (["type", "readOnly"].some(prop => key === prop))
|
|
3617
|
+
return true;
|
|
3169
3618
|
const value = input[key];
|
|
3170
3619
|
if (undefined === value)
|
|
3171
3620
|
return true;
|
|
3172
|
-
return
|
|
3173
|
-
}); const
|
|
3621
|
+
return true;
|
|
3622
|
+
}); const _io15 = input => "object" === typeof input.__context && null !== input.__context && _io9(input.__context) && (undefined === input.__returnValue || Array.isArray(input.__returnValue) && input.__returnValue.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io12(elem))); const _io16 = input => "object" === typeof input.__context && null !== input.__context && _io9(input.__context) && (undefined === input.__returnValue || Array.isArray(input.__returnValue)); const _io17 = input => "object" === typeof input.__context && null !== input.__context && _io9(input.__context) && (undefined === input.__returnValue || "number" === typeof input.__returnValue); const _io18 = input => "object" === typeof input.__context && null !== input.__context && _io9(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io12(input.__returnValue)); const _io19 = input => "object" === typeof input.__context && null !== input.__context && _io9(input.__context) && (undefined === input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io13(input.__returnValue)); const _io20 = input => "object" === typeof input.__context && null !== input.__context && _io9(input.__context) && (null !== input.__returnValue && (undefined === input.__returnValue || "string" === typeof input.__returnValue || "object" === typeof input.__returnValue && null !== input.__returnValue && false === Array.isArray(input.__returnValue) && _io14(input.__returnValue))); const _io21 = 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 _io22 = input => "divider" === input.type && (undefined === input.title || "string" === typeof input.title); const _io23 = 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) && _io14(input.widget))); const _iu0 = input => (() => {
|
|
3174
3623
|
if (undefined !== input.type)
|
|
3175
|
-
return
|
|
3624
|
+
return _io22(input);
|
|
3176
3625
|
else if (undefined !== input.property)
|
|
3177
|
-
return
|
|
3626
|
+
return _io23(input);
|
|
3178
3627
|
else
|
|
3179
3628
|
return false;
|
|
3629
|
+
})(); const _iu1 = input => (() => {
|
|
3630
|
+
if (undefined !== input.__context)
|
|
3631
|
+
return _io18(input);
|
|
3632
|
+
else
|
|
3633
|
+
return _io12(input);
|
|
3634
|
+
})(); const _iu2 = input => (() => {
|
|
3635
|
+
if (undefined !== input.__context)
|
|
3636
|
+
return _io19(input);
|
|
3637
|
+
else
|
|
3638
|
+
return _io13(input);
|
|
3639
|
+
})(); const _iu3 = input => (() => {
|
|
3640
|
+
if (undefined !== input.__context)
|
|
3641
|
+
return _io20(input);
|
|
3642
|
+
else
|
|
3643
|
+
return _io14(input);
|
|
3180
3644
|
})(); 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);
|
|
3181
3645
|
}
|
|
3182
3646
|
case ":script": {
|
|
@@ -3184,7 +3648,7 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
3184
3648
|
}
|
|
3185
3649
|
case ":script?": {
|
|
3186
3650
|
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 ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(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":${String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.version))},"children":${`[${input.children.map(elem => _so4(elem)).join(",")}]`},"direction":${null !== input.direction ? "\"" + input.direction + "\"" : "null"},"format":${"\"" + input.format + "\""},"indent":${String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.indent))}}`; const _so3 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
3187
|
-
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":${String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(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.$)) &&
|
|
3651
|
+
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":${String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.version))}}`; const _io1 = input => "object" === typeof input.root && null !== input.root && _io2(input.root); const _io2 = input => "string" === typeof input.type && "number" === typeof input.version && (undefined === input.$ || "object" === typeof input.$ && null !== input.$ && false === Array.isArray(input.$) && _io3(input.$)) && (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 => {
|
|
3188
3652
|
const value = input[key];
|
|
3189
3653
|
if (undefined === value)
|
|
3190
3654
|
return true;
|
|
@@ -3199,7 +3663,7 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
3199
3663
|
}
|
|
3200
3664
|
case ":script.revision?": {
|
|
3201
3665
|
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 ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(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":${String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.version))},"children":${`[${input.children.map(elem => _so4(elem)).join(",")}]`},"direction":${null !== input.direction ? "\"" + input.direction + "\"" : "null"},"format":${"\"" + input.format + "\""},"indent":${String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.indent))}}`; const _so3 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
3202
|
-
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":${String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(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.$)) &&
|
|
3666
|
+
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":${String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.version))}}`; const _io1 = input => "object" === typeof input.root && null !== input.root && _io2(input.root); const _io2 = input => "string" === typeof input.type && "number" === typeof input.version && (undefined === input.$ || "object" === typeof input.$ && null !== input.$ && false === Array.isArray(input.$) && _io3(input.$)) && (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 => {
|
|
3203
3667
|
const value = input[key];
|
|
3204
3668
|
if (undefined === value)
|
|
3205
3669
|
return true;
|
|
@@ -3302,7 +3766,7 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
3302
3766
|
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);
|
|
3303
3767
|
}
|
|
3304
3768
|
case ":settings": {
|
|
3305
|
-
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"
|
|
3769
|
+
return (() => { const _iv29 = new Set(["encoding", "name", "fontname", "fontsize", "primaryColour", "secondaryColour", "outlineColour", "backColour", "bold", "italic", "underline", "strikeOut", "scaleX", "scaleY", "spacing", "lineSpacing", "angle", "borderStyle", "outline", "shadow", "alignment", "marginL", "marginR", "marginV"]); 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 ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(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 ? String(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 ? String(input.crashScreen) : undefined},`}${undefined === input.debug ? "" : `"debug":${undefined !== input.debug ? String(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 ? String(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 ? String(input.overrideUserContact) : undefined},`}${undefined === input.overrideUserLogin ? "" : `"overrideUserLogin":${undefined !== input.overrideUserLogin ? String(input.overrideUserLogin) : undefined}`}`)}}`; const _so2 = input => `{${__typia_transform__jsonStringifyTail._jsonStringifyTail(`${undefined === input.width ? "" : `"width":${undefined !== input.width ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.width)) : undefined},`}${undefined === input.height ? "" : `"height":${undefined !== input.height ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(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)
|
|
3306
3770
|
return ""; if (["settingsPanelStore"].some(regular => regular === key))
|
|
3307
3771
|
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 ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(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 ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.priority)) : undefined},`}${undefined === input.height ? "" : `"height":${undefined !== input.height ? null !== input.height ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(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 ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.priority)) : undefined},`}${undefined === input.height ? "" : `"height":${undefined !== input.height ? null !== input.height ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(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 ? String(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 ? String(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 ? String(input.clustering) : undefined},`}${undefined === input.zoom ? "" : `"zoom":${undefined !== input.zoom ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.zoom)) : undefined},`}${undefined === input.center ? "" : `"center":${undefined !== input.center ? `[${String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.center[0]))},${String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(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 ? String(input.enable) : undefined},`}${undefined === input.show24Hours ? "" : `"show24Hours":${undefined !== input.show24Hours ? String(input.show24Hours) : undefined},`}${undefined === input.showAmPm ? "" : `"showAmPm":${undefined !== input.showAmPm ? String(input.showAmPm) : undefined},`}${undefined === input.showSeconds ? "" : `"showSeconds":${undefined !== input.showSeconds ? String(input.showSeconds) : undefined},`}${undefined === input.showDayOfWeek ? "" : `"showDayOfWeek":${undefined !== input.showDayOfWeek ? String(input.showDayOfWeek) : undefined},`}${undefined === input.showDate ? "" : `"showDate":${undefined !== input.showDate ? String(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 ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.maxMru)) : undefined},`}${undefined === input.maxTabs ? "" : `"maxTabs":${undefined !== input.maxTabs ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(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 ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.bookmarks)) : undefined},`}${undefined === input.browser ? "" : `"browser":${undefined !== input.browser ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(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 ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(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 ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(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 ? String(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)
|
|
3308
3772
|
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 ? String(input.preview) : undefined},`}${undefined === input.children ? "" : `"children":${undefined !== input.children ? String(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)
|
|
@@ -3329,7 +3793,7 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
3329
3793
|
value: input.sequence
|
|
3330
3794
|
});
|
|
3331
3795
|
})() : "null" : undefined},`}${undefined === input.schema ? "" : `"schema":${undefined !== input.schema ? _so36(input.schema) : undefined},`}${undefined === input.stopCallback ? "" : `"stopCallback":${undefined !== input.stopCallback ? String(input.stopCallback) : undefined}`}`)}}`; const _so36 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
|
|
3332
|
-
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 ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.volume)) : undefined},`}${undefined === input.muted ? "" : `"muted":${undefined !== input.muted ? String(input.muted) : undefined},`}${undefined === input.graphics ? "" : `"graphics":${undefined !== input.graphics ? String(input.graphics) : undefined},`}${undefined === input.waveform ? "" : `"waveform":${undefined !== input.waveform ? String(input.waveform) : undefined},`}${undefined === input.defaultFrameRate ? "" : `"defaultFrameRate":${undefined !== input.defaultFrameRate ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.defaultFrameRate)) : undefined},`}${undefined === input.dropFrame ? "" : `"dropFrame":${undefined !== input.dropFrame ? String(input.dropFrame) : undefined},`}${undefined === input.placeholder ? "" : `"placeholder":${undefined !== input.placeholder ? __typia_transform__jsonStringifyString._jsonStringifyString(input.placeholder) : undefined},`}${undefined === input.warnSubclipDuration ? "" : `"warnSubclipDuration":${undefined !== input.warnSubclipDuration ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(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 ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.stepManyFrames)) : undefined},`}${undefined === input.liveZoomDuration ? "" : `"liveZoomDuration":${undefined !== input.liveZoomDuration ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(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 ?
|
|
3796
|
+
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 ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.volume)) : undefined},`}${undefined === input.muted ? "" : `"muted":${undefined !== input.muted ? String(input.muted) : undefined},`}${undefined === input.graphics ? "" : `"graphics":${undefined !== input.graphics ? String(input.graphics) : undefined},`}${undefined === input.subtitle ? "" : `"subtitle":${undefined !== input.subtitle ? null !== input.subtitle ? __typia_transform__jsonStringifyString._jsonStringifyString(input.subtitle) : "null" : undefined},`}${undefined === input.waveform ? "" : `"waveform":${undefined !== input.waveform ? String(input.waveform) : undefined},`}${undefined === input.defaultFrameRate ? "" : `"defaultFrameRate":${undefined !== input.defaultFrameRate ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.defaultFrameRate)) : undefined},`}${undefined === input.dropFrame ? "" : `"dropFrame":${undefined !== input.dropFrame ? String(input.dropFrame) : undefined},`}${undefined === input.placeholder ? "" : `"placeholder":${undefined !== input.placeholder ? __typia_transform__jsonStringifyString._jsonStringifyString(input.placeholder) : undefined},`}${undefined === input.warnSubclipDuration ? "" : `"warnSubclipDuration":${undefined !== input.warnSubclipDuration ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(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 ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.stepManyFrames)) : undefined},`}${undefined === input.liveZoomDuration ? "" : `"liveZoomDuration":${undefined !== input.liveZoomDuration ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(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.showTimeCode ? "" : `"showTimeCode":${undefined !== input.showTimeCode ? String(input.showTimeCode) : undefined},`}${undefined === input.timecodeReference ? "" : `"timecodeReference":${undefined !== input.timecodeReference ? "\"" + input.timecodeReference + "\"" : undefined},`}${undefined === input.maxSubclipDuration ? "" : `"maxSubclipDuration":${undefined !== input.maxSubclipDuration ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.maxSubclipDuration)) : undefined},`}${undefined === input.rewindStep ? "" : `"rewindStep":${undefined !== input.rewindStep ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(input.rewindStep)) : undefined},`}${undefined === input.forwardStep ? "" : `"forwardStep":${undefined !== input.forwardStep ? String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(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 => String(__typia_transform__jsonStringifyNumber._jsonStringifyNumber(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 ? String(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 ? (() => {
|
|
3333
3797
|
if ("string" === typeof input.openCommand)
|
|
3334
3798
|
return __typia_transform__jsonStringifyString._jsonStringifyString(input.openCommand);
|
|
3335
3799
|
if ("object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand))
|
|
@@ -3393,11 +3857,11 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
3393
3857
|
if (undefined === value)
|
|
3394
3858
|
return true;
|
|
3395
3859
|
return true;
|
|
3396
|
-
}); 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 => {
|
|
3860
|
+
}); const _io37 = input => (undefined === input.volume || "number" === typeof input.volume) && (undefined === input.muted || "boolean" === typeof input.muted) && (undefined === input.graphics || "boolean" === typeof input.graphics) && (null === input.subtitle || undefined === input.subtitle || "string" === typeof input.subtitle) && (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.showTimeCode || "boolean" === typeof input.showTimeCode) && (undefined === input.timecodeReference || "default" === input.timecodeReference || "subclip" === 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 || "title" === input.key || "id" === 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 => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every(elem => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every(elem => "author" === elem || "mentioned" === elem || "assigned" === 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 => {
|
|
3397
3861
|
const value = input[key];
|
|
3398
3862
|
if (undefined === value)
|
|
3399
3863
|
return true;
|
|
3400
|
-
return Array.isArray(value) && value.every(elem => "
|
|
3864
|
+
return Array.isArray(value) && value.every(elem => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem);
|
|
3401
3865
|
}); 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 => (() => {
|
|
3402
3866
|
if ("script" === input.type)
|
|
3403
3867
|
return _io71(input);
|
|
@@ -3570,7 +4034,7 @@ function _stringifyDomainRecord(domain, input) {
|
|
|
3570
4034
|
expected: "(UserNotificationPublishSucceeded | UserNotificationAddedToSearch | UserNotificationComment | UserNotificationUnassigned | UserNotificationAssigned)",
|
|
3571
4035
|
value: input
|
|
3572
4036
|
});
|
|
3573
|
-
})(); const _io0 = input => "assigned" === input.type && ("object" === typeof input.payload && null !== input.payload && _io1(input.payload)) && "string" === typeof input.userId && "string" === typeof input.timestamp && (Array.isArray(input.reasons) && input.reasons.every(elem => "
|
|
4037
|
+
})(); const _io0 = input => "assigned" === input.type && ("object" === typeof input.payload && null !== input.payload && _io1(input.payload)) && "string" === typeof input.userId && "string" === typeof input.timestamp && (Array.isArray(input.reasons) && input.reasons.every(elem => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem)) && (undefined === input.triggerId || "string" === typeof input.triggerId); const _io1 = input => "string" === typeof input.assetId && (undefined === input.actionBy || "string" === typeof input.actionBy); const _io2 = input => "unassigned" === input.type && ("object" === typeof input.payload && null !== input.payload && _io3(input.payload)) && "string" === typeof input.userId && "string" === typeof input.timestamp && (Array.isArray(input.reasons) && input.reasons.every(elem => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem)) && (undefined === input.triggerId || "string" === typeof input.triggerId); const _io3 = input => "string" === typeof input.assetId && (undefined === input.actionBy || "string" === typeof input.actionBy); const _io4 = input => "comment" === input.type && ("object" === typeof input.payload && null !== input.payload && _io5(input.payload)) && "string" === typeof input.userId && "string" === typeof input.timestamp && (Array.isArray(input.reasons) && input.reasons.every(elem => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem)) && (undefined === input.triggerId || "string" === typeof input.triggerId); const _io5 = input => "string" === typeof input.commentId; const _io6 = input => "added-to-search" === input.type && ("object" === typeof input.payload && null !== input.payload && _io7(input.payload)) && "string" === typeof input.userId && "string" === typeof input.timestamp && (Array.isArray(input.reasons) && input.reasons.every(elem => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem)) && (undefined === input.triggerId || "string" === typeof input.triggerId); const _io7 = input => "string" === typeof input.searchId && "string" === typeof input.assetId; const _io8 = input => "publishSucceeded" === input.type && ("object" === typeof input.payload && null !== input.payload && _io9(input.payload)) && "string" === typeof input.userId && "string" === typeof input.timestamp && (Array.isArray(input.reasons) && input.reasons.every(elem => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem)) && (undefined === input.triggerId || "string" === typeof input.triggerId); const _io9 = input => (undefined === input.userId || "string" === typeof input.userId) && "string" === typeof input.assetId && "string" === typeof input.publishId && "string" === typeof input.connectionId; return input => _su0(input); })()(input);
|
|
3574
4038
|
}
|
|
3575
4039
|
case ":user-notification.readAt": {
|
|
3576
4040
|
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);
|