[Refactor] Activity morph: first phase (#1075)
* Add company and person on update and create * Enable reading with error management on commentable ID * [CHECKPOINT] backward-compatible * Migrate data for activity targets * Revert "Migrate data for activity targets" This reverts commit f89bc30689655c83cd5370331fec41b59d03fdb9. --------- Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
@ -48,6 +48,8 @@ export const GET_ACTIVITIES_BY_TARGETS = gql`
|
||||
id
|
||||
commentableType
|
||||
commentableId
|
||||
companyId
|
||||
personId
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -86,6 +88,8 @@ export const GET_ACTIVITIES = gql`
|
||||
id
|
||||
commentableType
|
||||
commentableId
|
||||
companyId
|
||||
personId
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -131,6 +135,8 @@ export const GET_ACTIVITY = gql`
|
||||
id
|
||||
commentableType
|
||||
commentableId
|
||||
companyId
|
||||
personId
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user