@nxtedition/types 1.2.7 → 1.3.0

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.
@@ -2087,8 +2087,9 @@ export const isPublishStatsRecord = input => {
2087
2087
  return true;
2088
2088
  return true;
2089
2089
  });
2090
- const $io3 = input => (undefined === input.retrieved || "object" === typeof input.retrieved && null !== input.retrieved && false === Array.isArray(input.retrieved) && $io4(input.retrieved)) && (undefined === input.defaults || "object" === typeof input.defaults && null !== input.defaults && $io7(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)));
2091
- const $io4 = 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) && $io5(input.renders)) && Object.keys(input).every(key => {
2090
+ const $io3 = 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))) && (undefined === input.retrieved || "object" === typeof input.retrieved && null !== input.retrieved && false === Array.isArray(input.retrieved) && $io2(input.retrieved)) && (undefined === input.defaults || "object" === typeof input.defaults && null !== input.defaults && false === Array.isArray(input.defaults) && $io2(input.defaults));
2091
+ const $io4 = input => (undefined === input.retrieved || "object" === typeof input.retrieved && null !== input.retrieved && false === Array.isArray(input.retrieved) && $io5(input.retrieved)) && (undefined === input.defaults || "object" === typeof input.defaults && null !== input.defaults && $io8(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)));
2092
+ const $io5 = 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) && $io6(input.renders)) && Object.keys(input).every(key => {
2092
2093
  if (["filename", "directory", "renders"].some(prop => key === prop))
2093
2094
  return true;
2094
2095
  const value = input[key];
@@ -2096,14 +2097,14 @@ export const isPublishStatsRecord = input => {
2096
2097
  return true;
2097
2098
  return true;
2098
2099
  });
2099
- const $io5 = input => Object.keys(input).every(key => {
2100
+ const $io6 = input => Object.keys(input).every(key => {
2100
2101
  const value = input[key];
2101
2102
  if (undefined === value)
2102
2103
  return true;
2103
- return "object" === typeof value && null !== value && $io6(value);
2104
+ return "object" === typeof value && null !== value && $io7(value);
2104
2105
  });
2105
- const $io6 = input => "string" === typeof input.path && (undefined === input.size || "string" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash);
2106
- const $io7 = input => "string" === typeof input.directory && "string" === typeof input.filename && ("object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && $io8(input.renders)) && Object.keys(input).every(key => {
2106
+ const $io7 = input => "string" === typeof input.path && (undefined === input.size || "string" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash);
2107
+ const $io8 = input => "string" === typeof input.directory && "string" === typeof input.filename && ("object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && $io9(input.renders)) && Object.keys(input).every(key => {
2107
2108
  if (["directory", "filename", "renders"].some(prop => key === prop))
2108
2109
  return true;
2109
2110
  const value = input[key];
@@ -2111,14 +2112,16 @@ export const isPublishStatsRecord = input => {
2111
2112
  return true;
2112
2113
  return true;
2113
2114
  });
2114
- const $io8 = input => Object.keys(input).every(key => {
2115
+ const $io9 = input => Object.keys(input).every(key => {
2115
2116
  const value = input[key];
2116
2117
  if (undefined === value)
2117
2118
  return true;
2118
- return "object" === typeof value && null !== value && false === Array.isArray(value) && $io9(value);
2119
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && $io10(value);
2119
2120
  });
2120
- const $io9 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy);
2121
+ const $io10 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene);
2121
2122
  const $iu0 = input => (() => {
2123
+ if ($io4(input))
2124
+ return $io4(input);
2122
2125
  if ($io3(input))
2123
2126
  return $io3(input);
2124
2127
  if ($io0(input))
@@ -2137,8 +2140,9 @@ export const assertPublishStatsRecord = (input, errorFactory) => {
2137
2140
  return true;
2138
2141
  return true;
2139
2142
  });
2140
- const $io3 = input => (undefined === input.retrieved || "object" === typeof input.retrieved && null !== input.retrieved && false === Array.isArray(input.retrieved) && $io4(input.retrieved)) && (undefined === input.defaults || "object" === typeof input.defaults && null !== input.defaults && $io7(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)));
2141
- const $io4 = 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) && $io5(input.renders)) && Object.keys(input).every(key => {
2143
+ const $io3 = 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))) && (undefined === input.retrieved || "object" === typeof input.retrieved && null !== input.retrieved && false === Array.isArray(input.retrieved) && $io2(input.retrieved)) && (undefined === input.defaults || "object" === typeof input.defaults && null !== input.defaults && false === Array.isArray(input.defaults) && $io2(input.defaults));
2144
+ const $io4 = input => (undefined === input.retrieved || "object" === typeof input.retrieved && null !== input.retrieved && false === Array.isArray(input.retrieved) && $io5(input.retrieved)) && (undefined === input.defaults || "object" === typeof input.defaults && null !== input.defaults && $io8(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)));
2145
+ const $io5 = 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) && $io6(input.renders)) && Object.keys(input).every(key => {
2142
2146
  if (["filename", "directory", "renders"].some(prop => key === prop))
2143
2147
  return true;
2144
2148
  const value = input[key];
@@ -2146,14 +2150,14 @@ export const assertPublishStatsRecord = (input, errorFactory) => {
2146
2150
  return true;
2147
2151
  return true;
2148
2152
  });
2149
- const $io5 = input => Object.keys(input).every(key => {
2153
+ const $io6 = input => Object.keys(input).every(key => {
2150
2154
  const value = input[key];
2151
2155
  if (undefined === value)
2152
2156
  return true;
2153
- return "object" === typeof value && null !== value && $io6(value);
2157
+ return "object" === typeof value && null !== value && $io7(value);
2154
2158
  });
2155
- const $io6 = input => "string" === typeof input.path && (undefined === input.size || "string" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash);
2156
- const $io7 = input => "string" === typeof input.directory && "string" === typeof input.filename && ("object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && $io8(input.renders)) && Object.keys(input).every(key => {
2159
+ const $io7 = input => "string" === typeof input.path && (undefined === input.size || "string" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash);
2160
+ const $io8 = input => "string" === typeof input.directory && "string" === typeof input.filename && ("object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && $io9(input.renders)) && Object.keys(input).every(key => {
2157
2161
  if (["directory", "filename", "renders"].some(prop => key === prop))
2158
2162
  return true;
2159
2163
  const value = input[key];
@@ -2161,14 +2165,16 @@ export const assertPublishStatsRecord = (input, errorFactory) => {
2161
2165
  return true;
2162
2166
  return true;
2163
2167
  });
2164
- const $io8 = input => Object.keys(input).every(key => {
2168
+ const $io9 = input => Object.keys(input).every(key => {
2165
2169
  const value = input[key];
2166
2170
  if (undefined === value)
2167
2171
  return true;
2168
- return "object" === typeof value && null !== value && false === Array.isArray(value) && $io9(value);
2172
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && $io10(value);
2169
2173
  });
2170
- const $io9 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy);
2174
+ const $io10 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene);
2171
2175
  const $iu0 = input => (() => {
2176
+ if ($io4(input))
2177
+ return $io4(input);
2172
2178
  if ($io3(input))
2173
2179
  return $io3(input);
2174
2180
  if ($io0(input))
@@ -2241,11 +2247,52 @@ export const assertPublishStatsRecord = (input, errorFactory) => {
2241
2247
  return true;
2242
2248
  return true;
2243
2249
  });
2244
- const $ao3 = (input, _path, _exceptionable = true) => (undefined === input.retrieved || ("object" === typeof input.retrieved && null !== input.retrieved && false === Array.isArray(input.retrieved) || $guard(_exceptionable, {
2250
+ const $ao3 = (input, _path, _exceptionable = true) => (undefined === input.status || "string" === typeof input.status || $guard(_exceptionable, {
2251
+ path: _path + ".status",
2252
+ expected: "(string | undefined)",
2253
+ value: input.status
2254
+ }, errorFactory)) && (undefined === input.substatus || "string" === typeof input.substatus || $guard(_exceptionable, {
2255
+ path: _path + ".substatus",
2256
+ expected: "(string | undefined)",
2257
+ value: input.substatus
2258
+ }, errorFactory)) && (undefined === input.messages || (Array.isArray(input.messages) || $guard(_exceptionable, {
2259
+ path: _path + ".messages",
2260
+ expected: "(Array<Message> | undefined)",
2261
+ value: input.messages
2262
+ }, errorFactory)) && input.messages.every((elem, _index2) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
2263
+ path: _path + ".messages[" + _index2 + "]",
2264
+ expected: "Message",
2265
+ value: elem
2266
+ }, errorFactory)) && $ao1(elem, _path + ".messages[" + _index2 + "]", true && _exceptionable) || $guard(_exceptionable, {
2267
+ path: _path + ".messages[" + _index2 + "]",
2268
+ expected: "Message",
2269
+ value: elem
2270
+ }, errorFactory)) || $guard(_exceptionable, {
2271
+ path: _path + ".messages",
2272
+ expected: "(Array<Message> | undefined)",
2273
+ value: input.messages
2274
+ }, errorFactory)) && (undefined === input.retrieved || ("object" === typeof input.retrieved && null !== input.retrieved && false === Array.isArray(input.retrieved) || $guard(_exceptionable, {
2275
+ path: _path + ".retrieved",
2276
+ expected: "(Record<string, unknown> | undefined)",
2277
+ value: input.retrieved
2278
+ }, errorFactory)) && $ao2(input.retrieved, _path + ".retrieved", true && _exceptionable) || $guard(_exceptionable, {
2279
+ path: _path + ".retrieved",
2280
+ expected: "(Record<string, unknown> | undefined)",
2281
+ value: input.retrieved
2282
+ }, errorFactory)) && (undefined === input.defaults || ("object" === typeof input.defaults && null !== input.defaults && false === Array.isArray(input.defaults) || $guard(_exceptionable, {
2283
+ path: _path + ".defaults",
2284
+ expected: "(Record<string, unknown> | undefined)",
2285
+ value: input.defaults
2286
+ }, errorFactory)) && $ao2(input.defaults, _path + ".defaults", true && _exceptionable) || $guard(_exceptionable, {
2287
+ path: _path + ".defaults",
2288
+ expected: "(Record<string, unknown> | undefined)",
2289
+ value: input.defaults
2290
+ }, errorFactory));
2291
+ const $ao4 = (input, _path, _exceptionable = true) => (undefined === input.retrieved || ("object" === typeof input.retrieved && null !== input.retrieved && false === Array.isArray(input.retrieved) || $guard(_exceptionable, {
2245
2292
  path: _path + ".retrieved",
2246
2293
  expected: "(FilePublishRetrieved | undefined)",
2247
2294
  value: input.retrieved
2248
- }, errorFactory)) && $ao4(input.retrieved, _path + ".retrieved", true && _exceptionable) || $guard(_exceptionable, {
2295
+ }, errorFactory)) && $ao5(input.retrieved, _path + ".retrieved", true && _exceptionable) || $guard(_exceptionable, {
2249
2296
  path: _path + ".retrieved",
2250
2297
  expected: "(FilePublishRetrieved | undefined)",
2251
2298
  value: input.retrieved
@@ -2253,7 +2300,7 @@ export const assertPublishStatsRecord = (input, errorFactory) => {
2253
2300
  path: _path + ".defaults",
2254
2301
  expected: "(FilePublishDefaults | undefined)",
2255
2302
  value: input.defaults
2256
- }, errorFactory)) && $ao7(input.defaults, _path + ".defaults", true && _exceptionable) || $guard(_exceptionable, {
2303
+ }, errorFactory)) && $ao8(input.defaults, _path + ".defaults", true && _exceptionable) || $guard(_exceptionable, {
2257
2304
  path: _path + ".defaults",
2258
2305
  expected: "(FilePublishDefaults | undefined)",
2259
2306
  value: input.defaults
@@ -2269,12 +2316,12 @@ export const assertPublishStatsRecord = (input, errorFactory) => {
2269
2316
  path: _path + ".messages",
2270
2317
  expected: "(Array<Message> | undefined)",
2271
2318
  value: input.messages
2272
- }, errorFactory)) && input.messages.every((elem, _index2) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
2273
- path: _path + ".messages[" + _index2 + "]",
2319
+ }, errorFactory)) && input.messages.every((elem, _index3) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
2320
+ path: _path + ".messages[" + _index3 + "]",
2274
2321
  expected: "Message",
2275
2322
  value: elem
2276
- }, errorFactory)) && $ao1(elem, _path + ".messages[" + _index2 + "]", true && _exceptionable) || $guard(_exceptionable, {
2277
- path: _path + ".messages[" + _index2 + "]",
2323
+ }, errorFactory)) && $ao1(elem, _path + ".messages[" + _index3 + "]", true && _exceptionable) || $guard(_exceptionable, {
2324
+ path: _path + ".messages[" + _index3 + "]",
2278
2325
  expected: "Message",
2279
2326
  value: elem
2280
2327
  }, errorFactory)) || $guard(_exceptionable, {
@@ -2282,7 +2329,7 @@ export const assertPublishStatsRecord = (input, errorFactory) => {
2282
2329
  expected: "(Array<Message> | undefined)",
2283
2330
  value: input.messages
2284
2331
  }, errorFactory));
2285
- const $ao4 = (input, _path, _exceptionable = true) => (undefined === input.filename || "string" === typeof input.filename || $guard(_exceptionable, {
2332
+ const $ao5 = (input, _path, _exceptionable = true) => (undefined === input.filename || "string" === typeof input.filename || $guard(_exceptionable, {
2286
2333
  path: _path + ".filename",
2287
2334
  expected: "(string | undefined)",
2288
2335
  value: input.filename
@@ -2294,7 +2341,7 @@ export const assertPublishStatsRecord = (input, errorFactory) => {
2294
2341
  path: _path + ".renders",
2295
2342
  expected: "(Record<string, FilePublishRetrievedRender> | undefined)",
2296
2343
  value: input.renders
2297
- }, errorFactory)) && $ao5(input.renders, _path + ".renders", true && _exceptionable) || $guard(_exceptionable, {
2344
+ }, errorFactory)) && $ao6(input.renders, _path + ".renders", true && _exceptionable) || $guard(_exceptionable, {
2298
2345
  path: _path + ".renders",
2299
2346
  expected: "(Record<string, FilePublishRetrievedRender> | undefined)",
2300
2347
  value: input.renders
@@ -2306,7 +2353,7 @@ export const assertPublishStatsRecord = (input, errorFactory) => {
2306
2353
  return true;
2307
2354
  return true;
2308
2355
  }));
2309
- const $ao5 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
2356
+ const $ao6 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
2310
2357
  const value = input[key];
2311
2358
  if (undefined === value)
2312
2359
  return true;
@@ -2314,13 +2361,13 @@ export const assertPublishStatsRecord = (input, errorFactory) => {
2314
2361
  path: _path + $join(key),
2315
2362
  expected: "FilePublishRetrievedRender",
2316
2363
  value: value
2317
- }, errorFactory)) && $ao6(value, _path + $join(key), true && _exceptionable) || $guard(_exceptionable, {
2364
+ }, errorFactory)) && $ao7(value, _path + $join(key), true && _exceptionable) || $guard(_exceptionable, {
2318
2365
  path: _path + $join(key),
2319
2366
  expected: "FilePublishRetrievedRender",
2320
2367
  value: value
2321
2368
  }, errorFactory);
2322
2369
  });
