Add v1.0
This commit is contained in:
parent
6a5f642fb4
commit
48dffc112a
21 changed files with 1327 additions and 0 deletions
14
src/types/config.d.ts
vendored
Normal file
14
src/types/config.d.ts
vendored
Normal 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
11
src/types/database.d.ts
vendored
Normal 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}
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue