Workin on cool shit now
This commit is contained in:
24
src/lib/types.ts
Normal file
24
src/lib/types.ts
Normal file
@ -0,0 +1,24 @@
|
||||
export type User = {
|
||||
id: string;
|
||||
full_name?: string;
|
||||
email: string;
|
||||
avatar_url?: string;
|
||||
provider: string;
|
||||
};
|
||||
|
||||
export type Status = {
|
||||
user: User;
|
||||
status: string;
|
||||
created_at: Date;
|
||||
updated_by: User;
|
||||
};
|
||||
|
||||
export type PaginatedHistory = {
|
||||
statuses: Status[];
|
||||
meta: {
|
||||
current_page: number;
|
||||
per_page: number;
|
||||
total_pages: number;
|
||||
total_count: number;
|
||||
};
|
||||
};
|
Reference in New Issue
Block a user