0
0
Fork 0

Add initial config type

This commit is contained in:
Oliver-Akins 2020-12-23 12:36:33 -07:00
parent 28065831c4
commit 7b2a5eeda4

21
server/src/types/config.d.ts vendored Normal file
View file

@ -0,0 +1,21 @@
interface config {
log: {
level: `silly` | `debug` | `info` | `error` | `warn` | `fatal` | `trace`;
name: string;
};
websocket: {
port: number;
};
webserver: {
enabled: boolean;
port: number;
code_length: number;
hostname: string;
};
cards: {
type: `csv` //| `sheets`;
key?: string;
questions: string;
objects: string;
}
}