switch to another frontend framework wheeeeeeeeeeee

This commit is contained in:
sam 2024-09-05 22:29:12 +02:00
parent fa3c1ccaa7
commit c4adf6918c
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
58 changed files with 6246 additions and 1703 deletions

View file

@ -1,18 +0,0 @@
import type { User } from "./user";
export type CallbackRequest = {
code: string;
state: string;
};
export type CallbackResponse = {
has_account: boolean;
ticket: string;
remote_username: string | null;
};
export type AuthResponse = {
user: User;
token: string;
expires_at: string;
};

View file

@ -1,11 +0,0 @@
export default interface Meta {
version: string;
hash: string;
users: {
total: number;
active_month: number;
active_week: number;
active_day: number;
};
members: number;
}

View file

@ -1,9 +0,0 @@
export type User = {
id: string;
username: string;
display_name: string | null;
bio: string | null;
member_title: string | null;
avatar_url: string | null;
links: string[];
};