Files
twenty/packages/twenty-server/test/integration/graphql/suites/query-complexity/constants/tooManyRootResolversQueryGqlFields.constant.ts
T
Charles BochetandGitHub b284c8323c Remove Favorite and FavoriteFolder from workspace schema (#19536)
## Summary

- Removes all workspace schema definitions for `Favorite` and
`FavoriteFolder` entities, which have been fully migrated to
`NavigationMenuItems`
- Deletes 26 standalone files including workspace entities, NestJS
modules, services, listeners, jobs, standard application builders (field
metadata, views, view fields, view field groups, indexes, page layouts),
mocks, and integration tests
- Cleans up ~40 modified files: removes `favorites` relation from 10
workspace entities and their field metadata utils, removes entries from
all builder maps, shared constants (`STANDARD_OBJECTS`,
`CoreObjectNameSingular`, `DEFAULT_RELATIONS_OBJECTS_STANDARD_IDS`), SDK
default relations, AI tool filtering, and standard object icons
2026-04-10 12:47:06 +02:00

161 lines
2.0 KiB
TypeScript

import gql from 'graphql-tag';
export const TOO_MANY_ROOT_RESOLVERS_QUERY_GQL_FIELDS = gql`
query {
people {
edges {
node {
id
}
}
}
companies {
edges {
node {
id
}
}
}
tasks {
edges {
node {
id
}
}
}
notes {
edges {
node {
id
}
}
}
attachments {
edges {
node {
id
}
}
}
noteTargets {
edges {
node {
id
}
}
}
taskTargets {
edges {
node {
id
}
}
}
opportunities {
edges {
node {
id
}
}
}
blocklists {
edges {
node {
id
}
}
}
calendarEvents {
edges {
node {
id
}
}
}
calendarEventParticipants {
edges {
node {
id
}
}
}
calendarChannels {
edges {
node {
id
}
}
}
calendarChannelEventAssociations {
edges {
node {
id
}
}
}
messageThreads {
edges {
node {
id
}
}
}
messageChannels {
edges {
node {
id
}
}
}
messageChannelMessageAssociations {
edges {
node {
id
}
}
}
timelineActivities {
edges {
node {
id
}
}
}
workflowRuns {
edges {
node {
id
}
}
}
workflowVersions {
edges {
node {
id
}
}
}
workflowAutomatedTriggers {
edges {
node {
id
}
}
}
workflows {
edges {
node {
id
}
}
}
dashboards {
edges {
node {
id
}
}
}
}
`;