@smoothbricks/nx-plugin 0.4.28 → 0.4.30

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.
Files changed (158) hide show
  1. package/README.md +277 -89
  2. package/dist/bin/smoo-nx-test-clocks.d.ts +3 -0
  3. package/dist/bin/smoo-nx-test-clocks.d.ts.map +1 -0
  4. package/dist/bin/smoo-nx-test-clocks.js +28 -0
  5. package/dist/bounded-test-policy.d.ts +8 -8
  6. package/dist/bounded-test-policy.d.ts.map +1 -1
  7. package/dist/bounded-test-policy.js +18 -30
  8. package/dist/cargo-closure-input.d.ts +23 -0
  9. package/dist/cargo-closure-input.d.ts.map +1 -1
  10. package/dist/cargo-closure-input.js +41 -9
  11. package/dist/cargo-source-hash.d.ts.map +1 -1
  12. package/dist/cargo-source-hash.js +42 -19
  13. package/dist/ensure-built-receipt.d.ts +40 -6
  14. package/dist/ensure-built-receipt.d.ts.map +1 -1
  15. package/dist/ensure-built-receipt.js +297 -159
  16. package/dist/ensure-built-witness.d.ts +65 -4
  17. package/dist/ensure-built-witness.d.ts.map +1 -1
  18. package/dist/ensure-built-witness.js +2237 -23
  19. package/dist/ensure-built.d.ts +99 -1
  20. package/dist/ensure-built.d.ts.map +1 -1
  21. package/dist/ensure-built.js +45 -56
  22. package/dist/executors/bounded-exec/cpu-pool.d.ts +22 -7
  23. package/dist/executors/bounded-exec/cpu-pool.d.ts.map +1 -1
  24. package/dist/executors/bounded-exec/cpu-pool.js +51 -22
  25. package/dist/executors/bounded-exec/executor.d.ts +12 -3
  26. package/dist/executors/bounded-exec/executor.d.ts.map +1 -1
  27. package/dist/executors/bounded-exec/executor.js +174 -51
  28. package/dist/executors/bounded-exec/no-space.d.ts +8 -0
  29. package/dist/executors/bounded-exec/no-space.d.ts.map +1 -0
  30. package/dist/executors/bounded-exec/no-space.js +31 -0
  31. package/dist/executors/bounded-exec/ram-temp.d.ts +20 -11
  32. package/dist/executors/bounded-exec/ram-temp.d.ts.map +1 -1
  33. package/dist/executors/bounded-exec/ram-temp.js +42 -17
  34. package/dist/executors/bounded-exec/verdict.d.ts +34 -4
  35. package/dist/executors/bounded-exec/verdict.d.ts.map +1 -1
  36. package/dist/executors/bounded-exec/verdict.js +54 -3
  37. package/dist/generators/bun-test-tracing/generator.js +2 -2
  38. package/dist/graph-input-contract.d.ts +102 -0
  39. package/dist/graph-input-contract.d.ts.map +1 -0
  40. package/dist/graph-input-contract.js +637 -0
  41. package/dist/index.d.ts +12 -5
  42. package/dist/index.d.ts.map +1 -1
  43. package/dist/index.js +17 -3
  44. package/dist/managed-files/ci-workflow.d.ts.map +1 -1
  45. package/dist/managed-files/ci-workflow.js +5 -2
  46. package/dist/managed-files/publish-workflow.d.ts +11 -1
  47. package/dist/managed-files/publish-workflow.d.ts.map +1 -1
  48. package/dist/owned-installation.d.ts +14 -0
  49. package/dist/owned-installation.d.ts.map +1 -0
  50. package/dist/owned-installation.js +324 -0
  51. package/dist/producer-receipts.d.ts +19 -0
  52. package/dist/producer-receipts.d.ts.map +1 -0
  53. package/dist/producer-receipts.js +926 -0
  54. package/dist/test-backstop.d.ts +9 -0
  55. package/dist/test-backstop.d.ts.map +1 -0
  56. package/dist/test-backstop.js +10 -0
  57. package/dist/test-clock-policy.d.ts +30 -0
  58. package/dist/test-clock-policy.d.ts.map +1 -0
  59. package/dist/test-clock-policy.js +686 -0
  60. package/dist/testing.d.ts +8 -0
  61. package/dist/testing.d.ts.map +1 -1
  62. package/dist/testing.js +66 -1
  63. package/managed/raw/patches/nx@23.2.1.patch +328 -50
  64. package/managed/raw/tooling/direnv/developer-links.ts +148 -29
  65. package/managed/raw/tooling/direnv/devenv.smoo.nix +7 -7
  66. package/managed/raw/tooling/direnv/github-actions-bootstrap.sh +14 -5
  67. package/managed/raw/tooling/direnv/linked-snapshots.ts +206 -40
  68. package/managed/raw/tooling/direnv/repo-path +15 -2
  69. package/managed/raw/tooling/direnv/setup-environment.ts +179 -115
  70. package/managed/templates/github/actions/cache-node-modules/action.yml +9 -0
  71. package/managed/templates/github/actions/setup-devenv/action.yml +63 -7
  72. package/nextest.toml +1 -1
  73. package/package.json +25 -9
  74. package/src/__tests__/cargo-closure-fixture.ts +113 -0
  75. package/src/__tests__/counted-cargo.ts +8 -25
  76. package/src/__tests__/directory-change.ts +27 -0
  77. package/src/__tests__/fixture-nx-env.ts +7 -0
  78. package/src/__tests__/owned-installation.ts +14 -0
  79. package/src/__tests__/past-tick.ts +12 -0
  80. package/src/bin/smoo-nx-bound-failures.test.ts +1 -1
  81. package/src/bin/smoo-nx-test-clocks.ts +29 -0
  82. package/src/bounded-test-policy.test.ts +36 -22
  83. package/src/bounded-test-policy.ts +18 -32
  84. package/src/bun-bootstrap.test.ts +1 -1
  85. package/src/cargo-closure-input.property.test.ts +50 -0
  86. package/src/cargo-closure-input.test.ts +73 -121
  87. package/src/cargo-closure-input.ts +47 -8
  88. package/src/cargo-closure-key.test.ts +239 -0
  89. package/src/cargo-resolve-cache.test.ts +168 -31
  90. package/src/cargo-source-hash.test.ts +78 -3
  91. package/src/cargo-source-hash.ts +48 -30
  92. package/src/cross-check-policy.test.ts +2 -2
  93. package/src/ensure-built-receipt.test.ts +111 -16
  94. package/src/ensure-built-receipt.ts +294 -149
  95. package/src/ensure-built-witness.test.ts +306 -13
  96. package/src/ensure-built-witness.ts +255 -24
  97. package/src/ensure-built.test.ts +228 -102
  98. package/src/ensure-built.ts +127 -66
  99. package/src/executors/bounded-exec/cpu-pool.test.ts +134 -32
  100. package/src/executors/bounded-exec/cpu-pool.ts +64 -20
  101. package/src/executors/bounded-exec/cpu-tokens.test.ts +2 -2
  102. package/src/executors/bounded-exec/disk-lease.test.ts +47 -13
  103. package/src/executors/bounded-exec/executor-host.test.ts +74 -52
  104. package/src/executors/bounded-exec/executor.test.ts +343 -97
  105. package/src/executors/bounded-exec/executor.ts +192 -56
  106. package/src/executors/bounded-exec/hang-diagnostics.test.ts +14 -8
  107. package/src/executors/bounded-exec/no-space.ts +40 -0
  108. package/src/executors/bounded-exec/progress.test.ts +1 -1
  109. package/src/executors/bounded-exec/ram-temp-host.test.ts +51 -21
  110. package/src/executors/bounded-exec/ram-temp.test.ts +92 -16
  111. package/src/executors/bounded-exec/ram-temp.ts +49 -20
  112. package/src/executors/bounded-exec/verdict.test.ts +127 -22
  113. package/src/executors/bounded-exec/verdict.ts +78 -3
  114. package/src/generators/bounded-test-targets/generator.test.ts +1 -3
  115. package/src/generators/bun-test-tracing/generator.test.ts +2 -2
  116. package/src/generators/bun-test-tracing/generator.ts +2 -2
  117. package/src/graph-input-contract.test.ts +379 -0
  118. package/src/graph-input-contract.ts +627 -0
  119. package/src/index.test.ts +3 -3
  120. package/src/index.ts +24 -3
  121. package/src/linked-snapshots.nx.test.ts +112 -30
  122. package/src/managed-files/ci-workflow.ts +5 -2
  123. package/src/managed-files/publish-workflow.ts +12 -1
  124. package/src/managed-files/repo-path.test.ts +44 -1
  125. package/src/managed-files/setup-devenv-free-disk.test.ts +95 -0
  126. package/src/nextest-code-bound.test.ts +23 -17
  127. package/src/nextest-extraction.test.ts +114 -4
  128. package/src/nextest-partitions.test.ts +7 -1
  129. package/src/nx-cache-restore-mtime.test.ts +2 -2
  130. package/src/nx-daemon-claim.test.ts +10 -8
  131. package/src/nx-daemon-idle-cpu.test.ts +0 -1
  132. package/src/nx-daemon-idle-policy.test.ts +61 -1
  133. package/src/nx-daemon-ignore-files.test.ts +2 -2
  134. package/src/nx-daemon-validity.test.ts +36 -22
  135. package/src/nx-dot-input-policy.test.ts +5 -5
  136. package/src/nx-files-archive-racy.test.ts +1 -1
  137. package/src/nx-incomplete-run-summary.test.ts +1 -1
  138. package/src/nx-plugin-load-errors.test.ts +2 -2
  139. package/src/nx-project-graph-errors.test.ts +70 -0
  140. package/src/nx-skipped-task-exit.test.ts +2 -2
  141. package/src/nx-store-resolution.test.ts +7 -25
  142. package/src/nx-task-output-lease.test.ts +3 -3
  143. package/src/nx-use-local.test.ts +7 -5
  144. package/src/owned-installation.ts +174 -0
  145. package/src/producer-receipts.test.ts +164 -0
  146. package/src/producer-receipts.ts +636 -0
  147. package/src/runtime-input.test.ts +1 -1
  148. package/src/serial-group-wiring.test.ts +4 -4
  149. package/src/task-results.test.ts +18 -16
  150. package/src/test-backstop.ts +11 -0
  151. package/src/test-clock-policy.test.ts +338 -0
  152. package/src/test-clock-policy.ts +708 -0
  153. package/src/test-timings.test.ts +2 -2
  154. package/src/testing.test.ts +5 -5
  155. package/src/testing.ts +67 -1
  156. package/src/typecheck-test-policy.test.ts +1 -1
  157. package/src/typescript-resolution.test.ts +76 -0
  158. package/test-timings.json +8 -0
@@ -1,11 +1,61 @@
1
+ import * as _assertGuard_1 from "typia/lib/internal/_assertGuard";
2
+ import * as _accessExpressionAsString_1 from "typia/lib/internal/_accessExpressionAsString";
3
+ const __typia_transform__accessExpressionAsString = _accessExpressionAsString_1._accessExpressionAsString;
1
4
  import { createHash, randomUUID } from 'node:crypto';
2
5
  import { closeSync, lstatSync, openSync, readdirSync, readFileSync, readSync, realpathSync, renameSync, rmSync, writeFileSync, } from 'node:fs';
3
- import { dirname, join } from 'node:path';
6
+ import { createRequire } from 'node:module';
7
+ import { dirname, isAbsolute, join, relative, resolve } from 'node:path';
4
8
  import typia from 'typia';
5
- /** Identity of a previously read node, not a timestamp freshness threshold. */
9
+ /** The stamp a node reads as now: device, inode, mode, size, mtime and ctime. What a recorded stamp is compared with. */
6
10
  export function nodeStamp(stats) {
7
11
  return `${stats.dev}:${stats.ino}:${stats.mode}:${stats.size}:${stats.mtimeNs}:${stats.ctimeNs}`;
8
12
  }
13
+ /**
14
+ * How an observed stamp compares with the recorded one: `same`; `ctime` when device, inode, mode, size and mtime are
15
+ * kept and only the ctime moved (a same-mode chmod, which Bun's bin linking does to a shared store file on any
16
+ * checkout's install) or was recorded `unproven` ({@link recordedStamp}); otherwise `moved`. A function of the two
17
+ * stamps alone, so no filesystem or clock decides it.
18
+ */
19
+ export function stampMove(recorded, observed) {
20
+ if (observed === recorded)
21
+ return 'same';
22
+ // nodeStamp ends with the ctime: everything before it is the identity a same-mode chmod keeps.
23
+ const kept = observed.slice(0, observed.lastIndexOf(':')) === recorded.slice(0, recorded.lastIndexOf(':'));
24
+ return kept ? 'ctime' : 'moved';
25
+ }
26
+ /**
27
+ * How long after a node's last change a stamp read of it proves nothing about the next change: git's racily clean
28
+ * rule (git's Documentation/technical/racy-git.txt), which the Nx archive repair already applies to Nx's own file
29
+ * hashes (patches/README.md). A filesystem dates a change by the kernel's clock. On Linux, on a filesystem without
30
+ * fine-grained timestamps such as ZFS, that is the coarse clock, which moves once a jiffy: 1 ms at CONFIG_HZ=1000, as
31
+ * on CI's runner, and 10 ms at CONFIG_HZ=100, the slowest. A same-size rewrite in the tick a stamp was read in leaves
32
+ * every field of it as it was. Node can read neither the jiffy nor a filesystem's granularity, and a shorter window
33
+ * reopens the gap on a slower kernel, so this is the slowest tick, and no option.
34
+ */
35
+ export const SAME_TICK_NS = 10000000n;
36
+ /** The time a census starts, read before its first stat: what {@link unproven} judges each node's change by. */
37
+ export function censusStart() {
38
+ return BigInt(Date.now()) * 1000000n;
39
+ }
40
+ /**
41
+ * Whether a census that started at `start` read a node within {@link SAME_TICK_NS} of its last change (the later of
42
+ * its ctime and mtime, so a node dated ahead counts). Its stamp is then unproven, not unchanged: a rewrite in the same
43
+ * tick could leave it as it is.
44
+ */
45
+ export function unproven(stats, start) {
46
+ return start - (stats.ctimeNs > stats.mtimeNs ? stats.ctimeNs : stats.mtimeNs) < SAME_TICK_NS;
47
+ }
48
+ /**
49
+ * The stamp a census that started at `start` records for a later reader: its {@link nodeStamp}, or, when that is
50
+ * {@link unproven}, the same with its ctime recorded as `unproven`. No stamp read later equals that, so the reader
51
+ * re-reads the node rather than trust the stamp, as it does a node whose ctime alone moved ({@link stampMove}), or
52
+ * counts it moved when it holds nothing to re-read it against. Only such a node costs a re-read.
53
+ */
54
+ export function recordedStamp(stats, start) {
55
+ return unproven(stats, start)
56
+ ? `${stats.dev}:${stats.ino}:${stats.mode}:${stats.size}:${stats.mtimeNs}:unproven`
57
+ : nodeStamp(stats);
58
+ }
9
59
  /** An absent, unreadable or malformed optional witness never authorizes reuse. */
