vona-cli-set-api 1.0.297 → 1.0.301

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.
@@ -273,6 +273,18 @@
273
273
  ],
274
274
  "description": "record.authclient"
275
275
  },
276
+ "record.locale": {
277
+ "scope": "typescript,typescriptreact",
278
+ "prefix": "recordlocale",
279
+ "body": [
280
+ "declare module 'vona' {",
281
+ " export interface ILocaleRecord {",
282
+ " $0: never;",
283
+ " }",
284
+ "}"
285
+ ],
286
+ "description": "record.locale"
287
+ },
276
288
  "findManyQueryTransform": {
277
289
  "scope": "typescript,typescriptreact",
278
290
  "prefix": "findmanyquerytransform",
@@ -46,7 +46,7 @@
46
46
  }
47
47
  },
48
48
  "dependencies": {
49
- "vona": "^5.0.174"
49
+ "vona": "^5.0.176"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@cabloy/lint": "^5.0.16",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vona-module-home-base",
3
3
  "type": "module",
4
- "version": "5.0.9",
4
+ "version": "5.0.10",
5
5
  "title": "home-base",
6
6
  "vonaModule": {
7
7
  "dependencies": {
@@ -9,7 +9,7 @@ export class Main extends BeanSimple implements IModuleMain {
9
9
  'en-us': en,
10
10
  'zh-cn': zhCN,
11
11
  };
12
- this.app.util.setLocaleErrors(localeErrors, this.app.scope('a-i18n').config.i18n.defaultLocale);
12
+ this.app.util.setLocaleErrors(localeErrors, this.app.scope('a-i18n').config.defaultLocale);
13
13
  }
14
14
 
15
15
  async configLoaded(_config: any) {}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vona-module-home-user",
3
3
  "type": "module",
4
- "version": "5.0.14",
4
+ "version": "5.0.15",
5
5
  "title": "home-user",
6
6
  "vonaModule": {
7
7
  "fileVersion": 1,
@@ -1,4 +1,4 @@
1
- import type { ILocaleInfos } from 'vona';
1
+ import type { ILocaleRecord } from 'vona';
2
2
  import type { IDecoratorEntityOptions } from 'vona-module-a-orm';
3
3
  import type { IUser } from 'vona-module-a-user';
4
4
  import { Api, v } from 'vona-module-a-openapi';
@@ -26,5 +26,5 @@ export class EntityUser extends EntityBase implements IUser {
26
26
  activated?: boolean;
27
27
 
28
28
  @Api.field(v.title($locale('UserLocale')), z.string().optional())
29
- locale?: keyof ILocaleInfos | undefined;
29
+ locale?: keyof ILocaleRecord | undefined;
30
30
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vona-suite-a-home",
3
3
  "type": "module",
4
- "version": "5.0.15",
4
+ "version": "5.0.17",
5
5
  "title": "a-home",
6
6
  "description": "",
7
7
  "author": "zhennann",
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.297",
4
+ "version": "1.0.301",
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.75",
64
+ "vona-core": "^5.0.76",
65
65
  "why-is-node-running": "^3.2.2",
66
66
  "yargs-parser": "^21.1.1"
67
67
  },