vona-module-a-web 5.0.26 → 5.0.28
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/.metadata/index.d.ts +3 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -16,12 +16,14 @@ declare module 'vona-module-a-web' {
|
|
|
16
16
|
interface PipeQuery {
|
|
17
17
|
get $beanFullName(): 'a-web.pipe.query';
|
|
18
18
|
get $onionName(): 'a-web:query';
|
|
19
|
+
get $onionOptions(): IPipeOptionsQuery;
|
|
19
20
|
}
|
|
20
21
|
interface PipeValid {
|
|
21
22
|
}
|
|
22
23
|
interface PipeValid {
|
|
23
24
|
get $beanFullName(): 'a-web.pipe.valid';
|
|
24
25
|
get $onionName(): 'a-web:valid';
|
|
26
|
+
get $onionOptions(): IPipeOptionsValid;
|
|
25
27
|
}
|
|
26
28
|
}
|
|
27
29
|
/** pipe: end */
|
|
@@ -89,6 +91,7 @@ declare module 'vona-module-a-web' {
|
|
|
89
91
|
interface StartupListen {
|
|
90
92
|
get $beanFullName(): 'a-web.startup.listen';
|
|
91
93
|
get $onionName(): 'a-web:listen';
|
|
94
|
+
get $onionOptions(): IDecoratorStartupOptions;
|
|
92
95
|
}
|
|
93
96
|
}
|
|
94
97
|
/** startup: end */
|
package/dist/index.js
CHANGED
|
@@ -648,7 +648,7 @@ class Main extends BeanSimple {
|
|
|
648
648
|
}
|
|
649
649
|
async moduleLoading() {}
|
|
650
650
|
async moduleLoaded() {
|
|
651
|
-
const config = this.
|
|
651
|
+
const config = this.app.scope(__ThisModule__).config;
|
|
652
652
|
const self = this;
|
|
653
653
|
// router
|
|
654
654
|
Object.defineProperty(this.app, 'router', {
|