2323
- const $ao6 = (input, _path, _exceptionable = true) => ("string" === typeof input.path || $guard(_exceptionable, {
2370
+ const $ao7 = (input, _path, _exceptionable = true) => ("string" === typeof input.path || $guard(_exceptionable, {
2324
2371
  path: _path + ".path",
2325
2372
  expected: "string",
2326
2373
  value: input.path
@@ -2333,7 +2380,7 @@ export const assertPublishStatsRecord = (input, errorFactory) => {
2333
2380
  expected: "(string | undefined)",
2334
2381
  value: input.hash
2335
2382
  }, errorFactory));
2336
- const $ao7 = (input, _path, _exceptionable = true) => ("string" === typeof input.directory || $guard(_exceptionable, {
2383
+ const $ao8 = (input, _path, _exceptionable = true) => ("string" === typeof input.directory || $guard(_exceptionable, {
2337
2384
  path: _path + ".directory",
2338
2385
  expected: "string",
2339
2386
  value: input.directory
@@ -2343,11 +2390,11 @@ export const assertPublishStatsRecord = (input, errorFactory) => {
2343
2390
  value: input.filename
2344
2391
  }, errorFactory)) && (("object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) || $guard(_exceptionable, {
2345
2392
  path: _path + ".renders",
2346
- expected: "Record<string, FilePublishDefaultRender>",
2393
+ expected: "Record<string, FilePublishRender>",
2347
2394
  value: input.renders
2348
- }, errorFactory)) && $ao8(input.renders, _path + ".renders", true && _exceptionable) || $guard(_exceptionable, {
2395
+ }, errorFactory)) && $ao9(input.renders, _path + ".renders", true && _exceptionable) || $guard(_exceptionable, {
2349
2396
  path: _path + ".renders",
2350
- expected: "Record<string, FilePublishDefaultRender>",
2397
+ expected: "Record<string, FilePublishRender>",
2351
2398
  value: input.renders
2352
2399
  }, errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
2353
2400
  if (["directory", "filename", "renders"].some(prop => key === prop))
@@ -2357,21 +2404,25 @@ export const assertPublishStatsRecord = (input, errorFactory) => {
2357
2404
  return true;
2358
2405
  return true;
2359
2406
  }));
2360
- const $ao8 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
2407
+ const $ao9 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
2361
2408
  const value = input[key];
2362
2409
  if (undefined === value)
2363
2410
  return true;
2364
2411
  return ("object" === typeof value && null !== value && false === Array.isArray(value) || $guard(_exceptionable, {
2365
2412
  path: _path + $join(key),
2366
- expected: "FilePublishDefaultRender",
2413
+ expected: "FilePublishRender",
2367
2414
  value: value
2368
- }, errorFactory)) && $ao9(value, _path + $join(key), true && _exceptionable) || $guard(_exceptionable, {
2415
+ }, errorFactory)) && $ao10(value, _path + $join(key), true && _exceptionable) || $guard(_exceptionable, {
2369
2416
  path: _path + $join(key),
2370
- expected: "FilePublishDefaultRender",
2417
+ expected: "FilePublishRender",
2371
2418
  value: value
2372
2419
  }, errorFactory);
2373
2420
  });
2374
- const $ao9 = (input, _path, _exceptionable = true) => (undefined === input.path || "string" === typeof input.path || $guard(_exceptionable, {
2421
+ const $ao10 = (input, _path, _exceptionable = true) => (undefined === input.name || "string" === typeof input.name || $guard(_exceptionable, {
2422
+ path: _path + ".name",
2423
+ expected: "(string | undefined)",
2424
+ value: input.name
2425
+ }, errorFactory)) && (undefined === input.path || "string" === typeof input.path || $guard(_exceptionable, {
2375
2426
  path: _path + ".path",
2376
2427
  expected: "(string | undefined)",
2377
2428
  value: input.path
@@ -2379,19 +2430,31 @@ export const assertPublishStatsRecord = (input, errorFactory) => {
2379
2430
  path: _path + ".collisionStrategy",
2380
2431
  expected: "(\"overwrite\" | \"skip\" | undefined)",
2381
2432
  value: input.collisionStrategy
2433
+ }, errorFactory)) && (undefined === input.preset || "string" === typeof input.preset || $guard(_exceptionable, {
2434
+ path: _path + ".preset",
2435
+ expected: "(string | undefined)",
2436
+ value: input.preset
2437
+ }, errorFactory)) && (undefined === input.type || "string" === typeof input.type || $guard(_exceptionable, {
2438
+ path: _path + ".type",
2439
+ expected: "(string | undefined)",
2440
+ value: input.type
2441
+ }, errorFactory)) && true && (undefined === input.scene || "string" === typeof input.scene || $guard(_exceptionable, {
2442
+ path: _path + ".scene",
2443
+ expected: "(string | undefined)",
2444
+ value: input.scene
2382
2445
  }, errorFactory));
2383
- const $au0 = (input, _path, _exceptionable = true) => $ao3(input, _path, false && _exceptionable) || $ao0(input, _path, false && _exceptionable) || $guard(_exceptionable, {
2446
+ const $au0 = (input, _path, _exceptionable = true) => $ao4(input, _path, false && _exceptionable) || $ao3(input, _path, false && _exceptionable) || $ao0(input, _path, false && _exceptionable) || $guard(_exceptionable, {
2384
2447
  path: _path,
2385
- expected: "(FilePublishStatsRecord | PublishStatsRecordCommon)",
2448
+ expected: "(FilePublishStatsRecord | FacebookPublishStatsRecord | YoutubePublishStatsRecord)",
2386
2449
  value: input
2387
2450
  }, errorFactory);
2388
2451
  return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
2389
2452
  path: _path + "",
2390
- expected: "(FilePublishStatsRecord | PublishStatsRecordCommon)",
2453
+ expected: "(FacebookPublishStatsRecord | FilePublishStatsRecord | YoutubePublishStatsRecord)",
2391
2454
  value: input
2392
2455
  }, errorFactory)) && $au0(input, _path + "", true) || $guard(true, {
2393
2456
  path: _path + "",
2394
- expected: "(FilePublishStatsRecord | PublishStatsRecordCommon)",
2457
+ expected: "(FacebookPublishStatsRecord | FilePublishStatsRecord | YoutubePublishStatsRecord)",
2395
2458
  value: input
2396
2459
  }, errorFactory);
2397
2460
  })(input, "$input", true);
@@ -2433,13 +2496,35 @@ export const randomPublishStatsRecord = generator => {
2433
2496
  return output;
2434
2497
  };
2435
2498
  const $ro3 = (_recursive = false, _depth = 0) => ({
2499
+ status: $pick([
2500
+ () => undefined,
2501
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
2502
+ ])(),
2503
+ substatus: $pick([
2504
+ () => undefined,
2505
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
2506
+ ])(),
2507
+ messages: $pick([
2508
+ () => undefined,
2509
+ () => (generator?.array ?? $generator.array)(() => $ro1(_recursive, _recursive ? 1 + _depth : _depth))
2510
+ ])(),
2436
2511
  retrieved: $pick([
2437
2512
  () => undefined,
2438
- () => $ro4(_recursive, _recursive ? 1 + _depth : _depth)
2513
+ () => $ro2(_recursive, _recursive ? 1 + _depth : _depth)
2514
+ ])(),
2515
+ defaults: $pick([
2516
+ () => undefined,
2517
+ () => $ro2(_recursive, _recursive ? 1 + _depth : _depth)
2518
+ ])()
2519
+ });
2520
+ const $ro4 = (_recursive = false, _depth = 0) => ({
2521
+ retrieved: $pick([
2522
+ () => undefined,
2523
+ () => $ro5(_recursive, _recursive ? 1 + _depth : _depth)
2439
2524
  ])(),
2440
2525
  defaults: $pick([
2441
2526
  () => undefined,
2442
- () => $ro7(_recursive, _recursive ? 1 + _depth : _depth)
2527
+ () => $ro8(_recursive, _recursive ? 1 + _depth : _depth)
2443
2528
  ])(),
2444
2529
  status: $pick([
2445
2530
  () => undefined,
@@ -2454,7 +2539,7 @@ export const randomPublishStatsRecord = generator => {
2454
2539
  () => (generator?.array ?? $generator.array)(() => $ro1(_recursive, _recursive ? 1 + _depth : _depth))
2455
2540
  ])()
2456
2541
  });
2457
- const $ro4 = (_recursive = false, _depth = 0) => {
2542
+ const $ro5 = (_recursive = false, _depth = 0) => {
2458
2543
  const output = {
2459
2544
  filename: $pick([
2460
2545
  () => undefined,
@@ -2466,18 +2551,18 @@ export const randomPublishStatsRecord = generator => {
2466
2551
  ])(),
2467
2552
  renders: $pick([
2468
2553
  () => undefined,
2469
- () => $ro5(_recursive, _recursive ? 1 + _depth : _depth)
2554
+ () => $ro6(_recursive, _recursive ? 1 + _depth : _depth)
2470
2555
  ])()
2471
2556
  };
2472
2557
  (generator?.array ?? $generator.array)(() => output[(generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()] = "any type used...", (generator?.integer ?? $generator.integer)(0, 3));
2473
2558
  return output;
2474
2559
  };
2475
- const $ro5 = (_recursive = false, _depth = 0) => {
2560
+ const $ro6 = (_recursive = false, _depth = 0) => {
2476
2561
  const output = {};
2477
- (generator?.array ?? $generator.array)(() => output[(generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()] = $ro6(_recursive, _recursive ? 1 + _depth : _depth), (generator?.integer ?? $generator.integer)(0, 3));
2562
+ (generator?.array ?? $generator.array)(() => output[(generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()] = $ro7(_recursive, _recursive ? 1 + _depth : _depth), (generator?.integer ?? $generator.integer)(0, 3));
2478
2563
  return output;
2479
2564
  };
2480
- const $ro6 = (_recursive = false, _depth = 0) => ({
2565
+ const $ro7 = (_recursive = false, _depth = 0) => ({
2481
2566
  path: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
2482
2567
  size: $pick([
2483
2568
  () => undefined,
@@ -2488,21 +2573,25 @@ export const randomPublishStatsRecord = generator => {
2488
2573
  () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
2489
2574
  ])()
2490
2575
  });
2491
- const $ro7 = (_recursive = false, _depth = 0) => {
2576
+ const $ro8 = (_recursive = false, _depth = 0) => {
2492
2577
  const output = {
2493
2578
  directory: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
2494
2579
  filename: (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
2495
- renders: $ro8(_recursive, _recursive ? 1 + _depth : _depth)
2580
+ renders: $ro9(_recursive, _recursive ? 1 + _depth : _depth)
2496
2581
  };
2497
2582
  (generator?.array ?? $generator.array)(() => output[(generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()] = "any type used...", (generator?.integer ?? $generator.integer)(0, 3));
2498
2583
  return output;
2499
2584
  };
2500
- const $ro8 = (_recursive = false, _depth = 0) => {
2585
+ const $ro9 = (_recursive = false, _depth = 0) => {
2501
2586
  const output = {};
2502
- (generator?.array ?? $generator.array)(() => output[(generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()] = $ro9(_recursive, _recursive ? 1 + _depth : _depth), (generator?.integer ?? $generator.integer)(0, 3));
2587
+ (generator?.array ?? $generator.array)(() => output[(generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()] = $ro10(_recursive, _recursive ? 1 + _depth : _depth), (generator?.integer ?? $generator.integer)(0, 3));
2503
2588
  return output;
2504
2589
  };
2505
- const $ro9 = (_recursive = false, _depth = 0) => ({
2590
+ const $ro10 = (_recursive = false, _depth = 0) => ({
2591
+ name: $pick([
2592
+ () => undefined,
2593
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
2594
+ ])(),
2506
2595
  path: $pick([
2507
2596
  () => undefined,
2508
2597
  () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
@@ -2511,9 +2600,26 @@ export const randomPublishStatsRecord = generator => {
2511
2600
  () => undefined,
2512
2601
  () => "overwrite",
2513
2602
  () => "skip"
2603
+ ])(),
2604
+ preset: $pick([
2605
+ () => undefined,
2606
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
2607
+ ])(),
2608
+ type: $pick([
2609
+ () => undefined,
2610
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
2611
+ ])(),
2612
+ profile: $pick([
2613
+ () => "any type used...",
2614
+ () => undefined
2615
+ ])(),
2616
+ scene: $pick([
2617
+ () => undefined,
2618
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
2514
2619
  ])()
2515
2620
  });
2516
2621
  return $pick([
2622
+ () => $ro4(),
2517
2623
  () => $ro3(),
2518
2624
  () => $ro0()
2519
2625
  ])();
@@ -2528,8 +2634,9 @@ export const assertGuardPublishStatsRecord = (input, errorFactory) => {
2528
2634
  return true;
2529
2635
  return true;
2530
2636
  });
2531
- const $io3 = input => (undefined === input.retrieved || "object" === typeof input.retrieved && null !== input.retrieved && false === Array.isArray(input.retrieved) && $io4(input.retrieved)) && (undefined === input.defaults || "object" === typeof input.defaults && null !== input.defaults && $io7(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)));
2532
- const $io4 = 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) && $io5(input.renders)) && Object.keys(input).every(key => {
2637
+ const $io3 = 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))) && (undefined === input.retrieved || "object" === typeof input.retrieved && null !== input.retrieved && false === Array.isArray(input.retrieved) && $io2(input.retrieved)) && (undefined === input.defaults || "object" === typeof input.defaults && null !== input.defaults && false === Array.isArray(input.defaults) && $io2(input.defaults));
2638
+ const $io4 = input => (undefined === input.retrieved || "object" === typeof input.retrieved && null !== input.retrieved && false === Array.isArray(input.retrieved) && $io5(input.retrieved)) && (undefined === input.defaults || "object" === typeof input.defaults && null !== input.defaults && $io8(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)));
2639
+ const $io5 = 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) && $io6(input.renders)) && Object.keys(input).every(key => {
2533
2640
  if (["filename", "directory", "renders"].some(prop => key === prop))
2534
2641
  return true;
2535
2642
  const value = input[key];
@@ -2537,14 +2644,14 @@ export const assertGuardPublishStatsRecord = (input, errorFactory) => {
2537
2644
  return true;
2538
2645
  return true;
2539
2646
  });
2540
- const $io5 = input => Object.keys(input).every(key => {
2647
+ const $io6 = input => Object.keys(input).every(key => {
2541
2648
  const value = input[key];
2542
2649
  if (undefined === value)
2543
2650
  return true;
2544
- return "object" === typeof value && null !== value && $io6(value);
2651
+ return "object" === typeof value && null !== value && $io7(value);
2545
2652
  });
2546
- const $io6 = input => "string" === typeof input.path && (undefined === input.size || "string" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash);
2547
- const $io7 = input => "string" === typeof input.directory && "string" === typeof input.filename && ("object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && $io8(input.renders)) && Object.keys(input).every(key => {
2653
+ const $io7 = input => "string" === typeof input.path && (undefined === input.size || "string" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash);
2654
+ const $io8 = input => "string" === typeof input.directory && "string" === typeof input.filename && ("object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && $io9(input.renders)) && Object.keys(input).every(key => {
2548
2655
  if (["directory", "filename", "renders"].some(prop => key === prop))
2549
2656
  return true;
2550
2657
  const value = input[key];
@@ -2552,14 +2659,16 @@ export const assertGuardPublishStatsRecord = (input, errorFactory) => {
2552
2659
  return true;
2553
2660
  return true;
2554
2661
  });
2555
- const $io8 = input => Object.keys(input).every(key => {
2662
+ const $io9 = input => Object.keys(input).every(key => {
2556
2663
  const value = input[key];
2557
2664
  if (undefined === value)
2558
2665
  return true;
2559
- return "object" === typeof value && null !== value && false === Array.isArray(value) && $io9(value);
2666
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && $io10(value);
2560
2667
  });
2561
- const $io9 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy);
2668
+ const $io10 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene);
2562
2669
  const $iu0 = input => (() => {
2670
+ if ($io4(input))
2671
+ return $io4(input);
2563
2672
  if ($io3(input))
2564
2673
  return $io3(input);
2565
2674
  if ($io0(input))
@@ -2632,11 +2741,52 @@ export const assertGuardPublishStatsRecord = (input, errorFactory) => {
2632
2741
  return true;
2633
2742
  return true;
2634
2743
  });
2635
- const $ao3 = (input, _path, _exceptionable = true) => (undefined === input.retrieved || ("object" === typeof input.retrieved && null !== input.retrieved && false === Array.isArray(input.retrieved) || $guard(_exceptionable, {
2744
+ const $ao3 = (input, _path, _exceptionable = true) => (undefined === input.status || "string" === typeof input.status || $guard(_exceptionable, {
2745
+ path: _path + ".status",
2746
+ expected: "(string | undefined)",
2747
+ value: input.status
2748
+ }, errorFactory)) && (undefined === input.substatus || "string" === typeof input.substatus || $guard(_exceptionable, {
2749
+ path: _path + ".substatus",
2750
+ expected: "(string | undefined)",
2751
+ value: input.substatus
2752
+ }, errorFactory)) && (undefined === input.messages || (Array.isArray(input.messages) || $guard(_exceptionable, {
2753
+ path: _path + ".messages",
2754
+ expected: "(Array<Message> | undefined)",
2755
+ value: input.messages
2756
+ }, errorFactory)) && input.messages.every((elem, _index2) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
2757
+ path: _path + ".messages[" + _index2 + "]",
2758
+ expected: "Message",
2759
+ value: elem
2760
+ }, errorFactory)) && $ao1(elem, _path + ".messages[" + _index2 + "]", true && _exceptionable) || $guard(_exceptionable, {
2761
+ path: _path + ".messages[" + _index2 + "]",
2762
+ expected: "Message",
2763
+ value: elem
2764
+ }, errorFactory)) || $guard(_exceptionable, {
2765
+ path: _path + ".messages",
2766
+ expected: "(Array<Message> | undefined)",
2767
+ value: input.messages
2768
+ }, errorFactory)) && (undefined === input.retrieved || ("object" === typeof input.retrieved && null !== input.retrieved && false === Array.isArray(input.retrieved) || $guard(_exceptionable, {
2769
+ path: _path + ".retrieved",
2770
+ expected: "(Record<string, unknown> | undefined)",
2771
+ value: input.retrieved
2772
+ }, errorFactory)) && $ao2(input.retrieved, _path + ".retrieved", true && _exceptionable) || $guard(_exceptionable, {
2773
+ path: _path + ".retrieved",
2774
+ expected: "(Record<string, unknown> | undefined)",
2775
+ value: input.retrieved
2776
+ }, errorFactory)) && (undefined === input.defaults || ("object" === typeof input.defaults && null !== input.defaults && false === Array.isArray(input.defaults) || $guard(_exceptionable, {
2777
+ path: _path + ".defaults",
2778
+ expected: "(Record<string, unknown> | undefined)",
2779
+ value: input.defaults
2780
+ }, errorFactory)) && $ao2(input.defaults, _path + ".defaults", true && _exceptionable) || $guard(_exceptionable, {
2781
+ path: _path + ".defaults",
2782
+ expected: "(Record<string, unknown> | undefined)",
2783
+ value: input.defaults
2784
+ }, errorFactory));
2785
+ const $ao4 = (input, _path, _exceptionable = true) => (undefined === input.retrieved || ("object" === typeof input.retrieved && null !== input.retrieved && false === Array.isArray(input.retrieved) || $guard(_exceptionable, {
2636
2786
  path: _path + ".retrieved",
2637
2787
  expected: "(FilePublishRetrieved | undefined)",
2638
2788
  value: input.retrieved
2639
- }, errorFactory)) && $ao4(input.retrieved, _path + ".retrieved", true && _exceptionable) || $guard(_exceptionable, {
2789
+ }, errorFactory)) && $ao5(input.retrieved, _path + ".retrieved", true && _exceptionable) || $guard(_exceptionable, {
2640
2790
  path: _path + ".retrieved",
2641
2791
  expected: "(FilePublishRetrieved | undefined)",
2642
2792
  value: input.retrieved
@@ -2644,7 +2794,7 @@ export const assertGuardPublishStatsRecord = (input, errorFactory) => {
2644
2794
  path: _path + ".defaults",
2645
2795
  expected: "(FilePublishDefaults | undefined)",
2646
2796
  value: input.defaults
2647
- }, errorFactory)) && $ao7(input.defaults, _path + ".defaults", true && _exceptionable) || $guard(_exceptionable, {
2797
+ }, errorFactory)) && $ao8(input.defaults, _path + ".defaults", true && _exceptionable) || $guard(_exceptionable, {
2648
2798
  path: _path + ".defaults",
2649
2799
  expected: "(FilePublishDefaults | undefined)",
2650
2800
  value: input.defaults
@@ -2660,12 +2810,12 @@ export const assertGuardPublishStatsRecord = (input, errorFactory) => {
2660
2810
  path: _path + ".messages",
2661
2811
  expected: "(Array<Message> | undefined)",
2662
2812
  value: input.messages
2663
- }, errorFactory)) && input.messages.every((elem, _index2) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
2664
- path: _path + ".messages[" + _index2 + "]",
2813
+ }, errorFactory)) && input.messages.every((elem, _index3) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
2814
+ path: _path + ".messages[" + _index3 + "]",
2665
2815
  expected: "Message",
2666
2816
  value: elem
2667
- }, errorFactory)) && $ao1(elem, _path + ".messages[" + _index2 + "]", true && _exceptionable) || $guard(_exceptionable, {
2668
- path: _path + ".messages[" + _index2 + "]",
2817
+ }, errorFactory)) && $ao1(elem, _path + ".messages[" + _index3 + "]", true && _exceptionable) || $guard(_exceptionable, {
2818
+ path: _path + ".messages[" + _index3 + "]",
2669
2819
  expected: "Message",
2670
2820
  value: elem
2671
2821
  }, errorFactory)) || $guard(_exceptionable, {
@@ -2673,7 +2823,7 @@ export const assertGuardPublishStatsRecord = (input, errorFactory) => {
2673
2823
  expected: "(Array<Message> | undefined)",
2674
2824
  value: input.messages
2675
2825
  }, errorFactory));
2676
- const $ao4 = (input, _path, _exceptionable = true) => (undefined === input.filename || "string" === typeof input.filename || $guard(_exceptionable, {
2826
+ const $ao5 = (input, _path, _exceptionable = true) => (undefined === input.filename || "string" === typeof input.filename || $guard(_exceptionable, {
2677
2827
  path: _path + ".filename",
2678
2828
  expected: "(string | undefined)",
2679
2829
  value: input.filename
@@ -2685,7 +2835,7 @@ export const assertGuardPublishStatsRecord = (input, errorFactory) => {
2685
2835
  path: _path + ".renders",
2686
2836
  expected: "(Record<string, FilePublishRetrievedRender> | undefined)",
2687
2837
  value: input.renders
2688
- }, errorFactory)) && $ao5(input.renders, _path + ".renders", true && _exceptionable) || $guard(_exceptionable, {
2838
+ }, errorFactory)) && $ao6(input.renders, _path + ".renders", true && _exceptionable) || $guard(_exceptionable, {
2689
2839
  path: _path + ".renders",
2690
2840
  expected: "(Record<string, FilePublishRetrievedRender> | undefined)",
2691
2841
  value: input.renders
@@ -2697,7 +2847,7 @@ export const assertGuardPublishStatsRecord = (input, errorFactory) => {
2697
2847
  return true;
2698
2848
  return true;
2699
2849
  }));
2700
- const $ao5 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
2850
+ const $ao6 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
2701
2851
  const value = input[key];
2702
2852
  if (undefined === value)
2703
2853
  return true;
@@ -2705,13 +2855,13 @@ export const assertGuardPublishStatsRecord = (input, errorFactory) => {
2705
2855
  path: _path + $join(key),
2706
2856
  expected: "FilePublishRetrievedRender",
2707
2857
  value: value
2708
- }, errorFactory)) && $ao6(value, _path + $join(key), true && _exceptionable) || $guard(_exceptionable, {
2858
+ }, errorFactory)) && $ao7(value, _path + $join(key), true && _exceptionable) || $guard(_exceptionable, {
2709
2859
  path: _path + $join(key),
2710
2860
  expected: "FilePublishRetrievedRender",
2711
2861
  value: value
2712
2862
  }, errorFactory);
2713
2863
  });
2714
- const $ao6 = (input, _path, _exceptionable = true) => ("string" === typeof input.path || $guard(_exceptionable, {
2864
+ const $ao7 = (input, _path, _exceptionable = true) => ("string" === typeof input.path || $guard(_exceptionable, {
2715
2865
  path: _path + ".path",
2716
2866
  expected: "string",
2717
2867
  value: input.path
@@ -2724,7 +2874,7 @@ export const assertGuardPublishStatsRecord = (input, errorFactory) => {
2724
2874
  expected: "(string | undefined)",
2725
2875
  value: input.hash
2726
2876
  }, errorFactory));
2727
- const $ao7 = (input, _path, _exceptionable = true) => ("string" === typeof input.directory || $guard(_exceptionable, {
2877
+ const $ao8 = (input, _path, _exceptionable = true) => ("string" === typeof input.directory || $guard(_exceptionable, {
2728
2878
  path: _path + ".directory",
2729
2879
  expected: "string",
2730
2880
  value: input.directory
@@ -2734,11 +2884,11 @@ export const assertGuardPublishStatsRecord = (input, errorFactory) => {
2734
2884
  value: input.filename
2735
2885
  }, errorFactory)) && (("object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) || $guard(_exceptionable, {
2736
2886
  path: _path + ".renders",
2737
- expected: "Record<string, FilePublishDefaultRender>",
2887
+ expected: "Record<string, FilePublishRender>",
2738
2888
  value: input.renders
2739
- }, errorFactory)) && $ao8(input.renders, _path + ".renders", true && _exceptionable) || $guard(_exceptionable, {
2889
+ }, errorFactory)) && $ao9(input.renders, _path + ".renders", true && _exceptionable) || $guard(_exceptionable, {
2740
2890
  path: _path + ".renders",
2741
- expected: "Record<string, FilePublishDefaultRender>",
2891
+ expected: "Record<string, FilePublishRender>",
2742
2892
  value: input.renders
2743
2893
  }, errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
2744
2894
  if (["directory", "filename", "renders"].some(prop => key === prop))
@@ -2748,21 +2898,25 @@ export const assertGuardPublishStatsRecord = (input, errorFactory) => {
2748
2898
  return true;
2749
2899
  return true;
2750
2900
  }));
2751
- const $ao8 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
2901
+ const $ao9 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
2752
2902
  const value = input[key];
2753
2903
  if (undefined === value)
2754
2904
  return true;
2755
2905
  return ("object" === typeof value && null !== value && false === Array.isArray(value) || $guard(_exceptionable, {
2756
2906
  path: _path + $join(key),
2757
- expected: "FilePublishDefaultRender",
2907
+ expected: "FilePublishRender",
2758
2908
  value: value
2759
- }, errorFactory)) && $ao9(value, _path + $join(key), true && _exceptionable) || $guard(_exceptionable, {
2909
+ }, errorFactory)) && $ao10(value, _path + $join(key), true && _exceptionable) || $guard(_exceptionable, {
2760
2910
  path: _path + $join(key),
2761
- expected: "FilePublishDefaultRender",
2911
+ expected: "FilePublishRender",
2762
2912
  value: value
2763
2913
  }, errorFactory);
2764
2914
  });
2765
- const $ao9 = (input, _path, _exceptionable = true) => (undefined === input.path || "string" === typeof input.path || $guard(_exceptionable, {
2915
+ const $ao10 = (input, _path, _exceptionable = true) => (undefined === input.name || "string" === typeof input.name || $guard(_exceptionable, {
2916
+ path: _path + ".name",
2917
+ expected: "(string | undefined)",
2918
+ value: input.name
2919
+ }, errorFactory)) && (undefined === input.path || "string" === typeof input.path || $guard(_exceptionable, {
2766
2920
  path: _path + ".path",
2767
2921
  expected: "(string | undefined)",
2768
2922
  value: input.path
@@ -2770,19 +2924,31 @@ export const assertGuardPublishStatsRecord = (input, errorFactory) => {
2770
2924
  path: _path + ".collisionStrategy",
2771
2925
  expected: "(\"overwrite\" | \"skip\" | undefined)",
2772
2926
  value: input.collisionStrategy
2927
+ }, errorFactory)) && (undefined === input.preset || "string" === typeof input.preset || $guard(_exceptionable, {
2928
+ path: _path + ".preset",
2929
+ expected: "(string | undefined)",
2930
+ value: input.preset
2931
+ }, errorFactory)) && (undefined === input.type || "string" === typeof input.type || $guard(_exceptionable, {
2932
+ path: _path + ".type",
2933
+ expected: "(string | undefined)",
2934
+ value: input.type
2935
+ }, errorFactory)) && true && (undefined === input.scene || "string" === typeof input.scene || $guard(_exceptionable, {
2936
+ path: _path + ".scene",
2937
+ expected: "(string | undefined)",
2938
+ value: input.scene
2773
2939
  }, errorFactory));
2774
- const $au0 = (input, _path, _exceptionable = true) => $ao3(input, _path, false && _exceptionable) || $ao0(input, _path, false && _exceptionable) || $guard(_exceptionable, {
2940
+ const $au0 = (input, _path, _exceptionable = true) => $ao4(input, _path, false && _exceptionable) || $ao3(input, _path, false && _exceptionable) || $ao0(input, _path, false && _exceptionable) || $guard(_exceptionable, {
2775
2941
  path: _path,
2776
- expected: "(FilePublishStatsRecord | PublishStatsRecordCommon)",
2942
+ expected: "(FilePublishStatsRecord | FacebookPublishStatsRecord | YoutubePublishStatsRecord)",
2777
2943
  value: input
2778
2944
  }, errorFactory);
2779
2945
  return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
2780
2946
  path: _path + "",
2781
- expected: "(FilePublishStatsRecord | PublishStatsRecordCommon)",
2947
+ expected: "(FacebookPublishStatsRecord | FilePublishStatsRecord | YoutubePublishStatsRecord)",
2782
2948
  value: input
2783
2949
  }, errorFactory)) && $au0(input, _path + "", true) || $guard(true, {
2784
2950
  path: _path + "",
2785
- expected: "(FilePublishStatsRecord | PublishStatsRecordCommon)",
2951
+ expected: "(FacebookPublishStatsRecord | FilePublishStatsRecord | YoutubePublishStatsRecord)",
2786
2952
  value: input
2787
2953
  }, errorFactory);
2788
2954
  })(input, "$input", true);
@@ -2796,8 +2962,9 @@ export const stringifyPublishStatsRecord = input => {
2796
2962
  return true;
2797
2963
  return true;
2798
2964
  });
2799
- const $io3 = input => (undefined === input.retrieved || "object" === typeof input.retrieved && null !== input.retrieved && false === Array.isArray(input.retrieved) && $io4(input.retrieved)) && (undefined === input.defaults || "object" === typeof input.defaults && null !== input.defaults && $io7(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)));
2800
- const $io4 = 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) && $io5(input.renders)) && Object.keys(input).every(key => {
2965
+ const $io3 = 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))) && (undefined === input.retrieved || "object" === typeof input.retrieved && null !== input.retrieved && false === Array.isArray(input.retrieved) && $io2(input.retrieved)) && (undefined === input.defaults || "object" === typeof input.defaults && null !== input.defaults && false === Array.isArray(input.defaults) && $io2(input.defaults));
2966
+ const $io4 = input => (undefined === input.retrieved || "object" === typeof input.retrieved && null !== input.retrieved && false === Array.isArray(input.retrieved) && $io5(input.retrieved)) && (undefined === input.defaults || "object" === typeof input.defaults && null !== input.defaults && $io8(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)));
2967
+ const $io5 = 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) && $io6(input.renders)) && Object.keys(input).every(key => {
2801
2968
  if (["filename", "directory", "renders"].some(prop => key === prop))
2802
2969
  return true;
2803
2970
  const value = input[key];
@@ -2805,14 +2972,14 @@ export const stringifyPublishStatsRecord = input => {
2805
2972
  return true;
2806
2973
  return true;
2807
2974
  });
2808
- const $io5 = input => Object.keys(input).every(key => {
2975
+ const $io6 = input => Object.keys(input).every(key => {
2809
2976
  const value = input[key];
2810
2977
  if (undefined === value)
2811
2978
  return true;
2812
- return "object" === typeof value && null !== value && $io6(value);
2979
+ return "object" === typeof value && null !== value && $io7(value);
2813
2980
  });
2814
- const $io6 = input => "string" === typeof input.path && (undefined === input.size || "string" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash);
2815
- const $io7 = input => "string" === typeof input.directory && "string" === typeof input.filename && ("object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && $io8(input.renders)) && Object.keys(input).every(key => {
2981
+ const $io7 = input => "string" === typeof input.path && (undefined === input.size || "string" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash);
2982
+ const $io8 = input => "string" === typeof input.directory && "string" === typeof input.filename && ("object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && $io9(input.renders)) && Object.keys(input).every(key => {
2816
2983
  if (["directory", "filename", "renders"].some(prop => key === prop))
2817
2984
  return true;
2818
2985
  const value = input[key];
@@ -2820,32 +2987,33 @@ export const stringifyPublishStatsRecord = input => {
2820
2987
  return true;
2821
2988
  return true;
2822
2989
  });
2823
- const $io8 = input => Object.keys(input).every(key => {
2990
+ const $io9 = input => Object.keys(input).every(key => {
2824
2991
  const value = input[key];
2825
2992
  if (undefined === value)
2826
2993
  return true;
2827
- return "object" === typeof value && null !== value && false === Array.isArray(value) && $io9(value);
2994
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && $io10(value);
2828
2995
  });
2829
- const $io9 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy);
2996
+ const $io10 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene);
2830
2997
  const $string = __typia.json.createStringify.string;
2831
2998
  const $tail = __typia.json.createStringify.tail;
2832
2999
  const $throws = __typia.json.createStringify.throws;
2833
3000
  const $so0 = input => `{${$tail(`${undefined === input.status ? "" : `"status":${undefined !== input.status ? $string(input.status) : undefined},`}${undefined === input.substatus ? "" : `"substatus":${undefined !== input.substatus ? $string(input.substatus) : undefined},`}${undefined === input.messages ? "" : `"messages":${undefined !== input.messages ? `[${input.messages.map(elem => `{"level":${elem.level},"code":${$string(elem.code)},"msg":${$string(elem.msg)}}`).join(",")}]` : undefined},`}${undefined === input.retrieved ? "" : `"retrieved":${undefined !== input.retrieved ? $so2(input.retrieved) : undefined},`}${undefined === input.defaults ? "" : `"defaults":${undefined !== input.defaults ? $so2(input.defaults) : undefined}`}`)}}`;
2834
3001
  const $so2 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
2835
3002
  return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}}`;
2836
- const $so3 = input => `{${$tail(`${undefined === input.retrieved ? "" : `"retrieved":${undefined !== input.retrieved ? $so4(input.retrieved) : undefined},`}${undefined === input.defaults ? "" : `"defaults":${undefined !== input.defaults ? $so7(input.defaults) : undefined},`}${undefined === input.status ? "" : `"status":${undefined !== input.status ? $string(input.status) : undefined},`}${undefined === input.substatus ? "" : `"substatus":${undefined !== input.substatus ? $string(input.substatus) : undefined},`}${undefined === input.messages ? "" : `"messages":${undefined !== input.messages ? `[${input.messages.map(elem => `{"level":${elem.level},"code":${$string(elem.code)},"msg":${$string(elem.msg)}}`).join(",")}]` : undefined}`}`)}}`;
2837
- const $so4 = input => `{${$tail(`${undefined === input.filename ? "" : `"filename":${undefined !== input.filename ? $string(input.filename) : undefined},`}${undefined === input.directory ? "" : `"directory":${undefined !== input.directory ? $string(input.directory) : undefined},`}${undefined === input.renders ? "" : `"renders":${undefined !== input.renders ? $so5(input.renders) : undefined},`}${Object.entries(input).map(([key, value]) => { if (undefined === value)
3003
+ const $so3 = input => `{${$tail(`${undefined === input.status ? "" : `"status":${undefined !== input.status ? $string(input.status) : undefined},`}${undefined === input.substatus ? "" : `"substatus":${undefined !== input.substatus ? $string(input.substatus) : undefined},`}${undefined === input.messages ? "" : `"messages":${undefined !== input.messages ? `[${input.messages.map(elem => `{"level":${elem.level},"code":${$string(elem.code)},"msg":${$string(elem.msg)}}`).join(",")}]` : undefined},`}${undefined === input.retrieved ? "" : `"retrieved":${undefined !== input.retrieved ? $so2(input.retrieved) : undefined},`}${undefined === input.defaults ? "" : `"defaults":${undefined !== input.defaults ? $so2(input.defaults) : undefined}`}`)}}`;
3004
+ const $so4 = input => `{${$tail(`${undefined === input.retrieved ? "" : `"retrieved":${undefined !== input.retrieved ? $so5(input.retrieved) : undefined},`}${undefined === input.defaults ? "" : `"defaults":${undefined !== input.defaults ? $so8(input.defaults) : undefined},`}${undefined === input.status ? "" : `"status":${undefined !== input.status ? $string(input.status) : undefined},`}${undefined === input.substatus ? "" : `"substatus":${undefined !== input.substatus ? $string(input.substatus) : undefined},`}${undefined === input.messages ? "" : `"messages":${undefined !== input.messages ? `[${input.messages.map(elem => `{"level":${elem.level},"code":${$string(elem.code)},"msg":${$string(elem.msg)}}`).join(",")}]` : undefined}`}`)}}`;
3005
+ const $so5 = input => `{${$tail(`${undefined === input.filename ? "" : `"filename":${undefined !== input.filename ? $string(input.filename) : undefined},`}${undefined === input.directory ? "" : `"directory":${undefined !== input.directory ? $string(input.directory) : undefined},`}${undefined === input.renders ? "" : `"renders":${undefined !== input.renders ? $so6(input.renders) : undefined},`}${Object.entries(input).map(([key, value]) => { if (undefined === value)
2838
3006
  return ""; if (["filename", "directory", "renders"].some(regular => regular === key))
2839
3007
  return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}`)}}`;
2840
- const $so5 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
2841
- return ""; return `${JSON.stringify(key)}:${$so6(value)}`; }).filter(str => "" !== str).join(",")}}`;
2842
- const $so6 = input => `{${undefined === input.size ? "" : `"size":${undefined !== input.size ? $string(input.size) : undefined},`}${undefined === input.hash ? "" : `"hash":${undefined !== input.hash ? $string(input.hash) : undefined},`}"path":${$string(input.path)}}`;
2843
- const $so7 = input => `{${$tail(`"directory":${$string(input.directory)},"filename":${$string(input.filename)},"renders":${$so8(input.renders)},${Object.entries(input).map(([key, value]) => { if (undefined === value)
3008
+ const $so6 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
3009
+ return ""; return `${JSON.stringify(key)}:${$so7(value)}`; }).filter(str => "" !== str).join(",")}}`;
3010
+ const $so7 = input => `{${undefined === input.size ? "" : `"size":${undefined !== input.size ? $string(input.size) : undefined},`}${undefined === input.hash ? "" : `"hash":${undefined !== input.hash ? $string(input.hash) : undefined},`}"path":${$string(input.path)}}`;
3011
+ const $so8 = input => `{${$tail(`"directory":${$string(input.directory)},"filename":${$string(input.filename)},"renders":${$so9(input.renders)},${Object.entries(input).map(([key, value]) => { if (undefined === value)
2844
3012
  return ""; if (["directory", "filename", "renders"].some(regular => regular === key))
2845
3013
  return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}`)}}`;
2846
- const $so8 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
2847
- return ""; return `${JSON.stringify(key)}:${$so9(value)}`; }).filter(str => "" !== str).join(",")}}`;
2848
- const $so9 = input => `{${$tail(`${undefined === input.path ? "" : `"path":${undefined !== input.path ? $string(input.path) : undefined},`}${undefined === input.collisionStrategy ? "" : `"collisionStrategy":${undefined !== input.collisionStrategy ? (() => {
3014
+ const $so9 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
3015
+ return ""; return `${JSON.stringify(key)}:${$so10(value)}`; }).filter(str => "" !== str).join(",")}}`;
3016
+ const $so10 = input => `{${$tail(`${undefined === input.name ? "" : `"name":${undefined !== input.name ? $string(input.name) : undefined},`}${undefined === input.path ? "" : `"path":${undefined !== input.path ? $string(input.path) : undefined},`}${undefined === input.collisionStrategy ? "" : `"collisionStrategy":${undefined !== input.collisionStrategy ? (() => {
2849
3017
  if ("string" === typeof input.collisionStrategy)
2850
3018
  return $string(input.collisionStrategy);
2851
3019
  if ("string" === typeof input.collisionStrategy)
@@ -2854,14 +3022,16 @@ export const stringifyPublishStatsRecord = input => {
2854
3022
  expected: "(\"overwrite\" | \"skip\" | undefined)",
2855
3023
  value: input.collisionStrategy
2856
3024
  });
2857
- })() : undefined}`}`)}}`;
3025
+ })() : undefined},`}${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? $string(input.preset) : undefined},`}${undefined === input.type ? "" : `"type":${undefined !== input.type ? $string(input.type) : undefined},`}${undefined === input.profile || "function" === typeof input.profile ? "" : `"profile":${undefined !== input.profile ? JSON.stringify(input.profile) : undefined},`}${undefined === input.scene ? "" : `"scene":${undefined !== input.scene ? $string(input.scene) : undefined}`}`)}}`;
2858
3026
  const $su0 = input => (() => {
3027
+ if ($io4(input))
3028
+ return $so4(input);
2859
3029
  if ($io3(input))
2860
3030
  return $so3(input);
2861
3031
  if ($io0(input))
2862
3032
  return $so0(input);
2863
3033
  $throws({
2864
- expected: "(FilePublishStatsRecord | PublishStatsRecordCommon)",
3034
+ expected: "(FilePublishStatsRecord | FacebookPublishStatsRecord | YoutubePublishStatsRecord)",
2865
3035
  value: input
2866
3036
  });
2867
3037
  })();
@@ -2877,8 +3047,9 @@ export const assertStringifyPublishStatsRecord = (input, errorFactory) => { cons
2877
3047
  return true;
2878
3048
  return true;
2879
3049
  });
2880
- const $io3 = input => (undefined === input.retrieved || "object" === typeof input.retrieved && null !== input.retrieved && false === Array.isArray(input.retrieved) && $io4(input.retrieved)) && (undefined === input.defaults || "object" === typeof input.defaults && null !== input.defaults && $io7(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)));
2881
- const $io4 = 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) && $io5(input.renders)) && Object.keys(input).every(key => {
3050
+ const $io3 = 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))) && (undefined === input.retrieved || "object" === typeof input.retrieved && null !== input.retrieved && false === Array.isArray(input.retrieved) && $io2(input.retrieved)) && (undefined === input.defaults || "object" === typeof input.defaults && null !== input.defaults && false === Array.isArray(input.defaults) && $io2(input.defaults));
3051
+ const $io4 = input => (undefined === input.retrieved || "object" === typeof input.retrieved && null !== input.retrieved && false === Array.isArray(input.retrieved) && $io5(input.retrieved)) && (undefined === input.defaults || "object" === typeof input.defaults && null !== input.defaults && $io8(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)));
3052
+ const $io5 = 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) && $io6(input.renders)) && Object.keys(input).every(key => {
2882
3053
  if (["filename", "directory", "renders"].some(prop => key === prop))
2883
3054
  return true;
2884
3055
  const value = input[key];
@@ -2886,14 +3057,14 @@ export const assertStringifyPublishStatsRecord = (input, errorFactory) => { cons
2886
3057
  return true;
2887
3058
  return true;
2888
3059
  });
2889
- const $io5 = input => Object.keys(input).every(key => {
3060
+ const $io6 = input => Object.keys(input).every(key => {
2890
3061
  const value = input[key];
2891
3062
  if (undefined === value)
2892
3063
  return true;
2893
- return "object" === typeof value && null !== value && $io6(value);
3064
+ return "object" === typeof value && null !== value && $io7(value);
2894
3065
  });
2895
- const $io6 = input => "string" === typeof input.path && (undefined === input.size || "string" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash);
2896
- const $io7 = input => "string" === typeof input.directory && "string" === typeof input.filename && ("object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && $io8(input.renders)) && Object.keys(input).every(key => {
3066
+ const $io7 = input => "string" === typeof input.path && (undefined === input.size || "string" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash);
3067
+ const $io8 = input => "string" === typeof input.directory && "string" === typeof input.filename && ("object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && $io9(input.renders)) && Object.keys(input).every(key => {
2897
3068
  if (["directory", "filename", "renders"].some(prop => key === prop))
2898
3069
  return true;
2899
3070
  const value = input[key];
@@ -2901,14 +3072,16 @@ export const assertStringifyPublishStatsRecord = (input, errorFactory) => { cons
2901
3072
  return true;
2902
3073
  return true;
2903
3074
  });
2904
- const $io8 = input => Object.keys(input).every(key => {
3075
+ const $io9 = input => Object.keys(input).every(key => {
2905
3076
  const value = input[key];
2906
3077
  if (undefined === value)
2907
3078
  return true;
2908
- return "object" === typeof value && null !== value && false === Array.isArray(value) && $io9(value);
3079
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && $io10(value);
2909
3080
  });
2910
- const $io9 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy);
3081
+ const $io10 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene);
2911
3082
  const $iu0 = input => (() => {
3083
+ if ($io4(input))
3084
+ return $io4(input);
2912
3085
  if ($io3(input))
2913
3086
  return $io3(input);
2914
3087
  if ($io0(input))
@@ -2981,11 +3154,52 @@ export const assertStringifyPublishStatsRecord = (input, errorFactory) => { cons
2981
3154
  return true;
2982
3155
  return true;
2983
3156
  });
2984
- const $ao3 = (input, _path, _exceptionable = true) => (undefined === input.retrieved || ("object" === typeof input.retrieved && null !== input.retrieved && false === Array.isArray(input.retrieved) || $guard(_exceptionable, {
3157
+ const $ao3 = (input, _path, _exceptionable = true) => (undefined === input.status || "string" === typeof input.status || $guard(_exceptionable, {
3158
+ path: _path + ".status",
3159
+ expected: "(string | undefined)",
3160
+ value: input.status
3161
+ }, errorFactory)) && (undefined === input.substatus || "string" === typeof input.substatus || $guard(_exceptionable, {
3162
+ path: _path + ".substatus",
3163
+ expected: "(string | undefined)",
3164
+ value: input.substatus
3165
+ }, errorFactory)) && (undefined === input.messages || (Array.isArray(input.messages) || $guard(_exceptionable, {
3166
+ path: _path + ".messages",
3167
+ expected: "(Array<Message> | undefined)",
3168
+ value: input.messages
3169
+ }, errorFactory)) && input.messages.every((elem, _index2) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
3170
+ path: _path + ".messages[" + _index2 + "]",
3171
+ expected: "Message",
3172
+ value: elem
3173
+ }, errorFactory)) && $ao1(elem, _path + ".messages[" + _index2 + "]", true && _exceptionable) || $guard(_exceptionable, {
3174
+ path: _path + ".messages[" + _index2 + "]",
3175
+ expected: "Message",
3176
+ value: elem
3177
+ }, errorFactory)) || $guard(_exceptionable, {
3178
+ path: _path + ".messages",
3179
+ expected: "(Array<Message> | undefined)",
3180
+ value: input.messages
3181
+ }, errorFactory)) && (undefined === input.retrieved || ("object" === typeof input.retrieved && null !== input.retrieved && false === Array.isArray(input.retrieved) || $guard(_exceptionable, {
3182
+ path: _path + ".retrieved",
3183
+ expected: "(Record<string, unknown> | undefined)",
3184
+ value: input.retrieved
3185
+ }, errorFactory)) && $ao2(input.retrieved, _path + ".retrieved", true && _exceptionable) || $guard(_exceptionable, {
3186
+ path: _path + ".retrieved",
3187
+ expected: "(Record<string, unknown> | undefined)",
3188
+ value: input.retrieved
3189
+ }, errorFactory)) && (undefined === input.defaults || ("object" === typeof input.defaults && null !== input.defaults && false === Array.isArray(input.defaults) || $guard(_exceptionable, {
3190
+ path: _path + ".defaults",
3191
+ expected: "(Record<string, unknown> | undefined)",
3192
+ value: input.defaults
3193
+ }, errorFactory)) && $ao2(input.defaults, _path + ".defaults", true && _exceptionable) || $guard(_exceptionable, {
3194
+ path: _path + ".defaults",
3195
+ expected: "(Record<string, unknown> | undefined)",
3196
+ value: input.defaults
3197
+ }, errorFactory));
3198
+ const $ao4 = (input, _path, _exceptionable = true) => (undefined === input.retrieved || ("object" === typeof input.retrieved && null !== input.retrieved && false === Array.isArray(input.retrieved) || $guard(_exceptionable, {
2985
3199
  path: _path + ".retrieved",
2986
3200
  expected: "(FilePublishRetrieved | undefined)",
2987
3201
  value: input.retrieved
2988
- }, errorFactory)) && $ao4(input.retrieved, _path + ".retrieved", true && _exceptionable) || $guard(_exceptionable, {
3202
+ }, errorFactory)) && $ao5(input.retrieved, _path + ".retrieved", true && _exceptionable) || $guard(_exceptionable, {
2989
3203
  path: _path + ".retrieved",
2990
3204
  expected: "(FilePublishRetrieved | undefined)",
2991
3205
  value: input.retrieved
@@ -2993,7 +3207,7 @@ export const assertStringifyPublishStatsRecord = (input, errorFactory) => { cons
2993
3207
  path: _path + ".defaults",
2994
3208
  expected: "(FilePublishDefaults | undefined)",
2995
3209
  value: input.defaults
2996
- }, errorFactory)) && $ao7(input.defaults, _path + ".defaults", true && _exceptionable) || $guard(_exceptionable, {
3210
+ }, errorFactory)) && $ao8(input.defaults, _path + ".defaults", true && _exceptionable) || $guard(_exceptionable, {
2997
3211
  path: _path + ".defaults",
2998
3212
  expected: "(FilePublishDefaults | undefined)",
2999
3213
  value: input.defaults
@@ -3009,12 +3223,12 @@ export const assertStringifyPublishStatsRecord = (input, errorFactory) => { cons
3009
3223
  path: _path + ".messages",
3010
3224
  expected: "(Array<Message> | undefined)",
3011
3225
  value: input.messages
3012
- }, errorFactory)) && input.messages.every((elem, _index2) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
3013
- path: _path + ".messages[" + _index2 + "]",
3226
+ }, errorFactory)) && input.messages.every((elem, _index3) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
3227
+ path: _path + ".messages[" + _index3 + "]",
3014
3228
  expected: "Message",
3015
3229
  value: elem
3016
- }, errorFactory)) && $ao1(elem, _path + ".messages[" + _index2 + "]", true && _exceptionable) || $guard(_exceptionable, {
3017
- path: _path + ".messages[" + _index2 + "]",
3230
+ }, errorFactory)) && $ao1(elem, _path + ".messages[" + _index3 + "]", true && _exceptionable) || $guard(_exceptionable, {
3231
+ path: _path + ".messages[" + _index3 + "]",
3018
3232
  expected: "Message",
3019
3233
  value: elem
3020
3234
  }, errorFactory)) || $guard(_exceptionable, {
@@ -3022,7 +3236,7 @@ export const assertStringifyPublishStatsRecord = (input, errorFactory) => { cons
3022
3236
  expected: "(Array<Message> | undefined)",
3023
3237
  value: input.messages
3024
3238
  }, errorFactory));
