Fix tasks (#5199)
## Query depth deprecation I'm deprecating depth parameter in our graphql query / cache tooling. They were obsolete since we introduce the possibility to provide RecordGqlFields ## Refactor combinedFindManyRecordHook The hook can now take an array of operationSignatures ## Fix tasks issues Fix optimistic rendering issue. Note that we still haven't handle optimisticEffect on creation properly
This commit is contained in:
@ -33,6 +33,7 @@ export const mockedCalendarEvents: CalendarEvent[] = [
|
||||
displayName: 'Tim Apple',
|
||||
},
|
||||
],
|
||||
__typename: 'CalendarEvent',
|
||||
},
|
||||
{
|
||||
externalCreatedAt: subHours(new Date(), 2).toISOString(),
|
||||
@ -43,6 +44,7 @@ export const mockedCalendarEvents: CalendarEvent[] = [
|
||||
startsAt: new Date(new Date().setHours(18, 0)).toISOString(),
|
||||
title: 'Bug solving',
|
||||
visibility: 'SHARE_EVERYTHING',
|
||||
__typename: 'CalendarEvent',
|
||||
},
|
||||
{
|
||||
externalCreatedAt: subHours(new Date(), 2).toISOString(),
|
||||
@ -52,6 +54,7 @@ export const mockedCalendarEvents: CalendarEvent[] = [
|
||||
startsAt: new Date(new Date().setHours(15, 15)).toISOString(),
|
||||
title: 'Onboarding Follow-Up Call',
|
||||
visibility: 'SHARE_EVERYTHING',
|
||||
__typename: 'CalendarEvent',
|
||||
},
|
||||
{
|
||||
externalCreatedAt: subHours(new Date(), 2).toISOString(),
|
||||
@ -61,6 +64,7 @@ export const mockedCalendarEvents: CalendarEvent[] = [
|
||||
startsAt: new Date(new Date().setHours(10, 0)).toISOString(),
|
||||
title: 'Onboarding Call',
|
||||
visibility: 'SHARE_EVERYTHING',
|
||||
__typename: 'CalendarEvent',
|
||||
},
|
||||
{
|
||||
externalCreatedAt: subHours(new Date(), 2).toISOString(),
|
||||
@ -68,6 +72,7 @@ export const mockedCalendarEvents: CalendarEvent[] = [
|
||||
isFullDay: true,
|
||||
startsAt: subMonths(new Date().setHours(8, 0), 1).toISOString(),
|
||||
visibility: 'METADATA',
|
||||
__typename: 'CalendarEvent',
|
||||
},
|
||||
{
|
||||
externalCreatedAt: subHours(new Date(), 2).toISOString(),
|
||||
@ -77,5 +82,6 @@ export const mockedCalendarEvents: CalendarEvent[] = [
|
||||
startsAt: subMonths(new Date().setHours(14, 0), 3).toISOString(),
|
||||
title: 'Alan x Garry',
|
||||
visibility: 'SHARE_EVERYTHING',
|
||||
__typename: 'CalendarEvent',
|
||||
},
|
||||
];
|
||||
|
||||
@ -24,6 +24,7 @@ export const mockedTimelineActivities: Array<TimelineActivity> = [
|
||||
},
|
||||
workspaceMemberId: '20202020-0687-4c41-b707-ed1bfca972a7',
|
||||
deletedAt: null,
|
||||
__typename: 'TimelineActivity',
|
||||
},
|
||||
{
|
||||
properties:
|
||||
@ -49,5 +50,6 @@ export const mockedTimelineActivities: Array<TimelineActivity> = [
|
||||
},
|
||||
workspaceMemberId: '20202020-0687-4c41-b707-ed1bfca972a7',
|
||||
deletedAt: null,
|
||||
__typename: 'TimelineActivity',
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user