@ttsc/graph 0.22.0 → 0.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -38,6 +38,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.DUMP_SCHEMA_VERSION = void 0;
40
40
  exports.loadGraph = loadGraph;
41
+ exports.parseDump = parseDump;
41
42
  const _assertGuard_1 = __importStar(require("typia/lib/internal/_assertGuard"));
42
43
  const node_child_process_1 = require("node:child_process");
43
44
  const typia_1 = __importDefault(require("typia"));
@@ -125,579 +126,584 @@ function parseDump(json) {
125
126
  "Install a matching `ttsc` (the binary resolves from the target " +
126
127
  "project, or from TTSC_GRAPH_BINARY).");
127
128
  }
128
- return (() => {
129
- const _ip0 = input => "string" === typeof input["file"];
130
- const _ip1 = input => "string" === typeof input["id"];
131
- const _ip2 = input => true === _iv0.has(input["kind"]);
132
- const _iv0 = new Set(["class", "enum", "external_symbol", "file", "function", "interface", "method", "module", "namespace", "package", "parameter", "property", "type", "variable"]);
133
- const _ip3 = input => "string" === typeof input["name"];
134
- const _ip4 = input => undefined === input["qualifiedName"] || "string" === typeof input["qualifiedName"];
135
- const _ip5 = input => "boolean" === typeof input["external"];
136
- const _ip6 = input => undefined === input["ignored"] || "boolean" === typeof input["ignored"];
137
- const _ip7 = input => undefined === input["exported"] || "boolean" === typeof input["exported"];
138
- const _ip8 = input => undefined === input["closure"] || "boolean" === typeof input["closure"];
139
- const _ip9 = input => undefined === input["modifiers"] || Array.isArray(input["modifiers"]) && input["modifiers"].every(elem => true === _iv1.has(elem));
140
- const _iv1 = new Set(["abstract", "async", "const", "declare", "default", "export", "optional", "private", "protected", "public", "readonly", "static"]);
141
- const _ip10 = input => undefined === input["literals"] || Array.isArray(input["literals"]) && input["literals"].every(elem => "string" === typeof elem);
142
- const _ip11 = input => undefined === input["enumMembers"] || Array.isArray(input["enumMembers"]) && input["enumMembers"].every(elem => "object" === typeof elem && null !== elem && _io9(elem));
143
- const _ip12 = input => undefined === input["objectMembers"] || Array.isArray(input["objectMembers"]) && input["objectMembers"].every(elem => "object" === typeof elem && null !== elem && _io10(elem));
144
- const _ip13 = input => undefined === input["decorators"] || Array.isArray(input["decorators"]) && input["decorators"].every(elem => "object" === typeof elem && null !== elem && _io11(elem));
145
- const _ip14 = input => undefined === input["signature"] || "string" === typeof input["signature"];
146
- const _ip15 = input => undefined === input["evidence"] || "object" === typeof input["evidence"] && null !== input["evidence"] && _io13(input["evidence"]);
147
- const _ip16 = input => undefined === input["implementation"] || "object" === typeof input["implementation"] && null !== input["implementation"] && _io13(input["implementation"]);
148
- const _iv2 = new Set(["accesses", "calls", "contains", "decorates", "dispatches", "exports", "extends", "implements", "imports", "instantiates", "overrides", "renders", "tests", "type_ref"]);
149
- const _ap0 = (input, _path, _exceptionable = true) => "string" === typeof input["file"] || _assertGuard_1._assertGuard(_exceptionable, {
150
- method: "typia.assert",
151
- path: _path + ".file",
152
- expected: "string",
153
- value: input["file"]
154
- }, _errorFactory);
155
- const _ap1 = (input, _path, _exceptionable = true) => "string" === typeof input["id"] || _assertGuard_1._assertGuard(_exceptionable, {
156
- method: "typia.assert",
157
- path: _path + ".id",
158
- expected: "string",
159
- value: input["id"]
160
- }, _errorFactory);
161
- const _ap2 = (input, _path, _exceptionable = true) => true === _av0.has(input["kind"]) || _assertGuard_1._assertGuard(_exceptionable, {
162
- method: "typia.assert",
163
- path: _path + ".kind",
164
- expected: _ae0,
165
- value: input["kind"]
166
- }, _errorFactory);
167
- const _av0 = new Set(["class", "enum", "external_symbol", "file", "function", "interface", "method", "module", "namespace", "package", "parameter", "property", "type", "variable"]);
168
- const _ae0 = "(\"class\" | \"enum\" | \"external_symbol\" | \"file\" | \"function\" | \"interface\" | \"method\" | \"module\" | \"namespace\" | \"package\" | \"parameter\" | \"property\" | \"type\" | \"variable\")";
169
- const _ap3 = (input, _path, _exceptionable = true) => "string" === typeof input["name"] || _assertGuard_1._assertGuard(_exceptionable, {
170
- method: "typia.assert",
171
- path: _path + ".name",
172
- expected: "string",
173
- value: input["name"]
174
- }, _errorFactory);
175
- const _ap4 = (input, _path, _exceptionable = true) => undefined === input["qualifiedName"] || "string" === typeof input["qualifiedName"] || _assertGuard_1._assertGuard(_exceptionable, {
176
- method: "typia.assert",
177
- path: _path + ".qualifiedName",
178
- expected: "(string | undefined)",
179
- value: input["qualifiedName"]
180
- }, _errorFactory);
181
- const _ap5 = (input, _path, _exceptionable = true) => "boolean" === typeof input["external"] || _assertGuard_1._assertGuard(_exceptionable, {
182
- method: "typia.assert",
183
- path: _path + ".external",
184
- expected: "boolean",
185
- value: input["external"]
186
- }, _errorFactory);
187
- const _ap6 = (input, _path, _exceptionable = true) => undefined === input["ignored"] || "boolean" === typeof input["ignored"] || _assertGuard_1._assertGuard(_exceptionable, {
188
- method: "typia.assert",
189
- path: _path + ".ignored",
190
- expected: "(boolean | undefined)",
191
- value: input["ignored"]
192
- }, _errorFactory);
193
- const _ap7 = (input, _path, _exceptionable = true) => undefined === input["exported"] || "boolean" === typeof input["exported"] || _assertGuard_1._assertGuard(_exceptionable, {
194
- method: "typia.assert",
195
- path: _path + ".exported",
196
- expected: "(boolean | undefined)",
197
- value: input["exported"]
198
- }, _errorFactory);
199
- const _ap8 = (input, _path, _exceptionable = true) => undefined === input["closure"] || "boolean" === typeof input["closure"] || _assertGuard_1._assertGuard(_exceptionable, {
200
- method: "typia.assert",
201
- path: _path + ".closure",
202
- expected: "(boolean | undefined)",
203
- value: input["closure"]
204
- }, _errorFactory);
205
- const _ap9 = (input, _path, _exceptionable = true) => undefined === input["modifiers"] || (Array.isArray(input["modifiers"]) || _assertGuard_1._assertGuard(_exceptionable, {
206
- method: "typia.assert",
207
- path: _path + ".modifiers",
208
- expected: "(Array<TtscGraphNodeModifier> | undefined)",
209
- value: input["modifiers"]
210
- }, _errorFactory)) && input["modifiers"].every((elem, _index21) => true === _av1.has(elem) || _assertGuard_1._assertGuard(_exceptionable, {
211
- method: "typia.assert",
212
- path: _path + ".modifiers[" + _index21 + "]",
213
- expected: _ae1,
214
- value: elem
215
- }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
216
- method: "typia.assert",
217
- path: _path + ".modifiers",
218
- expected: "(Array<TtscGraphNodeModifier> | undefined)",
219
- value: input["modifiers"]
220
- }, _errorFactory);
221
- const _av1 = new Set(["abstract", "async", "const", "declare", "default", "export", "optional", "private", "protected", "public", "readonly", "static"]);
222
- const _ae1 = "(\"abstract\" | \"async\" | \"const\" | \"declare\" | \"default\" | \"export\" | \"optional\" | \"private\" | \"protected\" | \"public\" | \"readonly\" | \"static\")";
223
- const _ap10 = (input, _path, _exceptionable = true) => undefined === input["literals"] || (Array.isArray(input["literals"]) || _assertGuard_1._assertGuard(_exceptionable, {
224
- method: "typia.assert",
225
- path: _path + ".literals",
226
- expected: "(Array<string> | undefined)",
227
- value: input["literals"]
228
- }, _errorFactory)) && input["literals"].every((elem, _index22) => "string" === typeof elem || _assertGuard_1._assertGuard(_exceptionable, {
229
- method: "typia.assert",
230
- path: _path + ".literals[" + _index22 + "]",
231
- expected: "string",
232
- value: elem
233
- }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
234
- method: "typia.assert",
235
- path: _path + ".literals",
236
- expected: "(Array<string> | undefined)",
237
- value: input["literals"]
238
- }, _errorFactory);
239
- const _ap11 = (input, _path, _exceptionable = true) => undefined === input["enumMembers"] || (Array.isArray(input["enumMembers"]) || _assertGuard_1._assertGuard(_exceptionable, {
240
- method: "typia.assert",
241
- path: _path + ".enumMembers",
242
- expected: "(Array<ITtscGraphNode.IEnumMember> | undefined)",
243
- value: input["enumMembers"]
244
- }, _errorFactory)) && input["enumMembers"].every((elem, _index23) => ("object" === typeof elem && null !== elem || _assertGuard_1._assertGuard(_exceptionable, {
245
- method: "typia.assert",
246
- path: _path + ".enumMembers[" + _index23 + "]",
247
- expected: "ITtscGraphNode.IEnumMember",
248
- value: elem
249
- }, _errorFactory)) && _ao9(elem, _path + ".enumMembers[" + _index23 + "]", true && _exceptionable) || _assertGuard_1._assertGuard(_exceptionable, {
250
- method: "typia.assert",
251
- path: _path + ".enumMembers[" + _index23 + "]",
252
- expected: "ITtscGraphNode.IEnumMember",
253
- value: elem
254
- }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
255
- method: "typia.assert",
256
- path: _path + ".enumMembers",
257
- expected: "(Array<ITtscGraphNode.IEnumMember> | undefined)",
258
- value: input["enumMembers"]
259
- }, _errorFactory);
260
- const _ap12 = (input, _path, _exceptionable = true) => undefined === input["objectMembers"] || (Array.isArray(input["objectMembers"]) || _assertGuard_1._assertGuard(_exceptionable, {
261
- method: "typia.assert",
262
- path: _path + ".objectMembers",
263
- expected: "(Array<ITtscGraphNode.IObjectMember> | undefined)",
264
- value: input["objectMembers"]
265
- }, _errorFactory)) && input["objectMembers"].every((elem, _index24) => ("object" === typeof elem && null !== elem || _assertGuard_1._assertGuard(_exceptionable, {
266
- method: "typia.assert",
267
- path: _path + ".objectMembers[" + _index24 + "]",
268
- expected: "ITtscGraphNode.IObjectMember",
269
- value: elem
270
- }, _errorFactory)) && _ao10(elem, _path + ".objectMembers[" + _index24 + "]", true && _exceptionable) || _assertGuard_1._assertGuard(_exceptionable, {
271
- method: "typia.assert",
272
- path: _path + ".objectMembers[" + _index24 + "]",
273
- expected: "ITtscGraphNode.IObjectMember",
274
- value: elem
275
- }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
276
- method: "typia.assert",
277
- path: _path + ".objectMembers",
278
- expected: "(Array<ITtscGraphNode.IObjectMember> | undefined)",
279
- value: input["objectMembers"]
280
- }, _errorFactory);
281
- const _ap13 = (input, _path, _exceptionable = true) => undefined === input["decorators"] || (Array.isArray(input["decorators"]) || _assertGuard_1._assertGuard(_exceptionable, {
282
- method: "typia.assert",
283
- path: _path + ".decorators",
284
- expected: "(Array<ITtscGraphDecorator> | undefined)",
285
- value: input["decorators"]
286
- }, _errorFactory)) && input["decorators"].every((elem, _index25) => ("object" === typeof elem && null !== elem || _assertGuard_1._assertGuard(_exceptionable, {
287
- method: "typia.assert",
288
- path: _path + ".decorators[" + _index25 + "]",
289
- expected: "ITtscGraphDecorator",
290
- value: elem
291
- }, _errorFactory)) && _ao11(elem, _path + ".decorators[" + _index25 + "]", true && _exceptionable) || _assertGuard_1._assertGuard(_exceptionable, {
292
- method: "typia.assert",
293
- path: _path + ".decorators[" + _index25 + "]",
294
- expected: "ITtscGraphDecorator",
295
- value: elem
296
- }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
297
- method: "typia.assert",
298
- path: _path + ".decorators",
299
- expected: "(Array<ITtscGraphDecorator> | undefined)",
300
- value: input["decorators"]
301
- }, _errorFactory);
302
- const _ap14 = (input, _path, _exceptionable = true) => undefined === input["signature"] || "string" === typeof input["signature"] || _assertGuard_1._assertGuard(_exceptionable, {
303
- method: "typia.assert",
304
- path: _path + ".signature",
305
- expected: "(string | undefined)",
306
- value: input["signature"]
307
- }, _errorFactory);
308
- const _ap15 = (input, _path, _exceptionable = true) => undefined === input["evidence"] || ("object" === typeof input["evidence"] && null !== input["evidence"] || _assertGuard_1._assertGuard(_exceptionable, {
309
- method: "typia.assert",
310
- path: _path + ".evidence",
311
- expected: "(ITtscGraphSpan | undefined)",
312
- value: input["evidence"]
313
- }, _errorFactory)) && _ao13(input["evidence"], _path + ".evidence", true && _exceptionable) || _assertGuard_1._assertGuard(_exceptionable, {
314
- method: "typia.assert",
315
- path: _path + ".evidence",
316
- expected: "(ITtscGraphSpan | undefined)",
317
- value: input["evidence"]
318
- }, _errorFactory);
319
- const _ap16 = (input, _path, _exceptionable = true) => undefined === input["implementation"] || ("object" === typeof input["implementation"] && null !== input["implementation"] || _assertGuard_1._assertGuard(_exceptionable, {
320
- method: "typia.assert",
321
- path: _path + ".implementation",
322
- expected: "(ITtscGraphSpan | undefined)",
323
- value: input["implementation"]
324
- }, _errorFactory)) && _ao13(input["implementation"], _path + ".implementation", true && _exceptionable) || _assertGuard_1._assertGuard(_exceptionable, {
325
- method: "typia.assert",
326
- path: _path + ".implementation",
327
- expected: "(ITtscGraphSpan | undefined)",
328
- value: input["implementation"]
329
- }, _errorFactory);
330
- const _av2 = new Set(["accesses", "calls", "contains", "decorates", "dispatches", "exports", "extends", "implements", "imports", "instantiates", "overrides", "renders", "tests", "type_ref"]);
331
- const _ae2 = "(\"accesses\" | \"calls\" | \"contains\" | \"decorates\" | \"dispatches\" | \"exports\" | \"extends\" | \"implements\" | \"imports\" | \"instantiates\" | \"overrides\" | \"renders\" | \"tests\" | \"type_ref\")";
332
- const _ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.project || _assertGuard_1._assertGuard(_exceptionable, {
333
- method: "typia.assert",
334
- path: _path + ".project",
335
- expected: "string",
336
- value: input.project
337
- }, _errorFactory)) && ("string" === typeof input.tsconfig || _assertGuard_1._assertGuard(_exceptionable, {
338
- method: "typia.assert",
339
- path: _path + ".tsconfig",
340
- expected: "string",
341
- value: input.tsconfig
342
- }, _errorFactory)) && (("object" === typeof input.provenance && null !== input.provenance || _assertGuard_1._assertGuard(_exceptionable, {
343
- method: "typia.assert",
344
- path: _path + ".provenance",
345
- expected: "ITtscGraphDump.IProvenance",
346
- value: input.provenance
347
- }, _errorFactory)) && _ao1(input.provenance, _path + ".provenance", true && _exceptionable) || _assertGuard_1._assertGuard(_exceptionable, {
348
- method: "typia.assert",
349
- path: _path + ".provenance",
350
- expected: "ITtscGraphDump.IProvenance",
351
- value: input.provenance
352
- }, _errorFactory)) && ((Array.isArray(input.diagnostics) || _assertGuard_1._assertGuard(_exceptionable, {
353
- method: "typia.assert",
354
- path: _path + ".diagnostics",
355
- expected: "Array<ITtscGraphDump.IDiagnostic>",
356
- value: input.diagnostics
357
- }, _errorFactory)) && input.diagnostics.every((elem, _index14) => ("object" === typeof elem && null !== elem || _assertGuard_1._assertGuard(_exceptionable, {
358
- method: "typia.assert",
359
- path: _path + ".diagnostics[" + _index14 + "]",
360
- expected: "ITtscGraphDump.IDiagnostic",
361
- value: elem
362
- }, _errorFactory)) && _ao7(elem, _path + ".diagnostics[" + _index14 + "]", true && _exceptionable) || _assertGuard_1._assertGuard(_exceptionable, {
363
- method: "typia.assert",
364
- path: _path + ".diagnostics[" + _index14 + "]",
365
- expected: "ITtscGraphDump.IDiagnostic",
366
- value: elem
367
- }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
368
- method: "typia.assert",
369
- path: _path + ".diagnostics",
370
- expected: "Array<ITtscGraphDump.IDiagnostic>",
371
- value: input.diagnostics
372
- }, _errorFactory)) && ((Array.isArray(input.nodes) || _assertGuard_1._assertGuard(_exceptionable, {
373
- method: "typia.assert",
374
- path: _path + ".nodes",
375
- expected: "Array<ITtscGraphDump.INode>",
376
- value: input.nodes
377
- }, _errorFactory)) && input.nodes.every((elem, _index15) => ("object" === typeof elem && null !== elem || _assertGuard_1._assertGuard(_exceptionable, {
378
- method: "typia.assert",
379
- path: _path + ".nodes[" + _index15 + "]",
380
- expected: "ITtscGraphDump.INode",
381
- value: elem
382
- }, _errorFactory)) && _ao8(elem, _path + ".nodes[" + _index15 + "]", true && _exceptionable) || _assertGuard_1._assertGuard(_exceptionable, {
383
- method: "typia.assert",
384
- path: _path + ".nodes[" + _index15 + "]",
385
- expected: "ITtscGraphDump.INode",
386
- value: elem
387
- }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
388
- method: "typia.assert",
389
- path: _path + ".nodes",
390
- expected: "Array<ITtscGraphDump.INode>",
391
- value: input.nodes
392
- }, _errorFactory)) && ((Array.isArray(input.edges) || _assertGuard_1._assertGuard(_exceptionable, {
393
- method: "typia.assert",
394
- path: _path + ".edges",
395
- expected: "Array<ITtscGraphDump.IEdge>",
396
- value: input.edges
397
- }, _errorFactory)) && input.edges.every((elem, _index16) => ("object" === typeof elem && null !== elem || _assertGuard_1._assertGuard(_exceptionable, {
398
- method: "typia.assert",
399
- path: _path + ".edges[" + _index16 + "]",
400
- expected: "ITtscGraphDump.IEdge",
401
- value: elem
402
- }, _errorFactory)) && _ao14(elem, _path + ".edges[" + _index16 + "]", true && _exceptionable) || _assertGuard_1._assertGuard(_exceptionable, {
403
- method: "typia.assert",
404
- path: _path + ".edges[" + _index16 + "]",
405
- expected: "ITtscGraphDump.IEdge",
406
- value: elem
407
- }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
408
- method: "typia.assert",
409
- path: _path + ".edges",
410
- expected: "Array<ITtscGraphDump.IEdge>",
411
- value: input.edges
412
- }, _errorFactory));
413
- const _ao1 = (input, _path, _exceptionable = true) => ("number" === typeof input.schemaVersion || _assertGuard_1._assertGuard(_exceptionable, {
414
- method: "typia.assert",
415
- path: _path + ".schemaVersion",
416
- expected: "number",
417
- value: input.schemaVersion
418
- }, _errorFactory)) && ((Array.isArray(input.capabilities) || _assertGuard_1._assertGuard(_exceptionable, {
419
- method: "typia.assert",
420
- path: _path + ".capabilities",
421
- expected: "Array<string>",
422
- value: input.capabilities
423
- }, _errorFactory)) && input.capabilities.every((elem, _index17) => "string" === typeof elem || _assertGuard_1._assertGuard(_exceptionable, {
424
- method: "typia.assert",
425
- path: _path + ".capabilities[" + _index17 + "]",
426
- expected: "string",
427
- value: elem
428
- }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
429
- method: "typia.assert",
430
- path: _path + ".capabilities",
431
- expected: "Array<string>",
432
- value: input.capabilities
433
- }, _errorFactory)) && (("object" === typeof input.producer && null !== input.producer || _assertGuard_1._assertGuard(_exceptionable, {
434
- method: "typia.assert",
435
- path: _path + ".producer",
436
- expected: "ITtscGraphDump.IProducer",
437
- value: input.producer
438
- }, _errorFactory)) && _ao2(input.producer, _path + ".producer", true && _exceptionable) || _assertGuard_1._assertGuard(_exceptionable, {
439
- method: "typia.assert",
440
- path: _path + ".producer",
441
- expected: "ITtscGraphDump.IProducer",
442
- value: input.producer
443
- }, _errorFactory)) && (("object" === typeof input.universe && null !== input.universe || _assertGuard_1._assertGuard(_exceptionable, {
444
- method: "typia.assert",
445
- path: _path + ".universe",
446
- expected: "ITtscGraphDump.IUniverse",
447
- value: input.universe
448
- }, _errorFactory)) && _ao3(input.universe, _path + ".universe", true && _exceptionable) || _assertGuard_1._assertGuard(_exceptionable, {
449
- method: "typia.assert",
450
- path: _path + ".universe",
451
- expected: "ITtscGraphDump.IUniverse",
452
- value: input.universe
453
- }, _errorFactory)) && ((Array.isArray(input.sources) || _assertGuard_1._assertGuard(_exceptionable, {
454
- method: "typia.assert",
455
- path: _path + ".sources",
456
- expected: "Array<ITtscGraphDump.ISourceDigest>",
457
- value: input.sources
458
- }, _errorFactory)) && input.sources.every((elem, _index18) => ("object" === typeof elem && null !== elem || _assertGuard_1._assertGuard(_exceptionable, {
459
- method: "typia.assert",
460
- path: _path + ".sources[" + _index18 + "]",
461
- expected: "ITtscGraphDump.ISourceDigest",
462
- value: elem
463
- }, _errorFactory)) && _ao6(elem, _path + ".sources[" + _index18 + "]", true && _exceptionable) || _assertGuard_1._assertGuard(_exceptionable, {
464
- method: "typia.assert",
465
- path: _path + ".sources[" + _index18 + "]",
466
- expected: "ITtscGraphDump.ISourceDigest",
467
- value: elem
468
- }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
469
- method: "typia.assert",
470
- path: _path + ".sources",
471
- expected: "Array<ITtscGraphDump.ISourceDigest>",
472
- value: input.sources
473
- }, _errorFactory));
474
- const _ao10 = (input, _path, _exceptionable = true) => _ap3(input, _path, true && _exceptionable) && ("method" === input.kind || "property" === input.kind || _assertGuard_1._assertGuard(_exceptionable, {
475
- method: "typia.assert",
476
- path: _path + ".kind",
477
- expected: "(\"method\" | \"property\")",
478
- value: input.kind
479
- }, _errorFactory)) && (undefined === input.line || "number" === typeof input.line || _assertGuard_1._assertGuard(_exceptionable, {
480
- method: "typia.assert",
481
- path: _path + ".line",
482
- expected: "(number | undefined)",
483
- value: input.line
484
- }, _errorFactory)) && _ap14(input, _path, true && _exceptionable);
485
- const _ao11 = (input, _path, _exceptionable = true) => _ap3(input, _path, true && _exceptionable) && ((Array.isArray(input.arguments) || _assertGuard_1._assertGuard(_exceptionable, {
486
- method: "typia.assert",
487
- path: _path + ".arguments",
488
- expected: "Array<ITtscGraphDecorator.IArgument>",
489
- value: input.arguments
490
- }, _errorFactory)) && input.arguments.every((elem, _index26) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _assertGuard_1._assertGuard(_exceptionable, {
491
- method: "typia.assert",
492
- path: _path + ".arguments[" + _index26 + "]",
493
- expected: "ITtscGraphDecorator.IArgument",
494
- value: elem
495
- }, _errorFactory)) && _ao12(elem, _path + ".arguments[" + _index26 + "]", true && _exceptionable) || _assertGuard_1._assertGuard(_exceptionable, {
496
- method: "typia.assert",
497
- path: _path + ".arguments[" + _index26 + "]",
498
- expected: "ITtscGraphDecorator.IArgument",
499
- value: elem
500
- }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
501
- method: "typia.assert",
502
- path: _path + ".arguments",
503
- expected: "Array<ITtscGraphDecorator.IArgument>",
504
- value: input.arguments
505
- }, _errorFactory));
506
- const _ao12 = (input, _path, _exceptionable = true) => undefined === input.literal || "string" === typeof input.literal || "number" === typeof input.literal || "boolean" === typeof input.literal || _assertGuard_1._assertGuard(_exceptionable, {
507
- method: "typia.assert",
508
- path: _path + ".literal",
509
- expected: "(boolean | number | string | undefined)",
510
- value: input.literal
511
- }, _errorFactory);
512
- const _ao13 = (input, _path, _exceptionable = true) => (undefined === input.file || "string" === typeof input.file || _assertGuard_1._assertGuard(_exceptionable, {
513
- method: "typia.assert",
514
- path: _path + ".file",
515
- expected: "(string | undefined)",
516
- value: input.file
517
- }, _errorFactory)) && ("number" === typeof input.startLine || _assertGuard_1._assertGuard(_exceptionable, {
518
- method: "typia.assert",
519
- path: _path + ".startLine",
520
- expected: "number",
521
- value: input.startLine
522
- }, _errorFactory)) && (undefined === input.startCol || "number" === typeof input.startCol || _assertGuard_1._assertGuard(_exceptionable, {
523
- method: "typia.assert",
524
- path: _path + ".startCol",
525
- expected: "(number | undefined)",
526
- value: input.startCol
527
- }, _errorFactory)) && (undefined === input.endLine || "number" === typeof input.endLine || _assertGuard_1._assertGuard(_exceptionable, {
528
- method: "typia.assert",
529
- path: _path + ".endLine",
530
- expected: "(number | undefined)",
531
- value: input.endLine
532
- }, _errorFactory)) && (undefined === input.endCol || "number" === typeof input.endCol || _assertGuard_1._assertGuard(_exceptionable, {
533
- method: "typia.assert",
534
- path: _path + ".endCol",
535
- expected: "(number | undefined)",
536
- value: input.endCol
537
- }, _errorFactory));
538
- const _ao14 = (input, _path, _exceptionable = true) => ("string" === typeof input.from || _assertGuard_1._assertGuard(_exceptionable, {
539
- method: "typia.assert",
540
- path: _path + ".from",
541
- expected: "string",
542
- value: input.from
543
- }, _errorFactory)) && ("string" === typeof input.to || _assertGuard_1._assertGuard(_exceptionable, {
544
- method: "typia.assert",
545
- path: _path + ".to",
546
- expected: "string",
547
- value: input.to
548
- }, _errorFactory)) && (true === _av2.has(input.kind) || _assertGuard_1._assertGuard(_exceptionable, {
549
- method: "typia.assert",
550
- path: _path + ".kind",
551
- expected: _ae2,
552
- value: input.kind
553
- }, _errorFactory)) && _ap15(input, _path, true && _exceptionable);
554
- const _ao2 = (input, _path, _exceptionable = true) => ("string" === typeof input.tool || _assertGuard_1._assertGuard(_exceptionable, {
555
- method: "typia.assert",
556
- path: _path + ".tool",
557
- expected: "string",
558
- value: input.tool
559
- }, _errorFactory)) && ("string" === typeof input.version || _assertGuard_1._assertGuard(_exceptionable, {
560
- method: "typia.assert",
561
- path: _path + ".version",
562
- expected: "string",
563
- value: input.version
564
- }, _errorFactory)) && ("string" === typeof input.typescript || _assertGuard_1._assertGuard(_exceptionable, {
565
- method: "typia.assert",
566
- path: _path + ".typescript",
567
- expected: "string",
568
- value: input.typescript
569
- }, _errorFactory));
570
- const _ao3 = (input, _path, _exceptionable = true) => ((Array.isArray(input.configs) || _assertGuard_1._assertGuard(_exceptionable, {
571
- method: "typia.assert",
572
- path: _path + ".configs",
573
- expected: "Array<ITtscGraphDump.IFileDigest>",
574
- value: input.configs
575
- }, _errorFactory)) && input.configs.every((elem, _index19) => ("object" === typeof elem && null !== elem || _assertGuard_1._assertGuard(_exceptionable, {
576
- method: "typia.assert",
577
- path: _path + ".configs[" + _index19 + "]",
578
- expected: "ITtscGraphDump.IFileDigest",
579
- value: elem
580
- }, _errorFactory)) && _ao4(elem, _path + ".configs[" + _index19 + "]", true && _exceptionable) || _assertGuard_1._assertGuard(_exceptionable, {
581
- method: "typia.assert",
582
- path: _path + ".configs[" + _index19 + "]",
583
- expected: "ITtscGraphDump.IFileDigest",
584
- value: elem
585
- }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
586
- method: "typia.assert",
587
- path: _path + ".configs",
588
- expected: "Array<ITtscGraphDump.IFileDigest>",
589
- value: input.configs
590
- }, _errorFactory)) && ((Array.isArray(input.roots) || _assertGuard_1._assertGuard(_exceptionable, {
591
- method: "typia.assert",
592
- path: _path + ".roots",
593
- expected: "Array<ITtscGraphDump.IRootFile>",
594
- value: input.roots
595
- }, _errorFactory)) && input.roots.every((elem, _index20) => ("object" === typeof elem && null !== elem || _assertGuard_1._assertGuard(_exceptionable, {
596
- method: "typia.assert",
597
- path: _path + ".roots[" + _index20 + "]",
598
- expected: "ITtscGraphDump.IRootFile",
599
- value: elem
600
- }, _errorFactory)) && _ao5(elem, _path + ".roots[" + _index20 + "]", true && _exceptionable) || _assertGuard_1._assertGuard(_exceptionable, {
601
- method: "typia.assert",
602
- path: _path + ".roots[" + _index20 + "]",
603
- expected: "ITtscGraphDump.IRootFile",
604
- value: elem
605
- }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
606
- method: "typia.assert",
607
- path: _path + ".roots",
608
- expected: "Array<ITtscGraphDump.IRootFile>",
609
- value: input.roots
610
- }, _errorFactory));
611
- const _ao4 = (input, _path, _exceptionable = true) => _ap0(input, _path, true && _exceptionable) && ("string" === typeof input.digest || _assertGuard_1._assertGuard(_exceptionable, {
612
- method: "typia.assert",
613
- path: _path + ".digest",
614
- expected: "string",
615
- value: input.digest
616
- }, _errorFactory));
617
- const _ao5 = (input, _path, _exceptionable = true) => ("string" === typeof input.config || _assertGuard_1._assertGuard(_exceptionable, {
618
- method: "typia.assert",
619
- path: _path + ".config",
620
- expected: "string",
621
- value: input.config
622
- }, _errorFactory)) && _ap0(input, _path, true && _exceptionable);
623
- const _ao6 = (input, _path, _exceptionable = true) => _ap0(input, _path, true && _exceptionable) && ("string" === typeof input.checkerDigest || _assertGuard_1._assertGuard(_exceptionable, {
624
- method: "typia.assert",
625
- path: _path + ".checkerDigest",
626
- expected: "string",
627
- value: input.checkerDigest
628
- }, _errorFactory)) && ("string" === typeof input.diskDigest || _assertGuard_1._assertGuard(_exceptionable, {
629
- method: "typia.assert",
630
- path: _path + ".diskDigest",
631
- expected: "string",
632
- value: input.diskDigest
633
- }, _errorFactory));
634
- const _ao7 = (input, _path, _exceptionable = true) => _ap0(input, _path, true && _exceptionable) && ("number" === typeof input.line || _assertGuard_1._assertGuard(_exceptionable, {
635
- method: "typia.assert",
636
- path: _path + ".line",
637
- expected: "number",
638
- value: input.line
639
- }, _errorFactory)) && ("number" === typeof input.column || _assertGuard_1._assertGuard(_exceptionable, {
640
- method: "typia.assert",
641
- path: _path + ".column",
642
- expected: "number",
643
- value: input.column
644
- }, _errorFactory)) && ("number" === typeof input.code || _assertGuard_1._assertGuard(_exceptionable, {
645
- method: "typia.assert",
646
- path: _path + ".code",
647
- expected: "number",
648
- value: input.code
649
- }, _errorFactory)) && ("error" === input.category || "warning" === input.category || _assertGuard_1._assertGuard(_exceptionable, {
650
- method: "typia.assert",
651
- path: _path + ".category",
652
- expected: "(\"error\" | \"warning\")",
653
- value: input.category
654
- }, _errorFactory)) && ("string" === typeof input.message || _assertGuard_1._assertGuard(_exceptionable, {
655
- method: "typia.assert",
656
- path: _path + ".message",
657
- expected: "string",
658
- value: input.message
659
- }, _errorFactory));
660
- const _ao8 = (input, _path, _exceptionable = true) => _ap1(input, _path, true && _exceptionable) && _ap2(input, _path, true && _exceptionable) && _ap3(input, _path, true && _exceptionable) && _ap4(input, _path, true && _exceptionable) && _ap0(input, _path, true && _exceptionable) && _ap5(input, _path, true && _exceptionable) && _ap6(input, _path, true && _exceptionable) && _ap7(input, _path, true && _exceptionable) && _ap8(input, _path, true && _exceptionable) && _ap9(input, _path, true && _exceptionable) && _ap10(input, _path, true && _exceptionable) && _ap11(input, _path, true && _exceptionable) && _ap12(input, _path, true && _exceptionable) && _ap13(input, _path, true && _exceptionable) && _ap14(input, _path, true && _exceptionable) && _ap15(input, _path, true && _exceptionable) && _ap16(input, _path, true && _exceptionable);
661
- const _ao9 = (input, _path, _exceptionable = true) => _ap3(input, _path, true && _exceptionable) && (undefined === input.value || "string" === typeof input.value || _assertGuard_1._assertGuard(_exceptionable, {
662
- method: "typia.assert",
663
- path: _path + ".value",
664
- expected: "(string | undefined)",
665
- value: input.value
666
- }, _errorFactory));
667
- const _io0 = input => "string" === typeof input.project && "string" === typeof input.tsconfig && ("object" === typeof input.provenance && null !== input.provenance && _io1(input.provenance)) && (Array.isArray(input.diagnostics) && input.diagnostics.every(elem => "object" === typeof elem && null !== elem && _io7(elem))) && (Array.isArray(input.nodes) && input.nodes.every(elem => "object" === typeof elem && null !== elem && _io8(elem))) && (Array.isArray(input.edges) && input.edges.every(elem => "object" === typeof elem && null !== elem && _io14(elem)));
668
- const _io1 = input => "number" === typeof input.schemaVersion && (Array.isArray(input.capabilities) && input.capabilities.every(elem => "string" === typeof elem)) && ("object" === typeof input.producer && null !== input.producer && _io2(input.producer)) && ("object" === typeof input.universe && null !== input.universe && _io3(input.universe)) && (Array.isArray(input.sources) && input.sources.every(elem => "object" === typeof elem && null !== elem && _io6(elem)));
669
- const _io10 = input => _ip3(input) && ("method" === input.kind || "property" === input.kind) && (undefined === input.line || "number" === typeof input.line) && _ip14(input);
670
- const _io11 = input => _ip3(input) && (Array.isArray(input.arguments) && input.arguments.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io12(elem)));
671
- const _io12 = input => undefined === input.literal || "string" === typeof input.literal || "number" === typeof input.literal || "boolean" === typeof input.literal;
672
- const _io13 = input => (undefined === input.file || "string" === typeof input.file) && "number" === typeof input.startLine && (undefined === input.startCol || "number" === typeof input.startCol) && (undefined === input.endLine || "number" === typeof input.endLine) && (undefined === input.endCol || "number" === typeof input.endCol);
673
- const _io14 = input => "string" === typeof input.from && "string" === typeof input.to && true === _iv2.has(input.kind) && _ip15(input);
674
- const _io2 = input => "string" === typeof input.tool && "string" === typeof input.version && "string" === typeof input.typescript;
675
- const _io3 = input => Array.isArray(input.configs) && input.configs.every(elem => "object" === typeof elem && null !== elem && _io4(elem)) && (Array.isArray(input.roots) && input.roots.every(elem => "object" === typeof elem && null !== elem && _io5(elem)));
676
- const _io4 = input => _ip0(input) && "string" === typeof input.digest;
677
- const _io5 = input => "string" === typeof input.config && _ip0(input);
678
- const _io6 = input => _ip0(input) && "string" === typeof input.checkerDigest && "string" === typeof input.diskDigest;
679
- const _io7 = input => _ip0(input) && "number" === typeof input.line && "number" === typeof input.column && "number" === typeof input.code && ("error" === input.category || "warning" === input.category) && "string" === typeof input.message;
680
- const _io8 = input => _ip1(input) && _ip2(input) && _ip3(input) && _ip4(input) && _ip0(input) && _ip5(input) && _ip6(input) && _ip7(input) && _ip8(input) && _ip9(input) && _ip10(input) && _ip11(input) && _ip12(input) && _ip13(input) && _ip14(input) && _ip15(input) && _ip16(input);
681
- const _io9 = input => _ip3(input) && (undefined === input.value || "string" === typeof input.value);
682
- const __is = input => "object" === typeof input && null !== input && _io0(input);
683
- let _errorFactory;
684
- return (input, errorFactory) => {
685
- if (false === __is(input)) {
686
- _errorFactory = errorFactory;
687
- ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _assertGuard_1._assertGuard(true, {
688
- method: "typia.assert",
689
- path: _path + "",
690
- expected: "ITtscGraphDump",
691
- value: input
692
- }, _errorFactory)) && _ao0(input, _path + "", true) || _assertGuard_1._assertGuard(true, {
693
- method: "typia.assert",
694
- path: _path + "",
695
- expected: "ITtscGraphDump",
696
- value: input
697
- }, _errorFactory))(input, "$input", true);
698
- }
699
- return input;
700
- };
701
- })()(value);
129
+ try {
130
+ return (() => {
131
+ const _ip0 = input => "string" === typeof input["file"];
132
+ const _ip1 = input => "string" === typeof input["id"];
133
+ const _ip2 = input => true === _iv0.has(input["kind"]);
134
+ const _iv0 = new Set(["class", "enum", "external_symbol", "file", "function", "interface", "method", "module", "namespace", "package", "parameter", "property", "type", "variable"]);
135
+ const _ip3 = input => "string" === typeof input["name"];
136
+ const _ip4 = input => undefined === input["qualifiedName"] || "string" === typeof input["qualifiedName"];
137
+ const _ip5 = input => "boolean" === typeof input["external"];
138
+ const _ip6 = input => undefined === input["ignored"] || "boolean" === typeof input["ignored"];
139
+ const _ip7 = input => undefined === input["exported"] || "boolean" === typeof input["exported"];
140
+ const _ip8 = input => undefined === input["closure"] || "boolean" === typeof input["closure"];
141
+ const _ip9 = input => undefined === input["modifiers"] || Array.isArray(input["modifiers"]) && input["modifiers"].every(elem => true === _iv1.has(elem));
142
+ const _iv1 = new Set(["abstract", "async", "const", "declare", "default", "export", "optional", "private", "protected", "public", "readonly", "static"]);
143
+ const _ip10 = input => undefined === input["literals"] || Array.isArray(input["literals"]) && input["literals"].every(elem => "string" === typeof elem);
144
+ const _ip11 = input => undefined === input["enumMembers"] || Array.isArray(input["enumMembers"]) && input["enumMembers"].every(elem => "object" === typeof elem && null !== elem && _io9(elem));
145
+ const _ip12 = input => undefined === input["objectMembers"] || Array.isArray(input["objectMembers"]) && input["objectMembers"].every(elem => "object" === typeof elem && null !== elem && _io10(elem));
146
+ const _ip13 = input => undefined === input["decorators"] || Array.isArray(input["decorators"]) && input["decorators"].every(elem => "object" === typeof elem && null !== elem && _io11(elem));
147
+ const _ip14 = input => undefined === input["signature"] || "string" === typeof input["signature"];
148
+ const _ip15 = input => undefined === input["evidence"] || "object" === typeof input["evidence"] && null !== input["evidence"] && _io13(input["evidence"]);
149
+ const _ip16 = input => undefined === input["implementation"] || "object" === typeof input["implementation"] && null !== input["implementation"] && _io13(input["implementation"]);
150
+ const _iv2 = new Set(["accesses", "calls", "contains", "decorates", "dispatches", "exports", "extends", "implements", "imports", "instantiates", "overrides", "renders", "tests", "type_ref"]);
151
+ const _ap0 = (input, _path, _exceptionable = true) => "string" === typeof input["file"] || _assertGuard_1._assertGuard(_exceptionable, {
152
+ method: "typia.assert",
153
+ path: _path + ".file",
154
+ expected: "string",
155
+ value: input["file"]
156
+ }, _errorFactory);
157
+ const _ap1 = (input, _path, _exceptionable = true) => "string" === typeof input["id"] || _assertGuard_1._assertGuard(_exceptionable, {
158
+ method: "typia.assert",
159
+ path: _path + ".id",
160
+ expected: "string",
161
+ value: input["id"]
162
+ }, _errorFactory);
163
+ const _ap2 = (input, _path, _exceptionable = true) => true === _av0.has(input["kind"]) || _assertGuard_1._assertGuard(_exceptionable, {
164
+ method: "typia.assert",
165
+ path: _path + ".kind",
166
+ expected: _ae0,
167
+ value: input["kind"]
168
+ }, _errorFactory);
169
+ const _av0 = new Set(["class", "enum", "external_symbol", "file", "function", "interface", "method", "module", "namespace", "package", "parameter", "property", "type", "variable"]);
170
+ const _ae0 = "(\"class\" | \"enum\" | \"external_symbol\" | \"file\" | \"function\" | \"interface\" | \"method\" | \"module\" | \"namespace\" | \"package\" | \"parameter\" | \"property\" | \"type\" | \"variable\")";
171
+ const _ap3 = (input, _path, _exceptionable = true) => "string" === typeof input["name"] || _assertGuard_1._assertGuard(_exceptionable, {
172
+ method: "typia.assert",
173
+ path: _path + ".name",
174
+ expected: "string",
175
+ value: input["name"]
176
+ }, _errorFactory);
177
+ const _ap4 = (input, _path, _exceptionable = true) => undefined === input["qualifiedName"] || "string" === typeof input["qualifiedName"] || _assertGuard_1._assertGuard(_exceptionable, {
178
+ method: "typia.assert",
179
+ path: _path + ".qualifiedName",
180
+ expected: "(string | undefined)",
181
+ value: input["qualifiedName"]
182
+ }, _errorFactory);
183
+ const _ap5 = (input, _path, _exceptionable = true) => "boolean" === typeof input["external"] || _assertGuard_1._assertGuard(_exceptionable, {
184
+ method: "typia.assert",
185
+ path: _path + ".external",
186
+ expected: "boolean",
187
+ value: input["external"]
188
+ }, _errorFactory);
189
+ const _ap6 = (input, _path, _exceptionable = true) => undefined === input["ignored"] || "boolean" === typeof input["ignored"] || _assertGuard_1._assertGuard(_exceptionable, {
190
+ method: "typia.assert",
191
+ path: _path + ".ignored",
192
+ expected: "(boolean | undefined)",
193
+ value: input["ignored"]
194
+ }, _errorFactory);
195
+ const _ap7 = (input, _path, _exceptionable = true) => undefined === input["exported"] || "boolean" === typeof input["exported"] || _assertGuard_1._assertGuard(_exceptionable, {
196
+ method: "typia.assert",
197
+ path: _path + ".exported",
198
+ expected: "(boolean | undefined)",
199
+ value: input["exported"]
200
+ }, _errorFactory);
201
+ const _ap8 = (input, _path, _exceptionable = true) => undefined === input["closure"] || "boolean" === typeof input["closure"] || _assertGuard_1._assertGuard(_exceptionable, {
202
+ method: "typia.assert",
203
+ path: _path + ".closure",
204
+ expected: "(boolean | undefined)",
205
+ value: input["closure"]
206
+ }, _errorFactory);
207
+ const _ap9 = (input, _path, _exceptionable = true) => undefined === input["modifiers"] || (Array.isArray(input["modifiers"]) || _assertGuard_1._assertGuard(_exceptionable, {
208
+ method: "typia.assert",
209
+ path: _path + ".modifiers",
210
+ expected: "(Array<TtscGraphNodeModifier> | undefined)",
211
+ value: input["modifiers"]
212
+ }, _errorFactory)) && input["modifiers"].every((elem, _index21) => true === _av1.has(elem) || _assertGuard_1._assertGuard(_exceptionable, {
213
+ method: "typia.assert",
214
+ path: _path + ".modifiers[" + _index21 + "]",
215
+ expected: _ae1,
216
+ value: elem
217
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
218
+ method: "typia.assert",
219
+ path: _path + ".modifiers",
220
+ expected: "(Array<TtscGraphNodeModifier> | undefined)",
221
+ value: input["modifiers"]
222
+ }, _errorFactory);
223
+ const _av1 = new Set(["abstract", "async", "const", "declare", "default", "export", "optional", "private", "protected", "public", "readonly", "static"]);
224
+ const _ae1 = "(\"abstract\" | \"async\" | \"const\" | \"declare\" | \"default\" | \"export\" | \"optional\" | \"private\" | \"protected\" | \"public\" | \"readonly\" | \"static\")";
225
+ const _ap10 = (input, _path, _exceptionable = true) => undefined === input["literals"] || (Array.isArray(input["literals"]) || _assertGuard_1._assertGuard(_exceptionable, {
226
+ method: "typia.assert",
227
+ path: _path + ".literals",
228
+ expected: "(Array<string> | undefined)",
229
+ value: input["literals"]
230
+ }, _errorFactory)) && input["literals"].every((elem, _index22) => "string" === typeof elem || _assertGuard_1._assertGuard(_exceptionable, {
231
+ method: "typia.assert",
232
+ path: _path + ".literals[" + _index22 + "]",
233
+ expected: "string",
234
+ value: elem
235
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
236
+ method: "typia.assert",
237
+ path: _path + ".literals",
238
+ expected: "(Array<string> | undefined)",
239
+ value: input["literals"]
240
+ }, _errorFactory);
241
+ const _ap11 = (input, _path, _exceptionable = true) => undefined === input["enumMembers"] || (Array.isArray(input["enumMembers"]) || _assertGuard_1._assertGuard(_exceptionable, {
242
+ method: "typia.assert",
243
+ path: _path + ".enumMembers",
244
+ expected: "(Array<ITtscGraphNode.IEnumMember> | undefined)",
245
+ value: input["enumMembers"]
246
+ }, _errorFactory)) && input["enumMembers"].every((elem, _index23) => ("object" === typeof elem && null !== elem || _assertGuard_1._assertGuard(_exceptionable, {
247
+ method: "typia.assert",
248
+ path: _path + ".enumMembers[" + _index23 + "]",
249
+ expected: "ITtscGraphNode.IEnumMember",
250
+ value: elem
251
+ }, _errorFactory)) && _ao9(elem, _path + ".enumMembers[" + _index23 + "]", true && _exceptionable) || _assertGuard_1._assertGuard(_exceptionable, {
252
+ method: "typia.assert",
253
+ path: _path + ".enumMembers[" + _index23 + "]",
254
+ expected: "ITtscGraphNode.IEnumMember",
255
+ value: elem
256
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
257
+ method: "typia.assert",
258
+ path: _path + ".enumMembers",
259
+ expected: "(Array<ITtscGraphNode.IEnumMember> | undefined)",
260
+ value: input["enumMembers"]
261
+ }, _errorFactory);
262
+ const _ap12 = (input, _path, _exceptionable = true) => undefined === input["objectMembers"] || (Array.isArray(input["objectMembers"]) || _assertGuard_1._assertGuard(_exceptionable, {
263
+ method: "typia.assert",
264
+ path: _path + ".objectMembers",
265
+ expected: "(Array<ITtscGraphNode.IObjectMember> | undefined)",
266
+ value: input["objectMembers"]
267
+ }, _errorFactory)) && input["objectMembers"].every((elem, _index24) => ("object" === typeof elem && null !== elem || _assertGuard_1._assertGuard(_exceptionable, {
268
+ method: "typia.assert",
269
+ path: _path + ".objectMembers[" + _index24 + "]",
270
+ expected: "ITtscGraphNode.IObjectMember",
271
+ value: elem
272
+ }, _errorFactory)) && _ao10(elem, _path + ".objectMembers[" + _index24 + "]", true && _exceptionable) || _assertGuard_1._assertGuard(_exceptionable, {
273
+ method: "typia.assert",
274
+ path: _path + ".objectMembers[" + _index24 + "]",
275
+ expected: "ITtscGraphNode.IObjectMember",
276
+ value: elem
277
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
278
+ method: "typia.assert",
279
+ path: _path + ".objectMembers",
280
+ expected: "(Array<ITtscGraphNode.IObjectMember> | undefined)",
281
+ value: input["objectMembers"]
282
+ }, _errorFactory);
283
+ const _ap13 = (input, _path, _exceptionable = true) => undefined === input["decorators"] || (Array.isArray(input["decorators"]) || _assertGuard_1._assertGuard(_exceptionable, {
284
+ method: "typia.assert",
285
+ path: _path + ".decorators",
286
+ expected: "(Array<ITtscGraphDecorator> | undefined)",
287
+ value: input["decorators"]
288
+ }, _errorFactory)) && input["decorators"].every((elem, _index25) => ("object" === typeof elem && null !== elem || _assertGuard_1._assertGuard(_exceptionable, {
289
+ method: "typia.assert",
290
+ path: _path + ".decorators[" + _index25 + "]",
291
+ expected: "ITtscGraphDecorator",
292
+ value: elem
293
+ }, _errorFactory)) && _ao11(elem, _path + ".decorators[" + _index25 + "]", true && _exceptionable) || _assertGuard_1._assertGuard(_exceptionable, {
294
+ method: "typia.assert",
295
+ path: _path + ".decorators[" + _index25 + "]",
296
+ expected: "ITtscGraphDecorator",
297
+ value: elem
298
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
299
+ method: "typia.assert",
300
+ path: _path + ".decorators",
301
+ expected: "(Array<ITtscGraphDecorator> | undefined)",
302
+ value: input["decorators"]
303
+ }, _errorFactory);
304
+ const _ap14 = (input, _path, _exceptionable = true) => undefined === input["signature"] || "string" === typeof input["signature"] || _assertGuard_1._assertGuard(_exceptionable, {
305
+ method: "typia.assert",
306
+ path: _path + ".signature",
307
+ expected: "(string | undefined)",
308
+ value: input["signature"]
309
+ }, _errorFactory);
310
+ const _ap15 = (input, _path, _exceptionable = true) => undefined === input["evidence"] || ("object" === typeof input["evidence"] && null !== input["evidence"] || _assertGuard_1._assertGuard(_exceptionable, {
311
+ method: "typia.assert",
312
+ path: _path + ".evidence",
313
+ expected: "(ITtscGraphSpan | undefined)",
314
+ value: input["evidence"]
315
+ }, _errorFactory)) && _ao13(input["evidence"], _path + ".evidence", true && _exceptionable) || _assertGuard_1._assertGuard(_exceptionable, {
316
+ method: "typia.assert",
317
+ path: _path + ".evidence",
318
+ expected: "(ITtscGraphSpan | undefined)",
319
+ value: input["evidence"]
320
+ }, _errorFactory);
321
+ const _ap16 = (input, _path, _exceptionable = true) => undefined === input["implementation"] || ("object" === typeof input["implementation"] && null !== input["implementation"] || _assertGuard_1._assertGuard(_exceptionable, {
322
+ method: "typia.assert",
323
+ path: _path + ".implementation",
324
+ expected: "(ITtscGraphSpan | undefined)",
325
+ value: input["implementation"]
326
+ }, _errorFactory)) && _ao13(input["implementation"], _path + ".implementation", true && _exceptionable) || _assertGuard_1._assertGuard(_exceptionable, {
327
+ method: "typia.assert",
328
+ path: _path + ".implementation",
329
+ expected: "(ITtscGraphSpan | undefined)",
330
+ value: input["implementation"]
331
+ }, _errorFactory);
332
+ const _av2 = new Set(["accesses", "calls", "contains", "decorates", "dispatches", "exports", "extends", "implements", "imports", "instantiates", "overrides", "renders", "tests", "type_ref"]);
333
+ const _ae2 = "(\"accesses\" | \"calls\" | \"contains\" | \"decorates\" | \"dispatches\" | \"exports\" | \"extends\" | \"implements\" | \"imports\" | \"instantiates\" | \"overrides\" | \"renders\" | \"tests\" | \"type_ref\")";
334
+ const _ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.project || _assertGuard_1._assertGuard(_exceptionable, {
335
+ method: "typia.assert",
336
+ path: _path + ".project",
337
+ expected: "string",
338
+ value: input.project
339
+ }, _errorFactory)) && ("string" === typeof input.tsconfig || _assertGuard_1._assertGuard(_exceptionable, {
340
+ method: "typia.assert",
341
+ path: _path + ".tsconfig",
342
+ expected: "string",
343
+ value: input.tsconfig
344
+ }, _errorFactory)) && (("object" === typeof input.provenance && null !== input.provenance || _assertGuard_1._assertGuard(_exceptionable, {
345
+ method: "typia.assert",
346
+ path: _path + ".provenance",
347
+ expected: "ITtscGraphDump.IProvenance",
348
+ value: input.provenance
349
+ }, _errorFactory)) && _ao1(input.provenance, _path + ".provenance", true && _exceptionable) || _assertGuard_1._assertGuard(_exceptionable, {
350
+ method: "typia.assert",
351
+ path: _path + ".provenance",
352
+ expected: "ITtscGraphDump.IProvenance",
353
+ value: input.provenance
354
+ }, _errorFactory)) && ((Array.isArray(input.diagnostics) || _assertGuard_1._assertGuard(_exceptionable, {
355
+ method: "typia.assert",
356
+ path: _path + ".diagnostics",
357
+ expected: "Array<ITtscGraphDump.IDiagnostic>",
358
+ value: input.diagnostics
359
+ }, _errorFactory)) && input.diagnostics.every((elem, _index14) => ("object" === typeof elem && null !== elem || _assertGuard_1._assertGuard(_exceptionable, {
360
+ method: "typia.assert",
361
+ path: _path + ".diagnostics[" + _index14 + "]",
362
+ expected: "ITtscGraphDump.IDiagnostic",
363
+ value: elem
364
+ }, _errorFactory)) && _ao7(elem, _path + ".diagnostics[" + _index14 + "]", true && _exceptionable) || _assertGuard_1._assertGuard(_exceptionable, {
365
+ method: "typia.assert",
366
+ path: _path + ".diagnostics[" + _index14 + "]",
367
+ expected: "ITtscGraphDump.IDiagnostic",
368
+ value: elem
369
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
370
+ method: "typia.assert",
371
+ path: _path + ".diagnostics",
372
+ expected: "Array<ITtscGraphDump.IDiagnostic>",
373
+ value: input.diagnostics
374
+ }, _errorFactory)) && ((Array.isArray(input.nodes) || _assertGuard_1._assertGuard(_exceptionable, {
375
+ method: "typia.assert",
376
+ path: _path + ".nodes",
377
+ expected: "Array<ITtscGraphDump.INode>",
378
+ value: input.nodes
379
+ }, _errorFactory)) && input.nodes.every((elem, _index15) => ("object" === typeof elem && null !== elem || _assertGuard_1._assertGuard(_exceptionable, {
380
+ method: "typia.assert",
381
+ path: _path + ".nodes[" + _index15 + "]",
382
+ expected: "ITtscGraphDump.INode",
383
+ value: elem
384
+ }, _errorFactory)) && _ao8(elem, _path + ".nodes[" + _index15 + "]", true && _exceptionable) || _assertGuard_1._assertGuard(_exceptionable, {
385
+ method: "typia.assert",
386
+ path: _path + ".nodes[" + _index15 + "]",
387
+ expected: "ITtscGraphDump.INode",
388
+ value: elem
389
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
390
+ method: "typia.assert",
391
+ path: _path + ".nodes",
392
+ expected: "Array<ITtscGraphDump.INode>",
393
+ value: input.nodes
394
+ }, _errorFactory)) && ((Array.isArray(input.edges) || _assertGuard_1._assertGuard(_exceptionable, {
395
+ method: "typia.assert",
396
+ path: _path + ".edges",
397
+ expected: "Array<ITtscGraphDump.IEdge>",
398
+ value: input.edges
399
+ }, _errorFactory)) && input.edges.every((elem, _index16) => ("object" === typeof elem && null !== elem || _assertGuard_1._assertGuard(_exceptionable, {
400
+ method: "typia.assert",
401
+ path: _path + ".edges[" + _index16 + "]",
402
+ expected: "ITtscGraphDump.IEdge",
403
+ value: elem
404
+ }, _errorFactory)) && _ao14(elem, _path + ".edges[" + _index16 + "]", true && _exceptionable) || _assertGuard_1._assertGuard(_exceptionable, {
405
+ method: "typia.assert",
406
+ path: _path + ".edges[" + _index16 + "]",
407
+ expected: "ITtscGraphDump.IEdge",
408
+ value: elem
409
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
410
+ method: "typia.assert",
411
+ path: _path + ".edges",
412
+ expected: "Array<ITtscGraphDump.IEdge>",
413
+ value: input.edges
414
+ }, _errorFactory));
415
+ const _ao1 = (input, _path, _exceptionable = true) => ("number" === typeof input.schemaVersion || _assertGuard_1._assertGuard(_exceptionable, {
416
+ method: "typia.assert",
417
+ path: _path + ".schemaVersion",
418
+ expected: "number",
419
+ value: input.schemaVersion
420
+ }, _errorFactory)) && ((Array.isArray(input.capabilities) || _assertGuard_1._assertGuard(_exceptionable, {
421
+ method: "typia.assert",
422
+ path: _path + ".capabilities",
423
+ expected: "Array<string>",
424
+ value: input.capabilities
425
+ }, _errorFactory)) && input.capabilities.every((elem, _index17) => "string" === typeof elem || _assertGuard_1._assertGuard(_exceptionable, {
426
+ method: "typia.assert",
427
+ path: _path + ".capabilities[" + _index17 + "]",
428
+ expected: "string",
429
+ value: elem
430
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
431
+ method: "typia.assert",
432
+ path: _path + ".capabilities",
433
+ expected: "Array<string>",
434
+ value: input.capabilities
435
+ }, _errorFactory)) && (("object" === typeof input.producer && null !== input.producer || _assertGuard_1._assertGuard(_exceptionable, {
436
+ method: "typia.assert",
437
+ path: _path + ".producer",
438
+ expected: "ITtscGraphDump.IProducer",
439
+ value: input.producer
440
+ }, _errorFactory)) && _ao2(input.producer, _path + ".producer", true && _exceptionable) || _assertGuard_1._assertGuard(_exceptionable, {
441
+ method: "typia.assert",
442
+ path: _path + ".producer",
443
+ expected: "ITtscGraphDump.IProducer",
444
+ value: input.producer
445
+ }, _errorFactory)) && (("object" === typeof input.universe && null !== input.universe || _assertGuard_1._assertGuard(_exceptionable, {
446
+ method: "typia.assert",
447
+ path: _path + ".universe",
448
+ expected: "ITtscGraphDump.IUniverse",
449
+ value: input.universe
450
+ }, _errorFactory)) && _ao3(input.universe, _path + ".universe", true && _exceptionable) || _assertGuard_1._assertGuard(_exceptionable, {
451
+ method: "typia.assert",
452
+ path: _path + ".universe",
453
+ expected: "ITtscGraphDump.IUniverse",
454
+ value: input.universe
455
+ }, _errorFactory)) && ((Array.isArray(input.sources) || _assertGuard_1._assertGuard(_exceptionable, {
456
+ method: "typia.assert",
457
+ path: _path + ".sources",
458
+ expected: "Array<ITtscGraphDump.ISourceDigest>",
459
+ value: input.sources
460
+ }, _errorFactory)) && input.sources.every((elem, _index18) => ("object" === typeof elem && null !== elem || _assertGuard_1._assertGuard(_exceptionable, {
461
+ method: "typia.assert",
462
+ path: _path + ".sources[" + _index18 + "]",
463
+ expected: "ITtscGraphDump.ISourceDigest",
464
+ value: elem
465
+ }, _errorFactory)) && _ao6(elem, _path + ".sources[" + _index18 + "]", true && _exceptionable) || _assertGuard_1._assertGuard(_exceptionable, {
466
+ method: "typia.assert",
467
+ path: _path + ".sources[" + _index18 + "]",
468
+ expected: "ITtscGraphDump.ISourceDigest",
469
+ value: elem
470
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
471
+ method: "typia.assert",
472
+ path: _path + ".sources",
473
+ expected: "Array<ITtscGraphDump.ISourceDigest>",
474
+ value: input.sources
475
+ }, _errorFactory));
476
+ const _ao10 = (input, _path, _exceptionable = true) => _ap3(input, _path, true && _exceptionable) && ("method" === input.kind || "property" === input.kind || _assertGuard_1._assertGuard(_exceptionable, {
477
+ method: "typia.assert",
478
+ path: _path + ".kind",
479
+ expected: "(\"method\" | \"property\")",
480
+ value: input.kind
481
+ }, _errorFactory)) && (undefined === input.line || "number" === typeof input.line || _assertGuard_1._assertGuard(_exceptionable, {
482
+ method: "typia.assert",
483
+ path: _path + ".line",
484
+ expected: "(number | undefined)",
485
+ value: input.line
486
+ }, _errorFactory)) && _ap14(input, _path, true && _exceptionable);
487
+ const _ao11 = (input, _path, _exceptionable = true) => _ap3(input, _path, true && _exceptionable) && ((Array.isArray(input.arguments) || _assertGuard_1._assertGuard(_exceptionable, {
488
+ method: "typia.assert",
489
+ path: _path + ".arguments",
490
+ expected: "Array<ITtscGraphDecorator.IArgument>",
491
+ value: input.arguments
492
+ }, _errorFactory)) && input.arguments.every((elem, _index26) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _assertGuard_1._assertGuard(_exceptionable, {
493
+ method: "typia.assert",
494
+ path: _path + ".arguments[" + _index26 + "]",
495
+ expected: "ITtscGraphDecorator.IArgument",
496
+ value: elem
497
+ }, _errorFactory)) && _ao12(elem, _path + ".arguments[" + _index26 + "]", true && _exceptionable) || _assertGuard_1._assertGuard(_exceptionable, {
498
+ method: "typia.assert",
499
+ path: _path + ".arguments[" + _index26 + "]",
500
+ expected: "ITtscGraphDecorator.IArgument",
501
+ value: elem
502
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
503
+ method: "typia.assert",
504
+ path: _path + ".arguments",
505
+ expected: "Array<ITtscGraphDecorator.IArgument>",
506
+ value: input.arguments
507
+ }, _errorFactory));
508
+ const _ao12 = (input, _path, _exceptionable = true) => undefined === input.literal || "string" === typeof input.literal || "number" === typeof input.literal || "boolean" === typeof input.literal || _assertGuard_1._assertGuard(_exceptionable, {
509
+ method: "typia.assert",
510
+ path: _path + ".literal",
511
+ expected: "(boolean | number | string | undefined)",
512
+ value: input.literal
513
+ }, _errorFactory);
514
+ const _ao13 = (input, _path, _exceptionable = true) => (undefined === input.file || "string" === typeof input.file || _assertGuard_1._assertGuard(_exceptionable, {
515
+ method: "typia.assert",
516
+ path: _path + ".file",
517
+ expected: "(string | undefined)",
518
+ value: input.file
519
+ }, _errorFactory)) && ("number" === typeof input.startLine || _assertGuard_1._assertGuard(_exceptionable, {
520
+ method: "typia.assert",
521
+ path: _path + ".startLine",
522
+ expected: "number",
523
+ value: input.startLine
524
+ }, _errorFactory)) && (undefined === input.startCol || "number" === typeof input.startCol || _assertGuard_1._assertGuard(_exceptionable, {
525
+ method: "typia.assert",
526
+ path: _path + ".startCol",
527
+ expected: "(number | undefined)",
528
+ value: input.startCol
529
+ }, _errorFactory)) && (undefined === input.endLine || "number" === typeof input.endLine || _assertGuard_1._assertGuard(_exceptionable, {
530
+ method: "typia.assert",
531
+ path: _path + ".endLine",
532
+ expected: "(number | undefined)",
533
+ value: input.endLine
534
+ }, _errorFactory)) && (undefined === input.endCol || "number" === typeof input.endCol || _assertGuard_1._assertGuard(_exceptionable, {
535
+ method: "typia.assert",
536
+ path: _path + ".endCol",
537
+ expected: "(number | undefined)",
538
+ value: input.endCol
539
+ }, _errorFactory));
540
+ const _ao14 = (input, _path, _exceptionable = true) => ("string" === typeof input.from || _assertGuard_1._assertGuard(_exceptionable, {
541
+ method: "typia.assert",
542
+ path: _path + ".from",
543
+ expected: "string",
544
+ value: input.from
545
+ }, _errorFactory)) && ("string" === typeof input.to || _assertGuard_1._assertGuard(_exceptionable, {
546
+ method: "typia.assert",
547
+ path: _path + ".to",
548
+ expected: "string",
549
+ value: input.to
550
+ }, _errorFactory)) && (true === _av2.has(input.kind) || _assertGuard_1._assertGuard(_exceptionable, {
551
+ method: "typia.assert",
552
+ path: _path + ".kind",
553
+ expected: _ae2,
554
+ value: input.kind
555
+ }, _errorFactory)) && _ap15(input, _path, true && _exceptionable);
556
+ const _ao2 = (input, _path, _exceptionable = true) => ("string" === typeof input.tool || _assertGuard_1._assertGuard(_exceptionable, {
557
+ method: "typia.assert",
558
+ path: _path + ".tool",
559
+ expected: "string",
560
+ value: input.tool
561
+ }, _errorFactory)) && ("string" === typeof input.version || _assertGuard_1._assertGuard(_exceptionable, {
562
+ method: "typia.assert",
563
+ path: _path + ".version",
564
+ expected: "string",
565
+ value: input.version
566
+ }, _errorFactory)) && ("string" === typeof input.typescript || _assertGuard_1._assertGuard(_exceptionable, {
567
+ method: "typia.assert",
568
+ path: _path + ".typescript",
569
+ expected: "string",
570
+ value: input.typescript
571
+ }, _errorFactory));
572
+ const _ao3 = (input, _path, _exceptionable = true) => ((Array.isArray(input.configs) || _assertGuard_1._assertGuard(_exceptionable, {
573
+ method: "typia.assert",
574
+ path: _path + ".configs",
575
+ expected: "Array<ITtscGraphDump.IFileDigest>",
576
+ value: input.configs
577
+ }, _errorFactory)) && input.configs.every((elem, _index19) => ("object" === typeof elem && null !== elem || _assertGuard_1._assertGuard(_exceptionable, {
578
+ method: "typia.assert",
579
+ path: _path + ".configs[" + _index19 + "]",
580
+ expected: "ITtscGraphDump.IFileDigest",
581
+ value: elem
582
+ }, _errorFactory)) && _ao4(elem, _path + ".configs[" + _index19 + "]", true && _exceptionable) || _assertGuard_1._assertGuard(_exceptionable, {
583
+ method: "typia.assert",
584
+ path: _path + ".configs[" + _index19 + "]",
585
+ expected: "ITtscGraphDump.IFileDigest",
586
+ value: elem
587
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
588
+ method: "typia.assert",
589
+ path: _path + ".configs",
590
+ expected: "Array<ITtscGraphDump.IFileDigest>",
591
+ value: input.configs
592
+ }, _errorFactory)) && ((Array.isArray(input.roots) || _assertGuard_1._assertGuard(_exceptionable, {
593
+ method: "typia.assert",
594
+ path: _path + ".roots",
595
+ expected: "Array<ITtscGraphDump.IRootFile>",
596
+ value: input.roots
597
+ }, _errorFactory)) && input.roots.every((elem, _index20) => ("object" === typeof elem && null !== elem || _assertGuard_1._assertGuard(_exceptionable, {
598
+ method: "typia.assert",
599
+ path: _path + ".roots[" + _index20 + "]",
600
+ expected: "ITtscGraphDump.IRootFile",
601
+ value: elem
602
+ }, _errorFactory)) && _ao5(elem, _path + ".roots[" + _index20 + "]", true && _exceptionable) || _assertGuard_1._assertGuard(_exceptionable, {
603
+ method: "typia.assert",
604
+ path: _path + ".roots[" + _index20 + "]",
605
+ expected: "ITtscGraphDump.IRootFile",
606
+ value: elem
607
+ }, _errorFactory)) || _assertGuard_1._assertGuard(_exceptionable, {
608
+ method: "typia.assert",
609
+ path: _path + ".roots",
610
+ expected: "Array<ITtscGraphDump.IRootFile>",
611
+ value: input.roots
612
+ }, _errorFactory));
613
+ const _ao4 = (input, _path, _exceptionable = true) => _ap0(input, _path, true && _exceptionable) && ("string" === typeof input.digest || _assertGuard_1._assertGuard(_exceptionable, {
614
+ method: "typia.assert",
615
+ path: _path + ".digest",
616
+ expected: "string",
617
+ value: input.digest
618
+ }, _errorFactory));
619
+ const _ao5 = (input, _path, _exceptionable = true) => ("string" === typeof input.config || _assertGuard_1._assertGuard(_exceptionable, {
620
+ method: "typia.assert",
621
+ path: _path + ".config",
622
+ expected: "string",
623
+ value: input.config
624
+ }, _errorFactory)) && _ap0(input, _path, true && _exceptionable);
625
+ const _ao6 = (input, _path, _exceptionable = true) => _ap0(input, _path, true && _exceptionable) && ("string" === typeof input.checkerDigest || _assertGuard_1._assertGuard(_exceptionable, {
626
+ method: "typia.assert",
627
+ path: _path + ".checkerDigest",
628
+ expected: "string",
629
+ value: input.checkerDigest
630
+ }, _errorFactory)) && ("string" === typeof input.diskDigest || _assertGuard_1._assertGuard(_exceptionable, {
631
+ method: "typia.assert",
632
+ path: _path + ".diskDigest",
633
+ expected: "string",
634
+ value: input.diskDigest
635
+ }, _errorFactory));
636
+ const _ao7 = (input, _path, _exceptionable = true) => _ap0(input, _path, true && _exceptionable) && ("number" === typeof input.line || _assertGuard_1._assertGuard(_exceptionable, {
637
+ method: "typia.assert",
638
+ path: _path + ".line",
639
+ expected: "number",
640
+ value: input.line
641
+ }, _errorFactory)) && ("number" === typeof input.column || _assertGuard_1._assertGuard(_exceptionable, {
642
+ method: "typia.assert",
643
+ path: _path + ".column",
644
+ expected: "number",
645
+ value: input.column
646
+ }, _errorFactory)) && ("number" === typeof input.code || _assertGuard_1._assertGuard(_exceptionable, {
647
+ method: "typia.assert",
648
+ path: _path + ".code",
649
+ expected: "number",
650
+ value: input.code
651
+ }, _errorFactory)) && ("error" === input.category || "warning" === input.category || _assertGuard_1._assertGuard(_exceptionable, {
652
+ method: "typia.assert",
653
+ path: _path + ".category",
654
+ expected: "(\"error\" | \"warning\")",
655
+ value: input.category
656
+ }, _errorFactory)) && ("string" === typeof input.message || _assertGuard_1._assertGuard(_exceptionable, {
657
+ method: "typia.assert",
658
+ path: _path + ".message",
659
+ expected: "string",
660
+ value: input.message
661
+ }, _errorFactory));
662
+ const _ao8 = (input, _path, _exceptionable = true) => _ap1(input, _path, true && _exceptionable) && _ap2(input, _path, true && _exceptionable) && _ap3(input, _path, true && _exceptionable) && _ap4(input, _path, true && _exceptionable) && _ap0(input, _path, true && _exceptionable) && _ap5(input, _path, true && _exceptionable) && _ap6(input, _path, true && _exceptionable) && _ap7(input, _path, true && _exceptionable) && _ap8(input, _path, true && _exceptionable) && _ap9(input, _path, true && _exceptionable) && _ap10(input, _path, true && _exceptionable) && _ap11(input, _path, true && _exceptionable) && _ap12(input, _path, true && _exceptionable) && _ap13(input, _path, true && _exceptionable) && _ap14(input, _path, true && _exceptionable) && _ap15(input, _path, true && _exceptionable) && _ap16(input, _path, true && _exceptionable);
663
+ const _ao9 = (input, _path, _exceptionable = true) => _ap3(input, _path, true && _exceptionable) && (undefined === input.value || "string" === typeof input.value || _assertGuard_1._assertGuard(_exceptionable, {
664
+ method: "typia.assert",
665
+ path: _path + ".value",
666
+ expected: "(string | undefined)",
667
+ value: input.value
668
+ }, _errorFactory));
669
+ const _io0 = input => "string" === typeof input.project && "string" === typeof input.tsconfig && ("object" === typeof input.provenance && null !== input.provenance && _io1(input.provenance)) && (Array.isArray(input.diagnostics) && input.diagnostics.every(elem => "object" === typeof elem && null !== elem && _io7(elem))) && (Array.isArray(input.nodes) && input.nodes.every(elem => "object" === typeof elem && null !== elem && _io8(elem))) && (Array.isArray(input.edges) && input.edges.every(elem => "object" === typeof elem && null !== elem && _io14(elem)));
670
+ const _io1 = input => "number" === typeof input.schemaVersion && (Array.isArray(input.capabilities) && input.capabilities.every(elem => "string" === typeof elem)) && ("object" === typeof input.producer && null !== input.producer && _io2(input.producer)) && ("object" === typeof input.universe && null !== input.universe && _io3(input.universe)) && (Array.isArray(input.sources) && input.sources.every(elem => "object" === typeof elem && null !== elem && _io6(elem)));
671
+ const _io10 = input => _ip3(input) && ("method" === input.kind || "property" === input.kind) && (undefined === input.line || "number" === typeof input.line) && _ip14(input);
672
+ const _io11 = input => _ip3(input) && (Array.isArray(input.arguments) && input.arguments.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io12(elem)));
673
+ const _io12 = input => undefined === input.literal || "string" === typeof input.literal || "number" === typeof input.literal || "boolean" === typeof input.literal;
674
+ const _io13 = input => (undefined === input.file || "string" === typeof input.file) && "number" === typeof input.startLine && (undefined === input.startCol || "number" === typeof input.startCol) && (undefined === input.endLine || "number" === typeof input.endLine) && (undefined === input.endCol || "number" === typeof input.endCol);
675
+ const _io14 = input => "string" === typeof input.from && "string" === typeof input.to && true === _iv2.has(input.kind) && _ip15(input);
676
+ const _io2 = input => "string" === typeof input.tool && "string" === typeof input.version && "string" === typeof input.typescript;
677
+ const _io3 = input => Array.isArray(input.configs) && input.configs.every(elem => "object" === typeof elem && null !== elem && _io4(elem)) && (Array.isArray(input.roots) && input.roots.every(elem => "object" === typeof elem && null !== elem && _io5(elem)));
678
+ const _io4 = input => _ip0(input) && "string" === typeof input.digest;
679
+ const _io5 = input => "string" === typeof input.config && _ip0(input);
680
+ const _io6 = input => _ip0(input) && "string" === typeof input.checkerDigest && "string" === typeof input.diskDigest;
681
+ const _io7 = input => _ip0(input) && "number" === typeof input.line && "number" === typeof input.column && "number" === typeof input.code && ("error" === input.category || "warning" === input.category) && "string" === typeof input.message;
682
+ const _io8 = input => _ip1(input) && _ip2(input) && _ip3(input) && _ip4(input) && _ip0(input) && _ip5(input) && _ip6(input) && _ip7(input) && _ip8(input) && _ip9(input) && _ip10(input) && _ip11(input) && _ip12(input) && _ip13(input) && _ip14(input) && _ip15(input) && _ip16(input);
683
+ const _io9 = input => _ip3(input) && (undefined === input.value || "string" === typeof input.value);
684
+ const __is = input => "object" === typeof input && null !== input && _io0(input);
685
+ let _errorFactory;
686
+ return (input, errorFactory) => {
687
+ if (false === __is(input)) {
688
+ _errorFactory = errorFactory;
689
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _assertGuard_1._assertGuard(true, {
690
+ method: "typia.assert",
691
+ path: _path + "",
692
+ expected: "ITtscGraphDump",
693
+ value: input
694
+ }, _errorFactory)) && _ao0(input, _path + "", true) || _assertGuard_1._assertGuard(true, {
695
+ method: "typia.assert",
696
+ path: _path + "",
697
+ expected: "ITtscGraphDump",
698
+ value: input
699
+ }, _errorFactory))(input, "$input", true);
700
+ }
701
+ return input;
702
+ };
703
+ })()(value);
704
+ }
705
+ catch (error) {
706
+ throw new Error(`@ttsc/graph: dump output does not match schema v${String(exports.DUMP_SCHEMA_VERSION)}: ${error instanceof Error ? error.message : String(error)}`, { cause: error });
707
+ }
702
708
  }
703
709
  //# sourceMappingURL=loadGraph.js.map