3025
- const $ao4 = (input, _path, _exceptionable = true) => (undefined === input.filename || "string" === typeof input.filename || $guard(_exceptionable, {
3239
+ const $ao5 = (input, _path, _exceptionable = true) => (undefined === input.filename || "string" === typeof input.filename || $guard(_exceptionable, {
3026
3240
  path: _path + ".filename",
3027
3241
  expected: "(string | undefined)",
3028
3242
  value: input.filename
@@ -3034,7 +3248,7 @@ export const assertStringifyPublishStatsRecord = (input, errorFactory) => { cons
3034
3248
  path: _path + ".renders",
3035
3249
  expected: "(Record<string, FilePublishRetrievedRender> | undefined)",
3036
3250
  value: input.renders
3037
- }, errorFactory)) && $ao5(input.renders, _path + ".renders", true && _exceptionable) || $guard(_exceptionable, {
3251
+ }, errorFactory)) && $ao6(input.renders, _path + ".renders", true && _exceptionable) || $guard(_exceptionable, {
3038
3252
  path: _path + ".renders",
3039
3253
  expected: "(Record<string, FilePublishRetrievedRender> | undefined)",
3040
3254
  value: input.renders
@@ -3046,7 +3260,7 @@ export const assertStringifyPublishStatsRecord = (input, errorFactory) => { cons
3046
3260
  return true;
3047
3261
  return true;
3048
3262
  }));
3049
- const $ao5 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
3263
+ const $ao6 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
3050
3264
  const value = input[key];
3051
3265
  if (undefined === value)
3052
3266
  return true;
@@ -3054,13 +3268,13 @@ export const assertStringifyPublishStatsRecord = (input, errorFactory) => { cons
3054
3268
  path: _path + $join(key),
3055
3269
  expected: "FilePublishRetrievedRender",
3056
3270
  value: value
3057
- }, errorFactory)) && $ao6(value, _path + $join(key), true && _exceptionable) || $guard(_exceptionable, {
3271
+ }, errorFactory)) && $ao7(value, _path + $join(key), true && _exceptionable) || $guard(_exceptionable, {
3058
3272
  path: _path + $join(key),
3059
3273
  expected: "FilePublishRetrievedRender",
3060
3274
  value: value
3061
3275
  }, errorFactory);
3062
3276
  });
3063
- const $ao6 = (input, _path, _exceptionable = true) => ("string" === typeof input.path || $guard(_exceptionable, {
3277
+ const $ao7 = (input, _path, _exceptionable = true) => ("string" === typeof input.path || $guard(_exceptionable, {
3064
3278
  path: _path + ".path",
3065
3279
  expected: "string",
3066
3280
  value: input.path
@@ -3073,7 +3287,7 @@ export const assertStringifyPublishStatsRecord = (input, errorFactory) => { cons
3073
3287
  expected: "(string | undefined)",
3074
3288
  value: input.hash
3075
3289
  }, errorFactory));
3076
- const $ao7 = (input, _path, _exceptionable = true) => ("string" === typeof input.directory || $guard(_exceptionable, {
3290
+ const $ao8 = (input, _path, _exceptionable = true) => ("string" === typeof input.directory || $guard(_exceptionable, {
3077
3291
  path: _path + ".directory",
3078
3292
  expected: "string",
3079
3293
  value: input.directory
@@ -3083,11 +3297,11 @@ export const assertStringifyPublishStatsRecord = (input, errorFactory) => { cons
3083
3297
  value: input.filename
3084
3298
  }, errorFactory)) && (("object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) || $guard(_exceptionable, {
3085
3299
  path: _path + ".renders",
3086
- expected: "Record<string, FilePublishDefaultRender>",
3300
+ expected: "Record<string, FilePublishRender>",
3087
3301
  value: input.renders
3088
- }, errorFactory)) && $ao8(input.renders, _path + ".renders", true && _exceptionable) || $guard(_exceptionable, {
3302
+ }, errorFactory)) && $ao9(input.renders, _path + ".renders", true && _exceptionable) || $guard(_exceptionable, {
3089
3303
  path: _path + ".renders",
3090
- expected: "Record<string, FilePublishDefaultRender>",
3304
+ expected: "Record<string, FilePublishRender>",
3091
3305
  value: input.renders
3092
3306
  }, errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
3093
3307
  if (["directory", "filename", "renders"].some(prop => key === prop))
@@ -3097,21 +3311,25 @@ export const assertStringifyPublishStatsRecord = (input, errorFactory) => { cons
3097
3311
  return true;
3098
3312
  return true;
3099
3313
  }));
3100
- const $ao8 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
3314
+ const $ao9 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
3101
3315
  const value = input[key];
3102
3316
  if (undefined === value)
3103
3317
  return true;
3104
3318
  return ("object" === typeof value && null !== value && false === Array.isArray(value) || $guard(_exceptionable, {
3105
3319
  path: _path + $join(key),
3106
- expected: "FilePublishDefaultRender",
3320
+ expected: "FilePublishRender",
3107
3321
  value: value
3108
- }, errorFactory)) && $ao9(value, _path + $join(key), true && _exceptionable) || $guard(_exceptionable, {
3322
+ }, errorFactory)) && $ao10(value, _path + $join(key), true && _exceptionable) || $guard(_exceptionable, {
3109
3323
  path: _path + $join(key),
3110
- expected: "FilePublishDefaultRender",
3324
+ expected: "FilePublishRender",
3111
3325
  value: value
3112
3326
  }, errorFactory);
3113
3327
  });
3114
- const $ao9 = (input, _path, _exceptionable = true) => (undefined === input.path || "string" === typeof input.path || $guard(_exceptionable, {
3328
+ const $ao10 = (input, _path, _exceptionable = true) => (undefined === input.name || "string" === typeof input.name || $guard(_exceptionable, {
3329
+ path: _path + ".name",
3330
+ expected: "(string | undefined)",
3331
+ value: input.name
3332
+ }, errorFactory)) && (undefined === input.path || "string" === typeof input.path || $guard(_exceptionable, {
3115
3333
  path: _path + ".path",
3116
3334
  expected: "(string | undefined)",
3117
3335
  value: input.path
@@ -3119,19 +3337,31 @@ export const assertStringifyPublishStatsRecord = (input, errorFactory) => { cons
3119
3337
  path: _path + ".collisionStrategy",
3120
3338
  expected: "(\"overwrite\" | \"skip\" | undefined)",
3121
3339
  value: input.collisionStrategy
3340
+ }, errorFactory)) && (undefined === input.preset || "string" === typeof input.preset || $guard(_exceptionable, {
3341
+ path: _path + ".preset",
3342
+ expected: "(string | undefined)",
3343
+ value: input.preset
3344
+ }, errorFactory)) && (undefined === input.type || "string" === typeof input.type || $guard(_exceptionable, {
3345
+ path: _path + ".type",
3346
+ expected: "(string | undefined)",
3347
+ value: input.type
3348
+ }, errorFactory)) && true && (undefined === input.scene || "string" === typeof input.scene || $guard(_exceptionable, {
3349
+ path: _path + ".scene",
3350
+ expected: "(string | undefined)",
3351
+ value: input.scene
3122
3352
  }, errorFactory));
3123
- const $au0 = (input, _path, _exceptionable = true) => $ao3(input, _path, false && _exceptionable) || $ao0(input, _path, false && _exceptionable) || $guard(_exceptionable, {
3353
+ const $au0 = (input, _path, _exceptionable = true) => $ao4(input, _path, false && _exceptionable) || $ao3(input, _path, false && _exceptionable) || $ao0(input, _path, false && _exceptionable) || $guard(_exceptionable, {
3124
3354
  path: _path,
3125
- expected: "(FilePublishStatsRecord | PublishStatsRecordCommon)",
3355
+ expected: "(FilePublishStatsRecord | FacebookPublishStatsRecord | YoutubePublishStatsRecord)",
3126
3356
  value: input
3127
3357
  }, errorFactory);
3128
3358
  return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
3129
3359
  path: _path + "",
3130
- expected: "(FilePublishStatsRecord | PublishStatsRecordCommon)",
3360
+ expected: "(FacebookPublishStatsRecord | FilePublishStatsRecord | YoutubePublishStatsRecord)",
3131
3361
  value: input
3132
3362
  }, errorFactory)) && $au0(input, _path + "", true) || $guard(true, {
3133
3363
  path: _path + "",
3134
- expected: "(FilePublishStatsRecord | PublishStatsRecordCommon)",
3364
+ expected: "(FacebookPublishStatsRecord | FilePublishStatsRecord | YoutubePublishStatsRecord)",
3135
3365
  value: input
3136
3366
  }, errorFactory);
3137
3367
  })(input, "$input", true);
@@ -3145,8 +3375,9 @@ export const assertStringifyPublishStatsRecord = (input, errorFactory) => { cons
3145
3375
  return true;
3146
3376
  return true;
3147
3377
  });
3148
- const $io3 = input => (undefined === input.retrieved || "object" === typeof input.retrieved && null !== input.retrieved && false === Array.isArray(input.retrieved) && $io4(input.retrieved)) && (undefined === input.defaults || "object" === typeof input.defaults && null !== input.defaults && $io7(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)));
3149
- const $io4 = 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) && $io5(input.renders)) && Object.keys(input).every(key => {
3378
+ const $io3 = 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))) && (undefined === input.retrieved || "object" === typeof input.retrieved && null !== input.retrieved && false === Array.isArray(input.retrieved) && $io2(input.retrieved)) && (undefined === input.defaults || "object" === typeof input.defaults && null !== input.defaults && false === Array.isArray(input.defaults) && $io2(input.defaults));
3379
+ const $io4 = input => (undefined === input.retrieved || "object" === typeof input.retrieved && null !== input.retrieved && false === Array.isArray(input.retrieved) && $io5(input.retrieved)) && (undefined === input.defaults || "object" === typeof input.defaults && null !== input.defaults && $io8(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)));
3380
+ const $io5 = 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) && $io6(input.renders)) && Object.keys(input).every(key => {
3150
3381
  if (["filename", "directory", "renders"].some(prop => key === prop))
3151
3382
  return true;
3152
3383
  const value = input[key];
@@ -3154,14 +3385,14 @@ export const assertStringifyPublishStatsRecord = (input, errorFactory) => { cons
3154
3385
  return true;
3155
3386
  return true;
3156
3387
  });
3157
- const $io5 = input => Object.keys(input).every(key => {
3388
+ const $io6 = input => Object.keys(input).every(key => {
3158
3389
  const value = input[key];
3159
3390
  if (undefined === value)
3160
3391
  return true;
3161
- return "object" === typeof value && null !== value && $io6(value);
3392
+ return "object" === typeof value && null !== value && $io7(value);
3162
3393
  });
3163
- const $io6 = input => "string" === typeof input.path && (undefined === input.size || "string" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash);
3164
- const $io7 = input => "string" === typeof input.directory && "string" === typeof input.filename && ("object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && $io8(input.renders)) && Object.keys(input).every(key => {
3394
+ const $io7 = input => "string" === typeof input.path && (undefined === input.size || "string" === typeof input.size) && (undefined === input.hash || "string" === typeof input.hash);
3395
+ const $io8 = input => "string" === typeof input.directory && "string" === typeof input.filename && ("object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) && $io9(input.renders)) && Object.keys(input).every(key => {
3165
3396
  if (["directory", "filename", "renders"].some(prop => key === prop))
3166
3397
  return true;
3167
3398
  const value = input[key];
@@ -3169,32 +3400,33 @@ export const assertStringifyPublishStatsRecord = (input, errorFactory) => { cons
3169
3400
  return true;
3170
3401
  return true;
3171
3402
  });
3172
- const $io8 = input => Object.keys(input).every(key => {
3403
+ const $io9 = input => Object.keys(input).every(key => {
3173
3404
  const value = input[key];
3174
3405
  if (undefined === value)
3175
3406
  return true;
3176
- return "object" === typeof value && null !== value && false === Array.isArray(value) && $io9(value);
3407
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && $io10(value);
3177
3408
  });
3178
- const $io9 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy);
3409
+ const $io10 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene);
3179
3410
  const $string = __typia.json.createAssertStringify.string;
3180
3411
  const $tail = __typia.json.createAssertStringify.tail;
3181
3412
  const $throws = __typia.json.createAssertStringify.throws;
3182
3413
  const $so0 = input => `{${$tail(`${undefined === input.status ? "" : `"status":${undefined !== input.status ? $string(input.status) : undefined},`}${undefined === input.substatus ? "" : `"substatus":${undefined !== input.substatus ? $string(input.substatus) : undefined},`}${undefined === input.messages ? "" : `"messages":${undefined !== input.messages ? `[${input.messages.map(elem => `{"level":${elem.level},"code":${$string(elem.code)},"msg":${$string(elem.msg)}}`).join(",")}]` : undefined},`}${undefined === input.retrieved ? "" : `"retrieved":${undefined !== input.retrieved ? $so2(input.retrieved) : undefined},`}${undefined === input.defaults ? "" : `"defaults":${undefined !== input.defaults ? $so2(input.defaults) : undefined}`}`)}}`;
3183
3414
  const $so2 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
3184
3415
  return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}}`;
3185
- const $so3 = input => `{${$tail(`${undefined === input.retrieved ? "" : `"retrieved":${undefined !== input.retrieved ? $so4(input.retrieved) : undefined},`}${undefined === input.defaults ? "" : `"defaults":${undefined !== input.defaults ? $so7(input.defaults) : undefined},`}${undefined === input.status ? "" : `"status":${undefined !== input.status ? $string(input.status) : undefined},`}${undefined === input.substatus ? "" : `"substatus":${undefined !== input.substatus ? $string(input.substatus) : undefined},`}${undefined === input.messages ? "" : `"messages":${undefined !== input.messages ? `[${input.messages.map(elem => `{"level":${elem.level},"code":${$string(elem.code)},"msg":${$string(elem.msg)}}`).join(",")}]` : undefined}`}`)}}`;
3186
- const $so4 = input => `{${$tail(`${undefined === input.filename ? "" : `"filename":${undefined !== input.filename ? $string(input.filename) : undefined},`}${undefined === input.directory ? "" : `"directory":${undefined !== input.directory ? $string(input.directory) : undefined},`}${undefined === input.renders ? "" : `"renders":${undefined !== input.renders ? $so5(input.renders) : undefined},`}${Object.entries(input).map(([key, value]) => { if (undefined === value)
3416
+ const $so3 = input => `{${$tail(`${undefined === input.status ? "" : `"status":${undefined !== input.status ? $string(input.status) : undefined},`}${undefined === input.substatus ? "" : `"substatus":${undefined !== input.substatus ? $string(input.substatus) : undefined},`}${undefined === input.messages ? "" : `"messages":${undefined !== input.messages ? `[${input.messages.map(elem => `{"level":${elem.level},"code":${$string(elem.code)},"msg":${$string(elem.msg)}}`).join(",")}]` : undefined},`}${undefined === input.retrieved ? "" : `"retrieved":${undefined !== input.retrieved ? $so2(input.retrieved) : undefined},`}${undefined === input.defaults ? "" : `"defaults":${undefined !== input.defaults ? $so2(input.defaults) : undefined}`}`)}}`;
3417
+ const $so4 = input => `{${$tail(`${undefined === input.retrieved ? "" : `"retrieved":${undefined !== input.retrieved ? $so5(input.retrieved) : undefined},`}${undefined === input.defaults ? "" : `"defaults":${undefined !== input.defaults ? $so8(input.defaults) : undefined},`}${undefined === input.status ? "" : `"status":${undefined !== input.status ? $string(input.status) : undefined},`}${undefined === input.substatus ? "" : `"substatus":${undefined !== input.substatus ? $string(input.substatus) : undefined},`}${undefined === input.messages ? "" : `"messages":${undefined !== input.messages ? `[${input.messages.map(elem => `{"level":${elem.level},"code":${$string(elem.code)},"msg":${$string(elem.msg)}}`).join(",")}]` : undefined}`}`)}}`;
3418
+ const $so5 = input => `{${$tail(`${undefined === input.filename ? "" : `"filename":${undefined !== input.filename ? $string(input.filename) : undefined},`}${undefined === input.directory ? "" : `"directory":${undefined !== input.directory ? $string(input.directory) : undefined},`}${undefined === input.renders ? "" : `"renders":${undefined !== input.renders ? $so6(input.renders) : undefined},`}${Object.entries(input).map(([key, value]) => { if (undefined === value)
3187
3419
  return ""; if (["filename", "directory", "renders"].some(regular => regular === key))
3188
3420
  return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}`)}}`;
3189
- const $so5 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
3190
- return ""; return `${JSON.stringify(key)}:${$so6(value)}`; }).filter(str => "" !== str).join(",")}}`;
3191
- const $so6 = input => `{${undefined === input.size ? "" : `"size":${undefined !== input.size ? $string(input.size) : undefined},`}${undefined === input.hash ? "" : `"hash":${undefined !== input.hash ? $string(input.hash) : undefined},`}"path":${$string(input.path)}}`;
3192
- const $so7 = input => `{${$tail(`"directory":${$string(input.directory)},"filename":${$string(input.filename)},"renders":${$so8(input.renders)},${Object.entries(input).map(([key, value]) => { if (undefined === value)
3421
+ const $so6 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
3422
+ return ""; return `${JSON.stringify(key)}:${$so7(value)}`; }).filter(str => "" !== str).join(",")}}`;
3423
+ const $so7 = input => `{${undefined === input.size ? "" : `"size":${undefined !== input.size ? $string(input.size) : undefined},`}${undefined === input.hash ? "" : `"hash":${undefined !== input.hash ? $string(input.hash) : undefined},`}"path":${$string(input.path)}}`;
3424
+ const $so8 = input => `{${$tail(`"directory":${$string(input.directory)},"filename":${$string(input.filename)},"renders":${$so9(input.renders)},${Object.entries(input).map(([key, value]) => { if (undefined === value)
3193
3425
  return ""; if (["directory", "filename", "renders"].some(regular => regular === key))
3194
3426
  return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}`)}}`;
3195
- const $so8 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
3196
- return ""; return `${JSON.stringify(key)}:${$so9(value)}`; }).filter(str => "" !== str).join(",")}}`;
3197
- const $so9 = input => `{${$tail(`${undefined === input.path ? "" : `"path":${undefined !== input.path ? $string(input.path) : undefined},`}${undefined === input.collisionStrategy ? "" : `"collisionStrategy":${undefined !== input.collisionStrategy ? (() => {
3427
+ const $so9 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
3428
+ return ""; return `${JSON.stringify(key)}:${$so10(value)}`; }).filter(str => "" !== str).join(",")}}`;
3429
+ const $so10 = input => `{${$tail(`${undefined === input.name ? "" : `"name":${undefined !== input.name ? $string(input.name) : undefined},`}${undefined === input.path ? "" : `"path":${undefined !== input.path ? $string(input.path) : undefined},`}${undefined === input.collisionStrategy ? "" : `"collisionStrategy":${undefined !== input.collisionStrategy ? (() => {
3198
3430
  if ("string" === typeof input.collisionStrategy)
3199
3431
  return $string(input.collisionStrategy);
3200
3432
  if ("string" === typeof input.collisionStrategy)
@@ -3203,14 +3435,16 @@ export const assertStringifyPublishStatsRecord = (input, errorFactory) => { cons
3203
3435
  expected: "(\"overwrite\" | \"skip\" | undefined)",
3204
3436
  value: input.collisionStrategy
3205
3437
  });
3206
- })() : undefined}`}`)}}`;
3438
+ })() : undefined},`}${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? $string(input.preset) : undefined},`}${undefined === input.type ? "" : `"type":${undefined !== input.type ? $string(input.type) : undefined},`}${undefined === input.profile || "function" === typeof input.profile ? "" : `"profile":${undefined !== input.profile ? JSON.stringify(input.profile) : undefined},`}${undefined === input.scene ? "" : `"scene":${undefined !== input.scene ? $string(input.scene) : undefined}`}`)}}`;
3207
3439
  const $su0 = input => (() => {
3440
+ if ($io4(input))
3441
+ return $so4(input);
3208
3442
  if ($io3(input))
3209
3443
  return $so3(input);
3210
3444
  if ($io0(input))
3211
3445
  return $so0(input);
3212
3446
  $throws({
3213
- expected: "(FilePublishStatsRecord | PublishStatsRecordCommon)",
3447
+ expected: "(FilePublishStatsRecord | FacebookPublishStatsRecord | YoutubePublishStatsRecord)",
3214
3448
  value: input
3215
3449
  });
3216
3450
  })();
@@ -4229,11 +4463,11 @@ export const assertYoutubePublishStatsRecord = (input, errorFactory) => {
4229
4463
  });
4230
4464
  return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
4231
4465
  path: _path + "",
4232
- expected: "PublishStatsRecordCommon",
4466
+ expected: "YoutubePublishStatsRecord",
4233
4467
  value: input
4234
4468
  }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
4235
4469
  path: _path + "",
4236
- expected: "PublishStatsRecordCommon",
4470
+ expected: "YoutubePublishStatsRecord",
4237
4471
  value: input
4238
4472
  }, errorFactory);
4239
4473
  })(input, "$input", true);
@@ -4354,11 +4588,11 @@ export const assertGuardYoutubePublishStatsRecord = (input, errorFactory) => {
4354
4588
  });
4355
4589
  return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
4356
4590
  path: _path + "",
4357
- expected: "PublishStatsRecordCommon",
4591
+ expected: "YoutubePublishStatsRecord",
4358
4592
  value: input
4359
4593
  }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
4360
4594
  path: _path + "",
4361
- expected: "PublishStatsRecordCommon",
4595
+ expected: "YoutubePublishStatsRecord",
4362
4596
  value: input
4363
4597
  }, errorFactory);
4364
4598
  })(input, "$input", true);
@@ -4456,11 +4690,11 @@ export const assertStringifyYoutubePublishStatsRecord = (input, errorFactory) =>
4456
4690
  });