10
60
  export function readGraphWitness(path) {
11
61
  try {
@@ -231,25 +281,33 @@ export function writeWitness(path, value) {
231
281
  * Nx's Unix archive uses whole-second mtimes, so allFileData alone cannot
232
282
  * prove an immediate same-second rewrite. An unbound archive hash is never
233
283
  * admitted: on the first capture every file is rehashed through Nx itself.
284
+ * The nodes are recorded for later captures and readers (recordedStamp), so a
285
+ * node this capture read in the tick it changed in is rehashed by the next.
234
286
  */
235
287
  export function workspaceSnapshot(workspaceRoot, context, previous) {
288
+ const start = censusStart();
236
289
  const files = context.allFileData();
237
290
  const prior = new Map(previous?.nodes.map((node) => [node.path, node.stamp]));
238
291
  const nodes = [];
292
+ // What this capture read of each node it records unproven: its own stability check compares what it read.
293
+ const read = new Map();
239
294
  const changed = [];
240
295
  let complete = true;
296
+ function record(path, stats) {
297
+ const stamp = nodeStamp(stats);
298
+ if (unproven(stats, start))
299
+ read.set(path, stamp);
300
+ nodes.push({ path, stamp: read.has(path) ? recordedStamp(stats, start) : stamp });
301
+ return stamp;
302
+ }
241
303
  for (const { file } of files) {
242
304
  const path = join(workspaceRoot, file);
243
305
  const stats = lstatSync(path, { bigint: true });
244
- const node = { path, stamp: nodeStamp(stats) };
245
- nodes.push(node);
246
- let moved = prior.get(path) !== node.stamp;
306
+ let moved = prior.get(path) !== record(path, stats);
247
307
  if (stats.isSymbolicLink()) {
248
308
  const physical = realpathSync(path);
249
309
  const targetStats = lstatSync(physical, { bigint: true });
250
- const target = { path: physical, stamp: nodeStamp(targetStats) };
251
- nodes.push(target);
252
- moved ||= prior.get(physical) !== target.stamp;
310
+ moved ||= prior.get(physical) !== record(physical, targetStats);
253
311
  // A file table does not prove the membership of an external directory.
254
312
  if (!targetStats.isFile())
255
313
  complete = false;
@@ -259,7 +317,8 @@ export function workspaceSnapshot(workspaceRoot, context, previous) {
259
317
  }
260
318
  if (changed.length > 0)
261
319
  context.incrementalUpdate(changed, []);
262
- return { files: context.allFileData(), nodes, stable: complete && nodesUnchanged(nodes) };
320
+ const asRead = read.size === 0 ? nodes : nodes.map(({ path, stamp }) => ({ path, stamp: read.get(path) ?? stamp }));
321
+ return { files: context.allFileData(), nodes, stable: complete && nodesUnchanged(asRead) };
263
322
  }
264
323
  export function nodesUnchanged(nodes) {
265
324
  for (const node of nodes) {
@@ -275,6 +334,33 @@ export function nodesUnchanged(nodes) {
275
334
  }
276
335
  return true;
277
336
  }
337
+ /**
338
+ * The witnessed nodes whose stamp is no longer the one read, named for a refusal (the first eight in witness order, a
339
+ * gone one with its error code, and how many more), or null when none moved. A node whose device, inode, mode, size
340
+ * and mtime are unchanged and only its ctime moved (a same-mode chmod, which Bun's bin linking does to a shared store
341
+ * file on any checkout's install), or whose ctime was recorded unproven ({@link recordedStamp}), asks for a comparison,
342
+ * not a verdict: `same` re-reads it, and one it finds as recorded has not changed. Without `same` every move counts.
343
+ */
344
+ export function movedNodes(nodes, same = () => false) {
345
+ const moved = [];
346
+ for (const node of nodes) {
347
+ try {
348
+ const move = stampMove(node.stamp, nodeStamp(lstatSync(node.path, { bigint: true })));
349
+ if (move === 'same')
350
+ continue;
351
+ if (move === 'moved' || !same(node.path))
352
+ moved.push(node.path);
353
+ }
354
+ catch (error) {
355
+ if (!systemError(error))
356
+ throw error;
357
+ moved.push(`${node.path} (${error.code})`);
358
+ }
359
+ }
360
+ if (moved.length === 0)
361
+ return null;
362
+ return `${moved.slice(0, 8).join(', ')}${moved.length > 8 ? ` and ${moved.length - 8} more` : ''}`;
363
+ }
278
364
  /** Membership and content are exact. Outputs do not exempt manifests or
279
365
  * newly created/deleted files; this graph witness has no output exclusions.
280
366
  */
@@ -302,17 +388,50 @@ export function reusableGraph(witness, workspaceRoot, environment, installation,
302
388
  * bytes, including manifest metadata; pre/post node stamps still reject a
303
389
  * tree that moved while reading. A missing optional dependency is recorded too.
304
390
  */
305
- export function graphInstallationIdentity(workspaceRoot, nxJson, resolvePackage) {
391
+ export function graphInstallationIdentity(workspaceRoot, nxJson, resolvePackage, expand, localInputs, onUnproved) {
392
+ const census = graphInstallationCensus(workspaceRoot, nxJson, resolvePackage, expand, localInputs, onUnproved);
393
+ if (census === null)
394
+ return null;
395
+ try {
396
+ // A file whose ctime alone moved is re-hashed: Bun's bin linking on any checkout's install re-chmods a shared
397
+ // store file to the mode it already has (movedNodes).
398
+ const hashes = new Map(census.files.map(({ path, sha256 }) => [path, sha256]));
399
+ const moved = movedNodes(census.nodes, (path) => hashes.get(path) === createHash('sha256').update(readFileSync(path)).digest('hex'));
400
+ if (moved !== null) {
401
+ onUnproved?.(`Installed module node changed during inspection: ${moved}`);
402
+ return null;
403
+ }
404
+ }
405
+ catch (error) {
406
+ if (systemError(error) && ['EACCES', 'EPERM', 'EIO'].includes(error.code))
407
+ throw error;
408
+ if (error instanceof Error) {
409
+ onUnproved?.(error.message);
410
+ return null;
411
+ }
412
+ throw error;
413
+ }
414
+ return JSON.stringify({ ...census, localInputs: localInputs?.identity ?? null });
415
+ }
416
+ /** One read of the installation closure {@link graphInstallationIdentity} binds, without its final check that no node
417
+ * moved while it was read: what a caller that needs the closure, not a proof of it, reads. `null`, with `onUnproved`
418
+ * told why, for a closure that cannot be read.
419
+ */
420
+ export function graphInstallationCensus(workspaceRoot, nxJson, resolvePackage, expand, localInputs, onUnproved) {
306
421
  const plugins = (nxJson.plugins ?? []).map((plugin) => (typeof plugin === 'string' ? plugin : plugin.plugin));
307
- if (plugins.some((plugin) => plugin !== '@smoothbricks/nx-plugin'))
422
+ const unproved = plugins.filter((plugin) => plugin !== '@smoothbricks/nx-plugin' && !localInputs?.plugins.includes(plugin));
423
+ if (unproved.length > 0) {
424
+ onUnproved?.(`Unproved configured graph plugins: ${unproved.join(', ')}`);
308
425
  return null;
426
+ }
309
427
  const nodes = [];
310
428
  const files = [];
311
429
  const buffer = Buffer.allocUnsafe(64 * 1024);
312
430
  const resolutions = [];
313
431
  const visited = new Set();
314
432
  const declaredDirectoryLinks = new Set();
315
- function walk(path) {
433
+ const expandedRoots = new Set();
434
+ function walk(path, selected) {
316
435
  const stats = lstatSync(path, { bigint: true });
317
436
  nodes.push({ path, stamp: nodeStamp(stats) });
318
437
  if (stats.isSymbolicLink()) {
@@ -323,9 +442,14 @@ export function graphInstallationIdentity(workspaceRoot, nxJson, resolvePackage)
323
442
  walk(physical);
324
443
  }
325
444
  else if (stats.isDirectory()) {
445
+ const visible = expandedRoots.has(path) ? undefined : selected;
326
446
  for (const name of readdirSync(path).sort()) {
327
- if (name !== 'node_modules' && name !== '.git' && name !== '.nx')
328
- walk(join(path, name));
447
+ const child = join(path, name);
448
+ if (name !== 'node_modules' &&
449
+ name !== '.git' &&
450
+ name !== '.nx' &&
451
+ (visible === undefined || visible.has(child)))
452
+ walk(child, visible);
329
453
  }
330
454
  }
331
455
  else if (!stats.isFile()) {
@@ -345,10 +469,2040 @@ export function graphInstallationIdentity(workspaceRoot, nxJson, resolvePackage)
345
469
  files.push({ path, sha256: hash.digest('hex') });
346
470
  }
347
471
  }
472
+ function installedManifest(name, from) {
473
+ try {
474
+ return resolvePackage(name, [from]);
475
+ }
476
+ catch (original) {
477
+ if (systemError(original) && ['EACCES', 'EPERM', 'EIO'].includes(original.code))
478
+ throw original;
479
+ // A package may expose only subpaths: its dependency declaration still owns its installed manifest and files.
480
+ for (const directory of createRequire(join(from, 'package.json')).resolve.paths(name) ?? []) {
481
+ const path = join(directory, name, 'package.json');
482
+ try {
483
+ const packageJson = (() => {
484
+ const _ip0 = (input, _vctx = {}) => "string" === typeof input["name"];
485
+ const _ip1 = (input, _vctx = {}) => "string" === typeof input["version"];
486
+ const _ip2 = (input, _vctx = {}) => undefined === input["license"] || "string" === typeof input["license"];
487
+ const _ip3 = (input, _vctx = {}) => undefined === input["private"] || "boolean" === typeof input["private"];
488
+ const _ip4 = (input, _vctx = {}) => undefined === input["scripts"] || "object" === typeof input["scripts"] && null !== input["scripts"] && false === Array.isArray(input["scripts"]) && _io1(input["scripts"], _vctx);
489
+ const _ip5 = (input, _vctx = {}) => undefined === input["type"] || "commonjs" === input["type"] || "module" === input["type"];
490
+ const _ip6 = (input, _vctx = {}) => undefined === input["main"] || "string" === typeof input["main"];
491
+ const _ip7 = (input, _vctx = {}) => undefined === input["types"] || "string" === typeof input["types"];
492
+ const _ip8 = (input, _vctx = {}) => undefined === input["typings"] || "string" === typeof input["typings"];
493
+ const _ip9 = (input, _vctx = {}) => undefined === input["module"] || "string" === typeof input["module"];
494
+ const _ip10 = (input, _vctx = {}) => null !== input["exports"] && (undefined === input["exports"] || "string" === typeof input["exports"] || "object" === typeof input["exports"] && null !== input["exports"] && false === Array.isArray(input["exports"]) && _io2(input["exports"], _vctx));
495
+ const _ip11 = (input, _vctx = {}) => undefined === input["dependencies"] || "object" === typeof input["dependencies"] && null !== input["dependencies"] && false === Array.isArray(input["dependencies"]) && _io1(input["dependencies"], _vctx);
496
+ const _ip12 = (input, _vctx = {}) => undefined === input["devDependencies"] || "object" === typeof input["devDependencies"] && null !== input["devDependencies"] && false === Array.isArray(input["devDependencies"]) && _io1(input["devDependencies"], _vctx);
497
+ const _ip13 = (input, _vctx = {}) => undefined === input["optionalDependencies"] || "object" === typeof input["optionalDependencies"] && null !== input["optionalDependencies"] && false === Array.isArray(input["optionalDependencies"]) && _io1(input["optionalDependencies"], _vctx);
498
+ const _ip14 = (input, _vctx = {}) => undefined === input["peerDependencies"] || "object" === typeof input["peerDependencies"] && null !== input["peerDependencies"] && false === Array.isArray(input["peerDependencies"]) && _io1(input["peerDependencies"], _vctx);
499
+ const _ip15 = (input, _vctx = {}) => undefined === input["peerDependenciesMeta"] || "object" === typeof input["peerDependenciesMeta"] && null !== input["peerDependenciesMeta"] && false === Array.isArray(input["peerDependenciesMeta"]) && _io4(input["peerDependenciesMeta"], _vctx);
500
+ const _ip16 = (input, _vctx = {}) => undefined === input["resolutions"] || "object" === typeof input["resolutions"] && null !== input["resolutions"] && false === Array.isArray(input["resolutions"]) && _io1(input["resolutions"], _vctx);
501
+ const _ip17 = (input, _vctx = {}) => undefined === input["pnpm"] || "object" === typeof input["pnpm"] && null !== input["pnpm"] && false === Array.isArray(input["pnpm"]) && _io6(input["pnpm"], _vctx);
502
+ const _ip18 = (input, _vctx = {}) => undefined === input["overrides"] || "object" === typeof input["overrides"] && null !== input["overrides"] && false === Array.isArray(input["overrides"]) && _io7(input["overrides"], _vctx);
503
+ const _ip19 = (input, _vctx = {}) => undefined === input["allowScripts"] || "object" === typeof input["allowScripts"] && null !== input["allowScripts"] && false === Array.isArray(input["allowScripts"]) && _io8(input["allowScripts"], _vctx);
504
+ const _ip20 = (input, _vctx = {}) => null !== input["bin"] && (undefined === input["bin"] || "string" === typeof input["bin"] || "object" === typeof input["bin"] && null !== input["bin"] && false === Array.isArray(input["bin"]) && _io1(input["bin"], _vctx));
505
+ const _ip21 = (input, _vctx = {}) => null !== input["workspaces"] && (undefined === input["workspaces"] || (Array.isArray(input["workspaces"]) && input["workspaces"].every(elem => "string" === typeof elem) || "object" === typeof input["workspaces"] && null !== input["workspaces"] && _io11(input["workspaces"], _vctx)));
506
+ const _ip22 = (input, _vctx = {}) => undefined === input["publishConfig"] || "object" === typeof input["publishConfig"] && null !== input["publishConfig"] && false === Array.isArray(input["publishConfig"]) && _io1(input["publishConfig"], _vctx);
507
+ const _ip23 = (input, _vctx = {}) => undefined === input["files"] || Array.isArray(input["files"]) && input["files"].every(elem => "string" === typeof elem);
508
+ const _ip24 = (input, _vctx = {}) => undefined === input["nx"] || "object" === typeof input["nx"] && null !== input["nx"] && false === Array.isArray(input["nx"]) && _io12(input["nx"], _vctx);
509
+ const _ip25 = (input, _vctx = {}) => undefined === input["generators"] || "string" === typeof input["generators"];
510
+ const _ip26 = (input, _vctx = {}) => undefined === input["schematics"] || "string" === typeof input["schematics"];
511
+ const _ip27 = (input, _vctx = {}) => undefined === input["builders"] || "string" === typeof input["builders"];
512
+ const _ip28 = (input, _vctx = {}) => undefined === input["executors"] || "string" === typeof input["executors"];
513
+ const _ip29 = (input, _vctx = {}) => null !== input["nx-migrations"] && (undefined === input["nx-migrations"] || "string" === typeof input["nx-migrations"] || "object" === typeof input["nx-migrations"] && null !== input["nx-migrations"] && false === Array.isArray(input["nx-migrations"]) && _io46(input["nx-migrations"], _vctx));
514
+ const _ip30 = (input, _vctx = {}) => null !== input["ng-update"] && (undefined === input["ng-update"] || "string" === typeof input["ng-update"] || "object" === typeof input["ng-update"] && null !== input["ng-update"] && false === Array.isArray(input["ng-update"]) && _io46(input["ng-update"], _vctx));
515
+ const _ip31 = (input, _vctx = {}) => undefined === input["packageManager"] || "string" === typeof input["packageManager"];
516
+ const _ip32 = (input, _vctx = {}) => undefined === input["description"] || "string" === typeof input["description"];
517
+ const _ip33 = (input, _vctx = {}) => undefined === input["keywords"] || Array.isArray(input["keywords"]) && input["keywords"].every(elem => "string" === typeof elem);
518
+ const _ip34 = (input, _vctx = {}) => "string" === typeof input["input"];
519
+ const _ip35 = (input, _vctx = {}) => true === input["dependencies"];
520
+ const _ip36 = (input, _vctx = {}) => "string" === typeof input["fileset"];
521
+ const _ip37 = (input, _vctx = {}) => undefined === input["technologies"] || Array.isArray(input["technologies"]) && input["technologies"].every(elem => "string" === typeof elem);
522
+ const _ip40 = (input, _vctx = {}) => "string" === typeof input["package"];
523
+ const _ap0 = (input, _path, _exceptionable = true, _vctx = {}) => "string" === typeof input["name"] || _assertGuard_1._assertGuard(_exceptionable, {
524
+ method: "typia.json.assertParse",
525
+ path: _path + ".name",
526
+ expected: "string",
527
+ value: input["name"]
528
+ }, _errorFactory);
529
+ const _ap1 = (input, _path, _exceptionable = true, _vctx = {}) => "string" === typeof input["version"] || _assertGuard_1._assertGuard(_exceptionable, {
530
+ method: "typia.json.assertParse",
531
+ path: _path + ".version",
532
+ expected: "string",
533
+ value: input["version"]
534
+ }, _errorFactory);
535
+ const _ap2 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["license"] || "string" === typeof input["license"] || _assertGuard_1._assertGuard(_exceptionable, {
536
+ method: "typia.json.assertParse",
537
+ path: _path + ".license",
538
+ expected: "(string | undefined)",
539
+ value: input["license"]
540
+ }, _errorFactory);
541
+ const _ap3 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["private"] || "boolean" === typeof input["private"] || _assertGuard_1._assertGuard(_exceptionable, {
542
+ method: "typia.json.assertParse",
543
+ path: _path + "[\"private\"]",
544
+ expected: "(boolean | undefined)",
545
+ value: input["private"]
546
+ }, _errorFactory);
547
+ const _ap4 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["scripts"] || ("object" === typeof input["scripts"] && null !== input["scripts"] && false === Array.isArray(input["scripts"]) || _assertGuard_1._assertGuard(_exceptionable, {
548
+ method: "typia.json.assertParse",
549
+ path: _path + ".scripts",
550
+ expected: "(Record<string, string> | undefined)",
551
+ value: input["scripts"]
552
+ }, _errorFactory)) && _ao1(input["scripts"], _path + ".scripts", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
553
+ method: "typia.json.assertParse",
554
+ path: _path + ".scripts",
555
+ expected: "(Record<string, string> | undefined)",
556
+ value: input["scripts"]
557
+ }, _errorFactory);
558
+ const _ap5 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["type"] || "commonjs" === input["type"] || "module" === input["type"] || _assertGuard_1._assertGuard(_exceptionable, {
559
+ method: "typia.json.assertParse",
560
+ path: _path + ".type",
561
+ expected: "(\"commonjs\" | \"module\" | undefined)",
562
+ value: input["type"]
563
+ }, _errorFactory);
564
+ const _ap6 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["main"] || "string" === typeof input["main"] || _assertGuard_1._assertGuard(_exceptionable, {
565
+ method: "typia.json.assertParse",
566
+ path: _path + ".main",
567
+ expected: "(string | undefined)",
568
+ value: input["main"]
569
+ }, _errorFactory);
570
+ const _ap7 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["types"] || "string" === typeof input["types"] || _assertGuard_1._assertGuard(_exceptionable, {
571
+ method: "typia.json.assertParse",
572
+ path: _path + ".types",
573
+ expected: "(string | undefined)",
574
+ value: input["types"]
575
+ }, _errorFactory);
576
+ const _ap8 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["typings"] || "string" === typeof input["typings"] || _assertGuard_1._assertGuard(_exceptionable, {
577
+ method: "typia.json.assertParse",
578
+ path: _path + ".typings",
579
+ expected: "(string | undefined)",
580
+ value: input["typings"]
581
+ }, _errorFactory);
582
+ const _ap9 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["module"] || "string" === typeof input["module"] || _assertGuard_1._assertGuard(_exceptionable, {
583
+ method: "typia.json.assertParse",
584
+ path: _path + "[\"module\"]",
585
+ expected: "(string | undefined)",
586
+ value: input["module"]
587
+ }, _errorFactory);
588
+ const _ap10 = (input, _path, _exceptionable = true, _vctx = {}) => (null !== input["exports"] || _assertGuard_1._assertGuard(_exceptionable, {
589
+ method: "typia.json.assertParse",
590
+ path: _path + ".exports",
591
+ expected: _ae0,
592
+ value: input["exports"]
593
+ }, _errorFactory)) && (undefined === input["exports"] || "string" === typeof input["exports"] || ("object" === typeof input["exports"] && null !== input["exports"] && false === Array.isArray(input["exports"]) || _assertGuard_1._assertGuard(_exceptionable, {
594
+ method: "typia.json.assertParse",
595
+ path: _path + ".exports",
596
+ expected: _ae0,
597
+ value: input["exports"]
598
+ }, _errorFactory)) && _ao2(input["exports"], _path + ".exports", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
599
+ method: "typia.json.assertParse",
600
+ path: _path + ".exports",
601
+ expected: _ae0,
602
+ value: input["exports"]
603
+ }, _errorFactory));
604
+ const _ae0 = "(Record<string, string | { types?: string | undefined; require?: string | undefined; import?: string | undefined; development?: string | undefined; default?: string | undefined; }> | string | undefined)";
605
+ const _ap11 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["dependencies"] || ("object" === typeof input["dependencies"] && null !== input["dependencies"] && false === Array.isArray(input["dependencies"]) || _assertGuard_1._assertGuard(_exceptionable, {
606
+ method: "typia.json.assertParse",
607
+ path: _path + ".dependencies",
608
+ expected: "(Record<string, string> | undefined)",
609
+ value: input["dependencies"]
610
+ }, _errorFactory)) && _ao1(input["dependencies"], _path + ".dependencies", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
611
+ method: "typia.json.assertParse",
612
+ path: _path + ".dependencies",
613
+ expected: "(Record<string, string> | undefined)",
614
+ value: input["dependencies"]
615
+ }, _errorFactory);
616
+ const _ap12 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["devDependencies"] || ("object" === typeof input["devDependencies"] && null !== input["devDependencies"] && false === Array.isArray(input["devDependencies"]) || _assertGuard_1._assertGuard(_exceptionable, {
617
+ method: "typia.json.assertParse",
618
+ path: _path + ".devDependencies",
619
+ expected: "(Record<string, string> | undefined)",
620
+ value: input["devDependencies"]
621
+ }, _errorFactory)) && _ao1(input["devDependencies"], _path + ".devDependencies", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
622
+ method: "typia.json.assertParse",
623
+ path: _path + ".devDependencies",
624
+ expected: "(Record<string, string> | undefined)",
625
+ value: input["devDependencies"]
626
+ }, _errorFactory);
627
+ const _ap13 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["optionalDependencies"] || ("object" === typeof input["optionalDependencies"] && null !== input["optionalDependencies"] && false === Array.isArray(input["optionalDependencies"]) || _assertGuard_1._assertGuard(_exceptionable, {
628
+ method: "typia.json.assertParse",
629
+ path: _path + ".optionalDependencies",
630
+ expected: "(Record<string, string> | undefined)",
631
+ value: input["optionalDependencies"]
632
+ }, _errorFactory)) && _ao1(input["optionalDependencies"], _path + ".optionalDependencies", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
633
+ method: "typia.json.assertParse",
634
+ path: _path + ".optionalDependencies",
635
+ expected: "(Record<string, string> | undefined)",
636
+ value: input["optionalDependencies"]
637
+ }, _errorFactory);
638
+ const _ap14 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["peerDependencies"] || ("object" === typeof input["peerDependencies"] && null !== input["peerDependencies"] && false === Array.isArray(input["peerDependencies"]) || _assertGuard_1._assertGuard(_exceptionable, {
639
+ method: "typia.json.assertParse",
640
+ path: _path + ".peerDependencies",
641
+ expected: "(Record<string, string> | undefined)",
642
+ value: input["peerDependencies"]
643
+ }, _errorFactory)) && _ao1(input["peerDependencies"], _path + ".peerDependencies", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
644
+ method: "typia.json.assertParse",
645
+ path: _path + ".peerDependencies",
646
+ expected: "(Record<string, string> | undefined)",
647
+ value: input["peerDependencies"]
648
+ }, _errorFactory);
649
+ const _ap15 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["peerDependenciesMeta"] || ("object" === typeof input["peerDependenciesMeta"] && null !== input["peerDependenciesMeta"] && false === Array.isArray(input["peerDependenciesMeta"]) || _assertGuard_1._assertGuard(_exceptionable, {
650
+ method: "typia.json.assertParse",
651
+ path: _path + ".peerDependenciesMeta",
652
+ expected: "(Record<string, { optional: boolean; }> | undefined)",
653
+ value: input["peerDependenciesMeta"]
654
+ }, _errorFactory)) && _ao4(input["peerDependenciesMeta"], _path + ".peerDependenciesMeta", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
655
+ method: "typia.json.assertParse",
656
+ path: _path + ".peerDependenciesMeta",
657
+ expected: "(Record<string, { optional: boolean; }> | undefined)",
658
+ value: input["peerDependenciesMeta"]
659
+ }, _errorFactory);
660
+ const _ap16 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["resolutions"] || ("object" === typeof input["resolutions"] && null !== input["resolutions"] && false === Array.isArray(input["resolutions"]) || _assertGuard_1._assertGuard(_exceptionable, {
661
+ method: "typia.json.assertParse",
662
+ path: _path + ".resolutions",
663
+ expected: "(Record<string, string> | undefined)",
664
+ value: input["resolutions"]
665
+ }, _errorFactory)) && _ao1(input["resolutions"], _path + ".resolutions", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
666
+ method: "typia.json.assertParse",
667
+ path: _path + ".resolutions",
668
+ expected: "(Record<string, string> | undefined)",
669
+ value: input["resolutions"]
670
+ }, _errorFactory);
671
+ const _ap17 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["pnpm"] || ("object" === typeof input["pnpm"] && null !== input["pnpm"] && false === Array.isArray(input["pnpm"]) || _assertGuard_1._assertGuard(_exceptionable, {
672
+ method: "typia.json.assertParse",
673
+ path: _path + ".pnpm",
674
+ expected: _ae1,
675
+ value: input["pnpm"]
676
+ }, _errorFactory)) && _ao6(input["pnpm"], _path + ".pnpm", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
677
+ method: "typia.json.assertParse",
678
+ path: _path + ".pnpm",
679
+ expected: _ae1,
680
+ value: input["pnpm"]
681
+ }, _errorFactory);
682
+ const _ae1 = "(undefined | { overrides?: PackageOverride | undefined; onlyBuiltDependencies?: string[] | undefined; neverBuiltDependencies?: string[] | undefined; allowBuilds?: Record<string, boolean> | undefined; supportedArchitectures?: { ...; } | undefined; ignoredOptionalDependencies?: string[] | undefined; packageExtensions?: Record<...>...)";
683
+ const _ap18 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["overrides"] || ("object" === typeof input["overrides"] && null !== input["overrides"] && false === Array.isArray(input["overrides"]) || _assertGuard_1._assertGuard(_exceptionable, {
684
+ method: "typia.json.assertParse",
685
+ path: _path + ".overrides",
686
+ expected: "(PackageOverride | undefined)",
687
+ value: input["overrides"]
688
+ }, _errorFactory)) && _ao7(input["overrides"], _path + ".overrides", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
689
+ method: "typia.json.assertParse",
690
+ path: _path + ".overrides",
691
+ expected: "(PackageOverride | undefined)",
692
+ value: input["overrides"]
693
+ }, _errorFactory);
694
+ const _ap19 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["allowScripts"] || ("object" === typeof input["allowScripts"] && null !== input["allowScripts"] && false === Array.isArray(input["allowScripts"]) || _assertGuard_1._assertGuard(_exceptionable, {
695
+ method: "typia.json.assertParse",
696
+ path: _path + ".allowScripts",
697
+ expected: "(Record<string, boolean> | undefined)",
698
+ value: input["allowScripts"]
699
+ }, _errorFactory)) && _ao8(input["allowScripts"], _path + ".allowScripts", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
700
+ method: "typia.json.assertParse",
701
+ path: _path + ".allowScripts",
702
+ expected: "(Record<string, boolean> | undefined)",
703
+ value: input["allowScripts"]
704
+ }, _errorFactory);
705
+ const _ap20 = (input, _path, _exceptionable = true, _vctx = {}) => (null !== input["bin"] || _assertGuard_1._assertGuard(_exceptionable, {
706
+ method: "typia.json.assertParse",
707
+ path: _path + ".bin",
708
+ expected: "(Record<string, string> | string | undefined)",
709
+ value: input["bin"]
710
+ }, _errorFactory)) && (undefined === input["bin"] || "string" === typeof input["bin"] || ("object" === typeof input["bin"] && null !== input["bin"] && false === Array.isArray(input["bin"]) || _assertGuard_1._assertGuard(_exceptionable, {
711
+ method: "typia.json.assertParse",
712
+ path: _path + ".bin",
713
+ expected: "(Record<string, string> | string | undefined)",
714
+ value: input["bin"]
715
+ }, _errorFactory)) && _ao1(input["bin"], _path + ".bin", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
716
+ method: "typia.json.assertParse",
717
+ path: _path + ".bin",
718
+ expected: "(Record<string, string> | string | undefined)",
719
+ value: input["bin"]
720
+ }, _errorFactory));
721
+ const _ap21 = (input, _path, _exceptionable = true, _vctx = {}) => (null !== input["workspaces"] || _assertGuard_1._assertGuard(_exceptionable, {
722
+ method: "typia.json.assertParse",
723
+ path: _path + ".workspaces",
724
+ expected: "(Array<string> | undefined | { packages: string[]; })",
725
+ value: input["workspaces"]
726
+ }, _errorFactory)) && (undefined === input["workspaces"] || (Array.isArray(input["workspaces"]) && input["workspaces"].every((elem, _index33) => "string" === typeof elem || _assertGuard_1._assertGuard(_exceptionable, {
727
+ method: "typia.json.assertParse",
728
+ path: _path + ".workspaces[" + _index33 + "]",
729
+ expected: "string",
730
+ value: elem
731
+ }, _errorFactory)) || "object" === typeof input["workspaces"] && null !== input["workspaces"] && _ao11(input["workspaces"], _path + ".workspaces", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
732
+ method: "typia.json.assertParse",
733
+ path: _path + ".workspaces",
734
+ expected: "(Array<string> | undefined | { packages: string[]; })",
735
+ value: input["workspaces"]
736
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
737
+ method: "typia.json.assertParse",
738
+ path: _path + ".workspaces",
739
+ expected: "(Array<string> | undefined | { packages: string[]; })",
740
+ value: input["workspaces"]
741
+ }, _errorFactory));
742
+ const _ap22 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["publishConfig"] || ("object" === typeof input["publishConfig"] && null !== input["publishConfig"] && false === Array.isArray(input["publishConfig"]) || _assertGuard_1._assertGuard(_exceptionable, {
743
+ method: "typia.json.assertParse",
744
+ path: _path + ".publishConfig",
745
+ expected: "(Record<string, string> | undefined)",
746
+ value: input["publishConfig"]
747
+ }, _errorFactory)) && _ao1(input["publishConfig"], _path + ".publishConfig", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
748
+ method: "typia.json.assertParse",
749
+ path: _path + ".publishConfig",
750
+ expected: "(Record<string, string> | undefined)",
751
+ value: input["publishConfig"]
752
+ }, _errorFactory);
753
+ const _ap23 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["files"] || (Array.isArray(input["files"]) || _assertGuard_1._assertGuard(_exceptionable, {
754
+ method: "typia.json.assertParse",
755
+ path: _path + ".files",
756
+ expected: "(Array<string> | undefined)",
757
+ value: input["files"]
758
+ }, _errorFactory)) && input["files"].every((elem, _index34) => "string" === typeof elem || _assertGuard_1._assertGuard(_exceptionable, {
759
+ method: "typia.json.assertParse",
760
+ path: _path + ".files[" + _index34 + "]",
761
+ expected: "string",
762
+ value: elem
763
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
764
+ method: "typia.json.assertParse",
765
+ path: _path + ".files",
766
+ expected: "(Array<string> | undefined)",
767
+ value: input["files"]
768
+ }, _errorFactory);
769
+ const _ap24 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["nx"] || ("object" === typeof input["nx"] && null !== input["nx"] && false === Array.isArray(input["nx"]) || _assertGuard_1._assertGuard(_exceptionable, {
770
+ method: "typia.json.assertParse",
771
+ path: _path + ".nx",
772
+ expected: "(NxProjectPackageJsonConfiguration | undefined)",
773
+ value: input["nx"]
774
+ }, _errorFactory)) && _ao12(input["nx"], _path + ".nx", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
775
+ method: "typia.json.assertParse",
776
+ path: _path + ".nx",
777
+ expected: "(NxProjectPackageJsonConfiguration | undefined)",
778
+ value: input["nx"]
779
+ }, _errorFactory);
780
+ const _ap25 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["generators"] || "string" === typeof input["generators"] || _assertGuard_1._assertGuard(_exceptionable, {
781
+ method: "typia.json.assertParse",
782
+ path: _path + ".generators",
783
+ expected: "(string | undefined)",
784
+ value: input["generators"]
785
+ }, _errorFactory);
786
+ const _ap26 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["schematics"] || "string" === typeof input["schematics"] || _assertGuard_1._assertGuard(_exceptionable, {
787
+ method: "typia.json.assertParse",
788
+ path: _path + ".schematics",
789
+ expected: "(string | undefined)",
790
+ value: input["schematics"]
791
+ }, _errorFactory);
792
+ const _ap27 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["builders"] || "string" === typeof input["builders"] || _assertGuard_1._assertGuard(_exceptionable, {
793
+ method: "typia.json.assertParse",
794
+ path: _path + ".builders",
795
+ expected: "(string | undefined)",
796
+ value: input["builders"]
797
+ }, _errorFactory);
798
+ const _ap28 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["executors"] || "string" === typeof input["executors"] || _assertGuard_1._assertGuard(_exceptionable, {
799
+ method: "typia.json.assertParse",
800
+ path: _path + ".executors",
801
+ expected: "(string | undefined)",
802
+ value: input["executors"]
803
+ }, _errorFactory);
804
+ const _ap29 = (input, _path, _exceptionable = true, _vctx = {}) => (null !== input["nx-migrations"] || _assertGuard_1._assertGuard(_exceptionable, {
805
+ method: "typia.json.assertParse",
806
+ path: _path + "[\"nx-migrations\"]",
807
+ expected: "(NxMigrationsConfiguration | string | undefined)",
808
+ value: input["nx-migrations"]
809
+ }, _errorFactory)) && (undefined === input["nx-migrations"] || "string" === typeof input["nx-migrations"] || ("object" === typeof input["nx-migrations"] && null !== input["nx-migrations"] && false === Array.isArray(input["nx-migrations"]) || _assertGuard_1._assertGuard(_exceptionable, {
810
+ method: "typia.json.assertParse",
811
+ path: _path + "[\"nx-migrations\"]",
812
+ expected: "(NxMigrationsConfiguration | string | undefined)",
813
+ value: input["nx-migrations"]
814
+ }, _errorFactory)) && _ao46(input["nx-migrations"], _path + "[\"nx-migrations\"]", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
815
+ method: "typia.json.assertParse",
816
+ path: _path + "[\"nx-migrations\"]",
817
+ expected: "(NxMigrationsConfiguration | string | undefined)",
818
+ value: input["nx-migrations"]
819
+ }, _errorFactory));
820
+ const _ap30 = (input, _path, _exceptionable = true, _vctx = {}) => (null !== input["ng-update"] || _assertGuard_1._assertGuard(_exceptionable, {
821
+ method: "typia.json.assertParse",
822
+ path: _path + "[\"ng-update\"]",
823
+ expected: "(NxMigrationsConfiguration | string | undefined)",
824
+ value: input["ng-update"]
825
+ }, _errorFactory)) && (undefined === input["ng-update"] || "string" === typeof input["ng-update"] || ("object" === typeof input["ng-update"] && null !== input["ng-update"] && false === Array.isArray(input["ng-update"]) || _assertGuard_1._assertGuard(_exceptionable, {
826
+ method: "typia.json.assertParse",
827
+ path: _path + "[\"ng-update\"]",
828
+ expected: "(NxMigrationsConfiguration | string | undefined)",
829
+ value: input["ng-update"]
830
+ }, _errorFactory)) && _ao46(input["ng-update"], _path + "[\"ng-update\"]", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
831
+ method: "typia.json.assertParse",
832
+ path: _path + "[\"ng-update\"]",
833
+ expected: "(NxMigrationsConfiguration | string | undefined)",
834
+ value: input["ng-update"]
835
+ }, _errorFactory));
836
+ const _ap31 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["packageManager"] || "string" === typeof input["packageManager"] || _assertGuard_1._assertGuard(_exceptionable, {
837
+ method: "typia.json.assertParse",
838
+ path: _path + ".packageManager",
839
+ expected: "(string | undefined)",
840
+ value: input["packageManager"]
841
+ }, _errorFactory);
842
+ const _ap32 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["description"] || "string" === typeof input["description"] || _assertGuard_1._assertGuard(_exceptionable, {
843
+ method: "typia.json.assertParse",
844
+ path: _path + ".description",
845
+ expected: "(string | undefined)",
846
+ value: input["description"]
847
+ }, _errorFactory);
848
+ const _ap33 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["keywords"] || (Array.isArray(input["keywords"]) || _assertGuard_1._assertGuard(_exceptionable, {
849
+ method: "typia.json.assertParse",
850
+ path: _path + ".keywords",
851
+ expected: "(Array<string> | undefined)",
852
+ value: input["keywords"]
853
+ }, _errorFactory)) && input["keywords"].every((elem, _index35) => "string" === typeof elem || _assertGuard_1._assertGuard(_exceptionable, {
854
+ method: "typia.json.assertParse",
855
+ path: _path + ".keywords[" + _index35 + "]",
856
+ expected: "string",
857
+ value: elem
858
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
859
+ method: "typia.json.assertParse",
860
+ path: _path + ".keywords",
861
+ expected: "(Array<string> | undefined)",
862
+ value: input["keywords"]
863
+ }, _errorFactory);
864
+ const _ae2 = "(string | { types?: string | undefined; require?: string | undefined; import?: string | undefined; development?: string | undefined; default?: string | undefined; })";
865
+ const _ae3 = "(undefined | { version?: Pick<NxReleaseVersionConfiguration, \"currentVersionResolver\" | \"currentVersionResolverMetadata\" | \"fallbackCurrentVersionResolver\" | ... 5 more ... | \"versionPrefix\"> | undefined; docker?: true | ... 1 more ... | undefined; })";
866
+ const _ae4 = "(JsonInput | string | { dependentTasksOutputFiles: string; transitive?: boolean | undefined; } | { env: string; } | { externalDependencies: string[]; } | { fileset: string; dependencies: true; } | { fileset: string; } | { input: string; dependencies: true; } | { input: string; projects: string | string[]; } | { input: string; } | { runtime: string; } | { workingDirectory: \"absolute\" | \"relative\"; })";
867
+ const _ap34 = (input, _path, _exceptionable = true, _vctx = {}) => "string" === typeof input["input"] || _assertGuard_1._assertGuard(_exceptionable, {
868
+ method: "typia.json.assertParse",
869
+ path: _path + ".input",
870
+ expected: "string",
871
+ value: input["input"]
872
+ }, _errorFactory);
873
+ const _ap35 = (input, _path, _exceptionable = true, _vctx = {}) => true === input["dependencies"] || _assertGuard_1._assertGuard(_exceptionable, {
874
+ method: "typia.json.assertParse",
875
+ path: _path + ".dependencies",
876
+ expected: "true",
877
+ value: input["dependencies"]
878
+ }, _errorFactory);
879
+ const _ap36 = (input, _path, _exceptionable = true, _vctx = {}) => "string" === typeof input["fileset"] || _assertGuard_1._assertGuard(_exceptionable, {
880
+ method: "typia.json.assertParse",
881
+ path: _path + ".fileset",
882
+ expected: "string",
883
+ value: input["fileset"]
884
+ }, _errorFactory);
885
+ const _ap37 = (input, _path, _exceptionable = true, _vctx = {}) => undefined === input["technologies"] || (Array.isArray(input["technologies"]) || _assertGuard_1._assertGuard(_exceptionable, {
886
+ method: "typia.json.assertParse",
887
+ path: _path + ".technologies",
888
+ expected: "(Array<string> | undefined)",
889
+ value: input["technologies"]
890
+ }, _errorFactory)) && input["technologies"].every((elem, _index55) => "string" === typeof elem || _assertGuard_1._assertGuard(_exceptionable, {
891
+ method: "typia.json.assertParse",
892
+ path: _path + ".technologies[" + _index55 + "]",
893
+ expected: "string",
894
+ value: elem
895
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
896
+ method: "typia.json.assertParse",
897
+ path: _path + ".technologies",
898
+ expected: "(Array<string> | undefined)",
899
+ value: input["technologies"]
900
+ }, _errorFactory);
901
+ const _ae5 = "(Pick<NxReleaseVersionConfiguration, \"currentVersionResolver\" | \"currentVersionResolverMetadata\" | \"fallbackCurrentVersionResolver\" | \"manifestRootsToUpdate\" | ... 4 more ... | \"versionPrefix\"> | undefined)";
902
+ const _ae6 = "(undefined | { [ownerId: string]: { ownedFiles: { files: string[] | [\"*\"]; fromConfig?: { filePath: string; location: { startLine: number; endLine: number; }; } | undefined; }[]; }; })";
903
+ const _ae7 = "(undefined | { packageName: string; packageVersion?: string | undefined; packageExports?: string | Record<string, string | { types?: string | undefined; require?: string | undefined; import?: string | undefined; development?: string | undefined; default?: string | undefined; }> | undefined; packageMain?: string | undefined; isIn...)";
904
+ const _ae8 = "{ ownedFiles: { files: string[] | [\"*\"]; fromConfig?: { filePath: string; location: { startLine: number; endLine: number; }; } | undefined; }[]; }";
905
+ const _ae9 = "{ files: string[] | [\"*\"]; fromConfig?: { filePath: string; location: { startLine: number; endLine: number; }; } | undefined; }[]";
906
+ const _ap40 = (input, _path, _exceptionable = true, _vctx = {}) => "string" === typeof input["package"] || _assertGuard_1._assertGuard(_exceptionable, {
907
+ method: "typia.json.assertParse",
908
+ path: _path + "[\"package\"]",
909
+ expected: "string",
910
+ value: input["package"]
911
+ }, _errorFactory);
912
+ const _ip38 = (input, _vctx = {}) => {
913
+ const array = input;
914
+ const tuplePredicators = [
915
+ [
916
+ top => top.length === 1 && "*" === top[0],
917
+ entire => entire.length === 1 && "*" === entire[0]
918
+ ]
919
+ ];
920
+ for (const pred of tuplePredicators)
921
+ if (pred[0](array))
922
+ return pred[1](array);
923
+ const top = input[0];
924
+ if (0 === input.length)
925
+ return true;
926
+ const arrayPredicators = [
927
+ [
928
+ top => "string" === typeof top,
929
+ entire => entire.every(elem => "string" === typeof elem)
930
+ ]
931
+ ];
932
+ const passed = arrayPredicators.filter(pred => pred[0](top));
933
+ if (1 === passed.length)
934
+ return passed[0][1](array);
935
+ else if (1 < passed.length)
936
+ for (const pred of passed)
937
+ if (array.every(value => true === pred[0](value)))
938
+ return pred[1](array);
939
+ return false;
940
+ };
941
+ const _ip39 = (input, _vctx = {}) => {
942
+ const array = input;
943
+ const top = input[0];
944
+ if (0 === input.length)
945
+ return true;
946
+ const arrayPredicators = [
947
+ [
948
+ top => null !== top && undefined !== top && ("string" === typeof top || "object" === typeof top && null !== top && _io47(top, _vctx)),
949
+ entire => entire.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || "object" === typeof elem && null !== elem && _io47(elem, _vctx)))
950
+ ],
951
+ [
952
+ top => "object" === typeof top && null !== top && _io48(top, _vctx),
953
+ entire => entire.every(elem => "object" === typeof elem && null !== elem && _io48(elem, _vctx))
954
+ ]
955
+ ];
956
+ const passed = arrayPredicators.filter(pred => pred[0](top));
957
+ if (1 === passed.length)
958
+ return passed[0][1](array);
959
+ else if (1 < passed.length)
960
+ for (const pred of passed)
961
+ if (array.every(value => true === pred[0](value)))
962
+ return pred[1](array);
963
+ return false;
964
+ };
965
+ const _ap38 = (input, _path, _exceptionable = true, _vctx = {}) => {
966
+ const array = input;
967
+ const tuplePredicators = [
968
+ [
969
+ top => top.length === 1 && "*" === top[0],
970
+ entire => (entire.length === 1 || _assertGuard_1._assertGuard(_exceptionable, {
971
+ method: "typia.json.assertParse",
972
+ path: _path,
973
+ expected: "[\"*\"]",
974
+ value: entire
975
+ }, _errorFactory)) && ("*" === entire[0] || _assertGuard_1._assertGuard(_exceptionable, {
976
+ method: "typia.json.assertParse",
977
+ path: _path + "[0]",
978
+ expected: "\"*\"",
979
+ value: entire[0]
980
+ }, _errorFactory))
981
+ ]
982
+ ];
983
+ for (const pred of tuplePredicators)
984
+ if (pred[0](array))
985
+ return pred[1](array);
986
+ const top = input[0];
987
+ if (0 === input.length)
988
+ return true;
989
+ const arrayPredicators = [
990
+ [
991
+ top => "string" === typeof top,
992
+ entire => entire.every((elem, _index62) => "string" === typeof elem || _assertGuard_1._assertGuard(_exceptionable, {
993
+ method: "typia.json.assertParse",
994
+ path: _path + "[" + _index62 + "]",
995
+ expected: "string",
996
+ value: elem
997
+ }, _errorFactory))
998
+ ]
999
+ ];
1000
+ const passed = arrayPredicators.filter(pred => pred[0](top));
1001
+ if (1 === passed.length)
1002
+ return passed[0][1](array);
1003
+ else if (1 < passed.length)
1004
+ for (const pred of passed)
1005
+ if (array.every(value => true === pred[0](value)))
1006
+ return pred[1](array);
1007
+ return _assertGuard_1._assertGuard(_exceptionable, {
1008
+ method: "typia.json.assertParse",
1009
+ path: _path,
1010
+ expected: "([\"*\"] | Array<string>)",
1011
+ value: input
1012
+ }, _errorFactory);
1013
+ };
1014
+ const _ap39 = (input, _path, _exceptionable = true, _vctx = {}) => {
1015
+ const array = input;
1016
+ const top = input[0];
1017
+ if (0 === input.length)
1018
+ return true;
1019
+ const arrayPredicators = [
1020
+ [
1021
+ top => null !== top && undefined !== top && ("string" === typeof top || "object" === typeof top && null !== top && _ao47(top, _path, false && _exceptionable, _vctx)),
1022
+ entire => entire.every((elem, _index63) => (null !== elem || _assertGuard_1._assertGuard(_exceptionable, {
1023
+ method: "typia.json.assertParse",
1024
+ path: _path + "[" + _index63 + "]",
1025
+ expected: "(string | { package: string; version: string; })",
1026
+ value: elem
1027
+ }, _errorFactory)) && (undefined !== elem || _assertGuard_1._assertGuard(_exceptionable, {
1028
+ method: "typia.json.assertParse",
1029
+ path: _path + "[" + _index63 + "]",
1030
+ expected: "(string | { package: string; version: string; })",
1031
+ value: elem
1032
+ }, _errorFactory)) && ("string" === typeof elem || ("object" === typeof elem && null !== elem || _assertGuard_1._assertGuard(_exceptionable, {
1033
+ method: "typia.json.assertParse",
1034
+ path: _path + "[" + _index63 + "]",
1035
+ expected: "(string | { package: string; version: string; })",
1036
+ value: elem
1037
+ }, _errorFactory)) && _ao47(elem, _path + "[" + _index63 + "]", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1038
+ method: "typia.json.assertParse",
1039
+ path: _path + "[" + _index63 + "]",
1040
+ expected: "(string | { package: string; version: string; })",
1041
+ value: elem
1042
+ }, _errorFactory)))
1043
+ ],
1044
+ [
1045
+ top => "object" === typeof top && null !== top && _ao48(top, _path, false && _exceptionable, _vctx),
1046
+ entire => entire.every((elem, _index64) => ("object" === typeof elem && null !== elem || _assertGuard_1._assertGuard(_exceptionable, {
1047
+ method: "typia.json.assertParse",
1048
+ path: _path + "[" + _index64 + "]",
1049
+ expected: "{ package: string; version: string; }",
1050
+ value: elem
1051
+ }, _errorFactory)) && _ao48(elem, _path + "[" + _index64 + "]", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1052
+ method: "typia.json.assertParse",
1053
+ path: _path + "[" + _index64 + "]",
1054
+ expected: "{ package: string; version: string; }",
1055
+ value: elem
1056
+ }, _errorFactory))
1057
+ ]
1058
+ ];
1059
+ const passed = arrayPredicators.filter(pred => pred[0](top));
1060
+ if (1 === passed.length)
1061
+ return passed[0][1](array);
1062
+ else if (1 < passed.length)
1063
+ for (const pred of passed)
1064
+ if (array.every(value => true === pred[0](value)))
1065
+ return pred[1](array);
1066
+ return _assertGuard_1._assertGuard(_exceptionable, {
1067
+ method: "typia.json.assertParse",
1068
+ path: _path,
1069
+ expected: "((string | { package: string; version: string; })[] | ArrayPackageGroup)",
1070
+ value: input
1071
+ }, _errorFactory);
1072
+ };
1073
+ const _ao0 = (input, _path, _exceptionable = true, _vctx = {}) => _ap0(input, _path, true && _exceptionable, _vctx) && _ap1(input, _path, true && _exceptionable, _vctx) && _ap2(input, _path, true && _exceptionable, _vctx) && _ap3(input, _path, true && _exceptionable, _vctx) && _ap4(input, _path, true && _exceptionable, _vctx) && _ap5(input, _path, true && _exceptionable, _vctx) && _ap6(input, _path, true && _exceptionable, _vctx) && _ap7(input, _path, true && _exceptionable, _vctx) && _ap8(input, _path, true && _exceptionable, _vctx) && _ap9(input, _path, true && _exceptionable, _vctx) && _ap10(input, _path, true && _exceptionable, _vctx) && _ap11(input, _path, true && _exceptionable, _vctx) && _ap12(input, _path, true && _exceptionable, _vctx) && _ap13(input, _path, true && _exceptionable, _vctx) && _ap14(input, _path, true && _exceptionable, _vctx) && _ap15(input, _path, true && _exceptionable, _vctx) && _ap16(input, _path, true && _exceptionable, _vctx) && _ap17(input, _path, true && _exceptionable, _vctx) && _ap18(input, _path, true && _exceptionable, _vctx) && _ap19(input, _path, true && _exceptionable, _vctx) && _ap20(input, _path, true && _exceptionable, _vctx) && _ap21(input, _path, true && _exceptionable, _vctx) && _ap22(input, _path, true && _exceptionable, _vctx) && _ap23(input, _path, true && _exceptionable, _vctx) && _ap24(input, _path, true && _exceptionable, _vctx) && _ap25(input, _path, true && _exceptionable, _vctx) && _ap26(input, _path, true && _exceptionable, _vctx) && _ap27(input, _path, true && _exceptionable, _vctx) && _ap28(input, _path, true && _exceptionable, _vctx) && _ap29(input, _path, true && _exceptionable, _vctx) && _ap30(input, _path, true && _exceptionable, _vctx) && _ap31(input, _path, true && _exceptionable, _vctx) && _ap32(input, _path, true && _exceptionable, _vctx) && _ap33(input, _path, true && _exceptionable, _vctx);
1074
+ const _ao1 = (input, _path, _exceptionable = true, _vctx = {}) => false === _exceptionable || Object.keys(input).every(key => {
1075
+ const value = input[key];
1076
+ if (undefined === value)
1077
+ return true;
1078
+ return "string" === typeof value || _assertGuard_1._assertGuard(_exceptionable, {
1079
+ method: "typia.json.assertParse",
1080
+ path: _path + __typia_transform__accessExpressionAsString(key),
1081
+ expected: "string",
1082
+ value: value
1083
+ }, _errorFactory);
1084
+ });
1085
+ const _ao10 = (input, _path, _exceptionable = true, _vctx = {}) => false === _exceptionable || Object.keys(input).every(key => {
1086
+ const value = input[key];
1087
+ if (undefined === value)
1088
+ return true;
1089
+ return true;
1090
+ });
1091
+ const _ao11 = (input, _path, _exceptionable = true, _vctx = {}) => (Array.isArray(input.packages) || _assertGuard_1._assertGuard(_exceptionable, {
1092
+ method: "typia.json.assertParse",
1093
+ path: _path + ".packages",
1094
+ expected: "Array<string>",
1095
+ value: input.packages
1096
+ }, _errorFactory)) && input.packages.every((elem, _index42) => "string" === typeof elem || _assertGuard_1._assertGuard(_exceptionable, {
1097
+ method: "typia.json.assertParse",
1098
+ path: _path + ".packages[" + _index42 + "]",
1099
+ expected: "string",
1100
+ value: elem
1101
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
1102
+ method: "typia.json.assertParse",
1103
+ path: _path + ".packages",
1104
+ expected: "Array<string>",
1105
+ value: input.packages
1106
+ }, _errorFactory);
1107
+ const _ao12 = (input, _path, _exceptionable = true, _vctx = {}) => (undefined === input.includedScripts || (Array.isArray(input.includedScripts) || _assertGuard_1._assertGuard(_exceptionable, {
1108
+ method: "typia.json.assertParse",
1109
+ path: _path + ".includedScripts",
1110
+ expected: "(Array<string> | undefined)",
1111
+ value: input.includedScripts
1112
+ }, _errorFactory)) && input.includedScripts.every((elem, _index43) => "string" === typeof elem || _assertGuard_1._assertGuard(_exceptionable, {
1113
+ method: "typia.json.assertParse",
1114
+ path: _path + ".includedScripts[" + _index43 + "]",
1115
+ expected: "string",
1116
+ value: elem
1117
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
1118
+ method: "typia.json.assertParse",
1119
+ path: _path + ".includedScripts",
1120
+ expected: "(Array<string> | undefined)",
1121
+ value: input.includedScripts
1122
+ }, _errorFactory)) && (undefined === input.name || "string" === typeof input.name || _assertGuard_1._assertGuard(_exceptionable, {
1123
+ method: "typia.json.assertParse",
1124
+ path: _path + ".name",
1125
+ expected: "(string | undefined)",
1126
+ value: input.name
1127
+ }, _errorFactory)) && (undefined === input.targets || ("object" === typeof input.targets && null !== input.targets && false === Array.isArray(input.targets) || _assertGuard_1._assertGuard(_exceptionable, {
1128
+ method: "typia.json.assertParse",
1129
+ path: _path + ".targets",
1130
+ expected: "(undefined | { [targetName: string]: TargetConfiguration<any>; })",
1131
+ value: input.targets
1132
+ }, _errorFactory)) && _ao13(input.targets, _path + ".targets", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1133
+ method: "typia.json.assertParse",
1134
+ path: _path + ".targets",
1135
+ expected: "(undefined | { [targetName: string]: TargetConfiguration<any>; })",
1136
+ value: input.targets
1137
+ }, _errorFactory)) && (undefined === input.root || "string" === typeof input.root || _assertGuard_1._assertGuard(_exceptionable, {
1138
+ method: "typia.json.assertParse",
1139
+ path: _path + ".root",
1140
+ expected: "(string | undefined)",
1141
+ value: input.root
1142
+ }, _errorFactory)) && (undefined === input.sourceRoot || "string" === typeof input.sourceRoot || _assertGuard_1._assertGuard(_exceptionable, {
1143
+ method: "typia.json.assertParse",
1144
+ path: _path + ".sourceRoot",
1145
+ expected: "(string | undefined)",
1146
+ value: input.sourceRoot
1147
+ }, _errorFactory)) && (undefined === input.projectType || "application" === input.projectType || "library" === input.projectType || _assertGuard_1._assertGuard(_exceptionable, {
1148
+ method: "typia.json.assertParse",
1149
+ path: _path + ".projectType",
1150
+ expected: "(\"application\" | \"library\" | undefined)",
1151
+ value: input.projectType
1152
+ }, _errorFactory)) && (undefined === input.generators || ("object" === typeof input.generators && null !== input.generators && false === Array.isArray(input.generators) || _assertGuard_1._assertGuard(_exceptionable, {
1153
+ method: "typia.json.assertParse",
1154
+ path: _path + ".generators",
1155
+ expected: "(undefined | { [collectionName: string]: { [generatorName: string]: any; }; })",
1156
+ value: input.generators
1157
+ }, _errorFactory)) && _ao31(input.generators, _path + ".generators", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1158
+ method: "typia.json.assertParse",
1159
+ path: _path + ".generators",
1160
+ expected: "(undefined | { [collectionName: string]: { [generatorName: string]: any; }; })",
1161
+ value: input.generators
1162
+ }, _errorFactory)) && (undefined === input.implicitDependencies || (Array.isArray(input.implicitDependencies) || _assertGuard_1._assertGuard(_exceptionable, {
1163
+ method: "typia.json.assertParse",
1164
+ path: _path + ".implicitDependencies",
1165
+ expected: "(Array<string> | undefined)",
1166
+ value: input.implicitDependencies
1167
+ }, _errorFactory)) && input.implicitDependencies.every((elem, _index44) => "string" === typeof elem || _assertGuard_1._assertGuard(_exceptionable, {
1168
+ method: "typia.json.assertParse",
1169
+ path: _path + ".implicitDependencies[" + _index44 + "]",
1170
+ expected: "string",
1171
+ value: elem
1172
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
1173
+ method: "typia.json.assertParse",
1174
+ path: _path + ".implicitDependencies",
1175
+ expected: "(Array<string> | undefined)",
1176
+ value: input.implicitDependencies
1177
+ }, _errorFactory)) && (undefined === input.namedInputs || ("object" === typeof input.namedInputs && null !== input.namedInputs && false === Array.isArray(input.namedInputs) || _assertGuard_1._assertGuard(_exceptionable, {
1178
+ method: "typia.json.assertParse",
1179
+ path: _path + ".namedInputs",
1180
+ expected: "(undefined | { [inputName: string]: (string | InputDefinition)[]; })",
1181
+ value: input.namedInputs
1182
+ }, _errorFactory)) && _ao33(input.namedInputs, _path + ".namedInputs", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1183
+ method: "typia.json.assertParse",
1184
+ path: _path + ".namedInputs",
1185
+ expected: "(undefined | { [inputName: string]: (string | InputDefinition)[]; })",
1186
+ value: input.namedInputs
1187
+ }, _errorFactory)) && (undefined === input.tags || (Array.isArray(input.tags) || _assertGuard_1._assertGuard(_exceptionable, {
1188
+ method: "typia.json.assertParse",
1189
+ path: _path + ".tags",
1190
+ expected: "(Array<string> | undefined)",
1191
+ value: input.tags
1192
+ }, _errorFactory)) && input.tags.every((elem, _index45) => "string" === typeof elem || _assertGuard_1._assertGuard(_exceptionable, {
1193
+ method: "typia.json.assertParse",
1194
+ path: _path + ".tags[" + _index45 + "]",
1195
+ expected: "string",
1196
+ value: elem
1197
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
1198
+ method: "typia.json.assertParse",
1199
+ path: _path + ".tags",
1200
+ expected: "(Array<string> | undefined)",
1201
+ value: input.tags
1202
+ }, _errorFactory)) && (undefined === input.release || ("object" === typeof input.release && null !== input.release && false === Array.isArray(input.release) || _assertGuard_1._assertGuard(_exceptionable, {
1203
+ method: "typia.json.assertParse",
1204
+ path: _path + ".release",
1205
+ expected: _ae3,
1206
+ value: input.release
1207
+ }, _errorFactory)) && _ao34(input.release, _path + ".release", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1208
+ method: "typia.json.assertParse",
1209
+ path: _path + ".release",
1210
+ expected: _ae3,
1211
+ value: input.release
1212
+ }, _errorFactory)) && (undefined === input.metadata || ("object" === typeof input.metadata && null !== input.metadata && false === Array.isArray(input.metadata) || _assertGuard_1._assertGuard(_exceptionable, {
1213
+ method: "typia.json.assertParse",
1214
+ path: _path + ".metadata",
1215
+ expected: "(ProjectMetadata | undefined)",
1216
+ value: input.metadata
1217
+ }, _errorFactory)) && _ao38(input.metadata, _path + ".metadata", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1218
+ method: "typia.json.assertParse",
1219
+ path: _path + ".metadata",
1220
+ expected: "(ProjectMetadata | undefined)",
1221
+ value: input.metadata
1222
+ }, _errorFactory));
1223
+ const _ao13 = (input, _path, _exceptionable = true, _vctx = {}) => false === _exceptionable || Object.keys(input).every(key => {
1224
+ const value = input[key];
1225
+ if (undefined === value)
1226
+ return true;
1227
+ return ("object" === typeof value && null !== value && false === Array.isArray(value) || _assertGuard_1._assertGuard(_exceptionable, {
1228
+ method: "typia.json.assertParse",
1229
+ path: _path + __typia_transform__accessExpressionAsString(key),
1230
+ expected: "TargetConfiguration<any>",
1231
+ value: value
1232
+ }, _errorFactory)) && _ao14(value, _path + __typia_transform__accessExpressionAsString(key), true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1233
+ method: "typia.json.assertParse",
1234
+ path: _path + __typia_transform__accessExpressionAsString(key),
1235
+ expected: "TargetConfiguration<any>",
1236
+ value: value
1237
+ }, _errorFactory);
1238
+ });
1239
+ const _ao14 = (input, _path, _exceptionable = true, _vctx = {}) => (undefined === input.executor || "string" === typeof input.executor || _assertGuard_1._assertGuard(_exceptionable, {
1240
+ method: "typia.json.assertParse",
1241
+ path: _path + ".executor",
1242
+ expected: "(string | undefined)",
1243
+ value: input.executor
1244
+ }, _errorFactory)) && (undefined === input.command || "string" === typeof input.command || _assertGuard_1._assertGuard(_exceptionable, {
1245
+ method: "typia.json.assertParse",
1246
+ path: _path + ".command",
1247
+ expected: "(string | undefined)",
1248
+ value: input.command
1249
+ }, _errorFactory)) && (undefined === input.outputs || (Array.isArray(input.outputs) || _assertGuard_1._assertGuard(_exceptionable, {
1250
+ method: "typia.json.assertParse",
1251
+ path: _path + ".outputs",
1252
+ expected: "(Array<string> | undefined)",
1253
+ value: input.outputs
1254
+ }, _errorFactory)) && input.outputs.every((elem, _index46) => "string" === typeof elem || _assertGuard_1._assertGuard(_exceptionable, {
1255
+ method: "typia.json.assertParse",
1256
+ path: _path + ".outputs[" + _index46 + "]",
1257
+ expected: "string",
1258
+ value: elem
1259
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
1260
+ method: "typia.json.assertParse",
1261
+ path: _path + ".outputs",
1262
+ expected: "(Array<string> | undefined)",
1263
+ value: input.outputs
1264
+ }, _errorFactory)) && (undefined === input.dependsOn || (Array.isArray(input.dependsOn) || _assertGuard_1._assertGuard(_exceptionable, {
1265
+ method: "typia.json.assertParse",
1266
+ path: _path + ".dependsOn",
1267
+ expected: "(Array<string | TargetDependencyConfig> | undefined)",
1268
+ value: input.dependsOn
1269
+ }, _errorFactory)) && input.dependsOn.every((elem, _index47) => (null !== elem || _assertGuard_1._assertGuard(_exceptionable, {
1270
+ method: "typia.json.assertParse",
1271
+ path: _path + ".dependsOn[" + _index47 + "]",
1272
+ expected: "(TargetDependencyConfig | string)",
1273
+ value: elem
1274
+ }, _errorFactory)) && (undefined !== elem || _assertGuard_1._assertGuard(_exceptionable, {
1275
+ method: "typia.json.assertParse",
1276
+ path: _path + ".dependsOn[" + _index47 + "]",
1277
+ expected: "(TargetDependencyConfig | string)",
1278
+ value: elem
1279
+ }, _errorFactory)) && ("string" === typeof elem || ("object" === typeof elem && null !== elem || _assertGuard_1._assertGuard(_exceptionable, {
1280
+ method: "typia.json.assertParse",
1281
+ path: _path + ".dependsOn[" + _index47 + "]",
1282
+ expected: "(TargetDependencyConfig | string)",
1283
+ value: elem
1284
+ }, _errorFactory)) && _ao15(elem, _path + ".dependsOn[" + _index47 + "]", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1285
+ method: "typia.json.assertParse",
1286
+ path: _path + ".dependsOn[" + _index47 + "]",
1287
+ expected: "(TargetDependencyConfig | string)",
1288
+ value: elem
1289
+ }, _errorFactory))) || _assertGuard_1._assertGuard(_exceptionable, {
1290
+ method: "typia.json.assertParse",
1291
+ path: _path + ".dependsOn",
1292
+ expected: "(Array<string | TargetDependencyConfig> | undefined)",
1293
+ value: input.dependsOn
1294
+ }, _errorFactory)) && (undefined === input.inputs || (Array.isArray(input.inputs) || _assertGuard_1._assertGuard(_exceptionable, {
1295
+ method: "typia.json.assertParse",
1296
+ path: _path + ".inputs",
1297
+ expected: "((string | InputDefinition)[] | undefined)",
1298
+ value: input.inputs
1299
+ }, _errorFactory)) && input.inputs.every((elem, _index48) => (null !== elem || _assertGuard_1._assertGuard(_exceptionable, {
1300
+ method: "typia.json.assertParse",
1301
+ path: _path + ".inputs[" + _index48 + "]",
1302
+ expected: _ae4,
1303
+ value: elem
1304
+ }, _errorFactory)) && (undefined !== elem || _assertGuard_1._assertGuard(_exceptionable, {
1305
+ method: "typia.json.assertParse",
1306
+ path: _path + ".inputs[" + _index48 + "]",
1307
+ expected: _ae4,
1308
+ value: elem
1309
+ }, _errorFactory)) && ("string" === typeof elem || ("object" === typeof elem && null !== elem || _assertGuard_1._assertGuard(_exceptionable, {
1310
+ method: "typia.json.assertParse",
1311
+ path: _path + ".inputs[" + _index48 + "]",
1312
+ expected: _ae4,
1313
+ value: elem
1314
+ }, _errorFactory)) && _au0(elem, _path + ".inputs[" + _index48 + "]", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1315
+ method: "typia.json.assertParse",
1316
+ path: _path + ".inputs[" + _index48 + "]",
1317
+ expected: _ae4,
1318
+ value: elem
1319
+ }, _errorFactory))) || _assertGuard_1._assertGuard(_exceptionable, {
1320
+ method: "typia.json.assertParse",
1321
+ path: _path + ".inputs",
1322
+ expected: "((string | InputDefinition)[] | undefined)",
1323
+ value: input.inputs
1324
+ }, _errorFactory)) && true && (undefined === input.configurations || ("object" === typeof input.configurations && null !== input.configurations && false === Array.isArray(input.configurations) || _assertGuard_1._assertGuard(_exceptionable, {
1325
+ method: "typia.json.assertParse",
1326
+ path: _path + ".configurations",
1327
+ expected: "(undefined | { [config: string]: any; })",
1328
+ value: input.configurations
1329
+ }, _errorFactory)) && _ao27(input.configurations, _path + ".configurations", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1330
+ method: "typia.json.assertParse",
1331
+ path: _path + ".configurations",
1332
+ expected: "(undefined | { [config: string]: any; })",
1333
+ value: input.configurations
1334
+ }, _errorFactory)) && (undefined === input.defaultConfiguration || "string" === typeof input.defaultConfiguration || _assertGuard_1._assertGuard(_exceptionable, {
1335
+ method: "typia.json.assertParse",
1336
+ path: _path + ".defaultConfiguration",
1337
+ expected: "(string | undefined)",
1338
+ value: input.defaultConfiguration
1339
+ }, _errorFactory)) && (undefined === input.cache || "boolean" === typeof input.cache || _assertGuard_1._assertGuard(_exceptionable, {
1340
+ method: "typia.json.assertParse",
1341
+ path: _path + ".cache",
1342
+ expected: "(boolean | undefined)",
1343
+ value: input.cache
1344
+ }, _errorFactory)) && (undefined === input.metadata || ("object" === typeof input.metadata && null !== input.metadata && false === Array.isArray(input.metadata) || _assertGuard_1._assertGuard(_exceptionable, {
1345
+ method: "typia.json.assertParse",
1346
+ path: _path + ".metadata",
1347
+ expected: "(TargetMetadata | undefined)",
1348
+ value: input.metadata
1349
+ }, _errorFactory)) && _ao28(input.metadata, _path + ".metadata", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1350
+ method: "typia.json.assertParse",
1351
+ path: _path + ".metadata",
1352
+ expected: "(TargetMetadata | undefined)",
1353
+ value: input.metadata
1354
+ }, _errorFactory)) && (undefined === input.parallelism || "boolean" === typeof input.parallelism || _assertGuard_1._assertGuard(_exceptionable, {
1355
+ method: "typia.json.assertParse",
1356
+ path: _path + ".parallelism",
1357
+ expected: "(boolean | undefined)",
1358
+ value: input.parallelism
1359
+ }, _errorFactory)) && (undefined === input.continuous || "boolean" === typeof input.continuous || _assertGuard_1._assertGuard(_exceptionable, {
1360
+ method: "typia.json.assertParse",
1361
+ path: _path + ".continuous",
1362
+ expected: "(boolean | undefined)",
1363
+ value: input.continuous
1364
+ }, _errorFactory)) && (undefined === input.syncGenerators || (Array.isArray(input.syncGenerators) || _assertGuard_1._assertGuard(_exceptionable, {
1365
+ method: "typia.json.assertParse",
1366
+ path: _path + ".syncGenerators",
1367
+ expected: "(Array<string> | undefined)",
1368
+ value: input.syncGenerators
1369
+ }, _errorFactory)) && input.syncGenerators.every((elem, _index49) => "string" === typeof elem || _assertGuard_1._assertGuard(_exceptionable, {
1370
+ method: "typia.json.assertParse",
1371
+ path: _path + ".syncGenerators[" + _index49 + "]",
1372
+ expected: "string",
1373
+ value: elem
1374
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
1375
+ method: "typia.json.assertParse",
1376
+ path: _path + ".syncGenerators",
1377
+ expected: "(Array<string> | undefined)",
1378
+ value: input.syncGenerators
1379
+ }, _errorFactory)) && (undefined === input["..."] || true === input["..."] || _assertGuard_1._assertGuard(_exceptionable, {
1380
+ method: "typia.json.assertParse",
1381
+ path: _path + "[\"...\"]",
1382
+ expected: "(true | undefined)",
1383
+ value: input["..."]
1384
+ }, _errorFactory));
1385
+ const _ao15 = (input, _path, _exceptionable = true, _vctx = {}) => (null !== input.projects || _assertGuard_1._assertGuard(_exceptionable, {
1386
+ method: "typia.json.assertParse",
1387
+ path: _path + ".projects",
1388
+ expected: "(Array<string> | string | undefined)",
1389
+ value: input.projects
1390
+ }, _errorFactory)) && (undefined === input.projects || "string" === typeof input.projects || (Array.isArray(input.projects) || _assertGuard_1._assertGuard(_exceptionable, {
1391
+ method: "typia.json.assertParse",
1392
+ path: _path + ".projects",
1393
+ expected: "(Array<string> | string | undefined)",
1394
+ value: input.projects
1395
+ }, _errorFactory)) && input.projects.every((elem, _index50) => "string" === typeof elem || _assertGuard_1._assertGuard(_exceptionable, {
1396
+ method: "typia.json.assertParse",
1397
+ path: _path + ".projects[" + _index50 + "]",
1398
+ expected: "string",
1399
+ value: elem
1400
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
1401
+ method: "typia.json.assertParse",
1402
+ path: _path + ".projects",
1403
+ expected: "(Array<string> | string | undefined)",
1404
+ value: input.projects
1405
+ }, _errorFactory)) && (undefined === input.dependencies || "boolean" === typeof input.dependencies || _assertGuard_1._assertGuard(_exceptionable, {
1406
+ method: "typia.json.assertParse",
1407
+ path: _path + ".dependencies",
1408
+ expected: "(boolean | undefined)",
1409
+ value: input.dependencies
1410
+ }, _errorFactory)) && ("string" === typeof input.target || _assertGuard_1._assertGuard(_exceptionable, {
1411
+ method: "typia.json.assertParse",
1412
+ path: _path + ".target",
1413
+ expected: "string",
1414
+ value: input.target
1415
+ }, _errorFactory)) && (undefined === input.params || "forward" === input.params || "ignore" === input.params || _assertGuard_1._assertGuard(_exceptionable, {
1416
+ method: "typia.json.assertParse",
1417
+ path: _path + ".params",
1418
+ expected: "(\"forward\" | \"ignore\" | undefined)",
1419
+ value: input.params
1420
+ }, _errorFactory)) && (undefined === input.options || "forward" === input.options || "ignore" === input.options || _assertGuard_1._assertGuard(_exceptionable, {
1421
+ method: "typia.json.assertParse",
1422
+ path: _path + ".options",
1423
+ expected: "(\"forward\" | \"ignore\" | undefined)",
1424
+ value: input.options
1425
+ }, _errorFactory));
1426
+ const _ao16 = (input, _path, _exceptionable = true, _vctx = {}) => ("string" === typeof input.json || _assertGuard_1._assertGuard(_exceptionable, {
1427
+ method: "typia.json.assertParse",
1428
+ path: _path + ".json",
1429
+ expected: "string",
1430
+ value: input.json
1431
+ }, _errorFactory)) && (undefined === input.fields || (Array.isArray(input.fields) || _assertGuard_1._assertGuard(_exceptionable, {
1432
+ method: "typia.json.assertParse",
1433
+ path: _path + ".fields",
1434
+ expected: "(Array<string> | undefined)",
1435
+ value: input.fields
1436
+ }, _errorFactory)) && input.fields.every((elem, _index51) => "string" === typeof elem || _assertGuard_1._assertGuard(_exceptionable, {
1437
+ method: "typia.json.assertParse",
1438
+ path: _path + ".fields[" + _index51 + "]",
1439
+ expected: "string",
1440
+ value: elem
1441
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
1442
+ method: "typia.json.assertParse",
1443
+ path: _path + ".fields",
1444
+ expected: "(Array<string> | undefined)",
1445
+ value: input.fields
1446
+ }, _errorFactory)) && (undefined === input.excludeFields || (Array.isArray(input.excludeFields) || _assertGuard_1._assertGuard(_exceptionable, {
1447
+ method: "typia.json.assertParse",
1448
+ path: _path + ".excludeFields",
1449
+ expected: "(Array<string> | undefined)",
1450
+ value: input.excludeFields
1451
+ }, _errorFactory)) && input.excludeFields.every((elem, _index52) => "string" === typeof elem || _assertGuard_1._assertGuard(_exceptionable, {
1452
+ method: "typia.json.assertParse",
1453
+ path: _path + ".excludeFields[" + _index52 + "]",
1454
+ expected: "string",
1455
+ value: elem
1456
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
1457
+ method: "typia.json.assertParse",
1458
+ path: _path + ".excludeFields",
1459
+ expected: "(Array<string> | undefined)",
1460
+ value: input.excludeFields
1461
+ }, _errorFactory));
1462
+ const _ao17 = (input, _path, _exceptionable = true, _vctx = {}) => _ap34(input, _path, true && _exceptionable, _vctx) && ((null !== input.projects || _assertGuard_1._assertGuard(_exceptionable, {
1463
+ method: "typia.json.assertParse",
1464
+ path: _path + ".projects",
1465
+ expected: "(Array<string> | string)",
1466
+ value: input.projects
1467
+ }, _errorFactory)) && (undefined !== input.projects || _assertGuard_1._assertGuard(_exceptionable, {
1468
+ method: "typia.json.assertParse",
1469
+ path: _path + ".projects",
1470
+ expected: "(Array<string> | string)",
1471
+ value: input.projects
1472
+ }, _errorFactory)) && ("string" === typeof input.projects || (Array.isArray(input.projects) || _assertGuard_1._assertGuard(_exceptionable, {
1473
+ method: "typia.json.assertParse",
1474
+ path: _path + ".projects",
1475
+ expected: "(Array<string> | string)",
1476
+ value: input.projects
1477
+ }, _errorFactory)) && input.projects.every((elem, _index53) => "string" === typeof elem || _assertGuard_1._assertGuard(_exceptionable, {
1478
+ method: "typia.json.assertParse",
1479
+ path: _path + ".projects[" + _index53 + "]",
1480
+ expected: "string",
1481
+ value: elem
1482
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
1483
+ method: "typia.json.assertParse",
1484
+ path: _path + ".projects",
1485
+ expected: "(Array<string> | string)",
1486
+ value: input.projects
1487
+ }, _errorFactory)));
1488
+ const _ao18 = (input, _path, _exceptionable = true, _vctx = {}) => _ap34(input, _path, true && _exceptionable, _vctx) && _ap35(input, _path, true && _exceptionable, _vctx);
1489
+ const _ao19 = (input, _path, _exceptionable = true, _vctx = {}) => _ap34(input, _path, true && _exceptionable, _vctx);
1490
+ const _ao2 = (input, _path, _exceptionable = true, _vctx = {}) => false === _exceptionable || Object.keys(input).every(key => {
1491
+ const value = input[key];
1492
+ if (undefined === value)
1493
+ return true;
1494
+ return (null !== value || _assertGuard_1._assertGuard(_exceptionable, {
1495
+ method: "typia.json.assertParse",
1496
+ path: _path + __typia_transform__accessExpressionAsString(key),
1497
+ expected: _ae2,
1498
+ value: value
1499
+ }, _errorFactory)) && (undefined !== value || _assertGuard_1._assertGuard(_exceptionable, {
1500
+ method: "typia.json.assertParse",
1501
+ path: _path + __typia_transform__accessExpressionAsString(key),
1502
+ expected: _ae2,
1503
+ value: value
1504
+ }, _errorFactory)) && ("string" === typeof value || ("object" === typeof value && null !== value && false === Array.isArray(value) || _assertGuard_1._assertGuard(_exceptionable, {
1505
+ method: "typia.json.assertParse",
1506
+ path: _path + __typia_transform__accessExpressionAsString(key),
1507
+ expected: _ae2,
1508
+ value: value
1509
+ }, _errorFactory)) && _ao3(value, _path + __typia_transform__accessExpressionAsString(key), true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1510
+ method: "typia.json.assertParse",
1511
+ path: _path + __typia_transform__accessExpressionAsString(key),
1512
+ expected: _ae2,
1513
+ value: value
1514
+ }, _errorFactory));
1515
+ });
1516
+ const _ao20 = (input, _path, _exceptionable = true, _vctx = {}) => _ap36(input, _path, true && _exceptionable, _vctx);
1517
+ const _ao21 = (input, _path, _exceptionable = true, _vctx = {}) => _ap36(input, _path, true && _exceptionable, _vctx) && _ap35(input, _path, true && _exceptionable, _vctx);
1518
+ const _ao22 = (input, _path, _exceptionable = true, _vctx = {}) => "string" === typeof input.runtime || _assertGuard_1._assertGuard(_exceptionable, {
1519
+ method: "typia.json.assertParse",
1520
+ path: _path + ".runtime",
1521
+ expected: "string",
1522
+ value: input.runtime
1523
+ }, _errorFactory);
1524
+ const _ao23 = (input, _path, _exceptionable = true, _vctx = {}) => (Array.isArray(input.externalDependencies) || _assertGuard_1._assertGuard(_exceptionable, {
1525
+ method: "typia.json.assertParse",
1526
+ path: _path + ".externalDependencies",
1527
+ expected: "Array<string>",
1528
+ value: input.externalDependencies
1529
+ }, _errorFactory)) && input.externalDependencies.every((elem, _index54) => "string" === typeof elem || _assertGuard_1._assertGuard(_exceptionable, {
1530
+ method: "typia.json.assertParse",
1531
+ path: _path + ".externalDependencies[" + _index54 + "]",
1532
+ expected: "string",
1533
+ value: elem
1534
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
1535
+ method: "typia.json.assertParse",
1536
+ path: _path + ".externalDependencies",
1537
+ expected: "Array<string>",
1538
+ value: input.externalDependencies
1539
+ }, _errorFactory);
1540
+ const _ao24 = (input, _path, _exceptionable = true, _vctx = {}) => ("string" === typeof input.dependentTasksOutputFiles || _assertGuard_1._assertGuard(_exceptionable, {
1541
+ method: "typia.json.assertParse",
1542
+ path: _path + ".dependentTasksOutputFiles",
1543
+ expected: "string",
1544
+ value: input.dependentTasksOutputFiles
1545
+ }, _errorFactory)) && (undefined === input.transitive || "boolean" === typeof input.transitive || _assertGuard_1._assertGuard(_exceptionable, {
1546
+ method: "typia.json.assertParse",
1547
+ path: _path + ".transitive",
1548
+ expected: "(boolean | undefined)",
1549
+ value: input.transitive
1550
+ }, _errorFactory));
1551
+ const _ao25 = (input, _path, _exceptionable = true, _vctx = {}) => "string" === typeof input.env || _assertGuard_1._assertGuard(_exceptionable, {
1552
+ method: "typia.json.assertParse",
1553
+ path: _path + ".env",
1554
+ expected: "string",
1555
+ value: input.env
1556
+ }, _errorFactory);
1557
+ const _ao26 = (input, _path, _exceptionable = true, _vctx = {}) => "absolute" === input.workingDirectory || "relative" === input.workingDirectory || _assertGuard_1._assertGuard(_exceptionable, {
1558
+ method: "typia.json.assertParse",
1559
+ path: _path + ".workingDirectory",
1560
+ expected: "(\"absolute\" | \"relative\")",
1561
+ value: input.workingDirectory
1562
+ }, _errorFactory);
1563
+ const _ao27 = (input, _path, _exceptionable = true, _vctx = {}) => false === _exceptionable || Object.keys(input).every(key => {
1564
+ const value = input[key];
1565
+ if (undefined === value)
1566
+ return true;
1567
+ return true;
1568
+ });
1569
+ const _ao28 = (input, _path, _exceptionable = true, _vctx = {}) => _ap32(input, _path, true && _exceptionable, _vctx) && _ap37(input, _path, true && _exceptionable, _vctx) && (undefined === input.nonAtomizedTarget || "string" === typeof input.nonAtomizedTarget || _assertGuard_1._assertGuard(_exceptionable, {
1570
+ method: "typia.json.assertParse",
1571
+ path: _path + ".nonAtomizedTarget",
1572
+ expected: "(string | undefined)",
1573
+ value: input.nonAtomizedTarget
1574
+ }, _errorFactory)) && (undefined === input.help || ("object" === typeof input.help && null !== input.help || _assertGuard_1._assertGuard(_exceptionable, {
1575
+ method: "typia.json.assertParse",
1576
+ path: _path + ".help",
1577
+ expected: "(undefined | { command: string; example: { options?: Record<string, unknown> | undefined; args?: string[] | undefined; }; })",
1578
+ value: input.help
1579
+ }, _errorFactory)) && _ao29(input.help, _path + ".help", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1580
+ method: "typia.json.assertParse",
1581
+ path: _path + ".help",
1582
+ expected: "(undefined | { command: string; example: { options?: Record<string, unknown> | undefined; args?: string[] | undefined; }; })",
1583
+ value: input.help
1584
+ }, _errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
1585
+ if (["description", "technologies", "nonAtomizedTarget", "help"].some(prop => key === prop))
1586
+ return true;
1587
+ const value = input[key];
1588
+ if (undefined === value)
1589
+ return true;
1590
+ return true;
1591
+ }));
1592
+ const _ao29 = (input, _path, _exceptionable = true, _vctx = {}) => ("string" === typeof input.command || _assertGuard_1._assertGuard(_exceptionable, {
1593
+ method: "typia.json.assertParse",
1594
+ path: _path + ".command",
1595
+ expected: "string",
1596
+ value: input.command
1597
+ }, _errorFactory)) && (("object" === typeof input.example && null !== input.example && false === Array.isArray(input.example) || _assertGuard_1._assertGuard(_exceptionable, {
1598
+ method: "typia.json.assertParse",
1599
+ path: _path + ".example",
1600
+ expected: "{ options?: Record<string, unknown> | undefined; args?: string[] | undefined; }",
1601
+ value: input.example
1602
+ }, _errorFactory)) && _ao30(input.example, _path + ".example", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1603
+ method: "typia.json.assertParse",
1604
+ path: _path + ".example",
1605
+ expected: "{ options?: Record<string, unknown> | undefined; args?: string[] | undefined; }",
1606
+ value: input.example
1607
+ }, _errorFactory));
1608
+ const _ao3 = (input, _path, _exceptionable = true, _vctx = {}) => _ap7(input, _path, true && _exceptionable, _vctx) && (undefined === input.require || "string" === typeof input.require || _assertGuard_1._assertGuard(_exceptionable, {
1609
+ method: "typia.json.assertParse",
1610
+ path: _path + ".require",
1611
+ expected: "(string | undefined)",
1612
+ value: input.require
1613
+ }, _errorFactory)) && (undefined === input["import"] || "string" === typeof input["import"] || _assertGuard_1._assertGuard(_exceptionable, {
1614
+ method: "typia.json.assertParse",
1615
+ path: _path + "[\"import\"]",
1616
+ expected: "(string | undefined)",
1617
+ value: input["import"]
1618
+ }, _errorFactory)) && (undefined === input.development || "string" === typeof input.development || _assertGuard_1._assertGuard(_exceptionable, {
1619
+ method: "typia.json.assertParse",
1620
+ path: _path + ".development",
1621
+ expected: "(string | undefined)",
1622
+ value: input.development
1623
+ }, _errorFactory)) && (undefined === input["default"] || "string" === typeof input["default"] || _assertGuard_1._assertGuard(_exceptionable, {
1624
+ method: "typia.json.assertParse",
1625
+ path: _path + "[\"default\"]",
1626
+ expected: "(string | undefined)",
1627
+ value: input["default"]
1628
+ }, _errorFactory));
1629
+ const _ao30 = (input, _path, _exceptionable = true, _vctx = {}) => (undefined === input.options || ("object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) || _assertGuard_1._assertGuard(_exceptionable, {
1630
+ method: "typia.json.assertParse",
1631
+ path: _path + ".options",
1632
+ expected: "(Record<string, unknown> | undefined)",
1633
+ value: input.options
1634
+ }, _errorFactory)) && _ao10(input.options, _path + ".options", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1635
+ method: "typia.json.assertParse",
1636
+ path: _path + ".options",
1637
+ expected: "(Record<string, unknown> | undefined)",
1638
+ value: input.options
1639
+ }, _errorFactory)) && (undefined === input.args || (Array.isArray(input.args) || _assertGuard_1._assertGuard(_exceptionable, {
1640
+ method: "typia.json.assertParse",
1641
+ path: _path + ".args",
1642
+ expected: "(Array<string> | undefined)",
1643
+ value: input.args
1644
+ }, _errorFactory)) && input.args.every((elem, _index56) => "string" === typeof elem || _assertGuard_1._assertGuard(_exceptionable, {
1645
+ method: "typia.json.assertParse",
1646
+ path: _path + ".args[" + _index56 + "]",
1647
+ expected: "string",
1648
+ value: elem
1649
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
1650
+ method: "typia.json.assertParse",
1651
+ path: _path + ".args",
1652
+ expected: "(Array<string> | undefined)",
1653
+ value: input.args
1654
+ }, _errorFactory));
1655
+ const _ao31 = (input, _path, _exceptionable = true, _vctx = {}) => false === _exceptionable || Object.keys(input).every(key => {
1656
+ const value = input[key];
1657
+ if (undefined === value)
1658
+ return true;
1659
+ return ("object" === typeof value && null !== value && false === Array.isArray(value) || _assertGuard_1._assertGuard(_exceptionable, {
1660
+ method: "typia.json.assertParse",
1661
+ path: _path + __typia_transform__accessExpressionAsString(key),
1662
+ expected: "{ [generatorName: string]: any; }",
1663
+ value: value
1664
+ }, _errorFactory)) && _ao32(value, _path + __typia_transform__accessExpressionAsString(key), true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1665
+ method: "typia.json.assertParse",
1666
+ path: _path + __typia_transform__accessExpressionAsString(key),
1667
+ expected: "{ [generatorName: string]: any; }",
1668
+ value: value
1669
+ }, _errorFactory);
1670
+ });
1671
+ const _ao32 = (input, _path, _exceptionable = true, _vctx = {}) => false === _exceptionable || Object.keys(input).every(key => {
1672
+ const value = input[key];
1673
+ if (undefined === value)
1674
+ return true;
1675
+ return true;
1676
+ });
1677
+ const _ao33 = (input, _path, _exceptionable = true, _vctx = {}) => false === _exceptionable || Object.keys(input).every(key => {
1678
+ const value = input[key];
1679
+ if (undefined === value)
1680
+ return true;
1681
+ return (Array.isArray(value) || _assertGuard_1._assertGuard(_exceptionable, {
1682
+ method: "typia.json.assertParse",
1683
+ path: _path + __typia_transform__accessExpressionAsString(key),
1684
+ expected: "(string | InputDefinition)[]",
1685
+ value: value
1686
+ }, _errorFactory)) && value.every((elem, _index57) => (null !== elem || _assertGuard_1._assertGuard(_exceptionable, {
1687
+ method: "typia.json.assertParse",
1688
+ path: _path + __typia_transform__accessExpressionAsString(key) + "[" + _index57 + "]",
1689
+ expected: _ae4,
1690
+ value: elem
1691
+ }, _errorFactory)) && (undefined !== elem || _assertGuard_1._assertGuard(_exceptionable, {
1692
+ method: "typia.json.assertParse",
1693
+ path: _path + __typia_transform__accessExpressionAsString(key) + "[" + _index57 + "]",
1694
+ expected: _ae4,
1695
+ value: elem
1696
+ }, _errorFactory)) && ("string" === typeof elem || ("object" === typeof elem && null !== elem || _assertGuard_1._assertGuard(_exceptionable, {
1697
+ method: "typia.json.assertParse",
1698
+ path: _path + __typia_transform__accessExpressionAsString(key) + "[" + _index57 + "]",
1699
+ expected: _ae4,
1700
+ value: elem
1701
+ }, _errorFactory)) && _au0(elem, _path + __typia_transform__accessExpressionAsString(key) + "[" + _index57 + "]", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1702
+ method: "typia.json.assertParse",
1703
+ path: _path + __typia_transform__accessExpressionAsString(key) + "[" + _index57 + "]",
1704
+ expected: _ae4,
1705
+ value: elem
1706
+ }, _errorFactory))) || _assertGuard_1._assertGuard(_exceptionable, {
1707
+ method: "typia.json.assertParse",
1708
+ path: _path + __typia_transform__accessExpressionAsString(key),
1709
+ expected: "(string | InputDefinition)[]",
1710
+ value: value
1711
+ }, _errorFactory);
1712
+ });
1713
+ const _ao34 = (input, _path, _exceptionable = true, _vctx = {}) => (undefined === input.version || ("object" === typeof input.version && null !== input.version && false === Array.isArray(input.version) || _assertGuard_1._assertGuard(_exceptionable, {
1714
+ method: "typia.json.assertParse",
1715
+ path: _path + ".version",
1716
+ expected: _ae5,
1717
+ value: input.version
1718
+ }, _errorFactory)) && _ao35(input.version, _path + ".version", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1719
+ method: "typia.json.assertParse",
1720
+ path: _path + ".version",
1721
+ expected: _ae5,
1722
+ value: input.version
1723
+ }, _errorFactory)) && ((null !== input.docker || _assertGuard_1._assertGuard(_exceptionable, {
1724
+ method: "typia.json.assertParse",
1725
+ path: _path + ".docker",
1726
+ expected: "(NxReleaseDockerConfiguration | true | undefined)",
1727
+ value: input.docker
1728
+ }, _errorFactory)) && (undefined === input.docker || true === input.docker || ("object" === typeof input.docker && null !== input.docker && false === Array.isArray(input.docker) || _assertGuard_1._assertGuard(_exceptionable, {
1729
+ method: "typia.json.assertParse",
1730
+ path: _path + ".docker",
1731
+ expected: "(NxReleaseDockerConfiguration | true | undefined)",
1732
+ value: input.docker
1733
+ }, _errorFactory)) && _ao37(input.docker, _path + ".docker", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1734
+ method: "typia.json.assertParse",
1735
+ path: _path + ".docker",
1736
+ expected: "(NxReleaseDockerConfiguration | true | undefined)",
1737
+ value: input.docker
1738
+ }, _errorFactory)));
1739
+ const _ao35 = (input, _path, _exceptionable = true, _vctx = {}) => (undefined === input.manifestRootsToUpdate || (Array.isArray(input.manifestRootsToUpdate) || _assertGuard_1._assertGuard(_exceptionable, {
1740
+ method: "typia.json.assertParse",
1741
+ path: _path + ".manifestRootsToUpdate",
1742
+ expected: "(Array<ManifestRootToUpdate> | undefined)",
1743
+ value: input.manifestRootsToUpdate
1744
+ }, _errorFactory)) && input.manifestRootsToUpdate.every((elem, _index58) => (null !== elem || _assertGuard_1._assertGuard(_exceptionable, {
1745
+ method: "typia.json.assertParse",
1746
+ path: _path + ".manifestRootsToUpdate[" + _index58 + "]",
1747
+ expected: "(string | { path: string; preserveLocalDependencyProtocols: boolean; })",
1748
+ value: elem
1749
+ }, _errorFactory)) && (undefined !== elem || _assertGuard_1._assertGuard(_exceptionable, {
1750
+ method: "typia.json.assertParse",
1751
+ path: _path + ".manifestRootsToUpdate[" + _index58 + "]",
1752
+ expected: "(string | { path: string; preserveLocalDependencyProtocols: boolean; })",
1753
+ value: elem
1754
+ }, _errorFactory)) && ("string" === typeof elem || ("object" === typeof elem && null !== elem || _assertGuard_1._assertGuard(_exceptionable, {
1755
+ method: "typia.json.assertParse",
1756
+ path: _path + ".manifestRootsToUpdate[" + _index58 + "]",
1757
+ expected: "(string | { path: string; preserveLocalDependencyProtocols: boolean; })",
1758
+ value: elem
1759
+ }, _errorFactory)) && _ao36(elem, _path + ".manifestRootsToUpdate[" + _index58 + "]", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1760
+ method: "typia.json.assertParse",
1761
+ path: _path + ".manifestRootsToUpdate[" + _index58 + "]",
1762
+ expected: "(string | { path: string; preserveLocalDependencyProtocols: boolean; })",
1763
+ value: elem
1764
+ }, _errorFactory))) || _assertGuard_1._assertGuard(_exceptionable, {
1765
+ method: "typia.json.assertParse",
1766
+ path: _path + ".manifestRootsToUpdate",
1767
+ expected: "(Array<ManifestRootToUpdate> | undefined)",
1768
+ value: input.manifestRootsToUpdate
1769
+ }, _errorFactory)) && (undefined === input.currentVersionResolver || "disk" === input.currentVersionResolver || "git-tag" === input.currentVersionResolver || "none" === input.currentVersionResolver || "registry" === input.currentVersionResolver || _assertGuard_1._assertGuard(_exceptionable, {
1770
+ method: "typia.json.assertParse",
1771
+ path: _path + ".currentVersionResolver",
1772
+ expected: "(\"disk\" | \"git-tag\" | \"none\" | \"registry\" | undefined)",
1773
+ value: input.currentVersionResolver
1774
+ }, _errorFactory)) && (undefined === input.currentVersionResolverMetadata || ("object" === typeof input.currentVersionResolverMetadata && null !== input.currentVersionResolverMetadata && false === Array.isArray(input.currentVersionResolverMetadata) || _assertGuard_1._assertGuard(_exceptionable, {
1775
+ method: "typia.json.assertParse",
1776
+ path: _path + ".currentVersionResolverMetadata",
1777
+ expected: "(Record<string, unknown> | undefined)",
1778
+ value: input.currentVersionResolverMetadata
1779
+ }, _errorFactory)) && _ao10(input.currentVersionResolverMetadata, _path + ".currentVersionResolverMetadata", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1780
+ method: "typia.json.assertParse",
1781
+ path: _path + ".currentVersionResolverMetadata",
1782
+ expected: "(Record<string, unknown> | undefined)",
1783
+ value: input.currentVersionResolverMetadata
1784
+ }, _errorFactory)) && (undefined === input.fallbackCurrentVersionResolver || "disk" === input.fallbackCurrentVersionResolver || _assertGuard_1._assertGuard(_exceptionable, {
1785
+ method: "typia.json.assertParse",
1786
+ path: _path + ".fallbackCurrentVersionResolver",
1787
+ expected: "(\"disk\" | undefined)",
1788
+ value: input.fallbackCurrentVersionResolver
1789
+ }, _errorFactory)) && (undefined === input.versionPrefix || "" === input.versionPrefix || "=" === input.versionPrefix || "^" === input.versionPrefix || "auto" === input.versionPrefix || "~" === input.versionPrefix || _assertGuard_1._assertGuard(_exceptionable, {
1790
+ method: "typia.json.assertParse",
1791
+ path: _path + ".versionPrefix",
1792
+ expected: "(\"\" | \"=\" | \"^\" | \"auto\" | \"~\" | undefined)",
1793
+ value: input.versionPrefix
1794
+ }, _errorFactory)) && (undefined === input.versionActions || "string" === typeof input.versionActions || _assertGuard_1._assertGuard(_exceptionable, {
1795
+ method: "typia.json.assertParse",
1796
+ path: _path + ".versionActions",
1797
+ expected: "(string | undefined)",
1798
+ value: input.versionActions
1799
+ }, _errorFactory)) && (undefined === input.versionActionsOptions || ("object" === typeof input.versionActionsOptions && null !== input.versionActionsOptions && false === Array.isArray(input.versionActionsOptions) || _assertGuard_1._assertGuard(_exceptionable, {
1800
+ method: "typia.json.assertParse",
1801
+ path: _path + ".versionActionsOptions",
1802
+ expected: "(Record<string, unknown> | undefined)",
1803
+ value: input.versionActionsOptions
1804
+ }, _errorFactory)) && _ao10(input.versionActionsOptions, _path + ".versionActionsOptions", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1805
+ method: "typia.json.assertParse",
1806
+ path: _path + ".versionActionsOptions",
1807
+ expected: "(Record<string, unknown> | undefined)",
1808
+ value: input.versionActionsOptions
1809
+ }, _errorFactory)) && (undefined === input.preserveLocalDependencyProtocols || "boolean" === typeof input.preserveLocalDependencyProtocols || _assertGuard_1._assertGuard(_exceptionable, {
1810
+ method: "typia.json.assertParse",
1811
+ path: _path + ".preserveLocalDependencyProtocols",
1812
+ expected: "(boolean | undefined)",
1813
+ value: input.preserveLocalDependencyProtocols
1814
+ }, _errorFactory));
1815
+ const _ao36 = (input, _path, _exceptionable = true, _vctx = {}) => ("string" === typeof input.path || _assertGuard_1._assertGuard(_exceptionable, {
1816
+ method: "typia.json.assertParse",
1817
+ path: _path + ".path",
1818
+ expected: "string",
1819
+ value: input.path
1820
+ }, _errorFactory)) && ("boolean" === typeof input.preserveLocalDependencyProtocols || _assertGuard_1._assertGuard(_exceptionable, {
1821
+ method: "typia.json.assertParse",
1822
+ path: _path + ".preserveLocalDependencyProtocols",
1823
+ expected: "boolean",
1824
+ value: input.preserveLocalDependencyProtocols
1825
+ }, _errorFactory));
1826
+ const _ao37 = (input, _path, _exceptionable = true, _vctx = {}) => (undefined === input.preVersionCommand || "string" === typeof input.preVersionCommand || _assertGuard_1._assertGuard(_exceptionable, {
1827
+ method: "typia.json.assertParse",
1828
+ path: _path + ".preVersionCommand",
1829
+ expected: "(string | undefined)",
1830
+ value: input.preVersionCommand
1831
+ }, _errorFactory)) && ((null !== input.skipVersionActions || _assertGuard_1._assertGuard(_exceptionable, {
1832
+ method: "typia.json.assertParse",
1833
+ path: _path + ".skipVersionActions",
1834
+ expected: "(Array<string> | boolean | undefined)",
1835
+ value: input.skipVersionActions
1836
+ }, _errorFactory)) && (undefined === input.skipVersionActions || "boolean" === typeof input.skipVersionActions || (Array.isArray(input.skipVersionActions) || _assertGuard_1._assertGuard(_exceptionable, {
1837
+ method: "typia.json.assertParse",
1838
+ path: _path + ".skipVersionActions",
1839
+ expected: "(Array<string> | boolean | undefined)",
1840
+ value: input.skipVersionActions
1841
+ }, _errorFactory)) && input.skipVersionActions.every((elem, _index59) => "string" === typeof elem || _assertGuard_1._assertGuard(_exceptionable, {
1842
+ method: "typia.json.assertParse",
1843
+ path: _path + ".skipVersionActions[" + _index59 + "]",
1844
+ expected: "string",
1845
+ value: elem
1846
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
1847
+ method: "typia.json.assertParse",
1848
+ path: _path + ".skipVersionActions",
1849
+ expected: "(Array<string> | boolean | undefined)",
1850
+ value: input.skipVersionActions
1851
+ }, _errorFactory))) && (undefined === input.versionSchemes || ("object" === typeof input.versionSchemes && null !== input.versionSchemes && false === Array.isArray(input.versionSchemes) || _assertGuard_1._assertGuard(_exceptionable, {
1852
+ method: "typia.json.assertParse",
1853
+ path: _path + ".versionSchemes",
1854
+ expected: "(Record<string, string> | undefined)",
1855
+ value: input.versionSchemes
1856
+ }, _errorFactory)) && _ao1(input.versionSchemes, _path + ".versionSchemes", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1857
+ method: "typia.json.assertParse",
1858
+ path: _path + ".versionSchemes",
1859
+ expected: "(Record<string, string> | undefined)",
1860
+ value: input.versionSchemes
1861
+ }, _errorFactory)) && (undefined === input.repositoryName || "string" === typeof input.repositoryName || _assertGuard_1._assertGuard(_exceptionable, {
1862
+ method: "typia.json.assertParse",
1863
+ path: _path + ".repositoryName",
1864
+ expected: "(string | undefined)",
1865
+ value: input.repositoryName
1866
+ }, _errorFactory)) && (undefined === input.registryUrl || "string" === typeof input.registryUrl || _assertGuard_1._assertGuard(_exceptionable, {
1867
+ method: "typia.json.assertParse",
1868
+ path: _path + ".registryUrl",
1869
+ expected: "(string | undefined)",
1870
+ value: input.registryUrl
1871
+ }, _errorFactory));
1872
+ const _ao38 = (input, _path, _exceptionable = true, _vctx = {}) => _ap32(input, _path, true && _exceptionable, _vctx) && _ap37(input, _path, true && _exceptionable, _vctx) && (undefined === input.targetGroups || ("object" === typeof input.targetGroups && null !== input.targetGroups && false === Array.isArray(input.targetGroups) || _assertGuard_1._assertGuard(_exceptionable, {
1873
+ method: "typia.json.assertParse",
1874
+ path: _path + ".targetGroups",
1875
+ expected: "(Record<string, string[]> | undefined)",
1876
+ value: input.targetGroups
1877
+ }, _errorFactory)) && _ao39(input.targetGroups, _path + ".targetGroups", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1878
+ method: "typia.json.assertParse",
1879
+ path: _path + ".targetGroups",
1880
+ expected: "(Record<string, string[]> | undefined)",
1881
+ value: input.targetGroups
1882
+ }, _errorFactory)) && (undefined === input.owners || ("object" === typeof input.owners && null !== input.owners && false === Array.isArray(input.owners) || _assertGuard_1._assertGuard(_exceptionable, {
1883
+ method: "typia.json.assertParse",
1884
+ path: _path + ".owners",
1885
+ expected: _ae6,
1886
+ value: input.owners
1887
+ }, _errorFactory)) && _ao40(input.owners, _path + ".owners", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1888
+ method: "typia.json.assertParse",
1889
+ path: _path + ".owners",
1890
+ expected: _ae6,
1891
+ value: input.owners
1892
+ }, _errorFactory)) && (undefined === input.js || ("object" === typeof input.js && null !== input.js || _assertGuard_1._assertGuard(_exceptionable, {
1893
+ method: "typia.json.assertParse",
1894
+ path: _path + ".js",
1895
+ expected: _ae7,
1896
+ value: input.js
1897
+ }, _errorFactory)) && _ao45(input.js, _path + ".js", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1898
+ method: "typia.json.assertParse",
1899
+ path: _path + ".js",
1900
+ expected: _ae7,
1901
+ value: input.js
1902
+ }, _errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
1903
+ if (["description", "technologies", "targetGroups", "owners", "js"].some(prop => key === prop))
1904
+ return true;
1905
+ const value = input[key];
1906
+ if (undefined === value)
1907
+ return true;
1908
+ return true;
1909
+ }));
1910
+ const _ao39 = (input, _path, _exceptionable = true, _vctx = {}) => false === _exceptionable || Object.keys(input).every(key => {
1911
+ const value = input[key];
1912
+ if (undefined === value)
1913
+ return true;
1914
+ return (Array.isArray(value) || _assertGuard_1._assertGuard(_exceptionable, {
1915
+ method: "typia.json.assertParse",
1916
+ path: _path + __typia_transform__accessExpressionAsString(key),
1917
+ expected: "Array<string>",
1918
+ value: value
1919
+ }, _errorFactory)) && value.every((elem, _index60) => "string" === typeof elem || _assertGuard_1._assertGuard(_exceptionable, {
1920
+ method: "typia.json.assertParse",
1921
+ path: _path + __typia_transform__accessExpressionAsString(key) + "[" + _index60 + "]",
1922
+ expected: "string",
1923
+ value: elem
1924
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
1925
+ method: "typia.json.assertParse",
1926
+ path: _path + __typia_transform__accessExpressionAsString(key),
1927
+ expected: "Array<string>",
1928
+ value: value
1929
+ }, _errorFactory);
1930
+ });
1931
+ const _ao4 = (input, _path, _exceptionable = true, _vctx = {}) => false === _exceptionable || Object.keys(input).every(key => {
1932
+ const value = input[key];
1933
+ if (undefined === value)
1934
+ return true;
1935
+ return ("object" === typeof value && null !== value || _assertGuard_1._assertGuard(_exceptionable, {
1936
+ method: "typia.json.assertParse",
1937
+ path: _path + __typia_transform__accessExpressionAsString(key),
1938
+ expected: "{ optional: boolean; }",
1939
+ value: value
1940
+ }, _errorFactory)) && _ao5(value, _path + __typia_transform__accessExpressionAsString(key), true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1941
+ method: "typia.json.assertParse",
1942
+ path: _path + __typia_transform__accessExpressionAsString(key),
1943
+ expected: "{ optional: boolean; }",
1944
+ value: value
1945
+ }, _errorFactory);
1946
+ });
1947
+ const _ao40 = (input, _path, _exceptionable = true, _vctx = {}) => false === _exceptionable || Object.keys(input).every(key => {
1948
+ const value = input[key];
1949
+ if (undefined === value)
1950
+ return true;
1951
+ return ("object" === typeof value && null !== value || _assertGuard_1._assertGuard(_exceptionable, {
1952
+ method: "typia.json.assertParse",
1953
+ path: _path + __typia_transform__accessExpressionAsString(key),
1954
+ expected: _ae8,
1955
+ value: value
1956
+ }, _errorFactory)) && _ao41(value, _path + __typia_transform__accessExpressionAsString(key), true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1957
+ method: "typia.json.assertParse",
1958
+ path: _path + __typia_transform__accessExpressionAsString(key),
1959
+ expected: _ae8,
1960
+ value: value
1961
+ }, _errorFactory);
1962
+ });
1963
+ const _ao41 = (input, _path, _exceptionable = true, _vctx = {}) => (Array.isArray(input.ownedFiles) || _assertGuard_1._assertGuard(_exceptionable, {
1964
+ method: "typia.json.assertParse",
1965
+ path: _path + ".ownedFiles",
1966
+ expected: _ae9,
1967
+ value: input.ownedFiles
1968
+ }, _errorFactory)) && input.ownedFiles.every((elem, _index61) => ("object" === typeof elem && null !== elem || _assertGuard_1._assertGuard(_exceptionable, {
1969
+ method: "typia.json.assertParse",
1970
+ path: _path + ".ownedFiles[" + _index61 + "]",
1971
+ expected: "{ files: string[] | [\"*\"]; fromConfig?: { filePath: string; location: { startLine: number; endLine: number; }; } | undefined; }",
1972
+ value: elem
1973
+ }, _errorFactory)) && _ao42(elem, _path + ".ownedFiles[" + _index61 + "]", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
1974
+ method: "typia.json.assertParse",
1975
+ path: _path + ".ownedFiles[" + _index61 + "]",
1976
+ expected: "{ files: string[] | [\"*\"]; fromConfig?: { filePath: string; location: { startLine: number; endLine: number; }; } | undefined; }",
1977
+ value: elem
1978
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
1979
+ method: "typia.json.assertParse",
1980
+ path: _path + ".ownedFiles",
1981
+ expected: _ae9,
1982
+ value: input.ownedFiles
1983
+ }, _errorFactory);
1984
+ const _ao42 = (input, _path, _exceptionable = true, _vctx = {}) => (null !== input.files || _assertGuard_1._assertGuard(_exceptionable, {
1985
+ method: "typia.json.assertParse",
1986
+ path: _path + ".files",
1987
+ expected: "(Array<string> | [\"*\"])",
1988
+ value: input.files
1989
+ }, _errorFactory)) && (undefined !== input.files || _assertGuard_1._assertGuard(_exceptionable, {
1990
+ method: "typia.json.assertParse",
1991
+ path: _path + ".files",
1992
+ expected: "(Array<string> | [\"*\"])",
1993
+ value: input.files
1994
+ }, _errorFactory)) && ((Array.isArray(input.files) || _assertGuard_1._assertGuard(_exceptionable, {
1995
+ method: "typia.json.assertParse",
1996
+ path: _path + ".files",
1997
+ expected: "(Array<string> | [\"*\"])",
1998
+ value: input.files
1999
+ }, _errorFactory)) && (_ap38(input.files, _path + ".files", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
2000
+ method: "typia.json.assertParse",
2001
+ path: _path + ".files",
2002
+ expected: "[\"*\"] | Array<string>",
2003
+ value: input.files
2004
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
2005
+ method: "typia.json.assertParse",
2006
+ path: _path + ".files",
2007
+ expected: "(Array<string> | [\"*\"])",
2008
+ value: input.files
2009
+ }, _errorFactory)) && (undefined === input.fromConfig || ("object" === typeof input.fromConfig && null !== input.fromConfig || _assertGuard_1._assertGuard(_exceptionable, {
2010
+ method: "typia.json.assertParse",
2011
+ path: _path + ".fromConfig",
2012
+ expected: "(undefined | { filePath: string; location: { startLine: number; endLine: number; }; })",
2013
+ value: input.fromConfig
2014
+ }, _errorFactory)) && _ao43(input.fromConfig, _path + ".fromConfig", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
2015
+ method: "typia.json.assertParse",
2016
+ path: _path + ".fromConfig",
2017
+ expected: "(undefined | { filePath: string; location: { startLine: number; endLine: number; }; })",
2018
+ value: input.fromConfig
2019
+ }, _errorFactory));
2020
+ const _ao43 = (input, _path, _exceptionable = true, _vctx = {}) => ("string" === typeof input.filePath || _assertGuard_1._assertGuard(_exceptionable, {
2021
+ method: "typia.json.assertParse",
2022
+ path: _path + ".filePath",
2023
+ expected: "string",
2024
+ value: input.filePath
2025
+ }, _errorFactory)) && (("object" === typeof input.location && null !== input.location || _assertGuard_1._assertGuard(_exceptionable, {
2026
+ method: "typia.json.assertParse",
2027
+ path: _path + ".location",
2028
+ expected: "{ startLine: number; endLine: number; }",
2029
+ value: input.location
2030
+ }, _errorFactory)) && _ao44(input.location, _path + ".location", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
2031
+ method: "typia.json.assertParse",
2032
+ path: _path + ".location",
2033
+ expected: "{ startLine: number; endLine: number; }",
2034
+ value: input.location
2035
+ }, _errorFactory));
2036
+ const _ao44 = (input, _path, _exceptionable = true, _vctx = {}) => ("number" === typeof input.startLine || _assertGuard_1._assertGuard(_exceptionable, {
2037
+ method: "typia.json.assertParse",
2038
+ path: _path + ".startLine",
2039
+ expected: "number",
2040
+ value: input.startLine
2041
+ }, _errorFactory)) && ("number" === typeof input.endLine || _assertGuard_1._assertGuard(_exceptionable, {
2042
+ method: "typia.json.assertParse",
2043
+ path: _path + ".endLine",
2044
+ expected: "number",
2045
+ value: input.endLine
2046
+ }, _errorFactory));
2047
+ const _ao45 = (input, _path, _exceptionable = true, _vctx = {}) => ("string" === typeof input.packageName || _assertGuard_1._assertGuard(_exceptionable, {
2048
+ method: "typia.json.assertParse",
2049
+ path: _path + ".packageName",
2050
+ expected: "string",
2051
+ value: input.packageName
2052
+ }, _errorFactory)) && (undefined === input.packageVersion || "string" === typeof input.packageVersion || _assertGuard_1._assertGuard(_exceptionable, {
2053
+ method: "typia.json.assertParse",
2054
+ path: _path + ".packageVersion",
2055
+ expected: "(string | undefined)",
2056
+ value: input.packageVersion
2057
+ }, _errorFactory)) && ((null !== input.packageExports || _assertGuard_1._assertGuard(_exceptionable, {
2058
+ method: "typia.json.assertParse",
2059
+ path: _path + ".packageExports",
2060
+ expected: _ae0,
2061
+ value: input.packageExports
2062
+ }, _errorFactory)) && (undefined === input.packageExports || "string" === typeof input.packageExports || ("object" === typeof input.packageExports && null !== input.packageExports && false === Array.isArray(input.packageExports) || _assertGuard_1._assertGuard(_exceptionable, {
2063
+ method: "typia.json.assertParse",
2064
+ path: _path + ".packageExports",
2065
+ expected: _ae0,
2066
+ value: input.packageExports
2067
+ }, _errorFactory)) && _ao2(input.packageExports, _path + ".packageExports", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
2068
+ method: "typia.json.assertParse",
2069
+ path: _path + ".packageExports",
2070
+ expected: _ae0,
2071
+ value: input.packageExports
2072
+ }, _errorFactory))) && (undefined === input.packageMain || "string" === typeof input.packageMain || _assertGuard_1._assertGuard(_exceptionable, {
2073
+ method: "typia.json.assertParse",
2074
+ path: _path + ".packageMain",
2075
+ expected: "(string | undefined)",
2076
+ value: input.packageMain
2077
+ }, _errorFactory)) && (undefined === input.isInPackageManagerWorkspaces || "boolean" === typeof input.isInPackageManagerWorkspaces || _assertGuard_1._assertGuard(_exceptionable, {
2078
+ method: "typia.json.assertParse",
2079
+ path: _path + ".isInPackageManagerWorkspaces",
2080
+ expected: "(boolean | undefined)",
2081
+ value: input.isInPackageManagerWorkspaces
2082
+ }, _errorFactory));
2083
+ const _ao46 = (input, _path, _exceptionable = true, _vctx = {}) => (undefined === input.migrations || "string" === typeof input.migrations || _assertGuard_1._assertGuard(_exceptionable, {
2084
+ method: "typia.json.assertParse",
2085
+ path: _path + ".migrations",
2086
+ expected: "(string | undefined)",
2087
+ value: input.migrations
2088
+ }, _errorFactory)) && ((null !== input.packageGroup || _assertGuard_1._assertGuard(_exceptionable, {
2089
+ method: "typia.json.assertParse",
2090
+ path: _path + ".packageGroup",
2091
+ expected: "((string | { package: string; version: string; })[] | ArrayPackageGroup | Record<string, string> | undefined)",
2092
+ value: input.packageGroup
2093
+ }, _errorFactory)) && (undefined === input.packageGroup || (Array.isArray(input.packageGroup) && (_ap39(input.packageGroup, _path + ".packageGroup", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
2094
+ method: "typia.json.assertParse",
2095
+ path: _path + ".packageGroup",
2096
+ expected: "(string | { package: string; version: string; })[] | ArrayPackageGroup",
2097
+ value: input.packageGroup
2098
+ }, _errorFactory)) || "object" === typeof input.packageGroup && null !== input.packageGroup && false === Array.isArray(input.packageGroup) && _ao1(input.packageGroup, _path + ".packageGroup", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
2099
+ method: "typia.json.assertParse",
2100
+ path: _path + ".packageGroup",
2101
+ expected: "((string | { package: string; version: string; })[] | ArrayPackageGroup | Record<string, string> | undefined)",
2102
+ value: input.packageGroup
2103
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
2104
+ method: "typia.json.assertParse",
2105
+ path: _path + ".packageGroup",
2106
+ expected: "((string | { package: string; version: string; })[] | ArrayPackageGroup | Record<string, string> | undefined)",
2107
+ value: input.packageGroup
2108
+ }, _errorFactory))) && (undefined === input.supportsOptionalMigrations || "boolean" === typeof input.supportsOptionalMigrations || _assertGuard_1._assertGuard(_exceptionable, {
2109
+ method: "typia.json.assertParse",
2110
+ path: _path + ".supportsOptionalMigrations",
2111
+ expected: "(boolean | undefined)",
2112
+ value: input.supportsOptionalMigrations
2113
+ }, _errorFactory));
2114
+ const _ao47 = (input, _path, _exceptionable = true, _vctx = {}) => _ap40(input, _path, true && _exceptionable, _vctx) && _ap1(input, _path, true && _exceptionable, _vctx);
2115
+ const _ao48 = (input, _path, _exceptionable = true, _vctx = {}) => _ap40(input, _path, true && _exceptionable, _vctx) && _ap1(input, _path, true && _exceptionable, _vctx);
2116
+ const _ao5 = (input, _path, _exceptionable = true, _vctx = {}) => "boolean" === typeof input.optional || _assertGuard_1._assertGuard(_exceptionable, {
2117
+ method: "typia.json.assertParse",
2118
+ path: _path + ".optional",
2119
+ expected: "boolean",
2120
+ value: input.optional
2121
+ }, _errorFactory);
2122
+ const _ao6 = (input, _path, _exceptionable = true, _vctx = {}) => _ap18(input, _path, true && _exceptionable, _vctx) && (undefined === input.onlyBuiltDependencies || (Array.isArray(input.onlyBuiltDependencies) || _assertGuard_1._assertGuard(_exceptionable, {
2123
+ method: "typia.json.assertParse",
2124
+ path: _path + ".onlyBuiltDependencies",
2125
+ expected: "(Array<string> | undefined)",
2126
+ value: input.onlyBuiltDependencies
2127
+ }, _errorFactory)) && input.onlyBuiltDependencies.every((elem, _index36) => "string" === typeof elem || _assertGuard_1._assertGuard(_exceptionable, {
2128
+ method: "typia.json.assertParse",
2129
+ path: _path + ".onlyBuiltDependencies[" + _index36 + "]",
2130
+ expected: "string",
2131
+ value: elem
2132
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
2133
+ method: "typia.json.assertParse",
2134
+ path: _path + ".onlyBuiltDependencies",
2135
+ expected: "(Array<string> | undefined)",
2136
+ value: input.onlyBuiltDependencies
2137
+ }, _errorFactory)) && (undefined === input.neverBuiltDependencies || (Array.isArray(input.neverBuiltDependencies) || _assertGuard_1._assertGuard(_exceptionable, {
2138
+ method: "typia.json.assertParse",
2139
+ path: _path + ".neverBuiltDependencies",
2140
+ expected: "(Array<string> | undefined)",
2141
+ value: input.neverBuiltDependencies
2142
+ }, _errorFactory)) && input.neverBuiltDependencies.every((elem, _index37) => "string" === typeof elem || _assertGuard_1._assertGuard(_exceptionable, {
2143
+ method: "typia.json.assertParse",
2144
+ path: _path + ".neverBuiltDependencies[" + _index37 + "]",
2145
+ expected: "string",
2146
+ value: elem
2147
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
2148
+ method: "typia.json.assertParse",
2149
+ path: _path + ".neverBuiltDependencies",
2150
+ expected: "(Array<string> | undefined)",
2151
+ value: input.neverBuiltDependencies
2152
+ }, _errorFactory)) && (undefined === input.allowBuilds || ("object" === typeof input.allowBuilds && null !== input.allowBuilds && false === Array.isArray(input.allowBuilds) || _assertGuard_1._assertGuard(_exceptionable, {
2153
+ method: "typia.json.assertParse",
2154
+ path: _path + ".allowBuilds",
2155
+ expected: "(Record<string, boolean> | undefined)",
2156
+ value: input.allowBuilds
2157
+ }, _errorFactory)) && _ao8(input.allowBuilds, _path + ".allowBuilds", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
2158
+ method: "typia.json.assertParse",
2159
+ path: _path + ".allowBuilds",
2160
+ expected: "(Record<string, boolean> | undefined)",
2161
+ value: input.allowBuilds
2162
+ }, _errorFactory)) && (undefined === input.supportedArchitectures || ("object" === typeof input.supportedArchitectures && null !== input.supportedArchitectures && false === Array.isArray(input.supportedArchitectures) || _assertGuard_1._assertGuard(_exceptionable, {
2163
+ method: "typia.json.assertParse",
2164
+ path: _path + ".supportedArchitectures",
2165
+ expected: "(undefined | { os?: string[] | undefined; cpu?: string[] | undefined; libc?: string[] | undefined; })",
2166
+ value: input.supportedArchitectures
2167
+ }, _errorFactory)) && _ao9(input.supportedArchitectures, _path + ".supportedArchitectures", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
2168
+ method: "typia.json.assertParse",
2169
+ path: _path + ".supportedArchitectures",
2170
+ expected: "(undefined | { os?: string[] | undefined; cpu?: string[] | undefined; libc?: string[] | undefined; })",
2171
+ value: input.supportedArchitectures
2172
+ }, _errorFactory)) && (undefined === input.ignoredOptionalDependencies || (Array.isArray(input.ignoredOptionalDependencies) || _assertGuard_1._assertGuard(_exceptionable, {
2173
+ method: "typia.json.assertParse",
2174
+ path: _path + ".ignoredOptionalDependencies",
2175
+ expected: "(Array<string> | undefined)",
2176
+ value: input.ignoredOptionalDependencies
2177
+ }, _errorFactory)) && input.ignoredOptionalDependencies.every((elem, _index38) => "string" === typeof elem || _assertGuard_1._assertGuard(_exceptionable, {
2178
+ method: "typia.json.assertParse",
2179
+ path: _path + ".ignoredOptionalDependencies[" + _index38 + "]",
2180
+ expected: "string",
2181
+ value: elem
2182
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
2183
+ method: "typia.json.assertParse",
2184
+ path: _path + ".ignoredOptionalDependencies",
2185
+ expected: "(Array<string> | undefined)",
2186
+ value: input.ignoredOptionalDependencies
2187
+ }, _errorFactory)) && (undefined === input.packageExtensions || ("object" === typeof input.packageExtensions && null !== input.packageExtensions && false === Array.isArray(input.packageExtensions) || _assertGuard_1._assertGuard(_exceptionable, {
2188
+ method: "typia.json.assertParse",
2189
+ path: _path + ".packageExtensions",
2190
+ expected: "(Record<string, unknown> | undefined)",
2191
+ value: input.packageExtensions
2192
+ }, _errorFactory)) && _ao10(input.packageExtensions, _path + ".packageExtensions", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
2193
+ method: "typia.json.assertParse",
2194
+ path: _path + ".packageExtensions",
2195
+ expected: "(Record<string, unknown> | undefined)",
2196
+ value: input.packageExtensions
2197
+ }, _errorFactory)) && (undefined === input.patchedDependencies || ("object" === typeof input.patchedDependencies && null !== input.patchedDependencies && false === Array.isArray(input.patchedDependencies) || _assertGuard_1._assertGuard(_exceptionable, {
2198
+ method: "typia.json.assertParse",
2199
+ path: _path + ".patchedDependencies",
2200
+ expected: "(Record<string, string> | undefined)",
2201
+ value: input.patchedDependencies
2202
+ }, _errorFactory)) && _ao1(input.patchedDependencies, _path + ".patchedDependencies", true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
2203
+ method: "typia.json.assertParse",
2204
+ path: _path + ".patchedDependencies",
2205
+ expected: "(Record<string, string> | undefined)",
2206
+ value: input.patchedDependencies
2207
+ }, _errorFactory));
2208
+ const _ao7 = (input, _path, _exceptionable = true, _vctx = {}) => (_vctx.ao7 || (_vctx.ao7 = new WeakSet())).has(input) ? true : (_vctx.ao7.add(input), (false === _exceptionable || Object.keys(input).every(key => {
2209
+ const value = input[key];
2210
+ if (undefined === value)
2211
+ return true;
2212
+ return (null !== value || _assertGuard_1._assertGuard(_exceptionable, {
2213
+ method: "typia.json.assertParse",
2214
+ path: _path + __typia_transform__accessExpressionAsString(key),
2215
+ expected: "(PackageOverride | string)",
2216
+ value: value
2217
+ }, _errorFactory)) && (undefined !== value || _assertGuard_1._assertGuard(_exceptionable, {
2218
+ method: "typia.json.assertParse",
2219
+ path: _path + __typia_transform__accessExpressionAsString(key),
2220
+ expected: "(PackageOverride | string)",
2221
+ value: value
2222
+ }, _errorFactory)) && ("string" === typeof value || ("object" === typeof value && null !== value && false === Array.isArray(value) || _assertGuard_1._assertGuard(_exceptionable, {
2223
+ method: "typia.json.assertParse",
2224
+ path: _path + __typia_transform__accessExpressionAsString(key),
2225
+ expected: "(PackageOverride | string)",
2226
+ value: value
2227
+ }, _errorFactory)) && _ao7(value, _path + __typia_transform__accessExpressionAsString(key), true && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
2228
+ method: "typia.json.assertParse",
2229
+ path: _path + __typia_transform__accessExpressionAsString(key),
2230
+ expected: "(PackageOverride | string)",
2231
+ value: value
2232
+ }, _errorFactory));
2233
+ })) || (_vctx.ao7.delete(input), false));
2234
+ const _ao8 = (input, _path, _exceptionable = true, _vctx = {}) => false === _exceptionable || Object.keys(input).every(key => {
2235
+ const value = input[key];
2236
+ if (undefined === value)
2237
+ return true;
2238
+ return "boolean" === typeof value || _assertGuard_1._assertGuard(_exceptionable, {
2239
+ method: "typia.json.assertParse",
2240
+ path: _path + __typia_transform__accessExpressionAsString(key),
2241
+ expected: "boolean",
2242
+ value: value
2243
+ }, _errorFactory);
2244
+ });
2245
+ const _ao9 = (input, _path, _exceptionable = true, _vctx = {}) => (undefined === input.os || (Array.isArray(input.os) || _assertGuard_1._assertGuard(_exceptionable, {
2246
+ method: "typia.json.assertParse",
2247
+ path: _path + ".os",
2248
+ expected: "(Array<string> | undefined)",
2249
+ value: input.os
2250
+ }, _errorFactory)) && input.os.every((elem, _index39) => "string" === typeof elem || _assertGuard_1._assertGuard(_exceptionable, {
2251
+ method: "typia.json.assertParse",
2252
+ path: _path + ".os[" + _index39 + "]",
2253
+ expected: "string",
2254
+ value: elem
2255
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
2256
+ method: "typia.json.assertParse",
2257
+ path: _path + ".os",
2258
+ expected: "(Array<string> | undefined)",
2259
+ value: input.os
2260
+ }, _errorFactory)) && (undefined === input.cpu || (Array.isArray(input.cpu) || _assertGuard_1._assertGuard(_exceptionable, {
2261
+ method: "typia.json.assertParse",
2262
+ path: _path + ".cpu",
2263
+ expected: "(Array<string> | undefined)",
2264
+ value: input.cpu
2265
+ }, _errorFactory)) && input.cpu.every((elem, _index40) => "string" === typeof elem || _assertGuard_1._assertGuard(_exceptionable, {
2266
+ method: "typia.json.assertParse",
2267
+ path: _path + ".cpu[" + _index40 + "]",
2268
+ expected: "string",
2269
+ value: elem
2270
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
2271
+ method: "typia.json.assertParse",
2272
+ path: _path + ".cpu",
2273
+ expected: "(Array<string> | undefined)",
2274
+ value: input.cpu
2275
+ }, _errorFactory)) && (undefined === input.libc || (Array.isArray(input.libc) || _assertGuard_1._assertGuard(_exceptionable, {
2276
+ method: "typia.json.assertParse",
2277
+ path: _path + ".libc",
2278
+ expected: "(Array<string> | undefined)",
2279
+ value: input.libc
2280
+ }, _errorFactory)) && input.libc.every((elem, _index41) => "string" === typeof elem || _assertGuard_1._assertGuard(_exceptionable, {
2281
+ method: "typia.json.assertParse",
2282
+ path: _path + ".libc[" + _index41 + "]",
2283
+ expected: "string",
2284
+ value: elem
2285
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
2286
+ method: "typia.json.assertParse",
2287
+ path: _path + ".libc",
2288
+ expected: "(Array<string> | undefined)",
2289
+ value: input.libc
2290
+ }, _errorFactory));
2291
+ const _au0 = (input, _path, _exceptionable = true, _vctx = {}) => (() => {
2292
+ if (undefined !== input.json)
2293
+ return _ao16(input, _path, true && _exceptionable, _vctx);
2294
+ else if (undefined !== input.projects)
2295
+ return _ao17(input, _path, true && _exceptionable, _vctx);
2296
+ else if (undefined !== input.runtime)
2297
+ return _ao22(input, _path, true && _exceptionable, _vctx);
2298
+ else if (undefined !== input.externalDependencies)
2299
+ return _ao23(input, _path, true && _exceptionable, _vctx);
2300
+ else if (undefined !== input.dependentTasksOutputFiles)
2301
+ return _ao24(input, _path, true && _exceptionable, _vctx);
2302
+ else if (undefined !== input.env)
2303
+ return _ao25(input, _path, true && _exceptionable, _vctx);
2304
+ else if (undefined !== input.workingDirectory)
2305
+ return _ao26(input, _path, true && _exceptionable, _vctx);
2306
+ else
2307
+ return _ao18(input, _path, false && _exceptionable, _vctx) || _ao19(input, _path, false && _exceptionable, _vctx) || _ao20(input, _path, false && _exceptionable, _vctx) || _ao21(input, _path, false && _exceptionable, _vctx) || _assertGuard_1._assertGuard(_exceptionable, {
2308
+ method: "typia.json.assertParse",
2309
+ path: _path,
2310
+ expected: "({ input: string; dependencies: true; } | { input: string; } | { fileset: string; } | { fileset: string; dependencies: true; })",
2311
+ value: input
2312
+ }, _errorFactory);
2313
+ })();
2314
+ const _io0 = (input, _vctx = {}) => _ip0(input, _vctx) && _ip1(input, _vctx) && _ip2(input, _vctx) && _ip3(input, _vctx) && _ip4(input, _vctx) && _ip5(input, _vctx) && _ip6(input, _vctx) && _ip7(input, _vctx) && _ip8(input, _vctx) && _ip9(input, _vctx) && _ip10(input, _vctx) && _ip11(input, _vctx) && _ip12(input, _vctx) && _ip13(input, _vctx) && _ip14(input, _vctx) && _ip15(input, _vctx) && _ip16(input, _vctx) && _ip17(input, _vctx) && _ip18(input, _vctx) && _ip19(input, _vctx) && _ip20(input, _vctx) && _ip21(input, _vctx) && _ip22(input, _vctx) && _ip23(input, _vctx) && _ip24(input, _vctx) && _ip25(input, _vctx) && _ip26(input, _vctx) && _ip27(input, _vctx) && _ip28(input, _vctx) && _ip29(input, _vctx) && _ip30(input, _vctx) && _ip31(input, _vctx) && _ip32(input, _vctx) && _ip33(input, _vctx);
2315
+ const _io1 = (input, _vctx = {}) => Object.keys(input).every(key => {
2316
+ const value = input[key];
2317
+ if (undefined === value)
2318
+ return true;
2319
+ return "string" === typeof value;
2320
+ });
2321
+ const _io10 = (input, _vctx = {}) => Object.keys(input).every(key => {
2322
+ const value = input[key];
2323
+ if (undefined === value)
2324
+ return true;
2325
+ return true;
2326
+ });
2327
+ const _io11 = (input, _vctx = {}) => Array.isArray(input.packages) && input.packages.every(elem => "string" === typeof elem);
2328
+ const _io12 = (input, _vctx = {}) => (undefined === input.includedScripts || Array.isArray(input.includedScripts) && input.includedScripts.every(elem => "string" === typeof elem)) && (undefined === input.name || "string" === typeof input.name) && (undefined === input.targets || "object" === typeof input.targets && null !== input.targets && false === Array.isArray(input.targets) && _io13(input.targets, _vctx)) && (undefined === input.root || "string" === typeof input.root) && (undefined === input.sourceRoot || "string" === typeof input.sourceRoot) && (undefined === input.projectType || "application" === input.projectType || "library" === input.projectType) && (undefined === input.generators || "object" === typeof input.generators && null !== input.generators && false === Array.isArray(input.generators) && _io31(input.generators, _vctx)) && (undefined === input.implicitDependencies || Array.isArray(input.implicitDependencies) && input.implicitDependencies.every(elem => "string" === typeof elem)) && (undefined === input.namedInputs || "object" === typeof input.namedInputs && null !== input.namedInputs && false === Array.isArray(input.namedInputs) && _io33(input.namedInputs, _vctx)) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.release || "object" === typeof input.release && null !== input.release && false === Array.isArray(input.release) && _io34(input.release, _vctx)) && (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && false === Array.isArray(input.metadata) && _io38(input.metadata, _vctx));
2329
+ const _io13 = (input, _vctx = {}) => Object.keys(input).every(key => {
2330
+ const value = input[key];
2331
+ if (undefined === value)
2332
+ return true;
2333
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && _io14(value, _vctx);
2334
+ });
2335
+ const _io14 = (input, _vctx = {}) => (undefined === input.executor || "string" === typeof input.executor) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.outputs || Array.isArray(input.outputs) && input.outputs.every(elem => "string" === typeof elem)) && (undefined === input.dependsOn || Array.isArray(input.dependsOn) && input.dependsOn.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || "object" === typeof elem && null !== elem && _io15(elem, _vctx)))) && (undefined === input.inputs || Array.isArray(input.inputs) && input.inputs.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || "object" === typeof elem && null !== elem && _iu0(elem, _vctx)))) && true && (undefined === input.configurations || "object" === typeof input.configurations && null !== input.configurations && false === Array.isArray(input.configurations) && _io27(input.configurations, _vctx)) && (undefined === input.defaultConfiguration || "string" === typeof input.defaultConfiguration) && (undefined === input.cache || "boolean" === typeof input.cache) && (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && false === Array.isArray(input.metadata) && _io28(input.metadata, _vctx)) && (undefined === input.parallelism || "boolean" === typeof input.parallelism) && (undefined === input.continuous || "boolean" === typeof input.continuous) && (undefined === input.syncGenerators || Array.isArray(input.syncGenerators) && input.syncGenerators.every(elem => "string" === typeof elem)) && (undefined === input["..."] || true === input["..."]);
2336
+ const _io15 = (input, _vctx = {}) => null !== input.projects && (undefined === input.projects || "string" === typeof input.projects || Array.isArray(input.projects) && input.projects.every(elem => "string" === typeof elem)) && (undefined === input.dependencies || "boolean" === typeof input.dependencies) && "string" === typeof input.target && (undefined === input.params || "forward" === input.params || "ignore" === input.params) && (undefined === input.options || "forward" === input.options || "ignore" === input.options);
2337
+ const _io16 = (input, _vctx = {}) => "string" === typeof input.json && (undefined === input.fields || Array.isArray(input.fields) && input.fields.every(elem => "string" === typeof elem)) && (undefined === input.excludeFields || Array.isArray(input.excludeFields) && input.excludeFields.every(elem => "string" === typeof elem));
2338
+ const _io17 = (input, _vctx = {}) => _ip34(input, _vctx) && (null !== input.projects && undefined !== input.projects && ("string" === typeof input.projects || Array.isArray(input.projects) && input.projects.every(elem => "string" === typeof elem)));
2339
+ const _io18 = (input, _vctx = {}) => _ip34(input, _vctx) && _ip35(input, _vctx);
2340
+ const _io19 = (input, _vctx = {}) => _ip34(input, _vctx);
2341
+ const _io2 = (input, _vctx = {}) => Object.keys(input).every(key => {
2342
+ const value = input[key];
2343
+ if (undefined === value)
2344
+ return true;
2345
+ return null !== value && undefined !== value && ("string" === typeof value || "object" === typeof value && null !== value && false === Array.isArray(value) && _io3(value, _vctx));
2346
+ });
2347
+ const _io20 = (input, _vctx = {}) => _ip36(input, _vctx);
2348
+ const _io21 = (input, _vctx = {}) => _ip36(input, _vctx) && _ip35(input, _vctx);
2349
+ const _io22 = (input, _vctx = {}) => "string" === typeof input.runtime;
2350
+ const _io23 = (input, _vctx = {}) => Array.isArray(input.externalDependencies) && input.externalDependencies.every(elem => "string" === typeof elem);
2351
+ const _io24 = (input, _vctx = {}) => "string" === typeof input.dependentTasksOutputFiles && (undefined === input.transitive || "boolean" === typeof input.transitive);
2352
+ const _io25 = (input, _vctx = {}) => "string" === typeof input.env;
2353
+ const _io26 = (input, _vctx = {}) => "absolute" === input.workingDirectory || "relative" === input.workingDirectory;
2354
+ const _io27 = (input, _vctx = {}) => Object.keys(input).every(key => {
2355
+ const value = input[key];
2356
+ if (undefined === value)
2357
+ return true;
2358
+ return true;
2359
+ });
2360
+ const _io28 = (input, _vctx = {}) => _ip32(input, _vctx) && _ip37(input, _vctx) && (undefined === input.nonAtomizedTarget || "string" === typeof input.nonAtomizedTarget) && (undefined === input.help || "object" === typeof input.help && null !== input.help && _io29(input.help, _vctx)) && Object.keys(input).every(key => {
2361
+ if (["description", "technologies", "nonAtomizedTarget", "help"].some(prop => key === prop))
2362
+ return true;
2363
+ const value = input[key];
2364
+ if (undefined === value)
2365
+ return true;
2366
+ return true;
2367
+ });
2368
+ const _io29 = (input, _vctx = {}) => "string" === typeof input.command && ("object" === typeof input.example && null !== input.example && false === Array.isArray(input.example) && _io30(input.example, _vctx));
2369
+ const _io3 = (input, _vctx = {}) => _ip7(input, _vctx) && (undefined === input.require || "string" === typeof input.require) && (undefined === input["import"] || "string" === typeof input["import"]) && (undefined === input.development || "string" === typeof input.development) && (undefined === input["default"] || "string" === typeof input["default"]);
2370
+ const _io30 = (input, _vctx = {}) => (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io10(input.options, _vctx)) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem));
2371
+ const _io31 = (input, _vctx = {}) => Object.keys(input).every(key => {
2372
+ const value = input[key];
2373
+ if (undefined === value)
2374
+ return true;
2375
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && _io32(value, _vctx);
2376
+ });
2377
+ const _io32 = (input, _vctx = {}) => Object.keys(input).every(key => {
2378
+ const value = input[key];
2379
+ if (undefined === value)
2380
+ return true;
2381
+ return true;
2382
+ });
2383
+ const _io33 = (input, _vctx = {}) => Object.keys(input).every(key => {
2384
+ const value = input[key];
2385
+ if (undefined === value)
2386
+ return true;
2387
+ return Array.isArray(value) && value.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || "object" === typeof elem && null !== elem && _iu0(elem, _vctx)));
2388
+ });
2389
+ const _io34 = (input, _vctx = {}) => (undefined === input.version || "object" === typeof input.version && null !== input.version && false === Array.isArray(input.version) && _io35(input.version, _vctx)) && (null !== input.docker && (undefined === input.docker || true === input.docker || "object" === typeof input.docker && null !== input.docker && false === Array.isArray(input.docker) && _io37(input.docker, _vctx)));
2390
+ const _io35 = (input, _vctx = {}) => (undefined === input.manifestRootsToUpdate || Array.isArray(input.manifestRootsToUpdate) && input.manifestRootsToUpdate.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || "object" === typeof elem && null !== elem && _io36(elem, _vctx)))) && (undefined === input.currentVersionResolver || "disk" === input.currentVersionResolver || "git-tag" === input.currentVersionResolver || "none" === input.currentVersionResolver || "registry" === input.currentVersionResolver) && (undefined === input.currentVersionResolverMetadata || "object" === typeof input.currentVersionResolverMetadata && null !== input.currentVersionResolverMetadata && false === Array.isArray(input.currentVersionResolverMetadata) && _io10(input.currentVersionResolverMetadata, _vctx)) && (undefined === input.fallbackCurrentVersionResolver || "disk" === input.fallbackCurrentVersionResolver) && (undefined === input.versionPrefix || "" === input.versionPrefix || "=" === input.versionPrefix || "^" === input.versionPrefix || "auto" === input.versionPrefix || "~" === input.versionPrefix) && (undefined === input.versionActions || "string" === typeof input.versionActions) && (undefined === input.versionActionsOptions || "object" === typeof input.versionActionsOptions && null !== input.versionActionsOptions && false === Array.isArray(input.versionActionsOptions) && _io10(input.versionActionsOptions, _vctx)) && (undefined === input.preserveLocalDependencyProtocols || "boolean" === typeof input.preserveLocalDependencyProtocols);
2391
+ const _io36 = (input, _vctx = {}) => "string" === typeof input.path && "boolean" === typeof input.preserveLocalDependencyProtocols;
2392
+ const _io37 = (input, _vctx = {}) => (undefined === input.preVersionCommand || "string" === typeof input.preVersionCommand) && (null !== input.skipVersionActions && (undefined === input.skipVersionActions || "boolean" === typeof input.skipVersionActions || Array.isArray(input.skipVersionActions) && input.skipVersionActions.every(elem => "string" === typeof elem))) && (undefined === input.versionSchemes || "object" === typeof input.versionSchemes && null !== input.versionSchemes && false === Array.isArray(input.versionSchemes) && _io1(input.versionSchemes, _vctx)) && (undefined === input.repositoryName || "string" === typeof input.repositoryName) && (undefined === input.registryUrl || "string" === typeof input.registryUrl);
2393
+ const _io38 = (input, _vctx = {}) => _ip32(input, _vctx) && _ip37(input, _vctx) && (undefined === input.targetGroups || "object" === typeof input.targetGroups && null !== input.targetGroups && false === Array.isArray(input.targetGroups) && _io39(input.targetGroups, _vctx)) && (undefined === input.owners || "object" === typeof input.owners && null !== input.owners && false === Array.isArray(input.owners) && _io40(input.owners, _vctx)) && (undefined === input.js || "object" === typeof input.js && null !== input.js && _io45(input.js, _vctx)) && Object.keys(input).every(key => {
2394
+ if (["description", "technologies", "targetGroups", "owners", "js"].some(prop => key === prop))
2395
+ return true;
2396
+ const value = input[key];
2397
+ if (undefined === value)
2398
+ return true;
2399
+ return true;
2400
+ });
2401
+ const _io39 = (input, _vctx = {}) => Object.keys(input).every(key => {
2402
+ const value = input[key];
2403
+ if (undefined === value)
2404
+ return true;
2405
+ return Array.isArray(value) && value.every(elem => "string" === typeof elem);
2406
+ });
2407
+ const _io4 = (input, _vctx = {}) => Object.keys(input).every(key => {
2408
+ const value = input[key];
2409
+ if (undefined === value)
2410
+ return true;
2411
+ return "object" === typeof value && null !== value && _io5(value, _vctx);
2412
+ });
2413
+ const _io40 = (input, _vctx = {}) => Object.keys(input).every(key => {
2414
+ const value = input[key];
2415
+ if (undefined === value)
2416
+ return true;
2417
+ return "object" === typeof value && null !== value && _io41(value, _vctx);
2418
+ });
2419
+ const _io41 = (input, _vctx = {}) => Array.isArray(input.ownedFiles) && input.ownedFiles.every(elem => "object" === typeof elem && null !== elem && _io42(elem, _vctx));
2420
+ const _io42 = (input, _vctx = {}) => null !== input.files && undefined !== input.files && (Array.isArray(input.files) && (_ip38(input.files, _vctx) || false)) && (undefined === input.fromConfig || "object" === typeof input.fromConfig && null !== input.fromConfig && _io43(input.fromConfig, _vctx));
2421
+ const _io43 = (input, _vctx = {}) => "string" === typeof input.filePath && ("object" === typeof input.location && null !== input.location && _io44(input.location, _vctx));
2422
+ const _io44 = (input, _vctx = {}) => "number" === typeof input.startLine && "number" === typeof input.endLine;
2423
+ const _io45 = (input, _vctx = {}) => "string" === typeof input.packageName && (undefined === input.packageVersion || "string" === typeof input.packageVersion) && (null !== input.packageExports && (undefined === input.packageExports || "string" === typeof input.packageExports || "object" === typeof input.packageExports && null !== input.packageExports && false === Array.isArray(input.packageExports) && _io2(input.packageExports, _vctx))) && (undefined === input.packageMain || "string" === typeof input.packageMain) && (undefined === input.isInPackageManagerWorkspaces || "boolean" === typeof input.isInPackageManagerWorkspaces);
2424
+ const _io46 = (input, _vctx = {}) => (undefined === input.migrations || "string" === typeof input.migrations) && (null !== input.packageGroup && (undefined === input.packageGroup || (Array.isArray(input.packageGroup) && (_ip39(input.packageGroup, _vctx) || false) || "object" === typeof input.packageGroup && null !== input.packageGroup && false === Array.isArray(input.packageGroup) && _io1(input.packageGroup, _vctx)))) && (undefined === input.supportsOptionalMigrations || "boolean" === typeof input.supportsOptionalMigrations);
2425
+ const _io47 = (input, _vctx = {}) => _ip40(input, _vctx) && _ip1(input, _vctx);
2426
+ const _io48 = (input, _vctx = {}) => _ip40(input, _vctx) && _ip1(input, _vctx);
2427
+ const _io5 = (input, _vctx = {}) => "boolean" === typeof input.optional;
2428
+ const _io6 = (input, _vctx = {}) => _ip18(input, _vctx) && (undefined === input.onlyBuiltDependencies || Array.isArray(input.onlyBuiltDependencies) && input.onlyBuiltDependencies.every(elem => "string" === typeof elem)) && (undefined === input.neverBuiltDependencies || Array.isArray(input.neverBuiltDependencies) && input.neverBuiltDependencies.every(elem => "string" === typeof elem)) && (undefined === input.allowBuilds || "object" === typeof input.allowBuilds && null !== input.allowBuilds && false === Array.isArray(input.allowBuilds) && _io8(input.allowBuilds, _vctx)) && (undefined === input.supportedArchitectures || "object" === typeof input.supportedArchitectures && null !== input.supportedArchitectures && false === Array.isArray(input.supportedArchitectures) && _io9(input.supportedArchitectures, _vctx)) && (undefined === input.ignoredOptionalDependencies || Array.isArray(input.ignoredOptionalDependencies) && input.ignoredOptionalDependencies.every(elem => "string" === typeof elem)) && (undefined === input.packageExtensions || "object" === typeof input.packageExtensions && null !== input.packageExtensions && false === Array.isArray(input.packageExtensions) && _io10(input.packageExtensions, _vctx)) && (undefined === input.patchedDependencies || "object" === typeof input.patchedDependencies && null !== input.patchedDependencies && false === Array.isArray(input.patchedDependencies) && _io1(input.patchedDependencies, _vctx));
2429
+ const _io7 = (input, _vctx = {}) => (_vctx.io7 || (_vctx.io7 = new WeakSet())).has(input) ? true : (_vctx.io7.add(input), (Object.keys(input).every(key => {
2430
+ const value = input[key];
2431
+ if (undefined === value)
2432
+ return true;
2433
+ return null !== value && undefined !== value && ("string" === typeof value || "object" === typeof value && null !== value && false === Array.isArray(value) && _io7(value, _vctx));
2434
+ })) || (_vctx.io7.delete(input), false));
2435
+ const _io8 = (input, _vctx = {}) => Object.keys(input).every(key => {
2436
+ const value = input[key];
2437
+ if (undefined === value)
2438
+ return true;
2439
+ return "boolean" === typeof value;
2440
+ });
2441
+ const _io9 = (input, _vctx = {}) => (undefined === input.os || Array.isArray(input.os) && input.os.every(elem => "string" === typeof elem)) && (undefined === input.cpu || Array.isArray(input.cpu) && input.cpu.every(elem => "string" === typeof elem)) && (undefined === input.libc || Array.isArray(input.libc) && input.libc.every(elem => "string" === typeof elem));
2442
+ const _iu0 = (input, _vctx = {}) => (() => {
2443
+ if (undefined !== input.json)
2444
+ return _io16(input, _vctx);
2445
+ else if (undefined !== input.projects)
2446
+ return _io17(input, _vctx);
2447
+ else if (undefined !== input.runtime)
2448
+ return _io22(input, _vctx);
2449
+ else if (undefined !== input.externalDependencies)
2450
+ return _io23(input, _vctx);
2451
+ else if (undefined !== input.dependentTasksOutputFiles)
2452
+ return _io24(input, _vctx);
2453
+ else if (undefined !== input.env)
2454
+ return _io25(input, _vctx);
2455
+ else if (undefined !== input.workingDirectory)
2456
+ return _io26(input, _vctx);
2457
+ else
2458
+ return (() => {
2459
+ if (_io18(input, _vctx))
2460
+ return _io18(input, _vctx);
2461
+ if (_io19(input, _vctx))
2462
+ return _io19(input, _vctx);
2463
+ if (_io20(input, _vctx))
2464
+ return _io20(input, _vctx);
2465
+ if (_io21(input, _vctx))
2466
+ return _io21(input, _vctx);
2467
+ return false;
2468
+ })();
2469
+ })();
2470
+ const __is = (input, _vctx = {}) => "object" === typeof input && null !== input && _io0(input, _vctx);
2471
+ let _errorFactory;
2472
+ const __assert = (input, errorFactory) => {
2473
+ if (false === __is(input)) {
2474
+ _errorFactory = errorFactory;
2475
+ ((input, _path, _exceptionable = true, _vctx = {}) => ("object" === typeof input && null !== input || _assertGuard_1._assertGuard(true, {
2476
+ method: "typia.json.assertParse",
2477
+ path: _path + "",
2478
+ expected: "PackageJson",
2479
+ value: input
2480
+ }, _errorFactory)) && _ao0(input, _path + "", true, _vctx) || _assertGuard_1._assertGuard(true, {
2481
+ method: "typia.json.assertParse",
2482
+ path: _path + "",
2483
+ expected: "PackageJson",
2484
+ value: input
2485
+ }, _errorFactory))(input, "$input", true);
2486
+ }
2487
+ return input;
2488
+ };
2489
+ return (input, errorFactory) => __assert(JSON.parse(input), errorFactory);
2490
+ })()(readFileSync(path, 'utf8'));
2491
+ return { path, packageJson };
2492
+ }
2493
+ catch (error) {
2494
+ if (systemError(error) && ['ENOENT', 'ENOTDIR'].includes(error.code))
2495
+ continue;
2496
+ throw error;
2497
+ }
2498
+ }
2499
+ throw original;
2500
+ }
2501
+ }
348
2502
  function visit(name, from, optional) {
349
2503
  let resolved;
350
2504
  try {
351
- resolved = resolvePackage(name, [from]);
2505
+ resolved = installedManifest(name, from);
352
2506
  }
353
2507
  catch (error) {
354
2508
  if (optional && systemError(error) && error.code === 'MODULE_NOT_FOUND') {
@@ -364,11 +2518,67 @@ export function graphInstallationIdentity(workspaceRoot, nxJson, resolvePackage)
364
2518
  visited.add(physical);
365
2519
  const packageRoot = dirname(physical);
366
2520
  const manifest = resolved.packageJson;
367
- // A package-owned published dist lane may live on its build volume. Its
368
- // link node and every physical target node remain part of this proof.
369
- if (manifest.files?.includes('dist'))
370
- declaredDirectoryLinks.add(join(packageRoot, 'dist'));
371
- walk(packageRoot);
2521
+ // Explicit publication owns this tree; unknown declarations keep the conservative full census.
2522
+ if (manifest.files !== undefined && manifest.files.length > 0) {
2523
+ const patterns = manifest.files.map((pattern) => {
2524
+ const negative = pattern.startsWith('!');
2525
+ const relativePattern = (negative ? pattern.slice(1) : pattern).replace(/^\/+/u, '') || '.';
2526
+ return negative ? `!${relativePattern}` : relativePattern;
2527
+ });
2528
+ const declared = new Set();
2529
+ const literal = (pattern) => !/[*?[\]{}]/u.test(pattern);
2530
+ const validate = (entry) => {
2531
+ if (isAbsolute(entry) || entry.split(/[\\/]/u).includes('..'))
2532
+ throw new Error(`Published graph package path escapes its owner: ${entry}`);
2533
+ };
2534
+ const addDeclaration = (entry) => {
2535
+ validate(entry);
2536
+ if (literal(entry)) {
2537
+ const absolute = resolve(packageRoot, entry);
2538
+ declared.add(absolute);
2539
+ declaredDirectoryLinks.add(absolute);
2540
+ }
2541
+ };
2542
+ for (const pattern of patterns) {
2543
+ validate(pattern.startsWith('!') ? pattern.slice(1) : pattern);
2544
+ if (!pattern.startsWith('!'))
2545
+ addDeclaration(pattern);
2546
+ }
2547
+ const exported = (value) => {
2548
+ if (typeof value === 'string') {
2549
+ if (value.startsWith('./')) {
2550
+ patterns.push(value);
2551
+ addDeclaration(value);
2552
+ }
2553
+ }
2554
+ else if (Array.isArray(value)) {
2555
+ for (const entry of value)
2556
+ exported(entry);
2557
+ }
2558
+ else if (typeof value === 'object' && value !== null) {
2559
+ for (const entry of Object.values(value))
2560
+ exported(entry);
2561
+ }
2562
+ };
2563
+ exported(manifest.exports);
2564
+ const selected = new Set([packageRoot]);
2565
+ const select = (entry) => {
2566
+ validate(entry);
2567
+ for (let path = resolve(packageRoot, entry); path !== packageRoot; path = dirname(path))
2568
+ selected.add(path);
2569
+ };
2570
+ select('package.json');
2571
+ for (const path of declared)
2572
+ select(relative(packageRoot, path));
2573
+ for (const path of expand(packageRoot, patterns)) {
2574
+ select(path);
2575
+ expandedRoots.add(resolve(packageRoot, path));
2576
+ }
2577
+ walk(packageRoot, selected);
2578
+ }
2579
+ else {
2580
+ walk(packageRoot);
2581
+ }
372
2582
  const dependencies = { ...manifest.peerDependencies, ...manifest.dependencies, ...manifest.optionalDependencies };
373
2583
  for (const dependency of Object.keys(dependencies).sort()) {
374
2584
  visit(dependency, packageRoot, manifest.optionalDependencies?.[dependency] !== undefined ||
@@ -376,18 +2586,22 @@ export function graphInstallationIdentity(workspaceRoot, nxJson, resolvePackage)
376
2586
  }
377
2587
  }
378
2588
  try {
379
- for (const name of ['nx', ...plugins])
2589
+ for (const name of ['nx', ...plugins.filter((plugin) => plugin === '@smoothbricks/nx-plugin')])
380
2590
  visit(name, workspaceRoot, false);
2591
+ for (const input of localInputs?.packages ?? [])
2592
+ visit(input.name, input.from, false);
381
2593
  visit('typescript', workspaceRoot, true);
382
- return nodesUnchanged(nodes) ? JSON.stringify({ resolutions, nodes, files }) : null;
2594
+ return { resolutions, nodes, files };
383
2595
  }
384
2596
  catch (error) {
385
2597
  if (systemError(error) && ['EACCES', 'EPERM', 'EIO'].includes(error.code))
386
2598
  throw error;
387
2599
  // Installation uncertainty disables only graph reuse. Nx's authoritative
388
2600
  // RPC remains responsible for diagnosing invalid plugin installations.
389
- if (error instanceof Error)
2601
+ if (error instanceof Error) {
2602
+ onUnproved?.(error.message);
390
2603
  return null;
2604
+ }
391
2605
  throw error;
392
2606
  }
393
2607
  }