refactor: use shared component for login callback pages
This commit is contained in:
parent
6d32d05d98
commit
1b949a013d
8 changed files with 253 additions and 248 deletions
23
frontend/src/lib/api/responses.ts
Normal file
23
frontend/src/lib/api/responses.ts
Normal file
|
@ -0,0 +1,23 @@
|
|||
import type { MeUser } from "./entities";
|
||||
|
||||
export interface SignupResponse {
|
||||
user: MeUser;
|
||||
token: string;
|
||||
}
|
||||
|
||||
export interface MetaResponse {
|
||||
git_repository: string;
|
||||
git_commit: string;
|
||||
users: number;
|
||||
members: number;
|
||||
require_invite: boolean;
|
||||
}
|
||||
|
||||
export interface UrlsResponse {
|
||||
discord: string;
|
||||
}
|
||||
|
||||
export interface ExportResponse {
|
||||
path: string;
|
||||
created_at: string;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue