0
0
Fork 0
This commit is contained in:
Oliver Akins 2022-07-22 00:22:49 -06:00
parent 6a5f642fb4
commit 48dffc112a
No known key found for this signature in database
GPG key ID: 3C2014AF9457AF99
21 changed files with 1327 additions and 0 deletions

14
src/types/config.d.ts vendored Normal file
View file

@ -0,0 +1,14 @@
interface account {
username: string;
password: string;
access: string[];
}
interface config {
server: {
host: string;
port: number;
};
accounts: account[];
}

11
src/types/database.d.ts vendored Normal file
View file

@ -0,0 +1,11 @@
interface lurk_message {
lurk: string[];
unlurk: string[];
}
interface database {
[index: string]: {
lurkers: {[index: string]: string}
messages: {[index: string]: lurk_message}
};
}