4457
4691
  return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
4458
4692
  path: _path + "",
4459
- expected: "PublishStatsRecordCommon",
4693
+ expected: "YoutubePublishStatsRecord",
4460
4694
  value: input
4461
4695
  }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
4462
4696
  path: _path + "",
4463
- expected: "PublishStatsRecordCommon",
4697
+ expected: "YoutubePublishStatsRecord",
4464
4698
  value: input
4465
4699
  }, errorFactory);
4466
4700
  })(input, "$input", true);
@@ -5041,11 +5275,11 @@ export const assertFacebookPublishStatsRecord = (input, errorFactory) => {
5041
5275
  });
5042
5276
  return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
5043
5277
  path: _path + "",
5044
- expected: "PublishStatsRecordCommon",
5278
+ expected: "FacebookPublishStatsRecord",
5045
5279
  value: input
5046
5280
  }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
5047
5281
  path: _path + "",
5048
- expected: "PublishStatsRecordCommon",
5282
+ expected: "FacebookPublishStatsRecord",
5049
5283
  value: input
5050
5284
  }, errorFactory);
5051
5285
  })(input, "$input", true);
@@ -5166,11 +5400,11 @@ export const assertGuardFacebookPublishStatsRecord = (input, errorFactory) => {
5166
5400
  });
5167
5401
  return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
5168
5402
  path: _path + "",
5169
- expected: "PublishStatsRecordCommon",
5403
+ expected: "FacebookPublishStatsRecord",
5170
5404
  value: input
5171
5405
  }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
5172
5406
  path: _path + "",
5173
- expected: "PublishStatsRecordCommon",
5407
+ expected: "FacebookPublishStatsRecord",
5174
5408
  value: input
5175
5409
  }, errorFactory);
5176
5410
  })(input, "$input", true);
@@ -5268,11 +5502,11 @@ export const assertStringifyFacebookPublishStatsRecord = (input, errorFactory) =
5268
5502
  });
5269
5503
  return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
5270
5504
  path: _path + "",
5271
- expected: "PublishStatsRecordCommon",
5505
+ expected: "FacebookPublishStatsRecord",
5272
5506
  value: input
5273
5507
  }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
5274
5508
  path: _path + "",
5275
- expected: "PublishStatsRecordCommon",
5509
+ expected: "FacebookPublishStatsRecord",
5276
5510
  value: input
5277
5511
  }, errorFactory);
5278
5512
  })(input, "$input", true);
@@ -7878,7 +8112,7 @@ export const isFilePublishStatsRecord = input => {
7878
8112
  return true;
7879
8113
  return "object" === typeof value && null !== value && false === Array.isArray(value) && $io6(value);
7880
8114
  });
7881
- const $io6 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy);
8115
+ const $io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene);
7882
8116
  const $io7 = input => "number" === typeof input.level && "string" === typeof input.code && "string" === typeof input.msg;
7883
8117
  return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
7884
8118
  };
@@ -7914,7 +8148,7 @@ export const assertFilePublishStatsRecord = (input, errorFactory) => {
7914
8148
  return true;
7915
8149
  return "object" === typeof value && null !== value && false === Array.isArray(value) && $io6(value);
7916
8150
  });
7917
- const $io6 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy);
8151
+ const $io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene);
7918
8152
  const $io7 = input => "number" === typeof input.level && "string" === typeof input.code && "string" === typeof input.msg;
7919
8153
  return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
7920
8154
  };
@@ -8024,11 +8258,11 @@ export const assertFilePublishStatsRecord = (input, errorFactory) => {
8024
8258
  value: input.filename
8025
8259
  }, errorFactory)) && (("object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) || $guard(_exceptionable, {
8026
8260
  path: _path + ".renders",
8027
- expected: "Record<string, FilePublishDefaultRender>",
8261
+ expected: "Record<string, FilePublishRender>",
8028
8262
  value: input.renders
8029
8263
  }, errorFactory)) && $ao5(input.renders, _path + ".renders", true && _exceptionable) || $guard(_exceptionable, {
8030
8264
  path: _path + ".renders",
8031
- expected: "Record<string, FilePublishDefaultRender>",
8265
+ expected: "Record<string, FilePublishRender>",
8032
8266
  value: input.renders
8033
8267
  }, errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
8034
8268
  if (["directory", "filename", "renders"].some(prop => key === prop))
@@ -8044,15 +8278,19 @@ export const assertFilePublishStatsRecord = (input, errorFactory) => {
8044
8278
  return true;
8045
8279
  return ("object" === typeof value && null !== value && false === Array.isArray(value) || $guard(_exceptionable, {
8046
8280
  path: _path + $join(key),
8047
- expected: "FilePublishDefaultRender",
8281
+ expected: "FilePublishRender",
8048
8282
  value: value
8049
8283
  }, errorFactory)) && $ao6(value, _path + $join(key), true && _exceptionable) || $guard(_exceptionable, {
8050
8284
  path: _path + $join(key),
8051
- expected: "FilePublishDefaultRender",
8285
+ expected: "FilePublishRender",
8052
8286
  value: value
8053
8287
  }, errorFactory);
8054
8288
  });
8055
- const $ao6 = (input, _path, _exceptionable = true) => (undefined === input.path || "string" === typeof input.path || $guard(_exceptionable, {
8289
+ const $ao6 = (input, _path, _exceptionable = true) => (undefined === input.name || "string" === typeof input.name || $guard(_exceptionable, {
8290
+ path: _path + ".name",
8291
+ expected: "(string | undefined)",
8292
+ value: input.name
8293
+ }, errorFactory)) && (undefined === input.path || "string" === typeof input.path || $guard(_exceptionable, {
8056
8294
  path: _path + ".path",
8057
8295
  expected: "(string | undefined)",
8058
8296
  value: input.path
@@ -8060,6 +8298,18 @@ export const assertFilePublishStatsRecord = (input, errorFactory) => {
8060
8298
  path: _path + ".collisionStrategy",
8061
8299
  expected: "(\"overwrite\" | \"skip\" | undefined)",
8062
8300
  value: input.collisionStrategy
8301
+ }, errorFactory)) && (undefined === input.preset || "string" === typeof input.preset || $guard(_exceptionable, {
8302
+ path: _path + ".preset",
8303
+ expected: "(string | undefined)",
8304
+ value: input.preset
8305
+ }, errorFactory)) && (undefined === input.type || "string" === typeof input.type || $guard(_exceptionable, {
8306
+ path: _path + ".type",
8307
+ expected: "(string | undefined)",
8308
+ value: input.type
8309
+ }, errorFactory)) && true && (undefined === input.scene || "string" === typeof input.scene || $guard(_exceptionable, {
8310
+ path: _path + ".scene",
8311
+ expected: "(string | undefined)",
8312
+ value: input.scene
8063
8313
  }, errorFactory));
8064
8314
  const $ao7 = (input, _path, _exceptionable = true) => ("number" === typeof input.level || $guard(_exceptionable, {
8065
8315
  path: _path + ".level",
@@ -8160,14 +8410,34 @@ export const randomFilePublishStatsRecord = generator => {
8160
8410
  return output;
8161
8411
  };
8162
8412
  const $ro6 = (_recursive = false, _depth = 0) => ({
8413
+ name: $pick([
8414
+ () => undefined,
8415
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
8416
+ ])(),
8163
8417
  path: $pick([
8164
8418
  () => undefined,
8165
8419
  () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
8166
8420
  ])(),
8167
- collisionStrategy: $pick([
8421
+ collisionStrategy: $pick([
8422
+ () => undefined,
8423
+ () => "overwrite",
8424
+ () => "skip"
8425
+ ])(),
8426
+ preset: $pick([
8427
+ () => undefined,
8428
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
8429
+ ])(),
8430
+ type: $pick([
8431
+ () => undefined,
8432
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
8433
+ ])(),
8434
+ profile: $pick([
8435
+ () => "any type used...",
8436
+ () => undefined
8437
+ ])(),
8438
+ scene: $pick([
8168
8439
  () => undefined,
8169
- () => "overwrite",
8170
- () => "skip"
8440
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
8171
8441
  ])()
8172
8442
  });
8173
8443
  const $ro7 = (_recursive = false, _depth = 0) => ({
@@ -8209,7 +8479,7 @@ export const assertGuardFilePublishStatsRecord = (input, errorFactory) => {
8209
8479
  return true;
8210
8480
  return "object" === typeof value && null !== value && false === Array.isArray(value) && $io6(value);
8211
8481
  });
8212
- const $io6 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy);
8482
+ const $io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene);
8213
8483
  const $io7 = input => "number" === typeof input.level && "string" === typeof input.code && "string" === typeof input.msg;
8214
8484
  return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
8215
8485
  };
@@ -8319,11 +8589,11 @@ export const assertGuardFilePublishStatsRecord = (input, errorFactory) => {
8319
8589
  value: input.filename
8320
8590
  }, errorFactory)) && (("object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) || $guard(_exceptionable, {
8321
8591
  path: _path + ".renders",
8322
- expected: "Record<string, FilePublishDefaultRender>",
8592
+ expected: "Record<string, FilePublishRender>",
8323
8593
  value: input.renders
8324
8594
  }, errorFactory)) && $ao5(input.renders, _path + ".renders", true && _exceptionable) || $guard(_exceptionable, {
8325
8595
  path: _path + ".renders",
8326
- expected: "Record<string, FilePublishDefaultRender>",
8596
+ expected: "Record<string, FilePublishRender>",
8327
8597
  value: input.renders
8328
8598
  }, errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
8329
8599
  if (["directory", "filename", "renders"].some(prop => key === prop))
@@ -8339,15 +8609,19 @@ export const assertGuardFilePublishStatsRecord = (input, errorFactory) => {
8339
8609
  return true;
8340
8610
  return ("object" === typeof value && null !== value && false === Array.isArray(value) || $guard(_exceptionable, {
8341
8611
  path: _path + $join(key),
8342
- expected: "FilePublishDefaultRender",
8612
+ expected: "FilePublishRender",
8343
8613
  value: value
8344
8614
  }, errorFactory)) && $ao6(value, _path + $join(key), true && _exceptionable) || $guard(_exceptionable, {
8345
8615
  path: _path + $join(key),
8346
- expected: "FilePublishDefaultRender",
8616
+ expected: "FilePublishRender",
8347
8617
  value: value
8348
8618
  }, errorFactory);
8349
8619
  });
8350
- const $ao6 = (input, _path, _exceptionable = true) => (undefined === input.path || "string" === typeof input.path || $guard(_exceptionable, {
8620
+ const $ao6 = (input, _path, _exceptionable = true) => (undefined === input.name || "string" === typeof input.name || $guard(_exceptionable, {
8621
+ path: _path + ".name",
8622
+ expected: "(string | undefined)",
8623
+ value: input.name
8624
+ }, errorFactory)) && (undefined === input.path || "string" === typeof input.path || $guard(_exceptionable, {
8351
8625
  path: _path + ".path",
8352
8626
  expected: "(string | undefined)",
8353
8627
  value: input.path
@@ -8355,6 +8629,18 @@ export const assertGuardFilePublishStatsRecord = (input, errorFactory) => {
8355
8629
  path: _path + ".collisionStrategy",
8356
8630
  expected: "(\"overwrite\" | \"skip\" | undefined)",
8357
8631
  value: input.collisionStrategy
8632
+ }, errorFactory)) && (undefined === input.preset || "string" === typeof input.preset || $guard(_exceptionable, {
8633
+ path: _path + ".preset",
8634
+ expected: "(string | undefined)",
8635
+ value: input.preset
8636
+ }, errorFactory)) && (undefined === input.type || "string" === typeof input.type || $guard(_exceptionable, {
8637
+ path: _path + ".type",
8638
+ expected: "(string | undefined)",
8639
+ value: input.type
8640
+ }, errorFactory)) && true && (undefined === input.scene || "string" === typeof input.scene || $guard(_exceptionable, {
8641
+ path: _path + ".scene",
8642
+ expected: "(string | undefined)",
8643
+ value: input.scene
8358
8644
  }, errorFactory));
8359
8645
  const $ao7 = (input, _path, _exceptionable = true) => ("number" === typeof input.level || $guard(_exceptionable, {
8360
8646
  path: _path + ".level",
@@ -8410,7 +8696,7 @@ export const stringifyFilePublishStatsRecord = input => {
8410
8696
  return true;
8411
8697
  return "object" === typeof value && null !== value && false === Array.isArray(value) && $io6(value);
8412
8698
  });
8413
- const $io6 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy);
8699
+ const $io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene);
8414
8700
  const $io7 = input => "number" === typeof input.level && "string" === typeof input.code && "string" === typeof input.msg;
8415
8701
  const $string = __typia.json.createStringify.string;
8416
8702
  const $tail = __typia.json.createStringify.tail;
@@ -8427,7 +8713,7 @@ export const stringifyFilePublishStatsRecord = input => {
8427
8713
  return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}`)}}`;
8428
8714
  const $so5 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
8429
8715
  return ""; return `${JSON.stringify(key)}:${$so6(value)}`; }).filter(str => "" !== str).join(",")}}`;
8430
- const $so6 = input => `{${$tail(`${undefined === input.path ? "" : `"path":${undefined !== input.path ? $string(input.path) : undefined},`}${undefined === input.collisionStrategy ? "" : `"collisionStrategy":${undefined !== input.collisionStrategy ? (() => {
8716
+ const $so6 = input => `{${$tail(`${undefined === input.name ? "" : `"name":${undefined !== input.name ? $string(input.name) : undefined},`}${undefined === input.path ? "" : `"path":${undefined !== input.path ? $string(input.path) : undefined},`}${undefined === input.collisionStrategy ? "" : `"collisionStrategy":${undefined !== input.collisionStrategy ? (() => {
8431
8717
  if ("string" === typeof input.collisionStrategy)
8432
8718
  return $string(input.collisionStrategy);
8433
8719
  if ("string" === typeof input.collisionStrategy)
@@ -8436,7 +8722,7 @@ export const stringifyFilePublishStatsRecord = input => {
8436
8722
  expected: "(\"overwrite\" | \"skip\" | undefined)",
8437
8723
  value: input.collisionStrategy
8438
8724
  });
8439
- })() : undefined}`}`)}}`;
8725
+ })() : undefined},`}${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? $string(input.preset) : undefined},`}${undefined === input.type ? "" : `"type":${undefined !== input.type ? $string(input.type) : undefined},`}${undefined === input.profile || "function" === typeof input.profile ? "" : `"profile":${undefined !== input.profile ? JSON.stringify(input.profile) : undefined},`}${undefined === input.scene ? "" : `"scene":${undefined !== input.scene ? $string(input.scene) : undefined}`}`)}}`;
8440
8726
  return $so0(input);
8441
8727
  };
8442
8728
  export const assertStringifyFilePublishStatsRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
@@ -8471,7 +8757,7 @@ export const assertStringifyFilePublishStatsRecord = (input, errorFactory) => {
8471
8757
  return true;
8472
8758
  return "object" === typeof value && null !== value && false === Array.isArray(value) && $io6(value);
8473
8759
  });
8474
- const $io6 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy);
8760
+ const $io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene);
8475
8761
  const $io7 = input => "number" === typeof input.level && !Number.isNaN(input.level) && "string" === typeof input.code && "string" === typeof input.msg;
8476
8762
  return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
8477
8763
  };
@@ -8581,11 +8867,11 @@ export const assertStringifyFilePublishStatsRecord = (input, errorFactory) => {
8581
8867
  value: input.filename
8582
8868
  }, errorFactory)) && (("object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) || $guard(_exceptionable, {
8583
8869
  path: _path + ".renders",
8584
- expected: "Record<string, FilePublishDefaultRender>",
8870
+ expected: "Record<string, FilePublishRender>",
8585
8871
  value: input.renders
8586
8872
  }, errorFactory)) && $ao5(input.renders, _path + ".renders", true && _exceptionable) || $guard(_exceptionable, {
8587
8873
  path: _path + ".renders",
8588
- expected: "Record<string, FilePublishDefaultRender>",
8874
+ expected: "Record<string, FilePublishRender>",
8589
8875
  value: input.renders
8590
8876
  }, errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
8591
8877
  if (["directory", "filename", "renders"].some(prop => key === prop))
@@ -8601,15 +8887,19 @@ export const assertStringifyFilePublishStatsRecord = (input, errorFactory) => {
8601
8887
  return true;
8602
8888
  return ("object" === typeof value && null !== value && false === Array.isArray(value) || $guard(_exceptionable, {
8603
8889
  path: _path + $join(key),
8604
- expected: "FilePublishDefaultRender",
8890
+ expected: "FilePublishRender",
8605
8891
  value: value
8606
8892
  }, errorFactory)) && $ao6(value, _path + $join(key), true && _exceptionable) || $guard(_exceptionable, {
8607
8893
  path: _path + $join(key),
8608
- expected: "FilePublishDefaultRender",
8894
+ expected: "FilePublishRender",
8609
8895
  value: value
8610
8896
  }, errorFactory);
8611
8897
  });
