@dudousxd/nestjs-codegen 0.29.0 → 0.30.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.
@@ -1,2 +1,2 @@
1
- export { m as ApiClientLayer, n as ApiHeaderContribution, o as ApiModuleDeps, C as CodegenExtension, p as EmittedFile, E as ExtensionContext, L as LeafModel, q as RequestModel, s as RequestShape, t as defineExtension, u as requestShape } from '../index-Dc4s883u.cjs';
1
+ export { l as ApiClientLayer, m as ApiHeaderContribution, n as ApiModuleDeps, C as CodegenExtension, o as EmittedFile, E as ExtensionContext, L as LeafModel, p as RequestModel, q as RequestShape, s as defineExtension, t as requestShape } from '../index-D4Blt-RT.cjs';
2
2
  import 'ts-morph';
@@ -1,2 +1,2 @@
1
- export { m as ApiClientLayer, n as ApiHeaderContribution, o as ApiModuleDeps, C as CodegenExtension, p as EmittedFile, E as ExtensionContext, L as LeafModel, q as RequestModel, s as RequestShape, t as defineExtension, u as requestShape } from '../index-Dc4s883u.js';
1
+ export { l as ApiClientLayer, m as ApiHeaderContribution, n as ApiModuleDeps, C as CodegenExtension, o as EmittedFile, E as ExtensionContext, L as LeafModel, p as RequestModel, q as RequestShape, s as defineExtension, t as requestShape } from '../index-D4Blt-RT.js';
2
2
  import 'ts-morph';
@@ -261,12 +261,6 @@ interface UserConfig {
261
261
  /** Debounce delay in ms before re-running route discovery. Default: `500` */
262
262
  debounceMs?: number;
263
263
  };
