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.
@@ -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",
@@ -46,7 +46,7 @@
46
46
  }
47
47
  },
48
48
  "dependencies": {
49
- "vona": "^5.0.216"
49
+ "vona": "^5.0.218"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@cabloy/lint": "^5.0.16",
@@ -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
@@ -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
@@ -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
@@ -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, getRedisClientKeyPrefix } from 'vona';
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: getRedisClientKeyPrefix('default', appInfo) },
123
- cache: { keyPrefix: getRedisClientKeyPrefix('cache', appInfo) },
124
- io: { keyPrefix: getRedisClientKeyPrefix('io', appInfo) },
125
- summer: { keyPrefix: getRedisClientKeyPrefix('summer', appInfo) },
126
- model: { keyPrefix: getRedisClientKeyPrefix('model', appInfo) },
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.377",
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.101",
64
+ "vona-core": "^5.0.102",
65
65
  "why-is-node-running": "^3.2.2",
66
66
  "yargs-parser": "^22.0.0"
67
67
  },