vona-core 5.0.51 → 5.0.52
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/lib/core/config.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { VonaConfigMeta } from '@cabloy/module-info';
|
|
2
2
|
import type { ConfigLogger, IBeanScopeConfig } from '../../index.ts';
|
|
3
3
|
import type { PowerPartial } from '../utils/powerPartial.ts';
|
|
4
|
-
import type { ConfigInstanceBase } from './instance.ts';
|
|
5
4
|
export interface VonaConfig {
|
|
6
5
|
meta: VonaConfigMeta;
|
|
7
6
|
server: {
|
|
@@ -31,6 +30,5 @@ export interface VonaConfig {
|
|
|
31
30
|
};
|
|
32
31
|
logger: ConfigLogger;
|
|
33
32
|
modules: IBeanScopeConfig;
|
|
34
|
-
instances: ConfigInstanceBase[];
|
|
35
33
|
}
|
|
36
34
|
export type VonaConfigOptional = PowerPartial<VonaConfig>;
|
|
@@ -1,12 +1,5 @@
|
|
|
1
|
-
import type { VonaConfigOptional } from './config.ts';
|
|
2
1
|
export interface IInstanceRecord {
|
|
3
2
|
'': never;
|
|
4
3
|
}
|
|
5
4
|
export interface IHostRecord {
|
|
6
5
|
}
|
|
7
|
-
export interface ConfigInstanceBase {
|
|
8
|
-
name: keyof IInstanceRecord;
|
|
9
|
-
password?: string;
|
|
10
|
-
title?: string;
|
|
11
|
-
config?: VonaConfigOptional;
|
|
12
|
-
}
|