1
0
mirror of https://github.com/mgerb/go-discord-bot synced 2026-01-11 09:32:50 +00:00

add upload history to stats UI

This commit is contained in:
2018-10-20 13:53:02 -05:00
parent b004d4f29a
commit 81ecacd3d4
15 changed files with 149 additions and 7 deletions

View File

@@ -1,3 +1,5 @@
export * from './claims';
export * from './permissions';
export * from './sound';
export * from './user';
export * from './video-archive';

12
client/app/model/sound.ts Normal file
View File

@@ -0,0 +1,12 @@
import { IUser } from './user';
export interface ISound {
created_at: string;
deleted_at?: string;
extension: string;
id: number;
name: string;
updated_at: string;
user: IUser;
user_id: string;
}

17
client/app/model/user.ts Normal file
View File

@@ -0,0 +1,17 @@
import { Permissions } from './permissions';
export interface IUser {
avatar: string;
bot: boolean;
created_at: string;
deleted_at?: string;
discriminator: string;
email: string;
id: string;
mfa_enabled: boolean;
permissions: Permissions;
token: string;
updated_at: string;
username: string;
verified: boolean;
}