mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-10 07:25:35 +00:00
feat: add basic admin dashboard
This commit is contained in:
14
inertia/types/app.d.ts
vendored
14
inertia/types/app.d.ts
vendored
@@ -10,3 +10,17 @@ type User = {
|
||||
isAdmin: boolean;
|
||||
collections: Collection[];
|
||||
};
|
||||
|
||||
type UserWithRelationCount = {
|
||||
id: number;
|
||||
email: string;
|
||||
fullname: string;
|
||||
avatarUrl: string;
|
||||
isAdmin: string;
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
count: {
|
||||
link: number;
|
||||
collection: number;
|
||||
};
|
||||
};
|
||||
|
||||
2
inertia/types/emotion.d.ts
vendored
2
inertia/types/emotion.d.ts
vendored
@@ -20,6 +20,8 @@ declare module '@emotion/react' {
|
||||
darkBlue: string;
|
||||
darkestBlue: string;
|
||||
|
||||
green: string;
|
||||
|
||||
lightRed: string;
|
||||
|
||||
yellow: string;
|
||||
|
||||
Reference in New Issue
Block a user