Adjust config type
This commit is contained in:
parent
0895755523
commit
09c61f77bd
1 changed files with 10 additions and 7 deletions
17
server/src/types/config.d.ts
vendored
17
server/src/types/config.d.ts
vendored
|
|
@ -9,13 +9,16 @@ interface config {
|
||||||
webserver: {
|
webserver: {
|
||||||
enabled: boolean;
|
enabled: boolean;
|
||||||
port: number;
|
port: number;
|
||||||
code_length: number;
|
|
||||||
hostname: string;
|
hostname: string;
|
||||||
};
|
};
|
||||||
cards: {
|
game: {
|
||||||
type: `csv` //| `sheets`;
|
hand_size: number;
|
||||||
key?: string;
|
code_length: number;
|
||||||
questions: string;
|
cards: {
|
||||||
objects: string;
|
type: `csv` | `sheets`;
|
||||||
}
|
key?: string;
|
||||||
|
questions: string;
|
||||||
|
objects: string;
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue