18 lines
424 B
TypeScript
18 lines
424 B
TypeScript
import { LoggerClientOptions } from '@navy.gif/logger';
|
|
import { ComponentType } from '../src/client/interfaces/Component.ts';
|
|
|
|
export type ClientOptions = {
|
|
// Set by the startup script
|
|
rootDir: string,
|
|
version: string,
|
|
|
|
// User configured
|
|
logger: LoggerClientOptions,
|
|
developmentMode: boolean,
|
|
}
|
|
|
|
export type ComponentOptions = {
|
|
type: ComponentType,
|
|
name: string,
|
|
disabled?: boolean
|
|
}; |