stuff
This commit is contained in:
parent
14f8e77e6a
commit
a2f001392b
11 changed files with 241 additions and 2 deletions
11
Foxnouns.Frontend/src/lib/api/meta.ts
Normal file
11
Foxnouns.Frontend/src/lib/api/meta.ts
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
export default interface Meta {
|
||||
version: string;
|
||||
hash: string;
|
||||
users: {
|
||||
total: number;
|
||||
active_month: number;
|
||||
active_week: number;
|
||||
active_day: number;
|
||||
};
|
||||
members: number;
|
||||
}
|
||||
9
Foxnouns.Frontend/src/lib/api/user.ts
Normal file
9
Foxnouns.Frontend/src/lib/api/user.ts
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
export type User = {
|
||||
id: string;
|
||||
username: string;
|
||||
display_name: string | null;
|
||||
bio: string | null;
|
||||
member_title: string | null;
|
||||
avatar_url: string | null;
|
||||
links: string[];
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue