@akanjs/cli 0.9.45 → 0.9.47
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.
|
@@ -26,7 +26,7 @@ function getContent(scanInfo, dict) {
|
|
|
26
26
|
return `
|
|
27
27
|
import { LogService, Service } from "@akanjs/service";
|
|
28
28
|
|
|
29
|
-
@Service("${dict.
|
|
30
|
-
export class ${dict.AppName}Service extends LogService("${dict.
|
|
29
|
+
@Service("${dict.AppName}Service", { serverMode: "batch" })
|
|
30
|
+
export class ${dict.AppName}Service extends LogService("${dict.AppName}Service") {}
|
|
31
31
|
`;
|
|
32
32
|
}
|
|
@@ -70,6 +70,7 @@ ${databaseModules.map(([model]) => ` register${capitalize(model)}Module(),`).
|
|
|
70
70
|
export { env } from "./env/env.server.testing";
|
|
71
71
|
export * as db from "./lib/db";
|
|
72
72
|
export * as srv from "./lib/srv";
|
|
73
|
+
export * as sig from "./lib/sig";
|
|
73
74
|
export * as option from "./lib/option";
|
|
74
75
|
export * as cnst from "./lib/cnst";
|
|
75
76
|
export { fetch } from "./lib/sig";
|
|
@@ -3,8 +3,8 @@ function getContent(scanInfo, dict) {
|
|
|
3
3
|
return `
|
|
4
4
|
import { LogService, Service } from "@akanjs/service";
|
|
5
5
|
|
|
6
|
-
@Service("${dict.
|
|
7
|
-
export class ${dict.AppName}Service extends LogService("${dict.
|
|
6
|
+
@Service("${dict.AppName}Service", { serverMode: "batch" })
|
|
7
|
+
export class ${dict.AppName}Service extends LogService("${dict.AppName}Service") {}
|
|
8
8
|
`;
|
|
9
9
|
}
|
|
10
10
|
export {
|
|
@@ -47,6 +47,7 @@ ${databaseModules.map(([model]) => ` register${capitalize(model)}Module(),`).
|
|
|
47
47
|
export { env } from "./env/env.server.testing";
|
|
48
48
|
export * as db from "./lib/db";
|
|
49
49
|
export * as srv from "./lib/srv";
|
|
50
|
+
export * as sig from "./lib/sig";
|
|
50
51
|
export * as option from "./lib/option";
|
|
51
52
|
export * as cnst from "./lib/cnst";
|
|
52
53
|
export { fetch } from "./lib/sig";
|