@ -10,6 +10,7 @@ const calendarEvents: CalendarEvent[] = [
|
||||
isFullDay: false,
|
||||
startsAt: '2024-02-17T21:45:27.822Z',
|
||||
visibility: 'METADATA',
|
||||
__typename: 'CalendarEvent',
|
||||
},
|
||||
{
|
||||
id: '5678',
|
||||
@ -17,6 +18,7 @@ const calendarEvents: CalendarEvent[] = [
|
||||
isFullDay: false,
|
||||
startsAt: '2024-02-18T21:43:27.754Z',
|
||||
visibility: 'SHARE_EVERYTHING',
|
||||
__typename: 'CalendarEvent',
|
||||
},
|
||||
{
|
||||
id: '91011',
|
||||
@ -24,6 +26,7 @@ const calendarEvents: CalendarEvent[] = [
|
||||
isFullDay: true,
|
||||
startsAt: '2024-02-19T22:05:27.653Z',
|
||||
visibility: 'METADATA',
|
||||
__typename: 'CalendarEvent',
|
||||
},
|
||||
{
|
||||
id: '121314',
|
||||
@ -31,6 +34,7 @@ const calendarEvents: CalendarEvent[] = [
|
||||
isFullDay: true,
|
||||
startsAt: '2024-02-20T23:15:23.150Z',
|
||||
visibility: 'SHARE_EVERYTHING',
|
||||
__typename: 'CalendarEvent',
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
@ -4,7 +4,13 @@ import { Comment } from '@/activities/types/Comment';
|
||||
|
||||
export const mockComment: Pick<
|
||||
Comment,
|
||||
'id' | 'author' | 'createdAt' | 'body' | 'updatedAt' | 'activityId'
|
||||
| 'id'
|
||||
| 'author'
|
||||
| 'createdAt'
|
||||
| 'body'
|
||||
| 'updatedAt'
|
||||
| 'activityId'
|
||||
| '__typename'
|
||||
> = {
|
||||
id: 'fake_comment_1_uuid',
|
||||
body: 'Hello, this is a comment.',
|
||||
@ -19,11 +25,18 @@ export const mockComment: Pick<
|
||||
createdAt: DateTime.fromFormat('2021-03-12', 'yyyy-MM-dd').toISO() ?? '',
|
||||
updatedAt: DateTime.fromFormat('2021-03-13', 'yyyy-MM-dd').toISO() ?? '',
|
||||
activityId: 'fake_activity_1_uuid',
|
||||
__typename: 'Comment',
|
||||
};
|
||||
|
||||
export const mockCommentWithLongValues: Pick<
|
||||
Comment,
|
||||
'id' | 'author' | 'createdAt' | 'body' | 'updatedAt' | 'activityId'
|
||||
| 'id'
|
||||
| 'author'
|
||||
| 'createdAt'
|
||||
| 'body'
|
||||
| 'updatedAt'
|
||||
| 'activityId'
|
||||
| '__typename'
|
||||
> = {
|
||||
id: 'fake_comment_2_uuid',
|
||||
body: 'Hello, this is a comment. Hello, this is a comment. Hello, this is a comment. Hello, this is a comment. Hello, this is a comment. Hello, this is a comment.',
|
||||
@ -38,4 +51,5 @@ export const mockCommentWithLongValues: Pick<
|
||||
createdAt: DateTime.fromFormat('2021-03-12', 'yyyy-MM-dd').toISO() ?? '',
|
||||
updatedAt: DateTime.fromFormat('2021-03-13', 'yyyy-MM-dd').toISO() ?? '',
|
||||
activityId: 'fake_activity_1_uuid',
|
||||
__typename: 'Comment',
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user