sharding-framework/@types/Client.d.ts

18 lines
424 B
TypeScript
Raw Permalink Normal View History

2024-03-31 12:46:28 +02:00
import { LoggerClientOptions } from '@navy.gif/logger';
2024-03-31 13:41:01 +02:00
import { ComponentType } from '../src/client/interfaces/Component.ts';
2024-03-31 12:46:28 +02:00
export type ClientOptions = {
2024-03-31 13:19:36 +02:00
// Set by the startup script
2024-03-31 12:46:28 +02:00
rootDir: string,
version: string,
2024-03-31 13:19:36 +02:00
// User configured
logger: LoggerClientOptions,
developmentMode: boolean,
2024-03-31 12:46:28 +02:00
}
export type ComponentOptions = {
type: ComponentType,
name: string,
disabled?: boolean
};