mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-10 15:35:35 +00:00
feat: add multiple way to show collections and links
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import { DisplayPreferences } from '#shared/types/index';
|
||||
|
||||
type CommonBase = {
|
||||
id: number;
|
||||
createdAt: string;
|
||||
@@ -10,6 +12,7 @@ export type User = CommonBase & {
|
||||
avatarUrl: string;
|
||||
isAdmin: boolean;
|
||||
lastSeenAt: string;
|
||||
displayPreferences: DisplayPreferences;
|
||||
};
|
||||
|
||||
export type PublicUser = Omit<User, 'email'>;
|
||||
|
||||
Reference in New Issue
Block a user