@lark-apaas/devtool-kits 1.2.6 → 1.2.7

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.
package/dist/index.d.cts CHANGED
@@ -11,9 +11,19 @@ declare function normalizeBasePath(basePath: string): string;
11
11
  type PostprocessStats = {
12
12
  replacedUnknown: number;
13
13
  unmatchedUnknown: string[];
14
+ patchedDefects: number;
15
+ replacedTimestamps: number;
16
+ replacedDefaultNow: number;
14
17
  };
15
18
  declare function postprocessDrizzleSchema(targetPath: string): PostprocessStats | undefined;
16
19
 
20
+ interface Options {
21
+ tsConfigFilePath: string;
22
+ schemaFilePath: string;
23
+ moduleOutputDir: string;
24
+ }
25
+ declare function parseAndGenerateNestResourceTemplate(options: Options): Promise<void>;
26
+
17
27
  /**
18
28
  * Proxy Error Handler 选项
19
29
  */
@@ -238,4 +248,4 @@ declare function createCollectLogsMiddleware(options?: DevLogsMiddlewareOptions)
238
248
  */
239
249
  declare function registerMiddlewares(server: ExpressApp | ViteMiddleware, middlewares: Middleware[], options?: Partial<MiddlewareContext>): Promise<void>;
240
250
 
241
- export { type GlobalMiddleware, type Middleware, type MiddlewareContext, type RouteInfo, type RouteMiddleware, createCollectLogsMiddleware, createDevLogsMiddleware, createOpenapiMiddleware, handleDevProxyError, normalizeBasePath, postprocessDrizzleSchema, registerMiddlewares };
251
+ export { type GlobalMiddleware, type Middleware, type MiddlewareContext, type Options, type RouteInfo, type RouteMiddleware, createCollectLogsMiddleware, createDevLogsMiddleware, createOpenapiMiddleware, handleDevProxyError, normalizeBasePath, parseAndGenerateNestResourceTemplate, postprocessDrizzleSchema, registerMiddlewares };
package/dist/index.d.ts CHANGED
@@ -11,9 +11,19 @@ declare function normalizeBasePath(basePath: string): string;
11
11
  type PostprocessStats = {
12
12
  replacedUnknown: number;
13
13
  unmatchedUnknown: string[];
14
+ patchedDefects: number;
15
+ replacedTimestamps: number;
16
+ replacedDefaultNow: number;
14
17
  };
15
18
  declare function postprocessDrizzleSchema(targetPath: string): PostprocessStats | undefined;
16
19
 
20
+ interface Options {
21
+ tsConfigFilePath: string;
22
+ schemaFilePath: string;
23
+ moduleOutputDir: string;
24
+ }
25
+ declare function parseAndGenerateNestResourceTemplate(options: Options): Promise<void>;
26
+
17
27
  /**
18
28
  * Proxy Error Handler 选项
19
29
  */
@@ -238,4 +248,4 @@ declare function createCollectLogsMiddleware(options?: DevLogsMiddlewareOptions)
238
248
  */
239
249
  declare function registerMiddlewares(server: ExpressApp | ViteMiddleware, middlewares: Middleware[], options?: Partial<MiddlewareContext>): Promise<void>;
240
250
 
241
- export { type GlobalMiddleware, type Middleware, type MiddlewareContext, type RouteInfo, type RouteMiddleware, createCollectLogsMiddleware, createDevLogsMiddleware, createOpenapiMiddleware, handleDevProxyError, normalizeBasePath, postprocessDrizzleSchema, registerMiddlewares };
251
+ export { type GlobalMiddleware, type Middleware, type MiddlewareContext, type Options, type RouteInfo, type RouteMiddleware, createCollectLogsMiddleware, createDevLogsMiddleware, createOpenapiMiddleware, handleDevProxyError, normalizeBasePath, parseAndGenerateNestResourceTemplate, postprocessDrizzleSchema, registerMiddlewares };