8612
- const $ao6 = (input, _path, _exceptionable = true) => (undefined === input.path || "string" === typeof input.path || $guard(_exceptionable, {
8898
+ const $ao6 = (input, _path, _exceptionable = true) => (undefined === input.name || "string" === typeof input.name || $guard(_exceptionable, {
8899
+ path: _path + ".name",
8900
+ expected: "(string | undefined)",
8901
+ value: input.name
8902
+ }, errorFactory)) && (undefined === input.path || "string" === typeof input.path || $guard(_exceptionable, {
8613
8903
  path: _path + ".path",
8614
8904
  expected: "(string | undefined)",
8615
8905
  value: input.path
@@ -8617,6 +8907,18 @@ export const assertStringifyFilePublishStatsRecord = (input, errorFactory) => {
8617
8907
  path: _path + ".collisionStrategy",
8618
8908
  expected: "(\"overwrite\" | \"skip\" | undefined)",
8619
8909
  value: input.collisionStrategy
8910
+ }, errorFactory)) && (undefined === input.preset || "string" === typeof input.preset || $guard(_exceptionable, {
8911
+ path: _path + ".preset",
8912
+ expected: "(string | undefined)",
8913
+ value: input.preset
8914
+ }, errorFactory)) && (undefined === input.type || "string" === typeof input.type || $guard(_exceptionable, {
8915
+ path: _path + ".type",
8916
+ expected: "(string | undefined)",
8917
+ value: input.type
8918
+ }, errorFactory)) && true && (undefined === input.scene || "string" === typeof input.scene || $guard(_exceptionable, {
8919
+ path: _path + ".scene",
8920
+ expected: "(string | undefined)",
8921
+ value: input.scene
8620
8922
  }, errorFactory));
8621
8923
  const $ao7 = (input, _path, _exceptionable = true) => ("number" === typeof input.level && !Number.isNaN(input.level) || $guard(_exceptionable, {
8622
8924
  path: _path + ".level",
@@ -8672,7 +8974,7 @@ export const assertStringifyFilePublishStatsRecord = (input, errorFactory) => {
8672
8974
  return true;
8673
8975
  return "object" === typeof value && null !== value && false === Array.isArray(value) && $io6(value);
8674
8976
  });
8675
- const $io6 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy);
8977
+ const $io6 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene);
8676
8978
  const $io7 = input => "number" === typeof input.level && "string" === typeof input.code && "string" === typeof input.msg;
8677
8979
  const $string = __typia.json.createAssertStringify.string;
8678
8980
  const $tail = __typia.json.createAssertStringify.tail;
@@ -8689,7 +8991,7 @@ export const assertStringifyFilePublishStatsRecord = (input, errorFactory) => {
8689
8991
  return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}`)}}`;
8690
8992
  const $so5 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
8691
8993
  return ""; return `${JSON.stringify(key)}:${$so6(value)}`; }).filter(str => "" !== str).join(",")}}`;
8692
- const $so6 = input => `{${$tail(`${undefined === input.path ? "" : `"path":${undefined !== input.path ? $string(input.path) : undefined},`}${undefined === input.collisionStrategy ? "" : `"collisionStrategy":${undefined !== input.collisionStrategy ? (() => {
8994
+ const $so6 = input => `{${$tail(`${undefined === input.name ? "" : `"name":${undefined !== input.name ? $string(input.name) : undefined},`}${undefined === input.path ? "" : `"path":${undefined !== input.path ? $string(input.path) : undefined},`}${undefined === input.collisionStrategy ? "" : `"collisionStrategy":${undefined !== input.collisionStrategy ? (() => {
8693
8995
  if ("string" === typeof input.collisionStrategy)
8694
8996
  return $string(input.collisionStrategy);
8695
8997
  if ("string" === typeof input.collisionStrategy)
@@ -8698,7 +9000,7 @@ export const assertStringifyFilePublishStatsRecord = (input, errorFactory) => {
8698
9000
  expected: "(\"overwrite\" | \"skip\" | undefined)",
8699
9001
  value: input.collisionStrategy
8700
9002
  });
8701
- })() : undefined}`}`)}}`;
9003
+ })() : undefined},`}${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? $string(input.preset) : undefined},`}${undefined === input.type ? "" : `"type":${undefined !== input.type ? $string(input.type) : undefined},`}${undefined === input.profile || "function" === typeof input.profile ? "" : `"profile":${undefined !== input.profile ? JSON.stringify(input.profile) : undefined},`}${undefined === input.scene ? "" : `"scene":${undefined !== input.scene ? $string(input.scene) : undefined}`}`)}}`;
8702
9004
  return $so0(input);
8703
9005
  }; return stringify(assert(input, errorFactory)); };
8704
9006
  export const isFilePublishRetrieved = input => {
@@ -9192,7 +9494,7 @@ export const isFilePublishDefaults = input => {
9192
9494
  return true;
9193
9495
  return "object" === typeof value && null !== value && false === Array.isArray(value) && $io2(value);
9194
9496
  });
9195
- const $io2 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy);
9497
+ const $io2 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene);
9196
9498
  return "object" === typeof input && null !== input && $io0(input);
9197
9499
  };
9198
9500
  export const assertFilePublishDefaults = (input, errorFactory) => {
@@ -9211,7 +9513,7 @@ export const assertFilePublishDefaults = (input, errorFactory) => {
9211
9513
  return true;
9212
9514
  return "object" === typeof value && null !== value && false === Array.isArray(value) && $io2(value);
9213
9515
  });
9214
- const $io2 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy);
9516
+ const $io2 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene);
9215
9517
  return "object" === typeof input && null !== input && $io0(input);
9216
9518
  };
9217
9519
  if (false === __is(input))
@@ -9228,11 +9530,11 @@ export const assertFilePublishDefaults = (input, errorFactory) => {
9228
9530
  value: input.filename
9229
9531
  }, errorFactory)) && (("object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) || $guard(_exceptionable, {
9230
9532
  path: _path + ".renders",
9231
- expected: "Record<string, FilePublishDefaultRender>",
9533
+ expected: "Record<string, FilePublishRender>",
9232
9534
  value: input.renders
9233
9535
  }, errorFactory)) && $ao1(input.renders, _path + ".renders", true && _exceptionable) || $guard(_exceptionable, {
9234
9536
  path: _path + ".renders",
9235
- expected: "Record<string, FilePublishDefaultRender>",
9537
+ expected: "Record<string, FilePublishRender>",
9236
9538
  value: input.renders
9237
9539
  }, errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
9238
9540
  if (["directory", "filename", "renders"].some(prop => key === prop))
@@ -9248,15 +9550,19 @@ export const assertFilePublishDefaults = (input, errorFactory) => {
9248
9550
  return true;
9249
9551
  return ("object" === typeof value && null !== value && false === Array.isArray(value) || $guard(_exceptionable, {
9250
9552
  path: _path + $join(key),
9251
- expected: "FilePublishDefaultRender",
9553
+ expected: "FilePublishRender",
9252
9554
  value: value
9253
9555
  }, errorFactory)) && $ao2(value, _path + $join(key), true && _exceptionable) || $guard(_exceptionable, {
9254
9556
  path: _path + $join(key),
9255
- expected: "FilePublishDefaultRender",
9557
+ expected: "FilePublishRender",
9256
9558
  value: value
9257
9559
  }, errorFactory);
9258
9560
  });
9259
- const $ao2 = (input, _path, _exceptionable = true) => (undefined === input.path || "string" === typeof input.path || $guard(_exceptionable, {
9561
+ const $ao2 = (input, _path, _exceptionable = true) => (undefined === input.name || "string" === typeof input.name || $guard(_exceptionable, {
9562
+ path: _path + ".name",
9563
+ expected: "(string | undefined)",
9564
+ value: input.name
9565
+ }, errorFactory)) && (undefined === input.path || "string" === typeof input.path || $guard(_exceptionable, {
9260
9566
  path: _path + ".path",
9261
9567
  expected: "(string | undefined)",
9262
9568
  value: input.path
@@ -9264,6 +9570,18 @@ export const assertFilePublishDefaults = (input, errorFactory) => {
9264
9570
  path: _path + ".collisionStrategy",
9265
9571
  expected: "(\"overwrite\" | \"skip\" | undefined)",
9266
9572
  value: input.collisionStrategy
9573
+ }, errorFactory)) && (undefined === input.preset || "string" === typeof input.preset || $guard(_exceptionable, {
9574
+ path: _path + ".preset",
9575
+ expected: "(string | undefined)",
9576
+ value: input.preset
9577
+ }, errorFactory)) && (undefined === input.type || "string" === typeof input.type || $guard(_exceptionable, {
9578
+ path: _path + ".type",
9579
+ expected: "(string | undefined)",
9580
+ value: input.type
9581
+ }, errorFactory)) && true && (undefined === input.scene || "string" === typeof input.scene || $guard(_exceptionable, {
9582
+ path: _path + ".scene",
9583
+ expected: "(string | undefined)",
9584
+ value: input.scene
9267
9585
  }, errorFactory));
9268
9586
  return ("object" === typeof input && null !== input || $guard(true, {
9269
9587
  path: _path + "",
@@ -9295,6 +9613,10 @@ export const randomFilePublishDefaults = generator => {
9295
9613
  return output;
9296
9614
  };
9297
9615
  const $ro2 = (_recursive = false, _depth = 0) => ({
9616
+ name: $pick([
9617
+ () => undefined,
9618
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
9619
+ ])(),
9298
9620
  path: $pick([
9299
9621
  () => undefined,
9300
9622
  () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
@@ -9303,6 +9625,22 @@ export const randomFilePublishDefaults = generator => {
9303
9625
  () => undefined,
9304
9626
  () => "overwrite",
9305
9627
  () => "skip"
9628
+ ])(),
9629
+ preset: $pick([
9630
+ () => undefined,
9631
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
9632
+ ])(),
9633
+ type: $pick([
9634
+ () => undefined,
9635
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
9636
+ ])(),
9637
+ profile: $pick([
9638
+ () => "any type used...",
9639
+ () => undefined
9640
+ ])(),
9641
+ scene: $pick([
9642
+ () => undefined,
9643
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
9306
9644
  ])()
9307
9645
  });
9308
9646
  return $ro0();
@@ -9323,7 +9661,7 @@ export const assertGuardFilePublishDefaults = (input, errorFactory) => {
9323
9661
  return true;
9324
9662
  return "object" === typeof value && null !== value && false === Array.isArray(value) && $io2(value);
9325
9663
  });
9326
- const $io2 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy);
9664
+ const $io2 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene);
9327
9665
  return "object" === typeof input && null !== input && $io0(input);
9328
9666
  };
9329
9667
  if (false === __is(input))
@@ -9340,11 +9678,11 @@ export const assertGuardFilePublishDefaults = (input, errorFactory) => {
9340
9678
  value: input.filename
9341
9679
  }, errorFactory)) && (("object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) || $guard(_exceptionable, {
9342
9680
  path: _path + ".renders",
9343
- expected: "Record<string, FilePublishDefaultRender>",
9681
+ expected: "Record<string, FilePublishRender>",
9344
9682
  value: input.renders
9345
9683
  }, errorFactory)) && $ao1(input.renders, _path + ".renders", true && _exceptionable) || $guard(_exceptionable, {
9346
9684
  path: _path + ".renders",
9347
- expected: "Record<string, FilePublishDefaultRender>",
9685
+ expected: "Record<string, FilePublishRender>",
9348
9686
  value: input.renders
9349
9687
  }, errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
9350
9688
  if (["directory", "filename", "renders"].some(prop => key === prop))
@@ -9360,15 +9698,19 @@ export const assertGuardFilePublishDefaults = (input, errorFactory) => {
9360
9698
  return true;
9361
9699
  return ("object" === typeof value && null !== value && false === Array.isArray(value) || $guard(_exceptionable, {
9362
9700
  path: _path + $join(key),
9363
- expected: "FilePublishDefaultRender",
9701
+ expected: "FilePublishRender",
9364
9702
  value: value
9365
9703
  }, errorFactory)) && $ao2(value, _path + $join(key), true && _exceptionable) || $guard(_exceptionable, {
9366
9704
  path: _path + $join(key),
9367
- expected: "FilePublishDefaultRender",
9705
+ expected: "FilePublishRender",
9368
9706
  value: value
9369
9707
  }, errorFactory);
9370
9708
  });
9371
- const $ao2 = (input, _path, _exceptionable = true) => (undefined === input.path || "string" === typeof input.path || $guard(_exceptionable, {
9709
+ const $ao2 = (input, _path, _exceptionable = true) => (undefined === input.name || "string" === typeof input.name || $guard(_exceptionable, {
9710
+ path: _path + ".name",
9711
+ expected: "(string | undefined)",
9712
+ value: input.name
9713
+ }, errorFactory)) && (undefined === input.path || "string" === typeof input.path || $guard(_exceptionable, {
9372
9714
  path: _path + ".path",
9373
9715
  expected: "(string | undefined)",
9374
9716
  value: input.path
@@ -9376,6 +9718,18 @@ export const assertGuardFilePublishDefaults = (input, errorFactory) => {
9376
9718
  path: _path + ".collisionStrategy",
9377
9719
  expected: "(\"overwrite\" | \"skip\" | undefined)",
9378
9720
  value: input.collisionStrategy
9721
+ }, errorFactory)) && (undefined === input.preset || "string" === typeof input.preset || $guard(_exceptionable, {
9722
+ path: _path + ".preset",
9723
+ expected: "(string | undefined)",
9724
+ value: input.preset
9725
+ }, errorFactory)) && (undefined === input.type || "string" === typeof input.type || $guard(_exceptionable, {
9726
+ path: _path + ".type",
9727
+ expected: "(string | undefined)",
9728
+ value: input.type
9729
+ }, errorFactory)) && true && (undefined === input.scene || "string" === typeof input.scene || $guard(_exceptionable, {
9730
+ path: _path + ".scene",
9731
+ expected: "(string | undefined)",
9732
+ value: input.scene
9379
9733
  }, errorFactory));
9380
9734
  return ("object" === typeof input && null !== input || $guard(true, {
9381
9735
  path: _path + "",
@@ -9395,7 +9749,7 @@ export const stringifyFilePublishDefaults = input => {
9395
9749
  return true;
9396
9750
  return "object" === typeof value && null !== value && false === Array.isArray(value) && $io2(value);
9397
9751
  });
9398
- const $io2 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy);
9752
+ const $io2 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene);
9399
9753
  const $string = __typia.json.createStringify.string;
9400
9754
  const $tail = __typia.json.createStringify.tail;
9401
9755
  const $throws = __typia.json.createStringify.throws;
@@ -9404,7 +9758,7 @@ export const stringifyFilePublishDefaults = input => {
9404
9758
  return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}`)}}`;
9405
9759
  const $so1 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
9406
9760
  return ""; return `${JSON.stringify(key)}:${$so2(value)}`; }).filter(str => "" !== str).join(",")}}`;
9407
- const $so2 = input => `{${$tail(`${undefined === input.path ? "" : `"path":${undefined !== input.path ? $string(input.path) : undefined},`}${undefined === input.collisionStrategy ? "" : `"collisionStrategy":${undefined !== input.collisionStrategy ? (() => {
9761
+ const $so2 = input => `{${$tail(`${undefined === input.name ? "" : `"name":${undefined !== input.name ? $string(input.name) : undefined},`}${undefined === input.path ? "" : `"path":${undefined !== input.path ? $string(input.path) : undefined},`}${undefined === input.collisionStrategy ? "" : `"collisionStrategy":${undefined !== input.collisionStrategy ? (() => {
9408
9762
  if ("string" === typeof input.collisionStrategy)
9409
9763
  return $string(input.collisionStrategy);
9410
9764
  if ("string" === typeof input.collisionStrategy)
@@ -9413,7 +9767,7 @@ export const stringifyFilePublishDefaults = input => {
9413
9767
  expected: "(\"overwrite\" | \"skip\" | undefined)",
9414
9768
  value: input.collisionStrategy
9415
9769
  });
9416
- })() : undefined}`}`)}}`;
9770
+ })() : undefined},`}${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? $string(input.preset) : undefined},`}${undefined === input.type ? "" : `"type":${undefined !== input.type ? $string(input.type) : undefined},`}${undefined === input.profile || "function" === typeof input.profile ? "" : `"profile":${undefined !== input.profile ? JSON.stringify(input.profile) : undefined},`}${undefined === input.scene ? "" : `"scene":${undefined !== input.scene ? $string(input.scene) : undefined}`}`)}}`;
9417
9771
  return $so0(input);
9418
9772
  };
9419
9773
  export const assertStringifyFilePublishDefaults = (input, errorFactory) => { const assert = (input, errorFactory) => {
@@ -9432,7 +9786,7 @@ export const assertStringifyFilePublishDefaults = (input, errorFactory) => { con
9432
9786
  return true;
9433
9787
  return "object" === typeof value && null !== value && false === Array.isArray(value) && $io2(value);
9434
9788
  });
9435
- const $io2 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy);
9789
+ const $io2 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene);
9436
9790
  return "object" === typeof input && null !== input && $io0(input);
9437
9791
  };
