vona-module-a-onion 5.0.24 → 5.0.26
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 +6 -0
- package/dist/service/onion_.d.ts +2 -0
- package/dist/types/onion.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -265,6 +265,12 @@ let ServiceOnion = (_dec$2 = ProxyDisable(), _dec2$2 = Service(), _dec3$1 = Bean
|
|
|
265
265
|
this.$logger.silly(JSON.stringify(onionSlices, null, 2));
|
|
266
266
|
this.$logger.silly(JSON.stringify(onionNames, null, 2));
|
|
267
267
|
}
|
|
268
|
+
inspectEventListener(eventName) {
|
|
269
|
+
const onionSlices = this.getOnionsEnabled(eventName);
|
|
270
|
+
const onionNames = onionSlices.map(item => item.name);
|
|
271
|
+
this.$logger.silly(JSON.stringify(onionSlices, null, 2));
|
|
272
|
+
this.$logger.silly(JSON.stringify(onionNames, null, 2));
|
|
273
|
+
}
|
|
268
274
|
inspectMeta(metaName, selector, matchThis, ...matchArgs) {
|
|
269
275
|
const onionSlices = this.getOnionsEnabled(selector, matchThis, ...matchArgs);
|
|
270
276
|
const onionSlices2 = [];
|
package/dist/service/onion_.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { OnionSceneMeta } from '@cabloy/module-info';
|
|
2
2
|
import type { Next, VonaContext } from 'vona';
|
|
3
|
+
import type { IEventRecord } from 'vona-module-a-event';
|
|
3
4
|
import type { IMetaNameRecord } from 'vona-module-a-meta';
|
|
4
5
|
import type { IOnionExecuteCustom, IOnionSlice, TypeOnionsNormal } from '../types/onion.ts';
|
|
5
6
|
import { BeanBase } from 'vona';
|
|
@@ -41,6 +42,7 @@ export declare class ServiceOnion<ONIONRECORD> extends BeanBase {
|
|
|
41
42
|
};
|
|
42
43
|
private _getRoutePathForMatch;
|
|
43
44
|
inspect(selector?: string | boolean, matchThis?: any, ...matchArgs: any[]): void;
|
|
45
|
+
inspectEventListener(eventName: keyof IEventRecord): void;
|
|
44
46
|
inspectMeta(metaName: keyof IMetaNameRecord, selector?: string | boolean, matchThis?: any, ...matchArgs: any[]): void;
|
|
45
47
|
}
|
|
46
48
|
export {};
|
package/dist/types/onion.d.ts
CHANGED