admin soft delete functionality, also fixed google sign in when user doesn't have first and last name
This commit is contained in:
@@ -29,6 +29,7 @@ export interface User {
|
||||
country?: string;
|
||||
profileImage?: string;
|
||||
isVerified: boolean;
|
||||
role?: "user" | "admin";
|
||||
stripeConnectedAccountId?: string;
|
||||
addresses?: Address[];
|
||||
}
|
||||
@@ -267,6 +268,10 @@ export interface ForumPost {
|
||||
isPinned: boolean;
|
||||
acceptedAnswerId?: string;
|
||||
images?: string[];
|
||||
isDeleted?: boolean;
|
||||
deletedBy?: string;
|
||||
deletedAt?: string;
|
||||
hasDeletedComments?: boolean;
|
||||
author?: User;
|
||||
tags?: PostTag[];
|
||||
comments?: ForumComment[];
|
||||
@@ -282,6 +287,8 @@ export interface ForumComment {
|
||||
parentCommentId?: string;
|
||||
isDeleted: boolean;
|
||||
images?: string[];
|
||||
deletedBy?: string;
|
||||
deletedAt?: string;
|
||||
author?: User;
|
||||
replies?: ForumComment[];
|
||||
createdAt: string;
|
||||
|
||||
Reference in New Issue
Block a user