chore: clean up types
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import { Doc, Id } from '../../../convex/_generated/dataModel';
|
||||
|
||||
export type UserDto = {
|
||||
_id: Id<'users'>;
|
||||
_creationTime: number;
|
||||
clerkUsername: string | null;
|
||||
clerkImageUrl: string;
|
||||
};
|
||||
|
||||
export type PostWithUserDto = Doc<'posts'> & { user: UserDto };
|
||||
Reference in New Issue
Block a user