1
0
mirror of https://github.com/mgerb/classic-wow-forums synced 2026-01-12 10:02:49 +00:00

little bit of everything - it's been a long day

This commit is contained in:
2018-01-14 23:46:15 -06:00
parent d9d7f2d202
commit efbee265d3
25 changed files with 298 additions and 125 deletions

View File

@@ -1,4 +1,6 @@
export interface RepyModel {
import { UserModel } from './user';
export interface ReplyModel {
content: string;
edited: boolean;
id: number;
@@ -7,4 +9,5 @@ export interface RepyModel {
thread_id: number;
updated_at: string;
user_id: number;
user: UserModel;
}

View File

@@ -1,20 +1,20 @@
import { RepyModel } from './reply';
import { ReplyModel } from './reply';
import { UserModel } from './user';
export interface ThreadModel {
category_id: number;
content: string;
title: string;
edited: boolean;
id: number;
inserted_at: string;
last_reply: { id: number; battletag: string };
last_reply: UserModel;
last_reply_id: number;
locked: boolean;
replies: RepyModel[];
replies: ReplyModel[];
reply_count: number;
sticky: boolean;
updated_at: string;
user: { id: number; battletag: string };
user: UserModel;
user_id: number;
view_count: number;
}