9438
9792
  if (false === __is(input))
@@ -9449,11 +9803,11 @@ export const assertStringifyFilePublishDefaults = (input, errorFactory) => { con
9449
9803
  value: input.filename
9450
9804
  }, errorFactory)) && (("object" === typeof input.renders && null !== input.renders && false === Array.isArray(input.renders) || $guard(_exceptionable, {
9451
9805
  path: _path + ".renders",
9452
- expected: "Record<string, FilePublishDefaultRender>",
9806
+ expected: "Record<string, FilePublishRender>",
9453
9807
  value: input.renders
9454
9808
  }, errorFactory)) && $ao1(input.renders, _path + ".renders", true && _exceptionable) || $guard(_exceptionable, {
9455
9809
  path: _path + ".renders",
9456
- expected: "Record<string, FilePublishDefaultRender>",
9810
+ expected: "Record<string, FilePublishRender>",
9457
9811
  value: input.renders
9458
9812
  }, errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
9459
9813
  if (["directory", "filename", "renders"].some(prop => key === prop))
@@ -9469,15 +9823,19 @@ export const assertStringifyFilePublishDefaults = (input, errorFactory) => { con
9469
9823
  return true;
9470
9824
  return ("object" === typeof value && null !== value && false === Array.isArray(value) || $guard(_exceptionable, {
9471
9825
  path: _path + $join(key),
9472
- expected: "FilePublishDefaultRender",
9826
+ expected: "FilePublishRender",
9473
9827
  value: value
9474
9828
  }, errorFactory)) && $ao2(value, _path + $join(key), true && _exceptionable) || $guard(_exceptionable, {
9475
9829
  path: _path + $join(key),
9476
- expected: "FilePublishDefaultRender",
9830
+ expected: "FilePublishRender",
9477
9831
  value: value
9478
9832
  }, errorFactory);
9479
9833
  });
9480
- const $ao2 = (input, _path, _exceptionable = true) => (undefined === input.path || "string" === typeof input.path || $guard(_exceptionable, {
9834
+ const $ao2 = (input, _path, _exceptionable = true) => (undefined === input.name || "string" === typeof input.name || $guard(_exceptionable, {
9835
+ path: _path + ".name",
9836
+ expected: "(string | undefined)",
9837
+ value: input.name
9838
+ }, errorFactory)) && (undefined === input.path || "string" === typeof input.path || $guard(_exceptionable, {
9481
9839
  path: _path + ".path",
9482
9840
  expected: "(string | undefined)",
9483
9841
  value: input.path
@@ -9485,6 +9843,18 @@ export const assertStringifyFilePublishDefaults = (input, errorFactory) => { con
9485
9843
  path: _path + ".collisionStrategy",
9486
9844
  expected: "(\"overwrite\" | \"skip\" | undefined)",
9487
9845
  value: input.collisionStrategy
9846
+ }, errorFactory)) && (undefined === input.preset || "string" === typeof input.preset || $guard(_exceptionable, {
9847
+ path: _path + ".preset",
9848
+ expected: "(string | undefined)",
9849
+ value: input.preset
9850
+ }, errorFactory)) && (undefined === input.type || "string" === typeof input.type || $guard(_exceptionable, {
9851
+ path: _path + ".type",
9852
+ expected: "(string | undefined)",
9853
+ value: input.type
9854
+ }, errorFactory)) && true && (undefined === input.scene || "string" === typeof input.scene || $guard(_exceptionable, {
9855
+ path: _path + ".scene",
9856
+ expected: "(string | undefined)",
9857
+ value: input.scene
9488
9858
  }, errorFactory));
9489
9859
  return ("object" === typeof input && null !== input || $guard(true, {
9490
9860
  path: _path + "",
@@ -9504,7 +9874,7 @@ export const assertStringifyFilePublishDefaults = (input, errorFactory) => { con
9504
9874
  return true;
9505
9875
  return "object" === typeof value && null !== value && false === Array.isArray(value) && $io2(value);
9506
9876
  });
9507
- const $io2 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy);
9877
+ const $io2 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy) && (undefined === input.preset || "string" === typeof input.preset) && (undefined === input.type || "string" === typeof input.type) && true && (undefined === input.scene || "string" === typeof input.scene);
9508
9878
  const $string = __typia.json.createAssertStringify.string;
9509
9879
  const $tail = __typia.json.createAssertStringify.tail;
9510
9880
  const $throws = __typia.json.createAssertStringify.throws;
@@ -9513,144 +9883,7 @@ export const assertStringifyFilePublishDefaults = (input, errorFactory) => { con
9513
9883
  return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}`)}}`;
9514
9884
  const $so1 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
9515
9885
  return ""; return `${JSON.stringify(key)}:${$so2(value)}`; }).filter(str => "" !== str).join(",")}}`;
9516
- const $so2 = input => `{${$tail(`${undefined === input.path ? "" : `"path":${undefined !== input.path ? $string(input.path) : undefined},`}${undefined === input.collisionStrategy ? "" : `"collisionStrategy":${undefined !== input.collisionStrategy ? (() => {
9517
- if ("string" === typeof input.collisionStrategy)
9518
- return $string(input.collisionStrategy);
9519
- if ("string" === typeof input.collisionStrategy)
9520
- return "\"" + input.collisionStrategy + "\"";
9521
- $throws({
9522
- expected: "(\"overwrite\" | \"skip\" | undefined)",
9523
- value: input.collisionStrategy
9524
- });
9525
- })() : undefined}`}`)}}`;
9526
- return $so0(input);
9527
- }; return stringify(assert(input, errorFactory)); };
9528
- export const isFilePublishDefaultRender = input => {
9529
- const $io0 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy);
9530
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
9531
- };
9532
- export const assertFilePublishDefaultRender = (input, errorFactory) => {
9533
- const __is = input => {
9534
- const $io0 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy);
9535
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
9536
- };
9537
- if (false === __is(input))
9538
- ((input, _path, _exceptionable = true) => {
9539
- const $guard = __typia.createAssert.guard;
9540
- const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.path || "string" === typeof input.path || $guard(_exceptionable, {
9541
- path: _path + ".path",
9542
- expected: "(string | undefined)",
9543
- value: input.path
9544
- }, errorFactory)) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy || $guard(_exceptionable, {
9545
- path: _path + ".collisionStrategy",
9546
- expected: "(\"overwrite\" | \"skip\" | undefined)",
9547
- value: input.collisionStrategy
9548
- }, errorFactory));
9549
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
9550
- path: _path + "",
9551
- expected: "FilePublishDefaultRender",
9552
- value: input
9553
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
9554
- path: _path + "",
9555
- expected: "FilePublishDefaultRender",
9556
- value: input
9557
- }, errorFactory);
9558
- })(input, "$input", true);
9559
- return input;
9560
- };
9561
- export const randomFilePublishDefaultRender = generator => {
9562
- const $generator = __typia.createRandom.generator;
9563
- const $pick = __typia.createRandom.pick;
9564
- const $ro0 = (_recursive = false, _depth = 0) => ({
9565
- path: $pick([
9566
- () => undefined,
9567
- () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
9568
- ])(),
9569
- collisionStrategy: $pick([
9570
- () => undefined,
9571
- () => "overwrite",
9572
- () => "skip"
9573
- ])()
9574
- });
9575
- return $ro0();
9576
- };
9577
- export const assertGuardFilePublishDefaultRender = (input, errorFactory) => {
9578
- const __is = input => {
9579
- const $io0 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy);
9580
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
9581
- };
9582
- if (false === __is(input))
9583
- ((input, _path, _exceptionable = true) => {
9584
- const $guard = __typia.createAssertGuard.guard;
9585
- const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.path || "string" === typeof input.path || $guard(_exceptionable, {
9586
- path: _path + ".path",
9587
- expected: "(string | undefined)",
9588
- value: input.path
9589
- }, errorFactory)) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy || $guard(_exceptionable, {
9590
- path: _path + ".collisionStrategy",
9591
- expected: "(\"overwrite\" | \"skip\" | undefined)",
9592
- value: input.collisionStrategy
9593
- }, errorFactory));
9594
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
9595
- path: _path + "",
9596
- expected: "FilePublishDefaultRender",
9597
- value: input
9598
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
9599
- path: _path + "",
9600
- expected: "FilePublishDefaultRender",
9601
- value: input
9602
- }, errorFactory);
9603
- })(input, "$input", true);
9604
- };
9605
- export const stringifyFilePublishDefaultRender = input => {
9606
- const $string = __typia.json.createStringify.string;
9607
- const $throws = __typia.json.createStringify.throws;
9608
- const $tail = __typia.json.createStringify.tail;
9609
- const $so0 = input => `{${$tail(`${undefined === input.path ? "" : `"path":${undefined !== input.path ? $string(input.path) : undefined},`}${undefined === input.collisionStrategy ? "" : `"collisionStrategy":${undefined !== input.collisionStrategy ? (() => {
9610
- if ("string" === typeof input.collisionStrategy)
9611
- return $string(input.collisionStrategy);
9612
- if ("string" === typeof input.collisionStrategy)
9613
- return "\"" + input.collisionStrategy + "\"";
9614
- $throws({
9615
- expected: "(\"overwrite\" | \"skip\" | undefined)",
9616
- value: input.collisionStrategy
9617
- });
9618
- })() : undefined}`}`)}}`;
9619
- return $so0(input);
9620
- };
9621
- export const assertStringifyFilePublishDefaultRender = (input, errorFactory) => { const assert = (input, errorFactory) => {
9622
- const __is = input => {
9623
- const $io0 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy);
9624
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
9625
- };
9626
- if (false === __is(input))
9627
- ((input, _path, _exceptionable = true) => {
9628
- const $guard = __typia.json.createAssertStringify.guard;
9629
- const $ao0 = (input, _path, _exceptionable = true) => (undefined === input.path || "string" === typeof input.path || $guard(_exceptionable, {
9630
- path: _path + ".path",
9631
- expected: "(string | undefined)",
9632
- value: input.path
9633
- }, errorFactory)) && (undefined === input.collisionStrategy || "overwrite" === input.collisionStrategy || "skip" === input.collisionStrategy || $guard(_exceptionable, {
9634
- path: _path + ".collisionStrategy",
9635
- expected: "(\"overwrite\" | \"skip\" | undefined)",
9636
- value: input.collisionStrategy
9637
- }, errorFactory));
9638
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
9639
- path: _path + "",
9640
- expected: "FilePublishDefaultRender",
9641
- value: input
9642
- }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
9643
- path: _path + "",
9644
- expected: "FilePublishDefaultRender",
9645
- value: input
9646
- }, errorFactory);
9647
- })(input, "$input", true);
9648
- return input;
9649
- }; const stringify = input => {
9650
- const $string = __typia.json.createAssertStringify.string;
9651
- const $throws = __typia.json.createAssertStringify.throws;
9652
- const $tail = __typia.json.createAssertStringify.tail;
9653
- const $so0 = input => `{${$tail(`${undefined === input.path ? "" : `"path":${undefined !== input.path ? $string(input.path) : undefined},`}${undefined === input.collisionStrategy ? "" : `"collisionStrategy":${undefined !== input.collisionStrategy ? (() => {
9886
+ const $so2 = input => `{${$tail(`${undefined === input.name ? "" : `"name":${undefined !== input.name ? $string(input.name) : undefined},`}${undefined === input.path ? "" : `"path":${undefined !== input.path ? $string(input.path) : undefined},`}${undefined === input.collisionStrategy ? "" : `"collisionStrategy":${undefined !== input.collisionStrategy ? (() => {
9654
9887
  if ("string" === typeof input.collisionStrategy)
9655
9888
  return $string(input.collisionStrategy);
9656
9889
  if ("string" === typeof input.collisionStrategy)
@@ -9659,6 +9892,6 @@ export const assertStringifyFilePublishDefaultRender = (input, errorFactory) =>
9659
9892
  expected: "(\"overwrite\" | \"skip\" | undefined)",
9660
9893
  value: input.collisionStrategy
9661
9894
  });
9662
- })() : undefined}`}`)}}`;
9895
+ })() : undefined},`}${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? $string(input.preset) : undefined},`}${undefined === input.type ? "" : `"type":${undefined !== input.type ? $string(input.type) : undefined},`}${undefined === input.profile || "function" === typeof input.profile ? "" : `"profile":${undefined !== input.profile ? JSON.stringify(input.profile) : undefined},`}${undefined === input.scene ? "" : `"scene":${undefined !== input.scene ? $string(input.scene) : undefined}`}`)}}`;
9663
9896
  return $so0(input);
9664
9897
  }; return stringify(assert(input, errorFactory)); };