fix: as design

This commit is contained in:
pk5ls20 committed 2024-12-17 07:07:04 +08:00
1 parent a0c479485d
commit 2d9cc4d198
3 files changed
+18 -14

No files matched your search

+7 -9
View File
@@ -38,15 +38,13 @@ export interface AdapterConfig extends AdapterConfigInner {
const createDefaultAdapterConfig = <T extends AdapterConfig>(config: T): T => config;
export const pluginDefaultConfigs = createDefaultAdapterConfig({
name: 'plugin',
messagePostFormat: 'array',
reportSelfMessage: false,
enable: true,
debug: false,
});
export type PluginConfig = typeof pluginDefaultConfigs;
export interface PluginConfig extends AdapterConfig {
name: string;
enable: boolean;
messagePostFormat: string;
reportSelfMessage: boolean;
debug: boolean;
}
export const httpServerDefaultConfigs = createDefaultAdapterConfig({
name: 'http-server',