Create resolvers and controllers for core views (#13624)

Created:
- Services
- Resolvers
- Controllers
- Tests for services
- Integration tests for GraphQL and Rest

Updated the Rest API playground

Added new feature flag `IS_CORE_VIEW_ENABLED`

Updated `viewFilter` `operand` and `view` `type` to be enums rather than
strings and generated migration file.

Closes https://github.com/twentyhq/core-team-issues/issues/1259

---------

Co-authored-by: Félix Malfait <felix.malfait@gmail.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
Raphaël Bosi
2025-08-07 18:45:04 +02:00
committed by GitHub
parent caabe8738d
commit 593b064448
134 changed files with 10987 additions and 62 deletions
@@ -196,6 +196,30 @@ export class OpenApiService {
nameSingular: 'apiKey',
namePlural: 'apiKeys',
},
{
nameSingular: 'view',
namePlural: 'views',
},
{
nameSingular: 'viewField',
namePlural: 'viewFields',
},
{
nameSingular: 'viewFilter',
namePlural: 'viewFilters',
},
{
nameSingular: 'viewSort',
namePlural: 'viewSorts',
},
{
nameSingular: 'viewGroup',
namePlural: 'viewGroups',
},
{
nameSingular: 'viewFilterGroup',
namePlural: 'viewFilterGroups',
},
];
schema.paths = metadata.reduce((path, item) => {