Fix main post merge

This commit is contained in:
Charles Bochet
2023-11-16 17:23:05 +01:00
parent dee38bb901
commit 31adb24ffd
2 changed files with 6 additions and 3 deletions

View File

@@ -15,9 +15,12 @@ export type Activity = {
type: ActivityType;
title: string;
body: string;
author: WorkspaceMember;
author: Pick<WorkspaceMember, 'id' | 'firstName' | 'lastName' | 'avatarUrl'>;
authorId: string;
assignee: WorkspaceMember | null;
assignee: Pick<
WorkspaceMember,
'id' | 'firstName' | 'lastName' | 'avatarUrl'
> | null;
assigneeId: string | null;
comments: Comment[];
};

View File

@@ -6,5 +6,5 @@ export type Comment = {
body: string;
updatedAt: string;
activityId: string;
author: WorkspaceMember;
author: Pick<WorkspaceMember, 'id' | 'firstName' | 'lastName' | 'avatarUrl'>;
};