We have recently discovered that we were using ID type in place of UUID type in many place in the code. We have merged #4895 but this introduced bugs as we forgot to replace it everywhere
21 lines
521 B
TypeScript
21 lines
521 B
TypeScript
import { gql } from '@apollo/client';
|
|
|
|
import { timelineThreadWithTotalFragment } from '@/activities/emails/queries/fragments/timelineThreadWithTotalFragment';
|
|
|
|
export const getTimelineThreadsFromPersonId = gql`
|
|
query GetTimelineThreadsFromPersonId(
|
|
$personId: UUID!
|
|
$page: Int!
|
|
$pageSize: Int!
|
|
) {
|
|
getTimelineThreadsFromPersonId(
|
|
personId: $personId
|
|
page: $page
|
|
pageSize: $pageSize
|
|
) {
|
|
...TimelineThreadsWithTotalFragment
|
|
}
|
|
}
|
|
${timelineThreadWithTotalFragment}
|
|
`;
|