Add more properties for the config
This commit is contained in:
parent
ef9e47e401
commit
cbf7a98bb3
1 changed files with 10 additions and 0 deletions
10
server/src/types/Config.d.ts
vendored
10
server/src/types/Config.d.ts
vendored
|
|
@ -1,6 +1,16 @@
|
|||
interface IConfig {
|
||||
game: {
|
||||
code_length: number;
|
||||
fuel_deck: {
|
||||
type: "file:json" /* | "file:csv" | "web:json" | "web:csv" */;
|
||||
location: string;
|
||||
};
|
||||
};
|
||||
server: {
|
||||
port: number;
|
||||
cors: {
|
||||
origins: string[];
|
||||
};
|
||||
};
|
||||
log: {
|
||||
level: "silly" | "trace" | "debug" | "info" | "warn" | "error" | "fatal";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue