vona-module-a-executor 5.0.21 → 5.0.23

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.
@@ -1,4 +1,4 @@
1
- import type { ContextState, IInstanceRecord, ILocaleInfos, PowerPartial } from 'vona';
1
+ import type { ContextState, IInstanceRecord, ILocaleRecord, PowerPartial } from 'vona';
2
2
  import type { ConfigOnions } from 'vona-module-a-onion';
3
3
  import type { IDbInfo, ITransactionOptions } from 'vona-module-a-orm';
4
4
  export declare const SymbolRouterMiddleware: unique symbol;
@@ -12,7 +12,7 @@ export interface INewCtxOptions extends INewCtxBaseOptions {
12
12
  dbInfo?: Partial<IDbInfo>;
13
13
  }
14
14
  export interface INewCtxBaseOptions {
15
- locale?: keyof ILocaleInfos;
15
+ locale?: keyof ILocaleRecord;
16
16
  instanceName?: keyof IInstanceRecord | undefined | null;
17
17
  instance?: boolean;
18
18
  transaction?: boolean;
@@ -33,8 +33,8 @@ export interface IPerformActionOptions {
33
33
  extraData?: INewCtxExtraData | undefined;
34
34
  }
35
35
  export interface IGeneralInfoOptions {
36
- dbInfo?: IDbInfo;
37
- locale?: keyof ILocaleInfos;
36
+ dbInfo?: Partial<IDbInfo>;
37
+ locale?: keyof ILocaleRecord;
38
38
  instanceName?: keyof IInstanceRecord | undefined | null;
39
39
  extraData?: INewCtxExtraData;
40
40
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vona-module-a-executor",
3
3
  "type": "module",
4
- "version": "5.0.21",
4
+ "version": "5.0.23",
5
5
  "title": "a-executor",
6
6
  "vonaModule": {
7
7
  "dependencies": {}