feat: rename comment thread into activity (#939)

* feat: rename commentThread into activity server

* feat: rename commentThread into activity front

* feat: migration only create tables


feat: migration only create tables

* Update activities

* fix: rebase partial fix

* fix: all rebase problems and drop activity target alter

* fix: lint

* Update migration

* Update migration

* Fix conflicts

* Fix conflicts

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
Jérémy M
2023-07-28 08:22:16 +02:00
committed by GitHub
parent fcdde024a3
commit d0641084f9
95 changed files with 2112 additions and 1725 deletions

View File

@ -17,7 +17,7 @@ type MockedPerson = RequiredAndNotNull<
| '__typename'
| 'phone'
| 'city'
| '_commentThreadCount'
| '_activityCount'
| 'createdAt'
> & {
company: Pick<Company, 'id' | 'name' | 'domainName' | '__typename'>;
@ -41,7 +41,7 @@ export const mockedPeopleData: MockedPerson[] = [
__typename: 'Company',
},
phone: '06 12 34 56 78',
_commentThreadCount: 1,
_activityCount: 1,
createdAt: '2023-04-20T13:20:09.158312+00:00',
city: 'Paris',
@ -62,7 +62,7 @@ export const mockedPeopleData: MockedPerson[] = [
__typename: 'Company',
},
phone: '06 12 34 56 78',
_commentThreadCount: 1,
_activityCount: 1,
createdAt: '2023-04-20T13:20:09.158312+00:00',
city: 'Paris',
@ -83,7 +83,7 @@ export const mockedPeopleData: MockedPerson[] = [
__typename: 'Company',
},
phone: '06 12 34 56 78',
_commentThreadCount: 1,
_activityCount: 1,
createdAt: '2023-04-20T13:20:09.158312+00:00',
city: 'Paris',
@ -104,7 +104,7 @@ export const mockedPeopleData: MockedPerson[] = [
__typename: 'Company',
},
phone: '06 12 34 56 78',
_commentThreadCount: 2,
_activityCount: 2,
createdAt: '2023-04-20T13:20:09.158312+00:00',
city: 'Paris',