vona-cli-set-api 1.0.377 → 1.0.381
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/cli/templates/create/project/basic/boilerplate/.vscode/vona.code-snippets +12 -0
- package/cli/templates/create/project/basic/boilerplate/package.original.json +1 -1
- package/cli/templates/create/project/basic/boilerplate/src/backend/config/config/config.dev.play.ts +2 -2
- package/cli/templates/create/project/basic/boilerplate/src/backend/config/config/config.dev.ts +2 -2
- package/cli/templates/create/project/basic/boilerplate/src/backend/config/config/config.prod.ts +2 -2
- package/cli/templates/create/project/basic/boilerplate/src/backend/config/config/config.test.ts +2 -2
- package/cli/templates/create/project/basic/boilerplate/src/backend/config/config/config.ts +6 -6
- package/package.json +2 -2
|
@@ -309,6 +309,18 @@
|
|
|
309
309
|
],
|
|
310
310
|
"description": "record.mailclient"
|
|
311
311
|
},
|
|
312
|
+
"record.jwtclient": {
|
|
313
|
+
"scope": "typescript,typescriptreact",
|
|
314
|
+
"prefix": "recordjwtclient",
|
|
315
|
+
"body": [
|
|
316
|
+
"declare module 'vona-module-a-jwt' {",
|
|
317
|
+
" export interface IJwtClientRecord {",
|
|
318
|
+
" $0: never;",
|
|
319
|
+
" }",
|
|
320
|
+
"}"
|
|
321
|
+
],
|
|
322
|
+
"description": "record.jwtclient"
|
|
323
|
+
},
|
|
312
324
|
"findManyQueryTransform": {
|
|
313
325
|
"scope": "typescript,typescriptreact",
|
|
314
326
|
"prefix": "findmanyquerytransform",
|
package/cli/templates/create/project/basic/boilerplate/src/backend/config/config/config.dev.play.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { VonaAppInfo, VonaConfigOptional } from 'vona';
|
|
1
|
+
import type { VonaAppInfo, VonaConfigEnv, VonaConfigOptional } from 'vona';
|
|
2
2
|
|
|
3
|
-
export default function (_appInfo: VonaAppInfo) {
|
|
3
|
+
export default function (_appInfo: VonaAppInfo, _env: VonaConfigEnv) {
|
|
4
4
|
const config = {} as VonaConfigOptional;
|
|
5
5
|
|
|
6
6
|
// instance
|
package/cli/templates/create/project/basic/boilerplate/src/backend/config/config/config.dev.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { VonaAppInfo, VonaConfigOptional } from 'vona';
|
|
1
|
+
import type { VonaAppInfo, VonaConfigEnv, VonaConfigOptional } from 'vona';
|
|
2
2
|
|
|
3
|
-
export default function (_appInfo: VonaAppInfo) {
|
|
3
|
+
export default function (_appInfo: VonaAppInfo, _env: VonaConfigEnv) {
|
|
4
4
|
const config = {} as VonaConfigOptional;
|
|
5
5
|
|
|
6
6
|
// instance
|
package/cli/templates/create/project/basic/boilerplate/src/backend/config/config/config.prod.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { VonaAppInfo, VonaConfigOptional } from 'vona';
|
|
1
|
+
import type { VonaAppInfo, VonaConfigEnv, VonaConfigOptional } from 'vona';
|
|
2
2
|
|
|
3
|
-
export default function (_appInfo: VonaAppInfo) {
|
|
3
|
+
export default function (_appInfo: VonaAppInfo, _env: VonaConfigEnv) {
|
|
4
4
|
const config = {} as VonaConfigOptional;
|
|
5
5
|
|
|
6
6
|
// instance
|
package/cli/templates/create/project/basic/boilerplate/src/backend/config/config/config.test.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { VonaAppInfo, VonaConfigOptional } from 'vona';
|
|
1
|
+
import type { VonaAppInfo, VonaConfigEnv, VonaConfigOptional } from 'vona';
|
|
2
2
|
|
|
3
|
-
export default function (_appInfo: VonaAppInfo) {
|
|
3
|
+
export default function (_appInfo: VonaAppInfo, _env: VonaConfigEnv) {
|
|
4
4
|
const config = {} as VonaConfigOptional;
|
|
5
5
|
|
|
6
6
|
// proxy
|
|
@@ -3,7 +3,7 @@ import type { IMailClientRecord, TypeMailTransportService } from 'vona-module-a-
|
|
|
3
3
|
import type { IDatabaseClientRecord } from 'vona-module-a-orm';
|
|
4
4
|
import type * as Winston from 'winston';
|
|
5
5
|
import { replaceTemplate } from '@cabloy/utils';
|
|
6
|
-
import { $customKey, formatLoggerAxiosError, formatLoggerCtx, getLoggerPathPhysicalRoot, getPublicPathPhysicalRoot
|
|
6
|
+
import { $customKey, formatLoggerAxiosError, formatLoggerCtx, getLoggerPathPhysicalRoot, getPublicPathPhysicalRoot } from 'vona';
|
|
7
7
|
|
|
8
8
|
declare module 'vona' {
|
|
9
9
|
export interface IInstanceRecord {
|
|
@@ -119,11 +119,11 @@ export default function (appInfo: VonaAppInfo, env: VonaConfigEnv) {
|
|
|
119
119
|
enableReadyCheck: false,
|
|
120
120
|
},
|
|
121
121
|
clients: {
|
|
122
|
-
default: { keyPrefix:
|
|
123
|
-
cache: { keyPrefix:
|
|
124
|
-
io: { keyPrefix:
|
|
125
|
-
summer: { keyPrefix:
|
|
126
|
-
model: { keyPrefix:
|
|
122
|
+
default: { keyPrefix: true },
|
|
123
|
+
cache: { keyPrefix: true },
|
|
124
|
+
io: { keyPrefix: true },
|
|
125
|
+
summer: { keyPrefix: true },
|
|
126
|
+
model: { keyPrefix: true },
|
|
127
127
|
redlock: {},
|
|
128
128
|
queue: {},
|
|
129
129
|
broadcast: {},
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vona-cli-set-api",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.381",
|
|
5
5
|
"description": "vona cli-set-api",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"ts-node-maintained": "^10.9.6",
|
|
62
62
|
"urllib": "^4.6.11",
|
|
63
63
|
"uuid": "^11.1.0",
|
|
64
|
-
"vona-core": "^5.0.
|
|
64
|
+
"vona-core": "^5.0.102",
|
|
65
65
|
"why-is-node-running": "^3.2.2",
|
|
66
66
|
"yargs-parser": "^22.0.0"
|
|
67
67
|
},
|