@power-plant/schema 0.0.83 → 0.0.84

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.
@@ -12,7 +12,7 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
12
12
  });
13
13
 
14
14
  //#endregion
15
- //#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_7b895da70230968802896bd8f1cfd4e0/node_modules/@deepkit/type-compiler/dist/esm/src/reflection-ast.js
15
+ //#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/esm/src/reflection-ast.js
16
16
  const { isArrowFunction: isArrowFunction$1, isComputedPropertyName, isIdentifier: isIdentifier$1, isNamedImports, isNumericLiteral, isPrivateIdentifier, isStringLiteral: isStringLiteral$2, isStringLiteralLike, setOriginalNode, getLeadingCommentRanges, isNoSubstitutionTemplateLiteral, NodeFlags: NodeFlags$1, SyntaxKind: SyntaxKind$1 } = ts;
17
17
  function is__String(value) {
18
18
  return typeof value === "string";
@@ -280,7 +280,7 @@ function finish(oldNode, newNode) {
280
280
  }
281
281
 
282
282
  //#endregion
283
- //#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_7b895da70230968802896bd8f1cfd4e0/node_modules/@deepkit/type-compiler/dist/esm/src/resolver.js
283
+ //#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/esm/src/resolver.js
284
284
  const { createSourceFile, resolveModuleName, isStringLiteral: isStringLiteral$1, JSDocParsingMode, ScriptTarget: ScriptTarget$1 } = ts;
285
285
  function patternMatch(path, patterns, base) {
286
286
  const include = patterns.filter((pattern) => pattern[0] !== "!");
@@ -339,7 +339,7 @@ var Resolver = class {
339
339
  };
340
340
 
341
341
  //#endregion
342
- //#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_7b895da70230968802896bd8f1cfd4e0/node_modules/@deepkit/type-compiler/dist/esm/src/debug.js
342
+ //#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/esm/src/debug.js
343
343
  function isDebug(level = 1) {
344
344
  const expected = "deepkit" + (level > 1 ? "+".repeat(level - 1) : "");
345
345
  return "undefined" !== typeof process && "string" === typeof process.env.DEBUG && process.env.DEBUG.includes(expected);
@@ -358,7 +358,7 @@ function debug2(...message) {
358
358
  }
359
359
 
360
360
  //#endregion
361
- //#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_7b895da70230968802896bd8f1cfd4e0/node_modules/@deepkit/type-compiler/dist/esm/src/config.js
361
+ //#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/esm/src/config.js
362
362
  function isObject(obj) {
363
363
  if (!obj) return false;
364
364
  return typeof obj === "object" && !Array.isArray(obj);
@@ -513,7 +513,7 @@ function getConfigResolver(cache, host, compilerOptions, sourceFile, tsConfigPat
513
513
  }
514
514
 
515
515
  //#endregion
516
- //#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_7b895da70230968802896bd8f1cfd4e0/node_modules/@deepkit/type-compiler/dist/esm/src/compiler.js
516
+ //#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/esm/src/compiler.js
517
517
  const { visitEachChild, visitNode, isPropertyAssignment, isArrayTypeNode, isArrowFunction, isBlock, isCallExpression, isCallSignatureDeclaration, isClassDeclaration, isClassExpression, isConstructorDeclaration, isConstructorTypeNode, isConstructSignatureDeclaration, isEnumDeclaration, isExportDeclaration, isExpression, isExpressionWithTypeArguments, isFunctionDeclaration, isFunctionExpression, isFunctionLike, isIdentifier, isImportClause, isImportDeclaration, isImportSpecifier, isInferTypeNode, isInterfaceDeclaration, isMethodDeclaration, isMethodSignature, isModuleDeclaration, isNamedExports, isNamedTupleMember, isNewExpression, isObjectLiteralExpression, isOptionalTypeNode, isParameter, isParenthesizedExpression, isParenthesizedTypeNode, isPropertyAccessExpression, isQualifiedName, isSourceFile, isStringLiteral, isTypeAliasDeclaration, isTypeLiteralNode, isTypeParameterDeclaration, isTypeQueryNode, isTypeReferenceNode, isUnionTypeNode, isExpressionStatement, isVariableDeclaration, getEffectiveConstraintOfTypeParameter, addSyntheticLeadingComment, createCompilerHost, createPrinter, escapeLeadingUnderscores, EmitHint, NodeFlags, SyntaxKind, ScriptTarget, ModifierFlags, ScriptKind: ScriptKind$1 } = ts;
518
518
  function encodeOps(ops) {
519
519
  return ops.map((v) => String.fromCharCode(v + 33)).join("");
@@ -2271,7 +2271,7 @@ const declarationTransformer = function deepkitDeclarationTransformer(context) {
2271
2271
  };
2272
2272
 
2273
2273
  //#endregion
2274
- //#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_7b895da70230968802896bd8f1cfd4e0/node_modules/@deepkit/type-compiler/dist/esm/src/loader.js
2274
+ //#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/esm/src/loader.js
2275
2275
  var DeepkitLoader = class {
2276
2276
  constructor() {
2277
2277
  this.options = {
@@ -2314,4 +2314,4 @@ var DeepkitLoader = class {
2314
2314
 
2315
2315
  //#endregion
2316
2316
  export { debugPackStruct as a, packSize as c, ReflectionTransformer as i, packSizeByte as l, Cache as n, declarationTransformer as o, DeclarationTransformer as r, encodeOps as s, DeepkitLoader as t, transformer as u };
2317
- //# sourceMappingURL=deepkit-BdYKLoLI.mjs.map
2317
+ //# sourceMappingURL=deepkit-BB4a-OX1.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deepkit-BB4a-OX1.mjs","names":[],"sources":[],"mappings":""}
@@ -8,7 +8,7 @@ micromatch = require_rolldown_runtime.__toESM(micromatch, 1);
8
8
  let _typescript_vfs = require("@typescript/vfs");
9
9
  let path = require("path");
10
10
 
11
- //#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_7b895da70230968802896bd8f1cfd4e0/node_modules/@deepkit/type-compiler/dist/esm/src/reflection-ast.js
11
+ //#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/esm/src/reflection-ast.js
12
12
  const { isArrowFunction: isArrowFunction$1, isComputedPropertyName, isIdentifier: isIdentifier$1, isNamedImports, isNumericLiteral, isPrivateIdentifier, isStringLiteral: isStringLiteral$2, isStringLiteralLike, setOriginalNode, getLeadingCommentRanges, isNoSubstitutionTemplateLiteral, NodeFlags: NodeFlags$1, SyntaxKind: SyntaxKind$1 } = typescript.default;
13
13
  function is__String(value) {
14
14
  return typeof value === "string";
@@ -276,7 +276,7 @@ function finish(oldNode, newNode) {
276
276
  }
277
277
 
278
278
  //#endregion
279
- //#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_7b895da70230968802896bd8f1cfd4e0/node_modules/@deepkit/type-compiler/dist/esm/src/resolver.js
279
+ //#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/esm/src/resolver.js
280
280
  const { createSourceFile, resolveModuleName, isStringLiteral: isStringLiteral$1, JSDocParsingMode, ScriptTarget: ScriptTarget$1 } = typescript.default;
281
281
  function patternMatch(path, patterns, base) {
282
282
  const include = patterns.filter((pattern) => pattern[0] !== "!");
@@ -335,7 +335,7 @@ var Resolver = class {
335
335
  };
336
336
 
337
337
  //#endregion
338
- //#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_7b895da70230968802896bd8f1cfd4e0/node_modules/@deepkit/type-compiler/dist/esm/src/debug.js
338
+ //#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/esm/src/debug.js
339
339
  function isDebug(level = 1) {
340
340
  const expected = "deepkit" + (level > 1 ? "+".repeat(level - 1) : "");
341
341
  return "undefined" !== typeof process && "string" === typeof process.env.DEBUG && process.env.DEBUG.includes(expected);
@@ -354,7 +354,7 @@ function debug2(...message) {
354
354
  }
355
355
 
356
356
  //#endregion
357
- //#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_7b895da70230968802896bd8f1cfd4e0/node_modules/@deepkit/type-compiler/dist/esm/src/config.js
357
+ //#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/esm/src/config.js
358
358
  function isObject(obj) {
359
359
  if (!obj) return false;
360
360
  return typeof obj === "object" && !Array.isArray(obj);
@@ -509,7 +509,7 @@ function getConfigResolver(cache, host, compilerOptions, sourceFile, tsConfigPat
509
509
  }
510
510
 
511
511
  //#endregion
512
- //#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_7b895da70230968802896bd8f1cfd4e0/node_modules/@deepkit/type-compiler/dist/esm/src/compiler.js
512
+ //#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/esm/src/compiler.js
513
513
  const { visitEachChild, visitNode, isPropertyAssignment, isArrayTypeNode, isArrowFunction, isBlock, isCallExpression, isCallSignatureDeclaration, isClassDeclaration, isClassExpression, isConstructorDeclaration, isConstructorTypeNode, isConstructSignatureDeclaration, isEnumDeclaration, isExportDeclaration, isExpression, isExpressionWithTypeArguments, isFunctionDeclaration, isFunctionExpression, isFunctionLike, isIdentifier, isImportClause, isImportDeclaration, isImportSpecifier, isInferTypeNode, isInterfaceDeclaration, isMethodDeclaration, isMethodSignature, isModuleDeclaration, isNamedExports, isNamedTupleMember, isNewExpression, isObjectLiteralExpression, isOptionalTypeNode, isParameter, isParenthesizedExpression, isParenthesizedTypeNode, isPropertyAccessExpression, isQualifiedName, isSourceFile, isStringLiteral, isTypeAliasDeclaration, isTypeLiteralNode, isTypeParameterDeclaration, isTypeQueryNode, isTypeReferenceNode, isUnionTypeNode, isExpressionStatement, isVariableDeclaration, getEffectiveConstraintOfTypeParameter, addSyntheticLeadingComment, createCompilerHost, createPrinter, escapeLeadingUnderscores, EmitHint, NodeFlags, SyntaxKind, ScriptTarget, ModifierFlags, ScriptKind } = typescript.default;
514
514
  function encodeOps(ops) {
515
515
  return ops.map((v) => String.fromCharCode(v + 33)).join("");
@@ -2267,7 +2267,7 @@ const declarationTransformer = function deepkitDeclarationTransformer(context) {
2267
2267
  };
2268
2268
 
2269
2269
  //#endregion
2270
- //#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_7b895da70230968802896bd8f1cfd4e0/node_modules/@deepkit/type-compiler/dist/esm/src/loader.js
2270
+ //#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/esm/src/loader.js
2271
2271
  var DeepkitLoader = class {
2272
2272
  constructor() {
2273
2273
  this.options = {
package/dist/deepkit.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_deepkit = require('./deepkit-Cmb6De3Q.cjs');
2
+ const require_deepkit = require('./deepkit-BU3nmGbc.cjs');
3
3
 
4
4
  exports.Cache = require_deepkit.Cache;
5
5
  exports.DeclarationTransformer = require_deepkit.DeclarationTransformer;
@@ -1,7 +1,7 @@
1
1
  import { TypeAnnotation } from "@deepkit/core";
2
2
  import ts, { ArrowFunction, Bundle, ClassDeclaration, ClassExpression, CompilerHost, CompilerOptions, ConstructorDeclaration, CustomTransformer, CustomTransformerFactory, Declaration, EntityName, ExportDeclaration, Expression, ExpressionWithTypeArguments, FunctionDeclaration, FunctionExpression, Identifier, ImportDeclaration, JSDocImportTag, MethodDeclaration, ModuleDeclaration, ModuleExportName, Node, NodeArray, NodeFactory, ParseConfigHost, PropertyAccessExpression, QualifiedName, ResolvedModule, ScriptKind, SourceFile, Statement, StringLiteral, Symbol as Symbol$1, SymbolTable, TransformationContext, TypeAliasDeclaration, TypeChecker, TypeParameterDeclaration, TypeReferenceNode } from "typescript";
3
3
  import { ReflectionOp } from "@deepkit/type-spec";
4
- //#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_7b895da70230968802896bd8f1cfd4e0/node_modules/@deepkit/type-compiler/dist/cjs/src/ts-types.d.ts
4
+ //#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/cjs/src/ts-types.d.ts
5
5
  /**
6
6
  * Contains @internal properties that are not yet in the public API of TS.
7
7
  */
@@ -19,7 +19,7 @@ interface SourceFile$1 extends SourceFile {
19
19
  symbol?: Symbol$1;
20
20
  }
21
21
  //#endregion
22
- //#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_7b895da70230968802896bd8f1cfd4e0/node_modules/@deepkit/type-compiler/dist/cjs/src/reflection-ast.d.ts
22
+ //#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/cjs/src/reflection-ast.d.ts
23
23
  type PackExpression = Expression | string | number | boolean | bigint;
24
24
  type JSDocTagValue = string | boolean;
25
25
  declare class NodeConverter {
@@ -28,7 +28,7 @@ declare class NodeConverter {
28
28
  toExpression<T extends PackExpression | PackExpression[]>(node?: T): Expression;
29
29
  }
30
30
  //#endregion
31
- //#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_7b895da70230968802896bd8f1cfd4e0/node_modules/@deepkit/type-compiler/dist/cjs/src/resolver.d.ts
31
+ //#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/cjs/src/resolver.d.ts
32
32
  /**
33
33
  * A utility to resolve a module path and its declaration.
34
34
  *
@@ -55,7 +55,7 @@ declare class Resolver {
55
55
  resolveSourceFile(sourceFile: SourceFile, modulePath: StringLiteral): SourceFile | undefined;
56
56
  }
57
57
  //#endregion
58
- //#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_7b895da70230968802896bd8f1cfd4e0/node_modules/@deepkit/type-compiler/dist/cjs/src/config.d.ts
58
+ //#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/cjs/src/config.d.ts
59
59
  /**
60
60
  * Default means reflection is enabled for this file.
61
61
  * Never means the whole reflection is disabled for this file.
@@ -94,7 +94,7 @@ type ReflectionConfigCache = {
94
94
  [path: string]: ConfigResolver;
95
95
  };
96
96
  //#endregion
97
- //#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_7b895da70230968802896bd8f1cfd4e0/node_modules/@deepkit/type-compiler/dist/cjs/src/compiler.d.ts
97
+ //#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/cjs/src/compiler.d.ts
98
98
  declare function encodeOps(ops: ReflectionOp[]): string;
99
99
  declare const packSizeByte: number;
100
100
  /**
@@ -423,7 +423,7 @@ declare class DeclarationTransformer extends ReflectionTransformer {
423
423
  declare const transformer: CustomTransformerFactory;
424
424
  declare const declarationTransformer: CustomTransformerFactory;
425
425
  //#endregion
426
- //#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_7b895da70230968802896bd8f1cfd4e0/node_modules/@deepkit/type-compiler/dist/cjs/src/loader.d.ts
426
+ //#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/cjs/src/loader.d.ts
427
427
  declare class DeepkitLoader {
428
428
  protected options: CompilerOptions;
429
429
  protected host: ts.CompilerHost;
@@ -1 +1 @@
1
- {"version":3,"file":"deepkit.d.cts","names":[],"sources":["../../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_7b895da70230968802896bd8f1cfd4e0/node_modules/@deepkit/type-compiler/dist/cjs/src/ts-types.d.ts","../../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_7b895da70230968802896bd8f1cfd4e0/node_modules/@deepkit/type-compiler/dist/cjs/src/reflection-ast.d.ts","../../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_7b895da70230968802896bd8f1cfd4e0/node_modules/@deepkit/type-compiler/dist/cjs/src/resolver.d.ts","../../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_7b895da70230968802896bd8f1cfd4e0/node_modules/@deepkit/type-compiler/dist/cjs/src/config.d.ts","../../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_7b895da70230968802896bd8f1cfd4e0/node_modules/@deepkit/type-compiler/dist/cjs/src/compiler.d.ts","../../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_7b895da70230968802896bd8f1cfd4e0/node_modules/@deepkit/type-compiler/dist/cjs/src/loader.d.ts","../src/deepkit.ts"],"x_google_ignoreList":[0,1,2,3,4,5],"mappings":";;;;;;;UAIiB,qBAAmB;;;;;;EAMhC;EACA,aAAa;EACb,0BAA0B;EAC1B,0BAA0B;EAC1B,wBAAwB;EACxB,SAAS;;;;KCbD,iBAAiB;KAUjB;cA6BS;YACP,GAAG;EACb,YAAY,GAAG;EACf,aAAa,UAAU,iBAAiB,kBAAkB,OAAO,IAAI;;;;;;;;;cCrCpD;EACjB,iBAAiB;EACjB,MAAM;YACI;KACL,mBAAmB;;EAExB,YAAY,iBAAiB,iBAAiB,MAAM,cAAc;KAC7D,mBAAmB;;EAExB,QAAQ,MAAM,YAAY,oBAAoB,oBAAoB,oBAAoB,iBAAiB;YAC7F,YAAY,YAAY,eAAe,YAAY,aAAa;;;;;;;;EAQ1E,kBAAkB,YAAY,YAAY,YAAY,gBAAgB;;;;;;;;;;cCjBrD;KACT,eAAe;UAkCV;;;;;EAKb;;;;;EAKA,wBAAwB;;UAOX,uBAAuB;EACpC;EACA,iBAAiB,GAAG;EACpB;;UAIa;EACb;EACA,cAAc;;KAGN,WAAW,iBAAiB;KAC5B;EACR,OAAO;EACP,QAAQ;;KAEA;GACP,eAAe;;;;iBCxEI,UAAU,KAAK;cAClB;;;;cAIA;iBACG,gBAAgB,YAAY,cAAY,SAAS,MAAM;EAC3E,KAAK;EACL,OAAO;;UAED;EACN;IACI;IACA;;EAEJ;EACA;EACA,WAAW;;KAEV,aAAa;cACJ;EACV,SAAS;EACT,aAAa;YACH,KAAK;YACL,OAAO;YACP;YACA;YACA,OAAO;YACP;IACN,KAAK;;YAEC;IACN,KAAK;;EAET,YAAY,SAAS,MAAM,aAAa;EACxC;IACI,KAAK;IACL,OAAO;;EAEX;EACA;EACA,UAAU,MAAM;EAChB;EACA;EACA,UAAU,KAAK;EACf,cAAc,OAAO,UAAU,KAAK;;;;EAIpC,oBA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;;;;YASL,yBAAyB,SAAS,iBAAiB,MAAM,kBAAkB,sBAAsB;IACvG;;;;;;YAMM,0BAA0B,YAAY,0BAAwB,MAAM;;cAE7D,+BAA+B;YACtC;IACN;;EAEJ,oBAAoB,YAAY,eAAa;;cAE5B,aAAa;cACb,wBAAwB;;;cCzUxB;YACP,SAAS;YACT,MAAM,GAAG;YACT,SAAS,GAAG;YACZ,SAAS,GAAG;YACZ,OAAO;YACP;KACL;;YAEK;KACL,eAAe;;EAEpB;EACA,UAAU,gBAAgB;;;;;;;;;UCWb;EACf;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;IACc;IAAe;IAAsB;;EAEnD;EACA;EACA;EACA;EACA;;;;;;;;;;KAWU,WAAW,UAAU,qBAAqB,6BAEpD;;;;;;;;;KAWU,GAAG,oBAAoB,qBAAqB;;;;;;;;;KAU5C,MAAM,oBAAoB,wBAAwB;;;;;;;;;KAUlD,YAAY,oBAAoB,8BAA8B;;;;;;;;;KAU9D,KAAK,oBAAoB,uBAAuB;;;;;;;;;KAUhD,MAAM,+BAA+B,wBAAwB;;;;;;;;;KAU7D,KAAK,+BAA+B,uBAAuB;;;;;;;;;KAU3D,aAAa;;;;;;;;;KAUb,SAAS;;;;;;;;;KAUT,SAAS;;;;;;;;;KAUT,WAAW;;;;;;;;;KAUX,UAAU;;;;KAKV;EACE;EAAe;EAAsB;;;;;;;;;;KAUvC,SAAS,mBAAmB,mBAAmB,2BAEzD;;;;;;;;;KAWU,WAAW;;;;;;;;;KAUX,YAAY;;;;;;;;;KAUZ,gBAAgB,oBAAoB,kCAE9C;;;;;;;;;KAWU,iBAAiB,oBAAoB,mCAE/C;;;;;;;;;KAWU,cAAc,oBAAoB,gCAE5C"}
1
+ {"version":3,"file":"deepkit.d.cts","names":[],"sources":["../../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/cjs/src/ts-types.d.ts","../../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/cjs/src/reflection-ast.d.ts","../../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/cjs/src/resolver.d.ts","../../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/cjs/src/config.d.ts","../../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/cjs/src/compiler.d.ts","../../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/cjs/src/loader.d.ts","../src/deepkit.ts"],"x_google_ignoreList":[0,1,2,3,4,5],"mappings":";;;;;;;UAIiB,qBAAmB;;;;;;EAMhC;EACA,aAAa;EACb,0BAA0B;EAC1B,0BAA0B;EAC1B,wBAAwB;EACxB,SAAS;;;;KCbD,iBAAiB;KAUjB;cA6BS;YACP,GAAG;EACb,YAAY,GAAG;EACf,aAAa,UAAU,iBAAiB,kBAAkB,OAAO,IAAI;;;;;;;;;cCrCpD;EACjB,iBAAiB;EACjB,MAAM;YACI;KACL,mBAAmB;;EAExB,YAAY,iBAAiB,iBAAiB,MAAM,cAAc;KAC7D,mBAAmB;;EAExB,QAAQ,MAAM,YAAY,oBAAoB,oBAAoB,oBAAoB,iBAAiB;YAC7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B,qBAAqB;;;;;;;;;KAU5C,MAAM,oBAAoB,wBAAwB;;;;;;;;;KAUlD,YAAY,oBAAoB,8BAA8B;;;;;;;;;KAU9D,KAAK,oBAAoB,uBAAuB;;;;;;;;;KAUhD,MAAM,+BAA+B,wBAAwB;;;;;;;;;KAU7D,KAAK,+BAA+B,uBAAuB;;;;;;;;;KAU3D,aAAa;;;;;;;;;KAUb,SAAS;;;;;;;;;KAUT,SAAS;;;;;;;;;KAUT,WAAW;;;;;;;;;KAUX,UAAU;;;;KAKV;EACE;EAAe;EAAsB;;;;;;;;;;KAUvC,SAAS,mBAAmB,mBAAmB,2BAEzD;;;;;;;;;KAWU,WAAW;;;;;;;;;KAUX,YAAY;;;;;;;;;KAUZ,gBAAgB,oBAAoB,kCAE9C;;;;;;;;;KAWU,iBAAiB,oBAAoB,mCAE/C;;;;;;;;;KAWU,cAAc,oBAAoB,gCAE5C"}
@@ -1,7 +1,7 @@
1
1
  import ts, { ArrowFunction, Bundle, ClassDeclaration, ClassExpression, CompilerHost, CompilerOptions, ConstructorDeclaration, CustomTransformer, CustomTransformerFactory, Declaration, EntityName, ExportDeclaration, Expression, ExpressionWithTypeArguments, FunctionDeclaration, FunctionExpression, Identifier, ImportDeclaration, JSDocImportTag, MethodDeclaration, ModuleDeclaration, ModuleExportName, Node, NodeArray, NodeFactory, ParseConfigHost, PropertyAccessExpression, QualifiedName, ResolvedModule, ScriptKind, SourceFile, Statement, StringLiteral, Symbol as Symbol$1, SymbolTable, TransformationContext, TypeAliasDeclaration, TypeChecker, TypeParameterDeclaration, TypeReferenceNode } from "typescript";
2
2
  import { ReflectionOp } from "@deepkit/type-spec";
3
3
  import { TypeAnnotation } from "@deepkit/core";
4
- //#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_7b895da70230968802896bd8f1cfd4e0/node_modules/@deepkit/type-compiler/dist/cjs/src/ts-types.d.ts
4
+ //#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/cjs/src/ts-types.d.ts
5
5
  /**
6
6
  * Contains @internal properties that are not yet in the public API of TS.
7
7
  */
@@ -19,7 +19,7 @@ interface SourceFile$1 extends SourceFile {
19
19
  symbol?: Symbol$1;
20
20
  }
21
21
  //#endregion
22
- //#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_7b895da70230968802896bd8f1cfd4e0/node_modules/@deepkit/type-compiler/dist/cjs/src/reflection-ast.d.ts
22
+ //#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/cjs/src/reflection-ast.d.ts
23
23
  type PackExpression = Expression | string | number | boolean | bigint;
24
24
  type JSDocTagValue = string | boolean;
25
25
  declare class NodeConverter {
@@ -28,7 +28,7 @@ declare class NodeConverter {
28
28
  toExpression<T extends PackExpression | PackExpression[]>(node?: T): Expression;
29
29
  }
30
30
  //#endregion
31
- //#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_7b895da70230968802896bd8f1cfd4e0/node_modules/@deepkit/type-compiler/dist/cjs/src/resolver.d.ts
31
+ //#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/cjs/src/resolver.d.ts
32
32
  /**
33
33
  * A utility to resolve a module path and its declaration.
34
34
  *
@@ -55,7 +55,7 @@ declare class Resolver {
55
55
  resolveSourceFile(sourceFile: SourceFile, modulePath: StringLiteral): SourceFile | undefined;
56
56
  }
57
57
  //#endregion
58
- //#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_7b895da70230968802896bd8f1cfd4e0/node_modules/@deepkit/type-compiler/dist/cjs/src/config.d.ts
58
+ //#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/cjs/src/config.d.ts
59
59
  /**
60
60
  * Default means reflection is enabled for this file.
61
61
  * Never means the whole reflection is disabled for this file.
@@ -94,7 +94,7 @@ type ReflectionConfigCache = {
94
94
  [path: string]: ConfigResolver;
95
95
  };
96
96
  //#endregion
97
- //#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_7b895da70230968802896bd8f1cfd4e0/node_modules/@deepkit/type-compiler/dist/cjs/src/compiler.d.ts
97
+ //#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/cjs/src/compiler.d.ts
98
98
  declare function encodeOps(ops: ReflectionOp[]): string;
99
99
  declare const packSizeByte: number;
100
100
  /**
@@ -423,7 +423,7 @@ declare class DeclarationTransformer extends ReflectionTransformer {
423
423
  declare const transformer: CustomTransformerFactory;
424
424
  declare const declarationTransformer: CustomTransformerFactory;
425
425
  //#endregion
426
- //#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_7b895da70230968802896bd8f1cfd4e0/node_modules/@deepkit/type-compiler/dist/cjs/src/loader.d.ts
426
+ //#region ../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/cjs/src/loader.d.ts
427
427
  declare class DeepkitLoader {
428
428
  protected options: CompilerOptions;
429
429
  protected host: ts.CompilerHost;
@@ -1 +1 @@
1
- {"version":3,"file":"deepkit.d.mts","names":[],"sources":["../../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_7b895da70230968802896bd8f1cfd4e0/node_modules/@deepkit/type-compiler/dist/cjs/src/ts-types.d.ts","../../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_7b895da70230968802896bd8f1cfd4e0/node_modules/@deepkit/type-compiler/dist/cjs/src/reflection-ast.d.ts","../../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_7b895da70230968802896bd8f1cfd4e0/node_modules/@deepkit/type-compiler/dist/cjs/src/resolver.d.ts","../../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_7b895da70230968802896bd8f1cfd4e0/node_modules/@deepkit/type-compiler/dist/cjs/src/config.d.ts","../../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_7b895da70230968802896bd8f1cfd4e0/node_modules/@deepkit/type-compiler/dist/cjs/src/compiler.d.ts","../../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_7b895da70230968802896bd8f1cfd4e0/node_modules/@deepkit/type-compiler/dist/cjs/src/loader.d.ts","../src/deepkit.ts"],"x_google_ignoreList":[0,1,2,3,4,5],"mappings":""}
1
+ {"version":3,"file":"deepkit.d.mts","names":[],"sources":["../../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/cjs/src/ts-types.d.ts","../../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/cjs/src/reflection-ast.d.ts","../../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/cjs/src/resolver.d.ts","../../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/cjs/src/config.d.ts","../../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/cjs/src/compiler.d.ts","../../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.19_patch_hash=bd438188cbc12e606ed4d519c25ab921a833fbc2d92357_18a767a1b0570b9b883283d00dc755df/node_modules/@deepkit/type-compiler/dist/cjs/src/loader.d.ts","../src/deepkit.ts"],"x_google_ignoreList":[0,1,2,3,4,5],"mappings":""}
package/dist/deepkit.mjs CHANGED
@@ -1,3 +1,3 @@
1
- import { a as debugPackStruct, c as packSize, i as ReflectionTransformer, l as packSizeByte, n as Cache, o as declarationTransformer, r as DeclarationTransformer, s as encodeOps, t as DeepkitLoader, u as transformer } from "./deepkit-BdYKLoLI.mjs";
1
+ import { a as debugPackStruct, c as packSize, i as ReflectionTransformer, l as packSizeByte, n as Cache, o as declarationTransformer, r as DeclarationTransformer, s as encodeOps, t as DeepkitLoader, u as transformer } from "./deepkit-BB4a-OX1.mjs";
2
2
 
3
3
  export { Cache, DeclarationTransformer, DeepkitLoader, ReflectionTransformer, debugPackStruct, declarationTransformer, encodeOps, packSize, packSizeByte, transformer };
package/dist/index.cjs CHANGED
@@ -2,7 +2,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  const require_rolldown_runtime = require('./rolldown-runtime-C24Yb2bl.cjs');
3
3
  const require_constants = require('./constants-CPMTQEYP.cjs');
4
4
  const require_helpers = require('./helpers-C34rr_D0.cjs');
5
- const require_deepkit = require('./deepkit-Cmb6De3Q.cjs');
5
+ const require_deepkit = require('./deepkit-BU3nmGbc.cjs');
6
6
  const require_codegen = require('./codegen.cjs');
7
7
  const require_storage = require('./storage-BLfnq6kZ.cjs');
8
8
  let _stryke_type_checks_is_set_object = require("@stryke/type-checks/is-set-object");
@@ -1001,9 +1001,14 @@ async function extractTSType(input, options = {}) {
1001
1001
  const fileReference = (0, _stryke_convert_extract_file_reference.extractFileReference)(input);
1002
1002
  if (!fileReference) throw new Error(`Failed to extract a file reference from the provided input. The input must be a string or an object with a "file" property that specifies the file path and optional export name.`);
1003
1003
  const exportName = fileReference.export ?? "default";
1004
- const resolvedPath = await (0, _stryke_fs_resolve.resolveSafe)(fileReference.file, { fs: options.fs });
1004
+ const cwd = options.cwd || (options.tsconfig ? (0, _stryke_path_find.findFilePath)(options.tsconfig) : void 0) || process.cwd();
1005
+ const resolvePaths = [cwd].filter(Boolean);
1006
+ let resolvedPath = await (0, _stryke_fs_resolve.resolveSafe)(fileReference.file, { paths: resolvePaths });
1007
+ resolvedPath ??= await (0, _stryke_fs_resolve.resolveSafe)(fileReference.file, {
1008
+ fs: options.fs,
1009
+ paths: resolvePaths
1010
+ });
1005
1011
  const filePath = resolvedPath || fileReference.file;
1006
- const cwd = options.cwd || process.cwd();
1007
1012
  const esbuildOverrides = (0, _stryke_helpers_omit.omit)(options, [
1008
1013
  "cwd",
1009
1014
  "fs",
@@ -1011,7 +1016,28 @@ async function extractTSType(input, options = {}) {
1011
1016
  "storage",
1012
1017
  "tsconfig",
1013
1018
  "reflection",
1014
- "exclude"
1019
+ "exclude",
1020
+ "packages",
1021
+ "external",
1022
+ "outdir",
1023
+ "outfile",
1024
+ "entryPoints",
1025
+ "entryNames",
1026
+ "write",
1027
+ "bundle",
1028
+ "splitting",
1029
+ "metafile",
1030
+ "minify",
1031
+ "legalComments",
1032
+ "plugins",
1033
+ "absWorkingDir",
1034
+ "alias",
1035
+ "inject",
1036
+ "define",
1037
+ "mainFields",
1038
+ "conditions",
1039
+ "resolveExtensions",
1040
+ "nodePaths"
1015
1041
  ]);
1016
1042
  try {
1017
1043
  options.logger?.debug?.(`Generating JSON schema for bundled "${filePath}" using the type "${exportName}"`);
@@ -1023,10 +1049,11 @@ async function extractTSType(input, options = {}) {
1023
1049
  write: false,
1024
1050
  sourcemap: false,
1025
1051
  splitting: false,
1026
- keepNames: true
1052
+ keepNames: true,
1053
+ packages: "bundle",
1054
+ bundle: true
1027
1055
  }, esbuildOverrides, {
1028
1056
  treeShaking: true,
1029
- bundle: true,
1030
1057
  metafile: false,
1031
1058
  minify: true,
1032
1059
  legalComments: "none",
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../src/compatibility.ts","../src/extract.ts","../src/helpers.ts","../src/metadata.ts","../src/type-checks.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;iBAyGgB,yBACd,MAAM,YACN,UAAU,YACV;;;;;;;;;iBAqHc,6BACd,MAAM,YACN,UAAU,YACV;;;;;;;;;iBCqDc,iBAAiB,QAAQ,aAAa;;;;iBAgMtC,YACd,SAAS,qBACT,OAAO;;;;iBA8CO,kBAAkB,YAAY,OAAO;;;;;;;iBAcrC,kBAAkB,kBAAkB;;;;;;;;iBAoCpC,uBACd,OAAO,qBACN;;;;;;;iBA4Ba,eAAe,OAAO,eAAe;;;;;;;;;iBAsB/B,cACpB,OAAO,oBACP,UAAU,sBACT,QAAQ;;;;;;;;;iBAqCK,cACd,SAAS,qBACT,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iBAAiB,SAAS;;;;;;;;;;iBAsCvC,qBAAqB,iBAAiB,SAAS;;;;;;;;;;iBAa/C,gBAAgB,iBAAiB,SAAS;;;;;;;;;;;iBAyD1C,sBAAsB,iBAAiB,SAAS;;;;;;;;;;;cAoBnD,uBAAc;iBAEX,gBAAgB,iBAAiB,SAAS;;;;;;;;;;;;cA2B7C,6BAAoB;iBAEjB,sBACd,iBACC,SAAS;;;;;;;iBAuBI,SAAS,iBAAiB,SAAS;;;;;;;iBAkBnC,WAAW,OACzB,iBACC,SAAS,iBAAiB;;;;;;;iBAUb,mBAAmB,iBAAiB,SAAS;;;;;;;iBAiB7C,eACd,iBACC,SAAS,eAAe"}
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../src/compatibility.ts","../src/extract.ts","../src/helpers.ts","../src/metadata.ts","../src/type-checks.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;iBAyGgB,yBACd,MAAM,YACN,UAAU,YACV;;;;;;;;;iBAqHc,6BACd,MAAM,YACN,UAAU,YACV;;;;;;;;;iBCqDc,iBAAiB,QAAQ,aAAa;;;;iBAgMtC,YACd,SAAS,qBACT,OAAO;;;;iBA8CO,kBAAkB,YAAY,OAAO;;;;;;;iBAcrC,kBAAkB,kBAAkB;;;;;;;;iBAoCpC,uBACd,OAAO,qBACN;;;;;;;iBA4Ba,eAAe,OAAO,eAAe;;;;;;;;;iBAsB/B,cACpB,OAAO,oBACP,UAAU,sBACT,QAAQ;;;;;;;;;iBAqCK,cACd,SAAS,qBACT,OAAO,qBACN;;;;;;;;;;;;iBA8Ja,oBACd,SAAS;EAAuB,KAAK;IACpC;;;;;;;;;;;iBAuEmB,cACpB,OAAO,oBACP,UAAS,wBAAwB,SAAS,qBACzC,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA0MW,wBAAwB,aAC5C,OAAO,cACP,UAAS,2BAA2B,SACnC,QAAQ,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AS;;;;;;;iBAkBnC,WAAW,OACzB,iBACC,SAAS,iBAAiB;;;;;;;iBAUb,mBAAmB,iBAAiB,SAAS;;;;;;;iBAiB7C,eACd,iBACC,SAAS,eAAe"}
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { i as ReflectionTransformer, n as Cache, r as DeclarationTransformer } from "./deepkit-BdYKLoLI.mjs";
1
+ import { i as ReflectionTransformer, n as Cache, r as DeclarationTransformer } from "./deepkit-BB4a-OX1.mjs";
2
2
  import { a as JSON_SCHEMA_TYPES, c as SCHEMA_RECORD_KEYWORDS, i as JSON_SCHEMA_PRIMITIVE_TYPES, l as SCHEMA_SINGLE_KEYWORDS, n as JSON_SCHEMA_CONSTRUCTOR_KEY, o as JsonSchemaTypeNames, r as JSON_SCHEMA_METADATA_KEYS, s as SCHEMA_ARRAY_CONCAT_KEYWORDS, t as JSON_SCHEMA_ANY } from "./constants-D0asFRyy.mjs";
3
3
  import { $ as isUntypedConfig, A as isJsonSchemaNativeEnum, B as isJsonSchemaSet, C as isJsonSchemaDate, D as isJsonSchemaKeywords, E as isJsonSchemaInteger, F as isJsonSchemaObject, G as isJsonSchemaUnion, H as isJsonSchemaTuple, I as isJsonSchemaPrimitiveType, J as isSchema, K as isJsonSchemaUnknown, L as isJsonSchemaPrimitiveUnion, M as isJsonSchemaNull, N as isJsonSchemaNullable, O as isJsonSchemaLiteral, P as isJsonSchemaNumber, Q as isStandardSchema, R as isJsonSchemaRecord, S as isJsonSchemaBoolean, T as isJsonSchemaEnum, U as isJsonSchemaType, V as isJsonSchemaString, W as isJsonSchemaUndefined, X as isSchemaOf, Y as isSchemaObject, Z as isSchemaWithSource, _ as isJsonSchemaAllOf, a as getPropertiesList, at as isValibotSchema, b as isJsonSchemaArray, c as isSchemaNullable, ct as readSchemaTypes, d as merge, et as isUntypedConfigStrict, f as mergeMetadata, g as isJsonSchema, h as isFileReference, i as getProperties, it as isUntypedSchemaStrict, j as isJsonSchemaNever, k as isJsonSchemaMap, l as isValidSchemaConfigFile, m as hasJsonSchemaConstructorFlag, n as getJsonSchema, nt as isUntypedInputStrict, o as getProperty, ot as applyJsonSchemaMetadata, p as traverseSchema, q as isNullOnlyJsonSchema, r as getJsonSchemaObject, rt as isUntypedSchema, s as isPropertyOptional, st as getPrimarySchemaType, t as addProperty, tt as isUntypedInput, u as isValidSchemaInputFile, v as isJsonSchemaAny, w as isJsonSchemaDecimal, x as isJsonSchemaBigint, y as isJsonSchemaAnyOf, z as isJsonSchemaRef } from "./helpers-BCP4VzlJ.mjs";
4
4
  import { getJsonSchemaType } from "./codegen.mjs";
@@ -997,9 +997,14 @@ async function extractTSType(input, options = {}) {
997
997
  const fileReference = extractFileReference(input);
998
998
  if (!fileReference) throw new Error(`Failed to extract a file reference from the provided input. The input must be a string or an object with a "file" property that specifies the file path and optional export name.`);
999
999
  const exportName = fileReference.export ?? "default";
1000
- const resolvedPath = await resolveSafe(fileReference.file, { fs: options.fs });
1000
+ const cwd = options.cwd || (options.tsconfig ? findFilePath(options.tsconfig) : void 0) || process.cwd();
1001
+ const resolvePaths = [cwd].filter(Boolean);
1002
+ let resolvedPath = await resolveSafe(fileReference.file, { paths: resolvePaths });
1003
+ resolvedPath ??= await resolveSafe(fileReference.file, {
1004
+ fs: options.fs,
1005
+ paths: resolvePaths
1006
+ });
1001
1007
  const filePath = resolvedPath || fileReference.file;
1002
- const cwd = options.cwd || process.cwd();
1003
1008
  const esbuildOverrides = omit(options, [
1004
1009
  "cwd",
1005
1010
  "fs",
@@ -1007,7 +1012,28 @@ async function extractTSType(input, options = {}) {
1007
1012
  "storage",
1008
1013
  "tsconfig",
1009
1014
  "reflection",
1010
- "exclude"
1015
+ "exclude",
1016
+ "packages",
1017
+ "external",
1018
+ "outdir",
1019
+ "outfile",
1020
+ "entryPoints",
1021
+ "entryNames",
1022
+ "write",
1023
+ "bundle",
1024
+ "splitting",
1025
+ "metafile",
1026
+ "minify",
1027
+ "legalComments",
1028
+ "plugins",
1029
+ "absWorkingDir",
1030
+ "alias",
1031
+ "inject",
1032
+ "define",
1033
+ "mainFields",
1034
+ "conditions",
1035
+ "resolveExtensions",
1036
+ "nodePaths"
1011
1037
  ]);
1012
1038
  try {
1013
1039
  options.logger?.debug?.(`Generating JSON schema for bundled "${filePath}" using the type "${exportName}"`);
@@ -1019,10 +1045,11 @@ async function extractTSType(input, options = {}) {
1019
1045
  write: false,
1020
1046
  sourcemap: false,
1021
1047
  splitting: false,
1022
- keepNames: true
1048
+ keepNames: true,
1049
+ packages: "bundle",
1050
+ bundle: true
1023
1051
  }, esbuildOverrides, {
1024
1052
  treeShaking: true,
1025
- bundle: true,
1026
1053
  metafile: false,
1027
1054
  minify: true,
1028
1055
  legalComments: "none",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@power-plant/schema",
3
- "version": "0.0.83",
3
+ "version": "0.0.84",
4
4
  "private": false,
5
5
  "description": "A Power Plant utility package to help managing schemas.",
6
6
  "keywords": [
@@ -185,5 +185,5 @@
185
185
  },
186
186
  "publishConfig": { "access": "public" },
187
187
  "inlinedDependencies": { "@deepkit/type-compiler": "1.0.19" },
188
- "gitHead": "681185c0980c7d8645734f3b5dc6a2fa1483bc52"
188
+ "gitHead": "f7963dd60f2c6a3346a106fb7c51e290e3192361"
189
189
  }
@@ -1 +0,0 @@
1
- {"version":3,"file":"deepkit-BdYKLoLI.mjs","names":[],"sources":[],"mappings":""}