vona-module-a-core 5.0.74 → 5.0.76

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/dist/index.js CHANGED
@@ -93,8 +93,12 @@ let ScopeModuleACore = (_dec = Scope(), _dec2 = BeanInfo({
93
93
  function Gate(options) {
94
94
  return Aspect.middlewareGlobal('a-core:gate', options);
95
95
  }
96
+ function Error(options) {
97
+ return Aspect.filterGlobal('a-error:error', options);
98
+ }
96
99
  const Core = {
97
- gate: Gate
100
+ gate: Gate,
101
+ error: Error
98
102
  };
99
103
 
100
104
  export { Core, MetaStatic, MiddlewareGate, MiddlewareSystemNotfound, MiddlewareSystemOverrideMethod, ScopeModuleACore };
@@ -1,7 +1,10 @@
1
+ import type { IFilterOptionsError } from 'vona-module-a-error';
1
2
  import type { TypeUseOnionOmitOptionsGlobal } from 'vona-module-a-onion';
2
3
  import type { IMiddlewareOptionsGate } from '../bean/middleware.gate.ts';
3
4
  declare function Gate(options?: Partial<TypeUseOnionOmitOptionsGlobal<IMiddlewareOptionsGate>>): ClassDecorator & MethodDecorator;
5
+ declare function Error(options?: Partial<TypeUseOnionOmitOptionsGlobal<IFilterOptionsError>>): ClassDecorator & MethodDecorator;
4
6
  export declare const Core: {
5
7
  gate: typeof Gate;
8
+ error: typeof Error;
6
9
  };
7
10
  export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vona-module-a-core",
3
3
  "type": "module",
4
- "version": "5.0.74",
4
+ "version": "5.0.76",
5
5
  "title": "a-core",
6
6
  "vonaModule": {
7
7
  "dependencies": {},
@@ -101,7 +101,7 @@
101
101
  "ts-node": "^10.9.2",
102
102
  "tslib": "^2.8.1",
103
103
  "typescript": "^5.9.3",
104
- "vona-mock": "^6.0.62",
104
+ "vona-mock": "^6.0.63",
105
105
  "why-is-node-running": "^3.2.2"
106
106
  },
107
107
  "gitHead": "0eab9dc4a5622caffe89e7b1b3f02c08ccbc4c4b",