vona-module-a-version 5.0.48 → 5.0.50
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.
|
@@ -38,9 +38,9 @@ export type EntityVersionInitMeta = TypeEntityMeta<EntityVersionInit, EntityVers
|
|
|
38
38
|
export type EntityViewRecordMeta = TypeEntityMeta<EntityViewRecord, EntityViewRecordTableName>;
|
|
39
39
|
declare module 'vona-module-a-orm' {
|
|
40
40
|
interface ITableRecord {
|
|
41
|
-
'aVersion':
|
|
42
|
-
'aVersionInit':
|
|
43
|
-
'aViewRecord':
|
|
41
|
+
'aVersion': EntityVersionMeta;
|
|
42
|
+
'aVersionInit': EntityVersionInitMeta;
|
|
43
|
+
'aViewRecord': EntityViewRecordMeta;
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
declare module 'vona-module-a-version' {
|
|
@@ -11,4 +11,4 @@ export declare const locales: {
|
|
|
11
11
|
ModuleOld: string;
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
|
-
export declare function $locale<K extends keyof (typeof locales)[TypeLocaleBase]>(key: K):
|
|
14
|
+
export declare function $locale<K extends keyof (typeof locales)[TypeLocaleBase]>(key: K): import("vona").ILocaleMagic<`a-version::${K}`>;
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BeanInfo, $Class, BeanBase, BeanScopeBase } from 'vona';
|
|
1
|
+
import { $makeLocaleMagic, BeanInfo, $Class, BeanBase, BeanScopeBase } from 'vona';
|
|
2
2
|
import { Api, v } from 'vona-module-a-openapiutils';
|
|
3
3
|
import { Entity, EntityBaseSimple, Model, BeanModelBase } from 'vona-module-a-orm';
|
|
4
4
|
import chalk from 'chalk';
|
|
@@ -44,7 +44,7 @@ const locales = {
|
|
|
44
44
|
'zh-cn': locale_zh_cn
|
|
45
45
|
};
|
|
46
46
|
function $locale(key) {
|
|
47
|
-
return `a-version::${key}
|
|
47
|
+
return $makeLocaleMagic(`a-version::${key}`);
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
var _dec$e, _dec2$e, _dec3$2, _dec4$2, _dec5$2, _dec6$2, _class$e, _class2$2, _descriptor$2, _descriptor2$2;
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vona-module-a-version",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "5.0.
|
|
4
|
+
"version": "5.0.50",
|
|
5
5
|
"vonaModule": {
|
|
6
6
|
"fileVersion": 1,
|
|
7
7
|
"dependencies": {},
|
|
8
8
|
"metas": {
|
|
9
9
|
"version": {
|
|
10
|
-
"boilerplate": "
|
|
10
|
+
"boilerplate": "boilerplate"
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
},
|