initial commit
This commit is contained in:
6
src/models/Alias.ts
Normal file
6
src/models/Alias.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export interface Alias{
|
||||
_id: string;
|
||||
guild: string;
|
||||
text: string;
|
||||
images: string[];
|
||||
}
|
||||
9
src/models/AliasAPI.ts
Normal file
9
src/models/AliasAPI.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
export interface ImageAPI{
|
||||
id: string;
|
||||
ext: string;
|
||||
}
|
||||
export interface AliasAPI{
|
||||
text: string;
|
||||
images: ImageAPI[];
|
||||
}
|
||||
|
||||
6
src/models/Guild.ts
Normal file
6
src/models/Guild.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export interface Guild{
|
||||
_id: string;
|
||||
guildId: string;
|
||||
giveawayLogChannelId: string;
|
||||
autoroleLogChannelId: string;
|
||||
}
|
||||
4
src/models/Image.ts
Normal file
4
src/models/Image.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
export interface Image{
|
||||
_id: string; // act as random generated filename
|
||||
extension: string;
|
||||
}
|
||||
Reference in New Issue
Block a user