264
- /**
265
- * @deprecated Has no effect: discovery never read it. For several Inertia apps use
266
- * `pages.scopes`; for several controller sets use one `contracts.glob` (brace/extglob).
267
- * A config that sets it gets a warning.
268
- */
269
- scopes?: Record<string, ScopeConfig>;
270
264
  codegen?: {
271
265
  outDir?: string;
272
266
  cwd?: string;
@@ -362,11 +356,6 @@ interface UserConfig {
362
356
  */
363
357
  driftGuard?: boolean;
364
358
  }
365
- /** @deprecated See `UserConfig.scopes`. */
366
- interface ScopeConfig {
367
- glob: string;
368
- prefix?: string;
369
- }
370
359
  /** How a page file's path (relative to its glob's static base) becomes its component name. */
371
360
  type PageNameStrategy = 'relative-no-ext' | 'kebab' | ((path: string) => string);
372
361
  /** One more Inertia app (an `InertiaModule.forFeature({ scope })`) — see `pages.scopes`. */
@@ -430,7 +419,6 @@ interface ResolvedConfig {
430
419
  validation: ValidationAdapter;
431
420
  pages: ResolvedPagesConfig | null;
432
421
  contracts: ResolvedContractsConfig;
433
- scopes: Record<string, ScopeConfig>;
434
422
  codegen: ResolvedCodegenConfig;
435
423
  app: ResolvedAppConfig | null;
436
424
  fetcher: {
@@ -877,4 +865,4 @@ declare function requestShape(route: RouteDescriptor): RequestShape;
877
865
  /** Identity helper for authoring extensions with full type inference. */
878
866
  declare function defineExtension(ext: CodegenExtension): CodegenExtension;
879
867
 
880
- export { type AdapterUsage as A, type CodegenExtension as C, type ExtensionContext as E, type LeafModel as L, type NumberCheck as N, type ResolvedConfig as R, type SchemaNode as S, type TypeRef as T, type UserConfig as U, type ValidationAdapter as V, type RouteDescriptor as a, type RenderContext as b, type SchemaModule as c, type RenderedModule as d, type ResolvedFormsConfig as e, type SerializationMode as f, type ContractDescriptor as g, type ContractSource as h, type ControllerRef as i, type ScopeConfig as j, type StringCheck as k, type ValidationOption as l, type ApiClientLayer as m, type ApiHeaderContribution as n, type ApiModuleDeps as o, type EmittedFile as p, type RequestModel as q, resolveAdapter as r, type RequestShape as s, defineExtension as t, requestShape as u };
868
+ export { type AdapterUsage as A, type CodegenExtension as C, type ExtensionContext as E, type LeafModel as L, type NumberCheck as N, type ResolvedConfig as R, type SchemaNode as S, type TypeRef as T, type UserConfig as U, type ValidationAdapter as V, type RouteDescriptor as a, type RenderContext as b, type SchemaModule as c, type RenderedModule as d, type ResolvedFormsConfig as e, type SerializationMode as f, type ContractDescriptor as g, type ContractSource as h, type ControllerRef as i, type StringCheck as j, type ValidationOption as k, type ApiClientLayer as l, type ApiHeaderContribution as m, type ApiModuleDeps as n, type EmittedFile as o, type RequestModel as p, type RequestShape as q, resolveAdapter as r, defineExtension as s, requestShape as t };
@@ -261,12 +261,6 @@ interface UserConfig {
261
261
  /** Debounce delay in ms before re-running route discovery. Default: `500` */
262
262
  debounceMs?: number;
263
263
  };
264
- /**
265
- * @deprecated Has no effect: discovery never read it. For several Inertia apps use
266
- * `pages.scopes`; for several controller sets use one `contracts.glob` (brace/extglob).
267
- * A config that sets it gets a warning.
268
- */
269
- scopes?: Record<string, ScopeConfig>;
270
264
  codegen?: {
271
265
  outDir?: string;
272
266
  cwd?: string;
@@ -362,11 +356,6 @@ interface UserConfig {
362
356
  */
363
357
  driftGuard?: boolean;
364
358
  }
365
- /** @deprecated See `UserConfig.scopes`. */
366
- interface ScopeConfig {
367
- glob: string;
368
- prefix?: string;
369
- }
370
359
  /** How a page file's path (relative to its glob's static base) becomes its component name. */
371
360
  type PageNameStrategy = 'relative-no-ext' | 'kebab' | ((path: string) => string);
372
361
  /** One more Inertia app (an `InertiaModule.forFeature({ scope })`) — see `pages.scopes`. */
@@ -430,7 +419,6 @@ interface ResolvedConfig {
430
419
  validation: ValidationAdapter;
431
420
  pages: ResolvedPagesConfig | null;
432
421
  contracts: ResolvedContractsConfig;
433
- scopes: Record<string, ScopeConfig>;
434
422
  codegen: ResolvedCodegenConfig;
435
423
  app: ResolvedAppConfig | null;
436
424
  fetcher: {
@@ -877,4 +865,4 @@ declare function requestShape(route: RouteDescriptor): RequestShape;
877
865
  /** Identity helper for authoring extensions with full type inference. */
878
866
  declare function defineExtension(ext: CodegenExtension): CodegenExtension;
879
867
 
880
- export { type AdapterUsage as A, type CodegenExtension as C, type ExtensionContext as E, type LeafModel as L, type NumberCheck as N, type ResolvedConfig as R, type SchemaNode as S, type TypeRef as T, type UserConfig as U, type ValidationAdapter as V, type RouteDescriptor as a, type RenderContext as b, type SchemaModule as c, type RenderedModule as d, type ResolvedFormsConfig as e, type SerializationMode as f, type ContractDescriptor as g, type ContractSource as h, type ControllerRef as i, type ScopeConfig as j, type StringCheck as k, type ValidationOption as l, type ApiClientLayer as m, type ApiHeaderContribution as n, type ApiModuleDeps as o, type EmittedFile as p, type RequestModel as q, resolveAdapter as r, type RequestShape as s, defineExtension as t, requestShape as u };
868
+ export { type AdapterUsage as A, type CodegenExtension as C, type ExtensionContext as E, type LeafModel as L, type NumberCheck as N, type ResolvedConfig as R, type SchemaNode as S, type TypeRef as T, type UserConfig as U, type ValidationAdapter as V, type RouteDescriptor as a, type RenderContext as b, type SchemaModule as c, type RenderedModule as d, type ResolvedFormsConfig as e, type SerializationMode as f, type ContractDescriptor as g, type ContractSource as h, type ControllerRef as i, type StringCheck as j, type ValidationOption as k, type ApiClientLayer as l, type ApiHeaderContribution as m, type ApiModuleDeps as n, type EmittedFile as o, type RequestModel as p, type RequestShape as q, resolveAdapter as r, defineExtension as s, requestShape as t };