From ffdda50afc1915c382ed26216b96bafcf05f895f Mon Sep 17 00:00:00 2001
From: Abdul Rahman <81605929+abdulrahmancodes@users.noreply.github.com>
Date: Fri, 10 Jul 2026 17:30:23 +0530
Subject: [PATCH] remove nestjs-query auto-resolver from index-metadata
(#22775)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
## Summary
Removes the `NestjsQueryGraphQLModule.forFeature` block from
`IndexMetadataModule`, continuing the incremental migration off
`@ptc-org/nestjs-query`.
- Drops the dead auto-generated read surface: `index` and
`indexMetadatas` queries, the `IndexConnection` /
`IndexObjectMetadataConnection` types, and the `Index.objectMetadata`
field. No client consumes these — the frontend reads indexes via
`ObjectMetadata.indexMetadatas`.
- Keeps `IndexMetadataDTO` nestjs-query-compatible (`@Authorize`,
`@FilterableField`, `@QueryOptions`, `@IDField`) because
`ObjectMetadataDTO` still references it via
`@CursorConnection('indexMetadatas')` until object-metadata is migrated.
- Hand-written `createOneIndex` / `deleteOneIndex` mutations and the
`indexFieldMetadataList` resolve-field are unchanged.
- Deletes the now-obsolete `index-metadatas` integration test and
regenerates the GraphQL schema artifacts (frontend + client-sdk).
## Breaking change
This is an intentional GraphQL schema breaking change
(`api-breaking-changes` CI will flag it)
---
.../src/metadata/generated/schema.graphql | 188 +-
.../src/metadata/generated/schema.ts | 262 +--
.../src/metadata/generated/types.ts | 2051 ++++++++---------
.../src/generated-metadata/graphql.ts | 36 -
.../index-metadata/dtos/index-metadata.dto.ts | 5 +-
.../index-metadata/index-metadata.module.ts | 35 -
.../index-metadatas.integration-spec.ts | 59 -
7 files changed, 1174 insertions(+), 1462 deletions(-)
delete mode 100644 packages/twenty-server/test/integration/graphql/suites/object-generated/index-metadatas.integration-spec.ts
diff --git a/packages/twenty-client-sdk/src/metadata/generated/schema.graphql b/packages/twenty-client-sdk/src/metadata/generated/schema.graphql
index f3ef6aabad..2e77608a53 100644
--- a/packages/twenty-client-sdk/src/metadata/generated/schema.graphql
+++ b/packages/twenty-client-sdk/src/metadata/generated/schema.graphql
@@ -535,13 +535,6 @@ type Index {
createdAt: DateTime!
updatedAt: DateTime!
indexFieldMetadataList: [IndexField!]!
- objectMetadata(
- """Limit or page results."""
- paging: CursorPaging! = {first: 10}
-
- """Specify to filter the records returned."""
- filter: ObjectFilter! = {}
- ): IndexObjectMetadataConnection!
}
"""Type of the index"""
@@ -550,58 +543,6 @@ enum IndexType {
GIN
}
-input CursorPaging {
- """Paginate before opaque cursor"""
- before: ConnectionCursor
-
- """Paginate after opaque cursor"""
- after: ConnectionCursor
-
- """Paginate first"""
- first: Int
-
- """Paginate last"""
- last: Int
-}
-
-"""Cursor for paging through collections"""
-scalar ConnectionCursor
-
-input ObjectFilter {
- and: [ObjectFilter!]
- or: [ObjectFilter!]
- id: UUIDFilterComparison
- isRemote: BooleanFieldComparison
- isActive: BooleanFieldComparison
- isSystem: BooleanFieldComparison
- isUIEditable: BooleanFieldComparison
- isUICreatable: BooleanFieldComparison
- isUIReadOnly: BooleanFieldComparison
- isSearchable: BooleanFieldComparison
-}
-
-input UUIDFilterComparison {
- is: Boolean
- isNot: Boolean
- eq: UUID
- neq: UUID
- gt: UUID
- gte: UUID
- lt: UUID
- lte: UUID
- like: UUID
- notLike: UUID
- iLike: UUID
- notILike: UUID
- in: [UUID!]
- notIn: [UUID!]
-}
-
-input BooleanFieldComparison {
- is: Boolean
- isNot: Boolean
-}
-
type Object {
id: UUID!
universalIdentifier: String!
@@ -646,6 +587,23 @@ type Object {
): ObjectIndexMetadatasConnection!
}
+input CursorPaging {
+ """Paginate before opaque cursor"""
+ before: ConnectionCursor
+
+ """Paginate after opaque cursor"""
+ after: ConnectionCursor
+
+ """Paginate first"""
+ first: Int
+
+ """Paginate last"""
+ last: Int
+}
+
+"""Cursor for paging through collections"""
+scalar ConnectionCursor
+
input FieldFilter {
and: [FieldFilter!]
or: [FieldFilter!]
@@ -657,6 +615,28 @@ input FieldFilter {
objectMetadataId: UUIDFilterComparison
}
+input UUIDFilterComparison {
+ is: Boolean
+ isNot: Boolean
+ eq: UUID
+ neq: UUID
+ gt: UUID
+ gte: UUID
+ lt: UUID
+ lte: UUID
+ like: UUID
+ notLike: UUID
+ iLike: UUID
+ notILike: UUID
+ in: [UUID!]
+ notIn: [UUID!]
+}
+
+input BooleanFieldComparison {
+ is: Boolean
+ isNot: Boolean
+}
+
input IndexFilter {
and: [IndexFilter!]
or: [IndexFilter!]
@@ -2001,9 +1981,23 @@ type IndexField {
updatedAt: DateTime!
}
-type IndexEdge {
- """The node containing the Index"""
- node: Index!
+type ObjectRecordCount {
+ objectNamePlural: String!
+ totalCount: Int!
+}
+
+type SearchField {
+ id: UUID!
+ fieldMetadataId: UUID!
+ tsVectorFieldMetadataId: UUID!
+ position: Float!
+ createdAt: DateTime!
+ updatedAt: DateTime!
+}
+
+type ObjectEdge {
+ """The node containing the Object"""
+ node: Object!
"""Cursor for this node."""
cursor: ConnectionCursor!
@@ -2023,44 +2017,6 @@ type PageInfo {
endCursor: ConnectionCursor
}
-type IndexConnection {
- """Paging information"""
- pageInfo: PageInfo!
-
- """Array of edges."""
- edges: [IndexEdge!]!
-}
-
-type ObjectEdge {
- """The node containing the Object"""
- node: Object!
-
- """Cursor for this node."""
- cursor: ConnectionCursor!
-}
-
-type IndexObjectMetadataConnection {
- """Paging information"""
- pageInfo: PageInfo!
-
- """Array of edges."""
- edges: [ObjectEdge!]!
-}
-
-type ObjectRecordCount {
- objectNamePlural: String!
- totalCount: Int!
-}
-
-type SearchField {
- id: UUID!
- fieldMetadataId: UUID!
- tsVectorFieldMetadataId: UUID!
- position: Float!
- createdAt: DateTime!
- updatedAt: DateTime!
-}
-
type ObjectConnection {
"""Paging information"""
pageInfo: PageInfo!
@@ -2069,6 +2025,14 @@ type ObjectConnection {
edges: [ObjectEdge!]!
}
+type IndexEdge {
+ """The node containing the Index"""
+ node: Index!
+
+ """Cursor for this node."""
+ cursor: ConnectionCursor!
+}
+
type ObjectIndexMetadatasConnection {
"""Paging information"""
pageInfo: PageInfo!
@@ -3107,17 +3071,6 @@ type Query {
"""Specify to filter the records returned."""
filter: ObjectFilter! = {}
): ObjectConnection!
- index(
- """The id of the record to find."""
- id: UUID!
- ): Index!
- indexMetadatas(
- """Limit or page results."""
- paging: CursorPaging! = {first: 10}
-
- """Specify to filter the records returned."""
- filter: IndexFilter! = {}
- ): IndexConnection!
findOneLogicFunction(input: LogicFunctionIdInput!): LogicFunction!
findManyLogicFunctions: [LogicFunction!]!
getAvailablePackages(input: LogicFunctionIdInput!): JSON!
@@ -3208,6 +3161,19 @@ input AgentIdInput {
id: UUID!
}
+input ObjectFilter {
+ and: [ObjectFilter!]
+ or: [ObjectFilter!]
+ id: UUIDFilterComparison
+ isRemote: BooleanFieldComparison
+ isActive: BooleanFieldComparison
+ isSystem: BooleanFieldComparison
+ isUIEditable: BooleanFieldComparison
+ isUICreatable: BooleanFieldComparison
+ isUIReadOnly: BooleanFieldComparison
+ isSearchable: BooleanFieldComparison
+}
+
input LogicFunctionIdInput {
"""The id of the function."""
id: ID!
diff --git a/packages/twenty-client-sdk/src/metadata/generated/schema.ts b/packages/twenty-client-sdk/src/metadata/generated/schema.ts
index cad652e3c5..ceaf9b4816 100644
--- a/packages/twenty-client-sdk/src/metadata/generated/schema.ts
+++ b/packages/twenty-client-sdk/src/metadata/generated/schema.ts
@@ -392,7 +392,6 @@ export interface Index {
createdAt: Scalars['DateTime']
updatedAt: Scalars['DateTime']
indexFieldMetadataList: IndexField[]
- objectMetadata: IndexObjectMetadataConnection
__typename: 'Index'
}
@@ -1644,50 +1643,6 @@ export interface IndexField {
__typename: 'IndexField'
}
-export interface IndexEdge {
- /** The node containing the Index */
- node: Index
- /** Cursor for this node. */
- cursor: Scalars['ConnectionCursor']
- __typename: 'IndexEdge'
-}
-
-export interface PageInfo {
- /** true if paging forward and there are more records. */
- hasNextPage?: Scalars['Boolean']
- /** true if paging backwards and there are more records. */
- hasPreviousPage?: Scalars['Boolean']
- /** The cursor of the first returned record. */
- startCursor?: Scalars['ConnectionCursor']
- /** The cursor of the last returned record. */
- endCursor?: Scalars['ConnectionCursor']
- __typename: 'PageInfo'
-}
-
-export interface IndexConnection {
- /** Paging information */
- pageInfo: PageInfo
- /** Array of edges. */
- edges: IndexEdge[]
- __typename: 'IndexConnection'
-}
-
-export interface ObjectEdge {
- /** The node containing the Object */
- node: Object
- /** Cursor for this node. */
- cursor: Scalars['ConnectionCursor']
- __typename: 'ObjectEdge'
-}
-
-export interface IndexObjectMetadataConnection {
- /** Paging information */
- pageInfo: PageInfo
- /** Array of edges. */
- edges: ObjectEdge[]
- __typename: 'IndexObjectMetadataConnection'
-}
-
export interface ObjectRecordCount {
objectNamePlural: Scalars['String']
totalCount: Scalars['Int']
@@ -1704,6 +1659,26 @@ export interface SearchField {
__typename: 'SearchField'
}
+export interface ObjectEdge {
+ /** The node containing the Object */
+ node: Object
+ /** Cursor for this node. */
+ cursor: Scalars['ConnectionCursor']
+ __typename: 'ObjectEdge'
+}
+
+export interface PageInfo {
+ /** true if paging forward and there are more records. */
+ hasNextPage?: Scalars['Boolean']
+ /** true if paging backwards and there are more records. */
+ hasPreviousPage?: Scalars['Boolean']
+ /** The cursor of the first returned record. */
+ startCursor?: Scalars['ConnectionCursor']
+ /** The cursor of the last returned record. */
+ endCursor?: Scalars['ConnectionCursor']
+ __typename: 'PageInfo'
+}
+
export interface ObjectConnection {
/** Paging information */
pageInfo: PageInfo
@@ -1712,6 +1687,14 @@ export interface ObjectConnection {
__typename: 'ObjectConnection'
}
+export interface IndexEdge {
+ /** The node containing the Index */
+ node: Index
+ /** Cursor for this node. */
+ cursor: Scalars['ConnectionCursor']
+ __typename: 'IndexEdge'
+}
+
export interface ObjectIndexMetadatasConnection {
/** Paging information */
pageInfo: PageInfo
@@ -2739,8 +2722,6 @@ export interface Query {
objectRecordCounts: ObjectRecordCount[]
object: Object
objects: ObjectConnection
- index: Index
- indexMetadatas: IndexConnection
findOneLogicFunction: LogicFunction
findManyLogicFunctions: LogicFunction[]
getAvailablePackages: Scalars['JSON']
@@ -3447,31 +3428,10 @@ export interface IndexGenqlSelection{
createdAt?: boolean | number
updatedAt?: boolean | number
indexFieldMetadataList?: IndexFieldGenqlSelection
- objectMetadata?: (IndexObjectMetadataConnectionGenqlSelection & { __args: {
- /** Limit or page results. */
- paging: CursorPaging,
- /** Specify to filter the records returned. */
- filter: ObjectFilter} })
__typename?: boolean | number
__scalar?: boolean | number
}
-export interface CursorPaging {
-/** Paginate before opaque cursor */
-before?: (Scalars['ConnectionCursor'] | null),
-/** Paginate after opaque cursor */
-after?: (Scalars['ConnectionCursor'] | null),
-/** Paginate first */
-first?: (Scalars['Int'] | null),
-/** Paginate last */
-last?: (Scalars['Int'] | null)}
-
-export interface ObjectFilter {and?: (ObjectFilter[] | null),or?: (ObjectFilter[] | null),id?: (UUIDFilterComparison | null),isRemote?: (BooleanFieldComparison | null),isActive?: (BooleanFieldComparison | null),isSystem?: (BooleanFieldComparison | null),isUIEditable?: (BooleanFieldComparison | null),isUICreatable?: (BooleanFieldComparison | null),isUIReadOnly?: (BooleanFieldComparison | null),isSearchable?: (BooleanFieldComparison | null)}
-
-export interface UUIDFilterComparison {is?: (Scalars['Boolean'] | null),isNot?: (Scalars['Boolean'] | null),eq?: (Scalars['UUID'] | null),neq?: (Scalars['UUID'] | null),gt?: (Scalars['UUID'] | null),gte?: (Scalars['UUID'] | null),lt?: (Scalars['UUID'] | null),lte?: (Scalars['UUID'] | null),like?: (Scalars['UUID'] | null),notLike?: (Scalars['UUID'] | null),iLike?: (Scalars['UUID'] | null),notILike?: (Scalars['UUID'] | null),in?: (Scalars['UUID'][] | null),notIn?: (Scalars['UUID'][] | null)}
-
-export interface BooleanFieldComparison {is?: (Scalars['Boolean'] | null),isNot?: (Scalars['Boolean'] | null)}
-
export interface ObjectGenqlSelection{
id?: boolean | number
universalIdentifier?: boolean | number
@@ -3515,8 +3475,22 @@ export interface ObjectGenqlSelection{
__scalar?: boolean | number
}
+export interface CursorPaging {
+/** Paginate before opaque cursor */
+before?: (Scalars['ConnectionCursor'] | null),
+/** Paginate after opaque cursor */
+after?: (Scalars['ConnectionCursor'] | null),
+/** Paginate first */
+first?: (Scalars['Int'] | null),
+/** Paginate last */
+last?: (Scalars['Int'] | null)}
+
export interface FieldFilter {and?: (FieldFilter[] | null),or?: (FieldFilter[] | null),id?: (UUIDFilterComparison | null),isActive?: (BooleanFieldComparison | null),isSystem?: (BooleanFieldComparison | null),isUIEditable?: (BooleanFieldComparison | null),isUIReadOnly?: (BooleanFieldComparison | null),objectMetadataId?: (UUIDFilterComparison | null)}
+export interface UUIDFilterComparison {is?: (Scalars['Boolean'] | null),isNot?: (Scalars['Boolean'] | null),eq?: (Scalars['UUID'] | null),neq?: (Scalars['UUID'] | null),gt?: (Scalars['UUID'] | null),gte?: (Scalars['UUID'] | null),lt?: (Scalars['UUID'] | null),lte?: (Scalars['UUID'] | null),like?: (Scalars['UUID'] | null),notLike?: (Scalars['UUID'] | null),iLike?: (Scalars['UUID'] | null),notILike?: (Scalars['UUID'] | null),in?: (Scalars['UUID'][] | null),notIn?: (Scalars['UUID'][] | null)}
+
+export interface BooleanFieldComparison {is?: (Scalars['Boolean'] | null),isNot?: (Scalars['Boolean'] | null)}
+
export interface IndexFilter {and?: (IndexFilter[] | null),or?: (IndexFilter[] | null),id?: (UUIDFilterComparison | null),isCustom?: (BooleanFieldComparison | null)}
export interface ApplicationGenqlSelection{
@@ -4758,9 +4732,27 @@ export interface IndexFieldGenqlSelection{
__scalar?: boolean | number
}
-export interface IndexEdgeGenqlSelection{
- /** The node containing the Index */
- node?: IndexGenqlSelection
+export interface ObjectRecordCountGenqlSelection{
+ objectNamePlural?: boolean | number
+ totalCount?: boolean | number
+ __typename?: boolean | number
+ __scalar?: boolean | number
+}
+
+export interface SearchFieldGenqlSelection{
+ id?: boolean | number
+ fieldMetadataId?: boolean | number
+ tsVectorFieldMetadataId?: boolean | number
+ position?: boolean | number
+ createdAt?: boolean | number
+ updatedAt?: boolean | number
+ __typename?: boolean | number
+ __scalar?: boolean | number
+}
+
+export interface ObjectEdgeGenqlSelection{
+ /** The node containing the Object */
+ node?: ObjectGenqlSelection
/** Cursor for this node. */
cursor?: boolean | number
__typename?: boolean | number
@@ -4780,51 +4772,6 @@ export interface PageInfoGenqlSelection{
__scalar?: boolean | number
}
-export interface IndexConnectionGenqlSelection{
- /** Paging information */
- pageInfo?: PageInfoGenqlSelection
- /** Array of edges. */
- edges?: IndexEdgeGenqlSelection
- __typename?: boolean | number
- __scalar?: boolean | number
-}
-
-export interface ObjectEdgeGenqlSelection{
- /** The node containing the Object */
- node?: ObjectGenqlSelection
- /** Cursor for this node. */
- cursor?: boolean | number
- __typename?: boolean | number
- __scalar?: boolean | number
-}
-
-export interface IndexObjectMetadataConnectionGenqlSelection{
- /** Paging information */
- pageInfo?: PageInfoGenqlSelection
- /** Array of edges. */
- edges?: ObjectEdgeGenqlSelection
- __typename?: boolean | number
- __scalar?: boolean | number
-}
-
-export interface ObjectRecordCountGenqlSelection{
- objectNamePlural?: boolean | number
- totalCount?: boolean | number
- __typename?: boolean | number
- __scalar?: boolean | number
-}
-
-export interface SearchFieldGenqlSelection{
- id?: boolean | number
- fieldMetadataId?: boolean | number
- tsVectorFieldMetadataId?: boolean | number
- position?: boolean | number
- createdAt?: boolean | number
- updatedAt?: boolean | number
- __typename?: boolean | number
- __scalar?: boolean | number
-}
-
export interface ObjectConnectionGenqlSelection{
/** Paging information */
pageInfo?: PageInfoGenqlSelection
@@ -4834,6 +4781,15 @@ export interface ObjectConnectionGenqlSelection{
__scalar?: boolean | number
}
+export interface IndexEdgeGenqlSelection{
+ /** The node containing the Index */
+ node?: IndexGenqlSelection
+ /** Cursor for this node. */
+ cursor?: boolean | number
+ __typename?: boolean | number
+ __scalar?: boolean | number
+}
+
export interface ObjectIndexMetadatasConnectionGenqlSelection{
/** Paging information */
pageInfo?: PageInfoGenqlSelection
@@ -5943,14 +5899,6 @@ export interface QueryGenqlSelection{
paging: CursorPaging,
/** Specify to filter the records returned. */
filter: ObjectFilter} })
- index?: (IndexGenqlSelection & { __args: {
- /** The id of the record to find. */
- id: Scalars['UUID']} })
- indexMetadatas?: (IndexConnectionGenqlSelection & { __args: {
- /** Limit or page results. */
- paging: CursorPaging,
- /** Specify to filter the records returned. */
- filter: IndexFilter} })
findOneLogicFunction?: (LogicFunctionGenqlSelection & { __args: {input: LogicFunctionIdInput} })
findManyLogicFunctions?: LogicFunctionGenqlSelection
getAvailablePackages?: { __args: {input: LogicFunctionIdInput} }
@@ -6037,6 +5985,8 @@ export interface AgentIdInput {
/** The id of the agent. */
id: Scalars['UUID']}
+export interface ObjectFilter {and?: (ObjectFilter[] | null),or?: (ObjectFilter[] | null),id?: (UUIDFilterComparison | null),isRemote?: (BooleanFieldComparison | null),isActive?: (BooleanFieldComparison | null),isSystem?: (BooleanFieldComparison | null),isUIEditable?: (BooleanFieldComparison | null),isUICreatable?: (BooleanFieldComparison | null),isUIReadOnly?: (BooleanFieldComparison | null),isSearchable?: (BooleanFieldComparison | null)}
+
export interface LogicFunctionIdInput {
/** The id of the function. */
id: Scalars['ID']}
@@ -7776,46 +7726,6 @@ export interface LogicFunctionLogsInput {applicationId?: (Scalars['UUID'] | null
- const IndexEdge_possibleTypes: string[] = ['IndexEdge']
- export const isIndexEdge = (obj?: { __typename?: any } | null): obj is IndexEdge => {
- if (!obj?.__typename) throw new Error('__typename is missing in "isIndexEdge"')
- return IndexEdge_possibleTypes.includes(obj.__typename)
- }
-
-
-
- const PageInfo_possibleTypes: string[] = ['PageInfo']
- export const isPageInfo = (obj?: { __typename?: any } | null): obj is PageInfo => {
- if (!obj?.__typename) throw new Error('__typename is missing in "isPageInfo"')
- return PageInfo_possibleTypes.includes(obj.__typename)
- }
-
-
-
- const IndexConnection_possibleTypes: string[] = ['IndexConnection']
- export const isIndexConnection = (obj?: { __typename?: any } | null): obj is IndexConnection => {
- if (!obj?.__typename) throw new Error('__typename is missing in "isIndexConnection"')
- return IndexConnection_possibleTypes.includes(obj.__typename)
- }
-
-
-
- const ObjectEdge_possibleTypes: string[] = ['ObjectEdge']
- export const isObjectEdge = (obj?: { __typename?: any } | null): obj is ObjectEdge => {
- if (!obj?.__typename) throw new Error('__typename is missing in "isObjectEdge"')
- return ObjectEdge_possibleTypes.includes(obj.__typename)
- }
-
-
-
- const IndexObjectMetadataConnection_possibleTypes: string[] = ['IndexObjectMetadataConnection']
- export const isIndexObjectMetadataConnection = (obj?: { __typename?: any } | null): obj is IndexObjectMetadataConnection => {
- if (!obj?.__typename) throw new Error('__typename is missing in "isIndexObjectMetadataConnection"')
- return IndexObjectMetadataConnection_possibleTypes.includes(obj.__typename)
- }
-
-
-
const ObjectRecordCount_possibleTypes: string[] = ['ObjectRecordCount']
export const isObjectRecordCount = (obj?: { __typename?: any } | null): obj is ObjectRecordCount => {
if (!obj?.__typename) throw new Error('__typename is missing in "isObjectRecordCount"')
@@ -7832,6 +7742,22 @@ export interface LogicFunctionLogsInput {applicationId?: (Scalars['UUID'] | null
+ const ObjectEdge_possibleTypes: string[] = ['ObjectEdge']
+ export const isObjectEdge = (obj?: { __typename?: any } | null): obj is ObjectEdge => {
+ if (!obj?.__typename) throw new Error('__typename is missing in "isObjectEdge"')
+ return ObjectEdge_possibleTypes.includes(obj.__typename)
+ }
+
+
+
+ const PageInfo_possibleTypes: string[] = ['PageInfo']
+ export const isPageInfo = (obj?: { __typename?: any } | null): obj is PageInfo => {
+ if (!obj?.__typename) throw new Error('__typename is missing in "isPageInfo"')
+ return PageInfo_possibleTypes.includes(obj.__typename)
+ }
+
+
+
const ObjectConnection_possibleTypes: string[] = ['ObjectConnection']
export const isObjectConnection = (obj?: { __typename?: any } | null): obj is ObjectConnection => {
if (!obj?.__typename) throw new Error('__typename is missing in "isObjectConnection"')
@@ -7840,6 +7766,14 @@ export interface LogicFunctionLogsInput {applicationId?: (Scalars['UUID'] | null
+ const IndexEdge_possibleTypes: string[] = ['IndexEdge']
+ export const isIndexEdge = (obj?: { __typename?: any } | null): obj is IndexEdge => {
+ if (!obj?.__typename) throw new Error('__typename is missing in "isIndexEdge"')
+ return IndexEdge_possibleTypes.includes(obj.__typename)
+ }
+
+
+
const ObjectIndexMetadatasConnection_possibleTypes: string[] = ['ObjectIndexMetadatasConnection']
export const isObjectIndexMetadatasConnection = (obj?: { __typename?: any } | null): obj is ObjectIndexMetadatasConnection => {
if (!obj?.__typename) throw new Error('__typename is missing in "isObjectIndexMetadatasConnection"')
diff --git a/packages/twenty-client-sdk/src/metadata/generated/types.ts b/packages/twenty-client-sdk/src/metadata/generated/types.ts
index 949d591acf..d7f54cd205 100644
--- a/packages/twenty-client-sdk/src/metadata/generated/types.ts
+++ b/packages/twenty-client-sdk/src/metadata/generated/types.ts
@@ -19,70 +19,70 @@ export default {
42,
44,
46,
- 48,
- 57,
- 59,
- 61,
- 64,
+ 49,
+ 56,
+ 58,
+ 60,
+ 63,
+ 66,
67,
68,
69,
70,
- 71,
+ 72,
73,
- 74,
+ 75,
76,
- 77,
- 82,
- 85,
+ 81,
+ 84,
+ 89,
90,
- 91,
+ 93,
94,
- 95,
- 97,
+ 96,
+ 99,
100,
- 101,
- 107,
- 121,
+ 106,
+ 120,
+ 131,
132,
133,
- 134,
- 136,
- 145,
- 158,
- 161,
- 163,
- 167,
- 169,
+ 135,
+ 144,
+ 157,
+ 160,
+ 162,
+ 166,
+ 168,
+ 175,
176,
- 177,
- 184,
- 187,
- 190,
- 201,
- 216,
- 233,
- 239,
+ 183,
+ 186,
+ 189,
+ 200,
+ 213,
+ 230,
+ 236,
+ 270,
+ 272,
273,
+ 274,
275,
276,
277,
278,
- 279,
- 280,
- 281,
- 288,
+ 285,
+ 325,
+ 326,
+ 327,
328,
- 329,
330,
- 331,
- 333,
- 335,
- 346,
- 353,
- 360,
- 361,
- 487
+ 332,
+ 344,
+ 351,
+ 358,
+ 359,
+ 485
],
"types": {
"BillingProductDTO": {
@@ -96,13 +96,13 @@ export default {
1
],
"metadata": [
- 131
+ 130
],
"on_BillingLicensedProduct": [
- 140
+ 139
],
"on_BillingMeteredProduct": [
- 141
+ 140
],
"__typename": [
1
@@ -343,7 +343,7 @@ export default {
3
],
"user": [
- 75
+ 74
],
"userId": [
3
@@ -951,13 +951,13 @@ export default {
3
],
"relation": [
- 200
+ 199
],
"morphRelations": [
- 200
+ 199
],
"object": [
- 52
+ 47
],
"__typename": [
1
@@ -990,137 +990,13 @@ export default {
4
],
"indexFieldMetadataList": [
- 202
- ],
- "objectMetadata": [
- 207,
- {
- "paging": [
- 47,
- "CursorPaging!"
- ],
- "filter": [
- 49,
- "ObjectFilter!"
- ]
- }
+ 201
],
"__typename": [
1
]
},
"IndexType": {},
- "CursorPaging": {
- "before": [
- 48
- ],
- "after": [
- 48
- ],
- "first": [
- 21
- ],
- "last": [
- 21
- ],
- "__typename": [
- 1
- ]
- },
- "ConnectionCursor": {},
- "ObjectFilter": {
- "and": [
- 49
- ],
- "or": [
- 49
- ],
- "id": [
- 50
- ],
- "isRemote": [
- 51
- ],
- "isActive": [
- 51
- ],
- "isSystem": [
- 51
- ],
- "isUIEditable": [
- 51
- ],
- "isUICreatable": [
- 51
- ],
- "isUIReadOnly": [
- 51
- ],
- "isSearchable": [
- 51
- ],
- "__typename": [
- 1
- ]
- },
- "UUIDFilterComparison": {
- "is": [
- 6
- ],
- "isNot": [
- 6
- ],
- "eq": [
- 3
- ],
- "neq": [
- 3
- ],
- "gt": [
- 3
- ],
- "gte": [
- 3
- ],
- "lt": [
- 3
- ],
- "lte": [
- 3
- ],
- "like": [
- 3
- ],
- "notLike": [
- 3
- ],
- "iLike": [
- 3
- ],
- "notILike": [
- 3
- ],
- "in": [
- 3
- ],
- "notIn": [
- 3
- ],
- "__typename": [
- 1
- ]
- },
- "BooleanFieldComparison": {
- "is": [
- 6
- ],
- "isNot": [
- 6
- ],
- "__typename": [
- 1
- ]
- },
"Object": {
"id": [
3
@@ -1201,30 +1077,30 @@ export default {
45
],
"searchFieldMetadataList": [
- 209
+ 203
],
"fields": [
- 213,
+ 210,
{
"paging": [
- 47,
+ 48,
"CursorPaging!"
],
"filter": [
- 53,
+ 50,
"FieldFilter!"
]
}
],
"indexMetadatas": [
- 211,
+ 208,
{
"paging": [
- 47,
+ 48,
"CursorPaging!"
],
"filter": [
- 54,
+ 53,
"IndexFilter!"
]
}
@@ -1233,30 +1109,106 @@ export default {
1
]
},
+ "CursorPaging": {
+ "before": [
+ 49
+ ],
+ "after": [
+ 49
+ ],
+ "first": [
+ 21
+ ],
+ "last": [
+ 21
+ ],
+ "__typename": [
+ 1
+ ]
+ },
+ "ConnectionCursor": {},
"FieldFilter": {
"and": [
- 53
+ 50
],
"or": [
- 53
+ 50
],
"id": [
- 50
+ 51
],
"isActive": [
- 51
+ 52
],
"isSystem": [
- 51
+ 52
],
"isUIEditable": [
- 51
+ 52
],
"isUIReadOnly": [
- 51
+ 52
],
"objectMetadataId": [
- 50
+ 51
+ ],
+ "__typename": [
+ 1
+ ]
+ },
+ "UUIDFilterComparison": {
+ "is": [
+ 6
+ ],
+ "isNot": [
+ 6
+ ],
+ "eq": [
+ 3
+ ],
+ "neq": [
+ 3
+ ],
+ "gt": [
+ 3
+ ],
+ "gte": [
+ 3
+ ],
+ "lt": [
+ 3
+ ],
+ "lte": [
+ 3
+ ],
+ "like": [
+ 3
+ ],
+ "notLike": [
+ 3
+ ],
+ "iLike": [
+ 3
+ ],
+ "notILike": [
+ 3
+ ],
+ "in": [
+ 3
+ ],
+ "notIn": [
+ 3
+ ],
+ "__typename": [
+ 1
+ ]
+ },
+ "BooleanFieldComparison": {
+ "is": [
+ 6
+ ],
+ "isNot": [
+ 6
],
"__typename": [
1
@@ -1264,16 +1216,16 @@ export default {
},
"IndexFilter": {
"and": [
- 54
+ 53
],
"or": [
- 54
+ 53
],
"id": [
- 50
+ 51
],
"isCustom": [
- 51
+ 52
],
"__typename": [
1
@@ -1344,7 +1296,7 @@ export default {
41
],
"objects": [
- 52
+ 47
],
"applicationVariables": [
31
@@ -1373,7 +1325,7 @@ export default {
12
],
"aggregateOperation": [
- 57
+ 56
],
"viewId": [
3
@@ -1412,7 +1364,7 @@ export default {
3
],
"logicalOperator": [
- 59
+ 58
],
"positionInViewFilterGroup": [
12
@@ -1445,7 +1397,7 @@ export default {
3
],
"operand": [
- 61
+ 60
],
"value": [
7
@@ -1522,7 +1474,7 @@ export default {
3
],
"direction": [
- 64
+ 63
],
"subFieldName": [
1
@@ -1579,7 +1531,7 @@ export default {
4
],
"viewFields": [
- 56
+ 55
],
"isOverridden": [
6
@@ -1599,10 +1551,10 @@ export default {
3
],
"type": [
- 67
+ 66
],
"key": [
- 68
+ 67
],
"icon": [
1
@@ -1617,10 +1569,10 @@ export default {
6
],
"openRecordIn": [
- 69
+ 68
],
"kanbanAggregateOperation": [
- 57
+ 56
],
"kanbanAggregateOperationFieldMetadataId": [
3
@@ -1644,7 +1596,7 @@ export default {
1
],
"calendarLayout": [
- 70
+ 69
],
"createdAt": [
4
@@ -1656,25 +1608,25 @@ export default {
4
],
"viewFields": [
- 56
+ 55
],
"viewFilters": [
- 60
+ 59
],
"viewFilterGroups": [
- 58
+ 57
],
"viewSorts": [
- 63
- ],
- "viewGroups": [
62
],
+ "viewGroups": [
+ 61
+ ],
"viewFieldGroups": [
- 65
+ 64
],
"visibility": [
- 71
+ 70
],
"createdByUserWorkspaceId": [
3
@@ -1723,7 +1675,7 @@ export default {
6
],
"workspaceDiscoverability": [
- 73
+ 72
],
"trashRetentionDays": [
12
@@ -1735,25 +1687,25 @@ export default {
12
],
"activationStatus": [
- 74
+ 73
],
"views": [
- 66
+ 65
],
"viewFields": [
- 56
+ 55
],
"viewFilters": [
- 60
+ 59
],
"viewFilterGroups": [
- 58
+ 57
],
"viewGroups": [
- 62
+ 61
],
"viewSorts": [
- 63
+ 62
],
"metadataVersion": [
12
@@ -1819,25 +1771,25 @@ export default {
1
],
"workspaceCustomApplication": [
- 55
+ 54
],
"featureFlags": [
- 168
+ 167
],
"billingSubscriptions": [
- 144
- ],
- "installedApplications": [
- 55
- ],
- "currentBillingSubscription": [
- 144
- ],
- "billingCustomer": [
143
],
+ "installedApplications": [
+ 54
+ ],
+ "currentBillingSubscription": [
+ 143
+ ],
+ "billingCustomer": [
+ 142
+ ],
"billingEntitlements": [
- 232
+ 229
],
"hasValidSignedEnterpriseKey": [
6
@@ -1846,7 +1798,7 @@ export default {
6
],
"workspaceUrls": [
- 170
+ 169
],
"workspaceCustomApplicationId": [
1
@@ -1901,22 +1853,22 @@ export default {
17
],
"onboardingStatus": [
- 76
+ 75
],
"currentWorkspace": [
- 72
+ 71
],
"currentUserWorkspace": [
17
],
"userVars": [
- 77
+ 76
],
"workspaceMembers": [
20
],
"deletedWorkspaceMembers": [
- 226
+ 223
],
"hasPassword": [
6
@@ -1928,7 +1880,7 @@ export default {
17
],
"availableWorkspaces": [
- 225
+ 222
],
"__typename": [
1
@@ -1989,19 +1941,19 @@ export default {
1
],
"type": [
- 82
+ 81
],
"objectMetadataId": [
3
],
"gridPosition": [
- 80
+ 79
],
"position": [
- 83
+ 82
],
"configuration": [
- 88
+ 87
],
"conditionalDisplay": [
7
@@ -2031,13 +1983,13 @@ export default {
"WidgetType": {},
"PageLayoutWidgetPosition": {
"on_PageLayoutWidgetGridPosition": [
- 84
+ 83
],
"on_PageLayoutWidgetVerticalListPosition": [
- 86
+ 85
],
"on_PageLayoutWidgetCanvasPosition": [
- 87
+ 86
],
"__typename": [
1
@@ -2045,7 +1997,7 @@ export default {
},
"PageLayoutWidgetGridPosition": {
"layoutMode": [
- 85
+ 84
],
"row": [
21
@@ -2066,7 +2018,7 @@ export default {
"PageLayoutTabLayoutMode": {},
"PageLayoutWidgetVerticalListPosition": {
"layoutMode": [
- 85
+ 84
],
"index": [
21
@@ -2077,7 +2029,7 @@ export default {
},
"PageLayoutWidgetCanvasPosition": {
"layoutMode": [
- 85
+ 84
],
"__typename": [
1
@@ -2085,70 +2037,70 @@ export default {
},
"WidgetConfiguration": {
"on_AggregateChartConfiguration": [
- 89
+ 88
],
"on_StandaloneRichTextConfiguration": [
- 92
+ 91
],
"on_PieChartConfiguration": [
- 93
+ 92
],
"on_LineChartConfiguration": [
- 96
+ 95
],
"on_IframeConfiguration": [
- 98
+ 97
],
"on_BarChartConfiguration": [
- 99
+ 98
],
"on_CalendarConfiguration": [
- 102
+ 101
],
"on_FrontComponentConfiguration": [
- 103
+ 102
],
"on_EmailsConfiguration": [
- 104
+ 103
],
"on_EmailThreadConfiguration": [
- 105
+ 104
],
"on_FieldConfiguration": [
- 106
+ 105
],
"on_FieldRichTextConfiguration": [
- 108
+ 107
],
"on_FieldsConfiguration": [
- 109
+ 108
],
"on_FilesConfiguration": [
- 110
+ 109
],
"on_NotesConfiguration": [
- 111
+ 110
],
"on_TasksConfiguration": [
- 112
+ 111
],
"on_TimelineConfiguration": [
- 113
+ 112
],
"on_ViewConfiguration": [
- 114
+ 113
],
"on_RecordTableConfiguration": [
- 115
+ 114
],
"on_WorkflowConfiguration": [
- 116
+ 115
],
"on_WorkflowRunConfiguration": [
- 117
+ 116
],
"on_WorkflowVersionConfiguration": [
- 118
+ 117
],
"__typename": [
1
@@ -2156,13 +2108,13 @@ export default {
},
"AggregateChartConfiguration": {
"configurationType": [
- 90
+ 89
],
"aggregateFieldMetadataId": [
3
],
"aggregateOperation": [
- 57
+ 56
],
"label": [
1
@@ -2171,7 +2123,7 @@ export default {
6
],
"numberFormat": [
- 91
+ 90
],
"description": [
1
@@ -2192,7 +2144,7 @@ export default {
1
],
"ratioAggregateConfig": [
- 78
+ 77
],
"__typename": [
1
@@ -2202,10 +2154,10 @@ export default {
"ChartNumberFormat": {},
"StandaloneRichTextConfiguration": {
"configurationType": [
- 90
+ 89
],
"body": [
- 79
+ 78
],
"__typename": [
1
@@ -2213,13 +2165,13 @@ export default {
},
"PieChartConfiguration": {
"configurationType": [
- 90
+ 89
],
"aggregateFieldMetadataId": [
3
],
"aggregateOperation": [
- 57
+ 56
],
"groupByFieldMetadataId": [
3
@@ -2228,10 +2180,10 @@ export default {
1
],
"dateGranularity": [
- 94
+ 93
],
"orderBy": [
- 95
+ 94
],
"manualSortOrder": [
1
@@ -2274,13 +2226,13 @@ export default {
"GraphOrderBy": {},
"LineChartConfiguration": {
"configurationType": [
- 90
+ 89
],
"aggregateFieldMetadataId": [
3
],
"aggregateOperation": [
- 57
+ 56
],
"primaryAxisGroupByFieldMetadataId": [
3
@@ -2289,10 +2241,10 @@ export default {
1
],
"primaryAxisDateGranularity": [
- 94
+ 93
],
"primaryAxisOrderBy": [
- 95
+ 94
],
"primaryAxisManualSortOrder": [
1
@@ -2304,10 +2256,10 @@ export default {
1
],
"secondaryAxisGroupByDateGranularity": [
- 94
+ 93
],
"secondaryAxisOrderBy": [
- 95
+ 94
],
"secondaryAxisManualSortOrder": [
1
@@ -2319,7 +2271,7 @@ export default {
6
],
"axisNameDisplay": [
- 97
+ 96
],
"displayDataLabel": [
6
@@ -2361,7 +2313,7 @@ export default {
"AxisNameDisplay": {},
"IframeConfiguration": {
"configurationType": [
- 90
+ 89
],
"url": [
1
@@ -2372,13 +2324,13 @@ export default {
},
"BarChartConfiguration": {
"configurationType": [
- 90
+ 89
],
"aggregateFieldMetadataId": [
3
],
"aggregateOperation": [
- 57
+ 56
],
"primaryAxisGroupByFieldMetadataId": [
3
@@ -2387,10 +2339,10 @@ export default {
1
],
"primaryAxisDateGranularity": [
- 94
+ 93
],
"primaryAxisOrderBy": [
- 95
+ 94
],
"primaryAxisManualSortOrder": [
1
@@ -2402,10 +2354,10 @@ export default {
1
],
"secondaryAxisGroupByDateGranularity": [
- 94
+ 93
],
"secondaryAxisOrderBy": [
- 95
+ 94
],
"secondaryAxisManualSortOrder": [
1
@@ -2417,7 +2369,7 @@ export default {
6
],
"axisNameDisplay": [
- 97
+ 96
],
"displayDataLabel": [
6
@@ -2441,10 +2393,10 @@ export default {
7
],
"groupMode": [
- 100
+ 99
],
"layout": [
- 101
+ 100
],
"isCumulative": [
6
@@ -2463,7 +2415,7 @@ export default {
"BarChartLayout": {},
"CalendarConfiguration": {
"configurationType": [
- 90
+ 89
],
"__typename": [
1
@@ -2471,7 +2423,7 @@ export default {
},
"FrontComponentConfiguration": {
"configurationType": [
- 90
+ 89
],
"frontComponentId": [
3
@@ -2482,7 +2434,7 @@ export default {
},
"EmailsConfiguration": {
"configurationType": [
- 90
+ 89
],
"__typename": [
1
@@ -2490,7 +2442,7 @@ export default {
},
"EmailThreadConfiguration": {
"configurationType": [
- 90
+ 89
],
"__typename": [
1
@@ -2498,13 +2450,13 @@ export default {
},
"FieldConfiguration": {
"configurationType": [
- 90
+ 89
],
"fieldMetadataId": [
1
],
"fieldDisplayMode": [
- 107
+ 106
],
"viewId": [
1
@@ -2516,7 +2468,7 @@ export default {
"FieldDisplayMode": {},
"FieldRichTextConfiguration": {
"configurationType": [
- 90
+ 89
],
"__typename": [
1
@@ -2524,7 +2476,7 @@ export default {
},
"FieldsConfiguration": {
"configurationType": [
- 90
+ 89
],
"viewId": [
1
@@ -2541,7 +2493,7 @@ export default {
},
"FilesConfiguration": {
"configurationType": [
- 90
+ 89
],
"__typename": [
1
@@ -2549,7 +2501,7 @@ export default {
},
"NotesConfiguration": {
"configurationType": [
- 90
+ 89
],
"__typename": [
1
@@ -2557,7 +2509,7 @@ export default {
},
"TasksConfiguration": {
"configurationType": [
- 90
+ 89
],
"__typename": [
1
@@ -2565,7 +2517,7 @@ export default {
},
"TimelineConfiguration": {
"configurationType": [
- 90
+ 89
],
"__typename": [
1
@@ -2573,7 +2525,7 @@ export default {
},
"ViewConfiguration": {
"configurationType": [
- 90
+ 89
],
"__typename": [
1
@@ -2581,7 +2533,7 @@ export default {
},
"RecordTableConfiguration": {
"configurationType": [
- 90
+ 89
],
"viewId": [
1
@@ -2595,7 +2547,7 @@ export default {
},
"WorkflowConfiguration": {
"configurationType": [
- 90
+ 89
],
"__typename": [
1
@@ -2603,7 +2555,7 @@ export default {
},
"WorkflowRunConfiguration": {
"configurationType": [
- 90
+ 89
],
"__typename": [
1
@@ -2611,7 +2563,7 @@ export default {
},
"WorkflowVersionConfiguration": {
"configurationType": [
- 90
+ 89
],
"__typename": [
1
@@ -2634,13 +2586,13 @@ export default {
3
],
"widgets": [
- 81
+ 80
],
"icon": [
1
],
"layoutMode": [
- 85
+ 84
],
"createdAt": [
4
@@ -2669,13 +2621,13 @@ export default {
1
],
"type": [
- 121
+ 120
],
"objectMetadataId": [
3
],
"tabs": [
- 119
+ 118
],
"defaultTabToFocusOnMobileAndSidePanelId": [
3
@@ -2725,7 +2677,7 @@ export default {
1
],
"oauth": [
- 122
+ 121
],
"__typename": [
1
@@ -2844,7 +2796,7 @@ export default {
12
],
"items": [
- 129
+ 128
],
"__typename": [
1
@@ -2852,13 +2804,13 @@ export default {
},
"BillingProductMetadata": {
"planKey": [
- 132
+ 131
],
"priceUsageBased": [
- 133
+ 132
],
"productKey": [
- 134
+ 133
],
"__typename": [
1
@@ -2869,7 +2821,7 @@ export default {
"BillingProductKey": {},
"BillingPriceLicensed": {
"recurringInterval": [
- 136
+ 135
],
"unitAmount": [
12
@@ -2878,7 +2830,7 @@ export default {
1
],
"priceUsageType": [
- 133
+ 132
],
"creditAmount": [
12
@@ -2904,16 +2856,16 @@ export default {
},
"BillingPriceMetered": {
"tiers": [
- 137
+ 136
],
"recurringInterval": [
- 136
+ 135
],
"stripePriceId": [
1
],
"priceUsageType": [
- 133
+ 132
],
"__typename": [
1
@@ -2930,7 +2882,7 @@ export default {
1
],
"metadata": [
- 131
+ 130
],
"__typename": [
1
@@ -2947,10 +2899,10 @@ export default {
1
],
"metadata": [
- 131
+ 130
],
"prices": [
- 135
+ 134
],
"__typename": [
1
@@ -2967,10 +2919,10 @@ export default {
1
],
"metadata": [
- 131
+ 130
],
"prices": [
- 138
+ 137
],
"__typename": [
1
@@ -3012,13 +2964,13 @@ export default {
3
],
"status": [
- 145
+ 144
],
"interval": [
- 136
+ 135
],
"billingSubscriptionItems": [
- 142
+ 141
],
"currentPeriodEnd": [
4
@@ -3027,7 +2979,7 @@ export default {
7
],
"phases": [
- 130
+ 129
],
"cancelAt": [
4
@@ -3039,7 +2991,7 @@ export default {
"SubscriptionStatus": {},
"BillingEndTrialPeriod": {
"status": [
- 145
+ 144
],
"hasPaymentMethod": [
6
@@ -3053,7 +3005,7 @@ export default {
},
"BillingResourceCreditUsage": {
"productKey": [
- 134
+ 133
],
"periodStart": [
4
@@ -3082,16 +3034,16 @@ export default {
},
"BillingPlan": {
"planKey": [
- 132
+ 131
],
"baseProducts": [
- 140
+ 139
],
"resourceCreditProducts": [
- 140
+ 139
],
"meteredProducts": [
- 141
+ 140
],
"__typename": [
1
@@ -3118,10 +3070,10 @@ export default {
},
"BillingUpdate": {
"currentBillingSubscription": [
- 144
+ 143
],
"billingSubscriptions": [
- 144
+ 143
],
"__typename": [
1
@@ -3171,7 +3123,7 @@ export default {
1
],
"result": [
- 154
+ 153
],
"__typename": [
1
@@ -3208,7 +3160,7 @@ export default {
3
],
"type": [
- 158
+ 157
],
"name": [
1
@@ -3241,7 +3193,7 @@ export default {
4
],
"targetRecordIdentifier": [
- 156
+ 155
],
"__typename": [
1
@@ -3267,7 +3219,7 @@ export default {
},
"MetadataEvent": {
"type": [
- 161
+ 160
],
"metadataName": [
1
@@ -3276,7 +3228,7 @@ export default {
1
],
"properties": [
- 159
+ 158
],
"updatedCollectionHash": [
1
@@ -3288,7 +3240,7 @@ export default {
"MetadataEventAction": {},
"ObjectRecordEvent": {
"action": [
- 163
+ 162
],
"objectNameSingular": [
1
@@ -3303,7 +3255,7 @@ export default {
1
],
"properties": [
- 159
+ 158
],
"__typename": [
1
@@ -3315,7 +3267,7 @@ export default {
1
],
"objectRecordEvent": [
- 162
+ 161
],
"__typename": [
1
@@ -3326,10 +3278,10 @@ export default {
1
],
"objectRecordEventsWithQueryIds": [
- 164
+ 163
],
"metadataEvents": [
- 160
+ 159
],
"__typename": [
1
@@ -3346,7 +3298,7 @@ export default {
12
],
"status": [
- 167
+ 166
],
"error": [
7
@@ -3358,7 +3310,7 @@ export default {
"LogicFunctionExecutionStatus": {},
"FeatureFlag": {
"key": [
- 169
+ 168
],
"value": [
6
@@ -3436,7 +3388,7 @@ export default {
1
],
"versionDistribution": [
- 172
+ 171
],
"__typename": [
1
@@ -3461,10 +3413,10 @@ export default {
1
],
"type": [
- 176
+ 175
],
"status": [
- 177
+ 176
],
"issuer": [
1
@@ -3477,7 +3429,7 @@ export default {
"SSOIdentityProviderStatus": {},
"AuthProviders": {
"sso": [
- 175
+ 174
],
"google": [
6
@@ -3514,10 +3466,10 @@ export default {
3
],
"authProviders": [
- 178
+ 177
],
"authBypassProviders": [
- 179
+ 178
],
"logo": [
1
@@ -3526,7 +3478,7 @@ export default {
1
],
"workspaceUrls": [
- 170
+ 169
],
"__typename": [
1
@@ -3565,7 +3517,7 @@ export default {
1
],
"modelFamily": [
- 184
+ 183
],
"modelFamilyLabel": [
1
@@ -3580,7 +3532,7 @@ export default {
12
],
"nativeCapabilities": [
- 182
+ 181
],
"isDeprecated": [
6
@@ -3619,7 +3571,7 @@ export default {
1
],
"trialPeriods": [
- 174
+ 173
],
"__typename": [
1
@@ -3627,7 +3579,7 @@ export default {
},
"Support": {
"supportDriver": [
- 187
+ 186
],
"supportFrontChatId": [
1
@@ -3653,7 +3605,7 @@ export default {
},
"Captcha": {
"provider": [
- 190
+ 189
],
"siteKey": [
1
@@ -3687,10 +3639,10 @@ export default {
},
"PublicFeatureFlag": {
"key": [
- 169
+ 168
],
"metadata": [
- 192
+ 191
],
"__typename": [
1
@@ -3715,13 +3667,13 @@ export default {
1
],
"authProviders": [
- 178
+ 177
],
"billing": [
- 185
+ 184
],
"aiModels": [
- 183
+ 182
],
"signInPrefilled": [
6
@@ -3745,25 +3697,25 @@ export default {
6
],
"support": [
- 186
+ 185
],
"isAttachmentPreviewEnabled": [
6
],
"sentry": [
- 188
+ 187
],
"captcha": [
- 189
+ 188
],
"api": [
- 191
+ 190
],
"canManageFeatureFlags": [
6
],
"publicFeatureFlags": [
- 193
+ 192
],
"isMicrosoftMessagingEnabled": [
6
@@ -3805,7 +3757,7 @@ export default {
1
],
"maintenance": [
- 194
+ 193
],
"__typename": [
1
@@ -3866,13 +3818,13 @@ export default {
},
"Relation": {
"type": [
- 201
+ 200
],
"sourceObjectMetadata": [
- 52
+ 47
],
"targetObjectMetadata": [
- 52
+ 47
],
"sourceFieldMetadata": [
43
@@ -3908,67 +3860,6 @@ export default {
1
]
},
- "IndexEdge": {
- "node": [
- 45
- ],
- "cursor": [
- 48
- ],
- "__typename": [
- 1
- ]
- },
- "PageInfo": {
- "hasNextPage": [
- 6
- ],
- "hasPreviousPage": [
- 6
- ],
- "startCursor": [
- 48
- ],
- "endCursor": [
- 48
- ],
- "__typename": [
- 1
- ]
- },
- "IndexConnection": {
- "pageInfo": [
- 204
- ],
- "edges": [
- 203
- ],
- "__typename": [
- 1
- ]
- },
- "ObjectEdge": {
- "node": [
- 52
- ],
- "cursor": [
- 48
- ],
- "__typename": [
- 1
- ]
- },
- "IndexObjectMetadataConnection": {
- "pageInfo": [
- 204
- ],
- "edges": [
- 206
- ],
- "__typename": [
- 1
- ]
- },
"ObjectRecordCount": {
"objectNamePlural": [
1
@@ -4003,12 +3894,51 @@ export default {
1
]
},
+ "ObjectEdge": {
+ "node": [
+ 47
+ ],
+ "cursor": [
+ 49
+ ],
+ "__typename": [
+ 1
+ ]
+ },
+ "PageInfo": {
+ "hasNextPage": [
+ 6
+ ],
+ "hasPreviousPage": [
+ 6
+ ],
+ "startCursor": [
+ 49
+ ],
+ "endCursor": [
+ 49
+ ],
+ "__typename": [
+ 1
+ ]
+ },
"ObjectConnection": {
"pageInfo": [
- 204
+ 205
],
"edges": [
- 206
+ 204
+ ],
+ "__typename": [
+ 1
+ ]
+ },
+ "IndexEdge": {
+ "node": [
+ 45
+ ],
+ "cursor": [
+ 49
],
"__typename": [
1
@@ -4016,10 +3946,10 @@ export default {
},
"ObjectIndexMetadatasConnection": {
"pageInfo": [
- 204
+ 205
],
"edges": [
- 203
+ 207
],
"__typename": [
1
@@ -4030,7 +3960,7 @@ export default {
43
],
"cursor": [
- 48
+ 49
],
"__typename": [
1
@@ -4038,10 +3968,10 @@ export default {
},
"ObjectFieldsConnection": {
"pageInfo": [
- 204
+ 205
],
"edges": [
- 212
+ 209
],
"__typename": [
1
@@ -4049,10 +3979,10 @@ export default {
},
"FieldConnection": {
"pageInfo": [
- 204
+ 205
],
"edges": [
- 212
+ 209
],
"__typename": [
1
@@ -4060,7 +3990,7 @@ export default {
},
"AppConnection": {
"id": [
- 216
+ 213
],
"providerName": [
1
@@ -4112,7 +4042,7 @@ export default {
3
],
"type": [
- 176
+ 175
],
"issuer": [
1
@@ -4121,7 +4051,7 @@ export default {
1
],
"status": [
- 177
+ 176
],
"__typename": [
1
@@ -4140,7 +4070,7 @@ export default {
},
"FindAvailableSSOIDP": {
"type": [
- 176
+ 175
],
"id": [
3
@@ -4152,10 +4082,10 @@ export default {
1
],
"status": [
- 177
+ 176
],
"workspace": [
- 220
+ 217
],
"__typename": [
1
@@ -4166,7 +4096,7 @@ export default {
3
],
"type": [
- 176
+ 175
],
"issuer": [
1
@@ -4175,7 +4105,7 @@ export default {
1
],
"status": [
- 177
+ 176
],
"__typename": [
1
@@ -4183,7 +4113,7 @@ export default {
},
"SSOConnection": {
"type": [
- 176
+ 175
],
"id": [
3
@@ -4195,7 +4125,7 @@ export default {
1
],
"status": [
- 177
+ 176
],
"__typename": [
1
@@ -4218,13 +4148,13 @@ export default {
1
],
"workspaceUrls": [
- 170
+ 169
],
"logo": [
1
],
"sso": [
- 223
+ 220
],
"__typename": [
1
@@ -4232,10 +4162,10 @@ export default {
},
"AvailableWorkspaces": {
"availableWorkspacesForSignIn": [
- 224
+ 221
],
"availableWorkspacesForSignUp": [
- 224
+ 221
],
"__typename": [
1
@@ -4368,10 +4298,10 @@ export default {
1
],
"objectPermissions": [
- 228
+ 225
],
"fieldPermissions": [
- 229
+ 226
],
"__typename": [
1
@@ -4439,7 +4369,7 @@ export default {
1
],
"roles": [
- 230
+ 227
],
"manifest": [
7
@@ -4450,7 +4380,7 @@ export default {
},
"BillingEntitlement": {
"key": [
- 233
+ 230
],
"value": [
6
@@ -4488,7 +4418,7 @@ export default {
1
],
"records": [
- 234
+ 231
],
"isCustomDomainEnabled": [
6
@@ -4527,7 +4457,7 @@ export default {
1
],
"connectionSecurity": [
- 239
+ 236
],
"__typename": [
1
@@ -4536,13 +4466,13 @@ export default {
"EmailConnectionSecurity": {},
"PublicImapSmtpCaldavConnectionParameters": {
"IMAP": [
- 238
+ 235
],
"SMTP": [
- 238
+ 235
],
"CALDAV": [
- 238
+ 235
],
"__typename": [
1
@@ -4598,7 +4528,7 @@ export default {
4
],
"connectionParameters": [
- 240
+ 237
],
"__typename": [
1
@@ -4649,10 +4579,10 @@ export default {
},
"AvailableWorkspacesAndAccessTokens": {
"tokens": [
- 246
+ 243
],
"availableWorkspaces": [
- 225
+ 222
],
"__typename": [
1
@@ -4690,7 +4620,7 @@ export default {
},
"WorkspaceUrlsAndId": {
"workspaceUrls": [
- 170
+ 169
],
"id": [
3
@@ -4704,7 +4634,7 @@ export default {
32
],
"workspace": [
- 251
+ 248
],
"__typename": [
1
@@ -4737,7 +4667,7 @@ export default {
32
],
"workspaceUrls": [
- 170
+ 169
],
"__typename": [
1
@@ -4781,7 +4711,7 @@ export default {
},
"AuthTokens": {
"tokens": [
- 246
+ 243
],
"__typename": [
1
@@ -4822,7 +4752,7 @@ export default {
32
],
"workspace": [
- 251
+ 248
],
"__typename": [
1
@@ -4844,7 +4774,7 @@ export default {
1
],
"dailyUsage": [
- 264
+ 261
],
"__typename": [
1
@@ -4852,16 +4782,16 @@ export default {
},
"UsageAnalytics": {
"usageByUser": [
- 196
+ 195
],
"usageByOperationType": [
- 196
+ 195
],
"usageByModel": [
- 196
+ 195
],
"timeSeries": [
- 264
+ 261
],
"periodStart": [
4
@@ -4870,7 +4800,7 @@ export default {
4
],
"userDailyUsage": [
- 265
+ 262
],
"__typename": [
1
@@ -4966,10 +4896,10 @@ export default {
1
],
"status": [
- 273
+ 270
],
"verificationRecords": [
- 271
+ 268
],
"verifiedAt": [
4
@@ -4984,22 +4914,22 @@ export default {
3
],
"visibility": [
- 275
+ 272
],
"handle": [
1
],
"type": [
- 276
+ 273
],
"isContactAutoCreationEnabled": [
6
],
"contactAutoCreationPolicy": [
- 277
+ 274
],
"messageFolderImportPolicy": [
- 278
+ 275
],
"excludeNonProfessionalEmails": [
6
@@ -5008,7 +4938,7 @@ export default {
6
],
"pendingGroupEmailsAction": [
- 279
+ 276
],
"isSyncEnabled": [
6
@@ -5017,10 +4947,10 @@ export default {
4
],
"syncStatus": [
- 280
+ 277
],
"syncStage": [
- 281
+ 278
],
"syncStageStartedAt": [
4
@@ -5041,7 +4971,7 @@ export default {
4
],
"connectedAccount": [
- 241
+ 238
],
"__typename": [
1
@@ -5056,7 +4986,7 @@ export default {
"MessageChannelSyncStage": {},
"CreateEmailGroupChannelOutput": {
"messageChannel": [
- 274
+ 271
],
"forwardingAddress": [
1
@@ -5118,7 +5048,7 @@ export default {
21
],
"skipped": [
- 285
+ 282
],
"__typename": [
1
@@ -5141,7 +5071,7 @@ export default {
1
],
"visibility": [
- 288
+ 285
],
"__typename": [
1
@@ -5187,7 +5117,7 @@ export default {
1
],
"location": [
- 290
+ 287
],
"__typename": [
1
@@ -5204,7 +5134,7 @@ export default {
1
],
"connectionSecurity": [
- 239
+ 236
],
"__typename": [
1
@@ -5215,13 +5145,13 @@ export default {
1
],
"IMAP": [
- 292
+ 289
],
"SMTP": [
- 292
+ 289
],
"CALDAV": [
- 292
+ 289
],
"__typename": [
1
@@ -5241,7 +5171,7 @@ export default {
3
],
"connectionParameters": [
- 293
+ 290
],
"__typename": [
1
@@ -5463,7 +5393,7 @@ export default {
1
],
"series": [
- 302
+ 299
],
"xAxisLabel": [
1
@@ -5478,10 +5408,10 @@ export default {
6
],
"layout": [
- 101
+ 100
],
"groupMode": [
- 100
+ 99
],
"hasTooManyGroups": [
6
@@ -5512,7 +5442,7 @@ export default {
1
],
"data": [
- 304
+ 301
],
"__typename": [
1
@@ -5520,7 +5450,7 @@ export default {
},
"LineChartData": {
"series": [
- 305
+ 302
],
"xAxisLabel": [
1
@@ -5557,7 +5487,7 @@ export default {
},
"PieChartData": {
"data": [
- 307
+ 304
],
"showLegend": [
6
@@ -5662,13 +5592,13 @@ export default {
},
"EventLogQueryResult": {
"records": [
- 312
+ 309
],
"totalCount": [
21
],
"pageInfo": [
- 313
+ 310
],
"__typename": [
1
@@ -5732,7 +5662,7 @@ export default {
1
],
"parts": [
- 298
+ 295
],
"processedAt": [
4
@@ -5746,7 +5676,7 @@ export default {
},
"AgentChatThread": {
"id": [
- 216
+ 213
],
"title": [
1
@@ -5801,7 +5731,7 @@ export default {
},
"AiSystemPromptPreview": {
"sections": [
- 318
+ 315
],
"estimatedTokenCount": [
21
@@ -5829,7 +5759,7 @@ export default {
21
],
"error": [
- 320
+ 317
],
"__typename": [
1
@@ -5891,10 +5821,10 @@ export default {
3
],
"evaluations": [
- 324
+ 321
],
"messages": [
- 316
+ 313
],
"createdAt": [
4
@@ -5925,19 +5855,19 @@ export default {
1
],
"syncStatus": [
- 328
+ 325
],
"syncStage": [
- 329
+ 326
],
"visibility": [
- 330
+ 327
],
"isContactAutoCreationEnabled": [
6
],
"contactAutoCreationPolicy": [
- 331
+ 328
],
"isSyncEnabled": [
6
@@ -5988,7 +5918,7 @@ export default {
1
],
"pendingSyncAction": [
- 333
+ 330
],
"messageChannelId": [
3
@@ -6006,7 +5936,7 @@ export default {
"MessageFolderPendingSyncAction": {},
"CollectionHash": {
"collectionName": [
- 335
+ 332
],
"hash": [
1
@@ -6056,10 +5986,10 @@ export default {
3
],
"type": [
- 67
+ 66
],
"key": [
- 68
+ 67
],
"objectMetadataId": [
3
@@ -6070,13 +6000,13 @@ export default {
},
"MinimalMetadata": {
"objectMetadataItems": [
- 336
+ 333
],
"views": [
- 337
+ 334
],
"collectionHashes": [
- 334
+ 331
],
"__typename": [
1
@@ -6084,10 +6014,10 @@ export default {
},
"Query": {
"navigationMenuItems": [
- 157
+ 156
],
"navigationMenuItem": [
- 157,
+ 156,
{
"id": [
3,
@@ -6112,10 +6042,10 @@ export default {
}
],
"enterpriseSubscriptionStatus": [
- 125
+ 124
],
"getViewFilterGroups": [
- 58,
+ 57,
{
"viewId": [
1
@@ -6123,7 +6053,7 @@ export default {
}
],
"getViewFilterGroup": [
- 58,
+ 57,
{
"id": [
1,
@@ -6132,7 +6062,7 @@ export default {
}
],
"getViewFilters": [
- 60,
+ 59,
{
"viewId": [
1
@@ -6140,7 +6070,7 @@ export default {
}
],
"getViewFilter": [
- 60,
+ 59,
{
"id": [
1,
@@ -6149,19 +6079,19 @@ export default {
}
],
"getViews": [
- 66,
+ 65,
{
"objectMetadataId": [
1
],
"viewTypes": [
- 67,
+ 66,
"[ViewType!]"
]
}
],
"getView": [
- 66,
+ 65,
{
"id": [
1,
@@ -6170,7 +6100,7 @@ export default {
}
],
"getViewSorts": [
- 63,
+ 62,
{
"viewId": [
1
@@ -6178,7 +6108,7 @@ export default {
}
],
"getViewSort": [
- 63,
+ 62,
{
"id": [
1,
@@ -6187,7 +6117,7 @@ export default {
}
],
"getViewFields": [
- 56,
+ 55,
{
"viewId": [
1,
@@ -6196,7 +6126,7 @@ export default {
}
],
"getViewField": [
- 56,
+ 55,
{
"id": [
1,
@@ -6205,7 +6135,7 @@ export default {
}
],
"getViewFieldGroups": [
- 65,
+ 64,
{
"viewId": [
1,
@@ -6214,7 +6144,7 @@ export default {
}
],
"getViewFieldGroup": [
- 65,
+ 64,
{
"id": [
1,
@@ -6229,16 +6159,16 @@ export default {
2,
{
"input": [
- 340,
+ 337,
"GetApiKeyInput!"
]
}
],
"getInviteSuggestions": [
- 152
+ 151
],
"applicationConnectionProviders": [
- 123,
+ 122,
{
"applicationId": [
3,
@@ -6247,7 +6177,7 @@ export default {
}
],
"billingPortalSession": [
- 150,
+ 149,
{
"returnUrlPath": [
1
@@ -6258,19 +6188,19 @@ export default {
}
],
"listPlans": [
- 148
- ],
- "getResourceCreditUsage": [
147
],
+ "getResourceCreditUsage": [
+ 146
+ ],
"findWorkspaceInvitations": [
- 154
+ 153
],
"getApprovedAccessDomains": [
- 126
+ 125
],
"getPageLayoutTabs": [
- 119,
+ 118,
{
"pageLayoutId": [
1,
@@ -6279,7 +6209,7 @@ export default {
}
],
"getPageLayoutTab": [
- 119,
+ 118,
{
"id": [
1,
@@ -6288,18 +6218,18 @@ export default {
}
],
"getPageLayouts": [
- 120,
+ 119,
{
"objectMetadataId": [
1
],
"pageLayoutType": [
- 121
+ 120
]
}
],
"getPageLayout": [
- 120,
+ 119,
{
"id": [
1,
@@ -6308,7 +6238,7 @@ export default {
}
],
"getPageLayoutWidgets": [
- 81,
+ 80,
{
"pageLayoutTabId": [
1,
@@ -6317,7 +6247,7 @@ export default {
}
],
"getPageLayoutWidget": [
- 81,
+ 80,
{
"id": [
1,
@@ -6332,16 +6262,16 @@ export default {
25,
{
"input": [
- 341,
+ 338,
"AgentIdInput!"
]
}
],
"objectRecordCounts": [
- 208
+ 202
],
"object": [
- 52,
+ 47,
{
"id": [
3,
@@ -6350,45 +6280,23 @@ export default {
}
],
"objects": [
- 210,
+ 206,
{
"paging": [
- 47,
+ 48,
"CursorPaging!"
],
"filter": [
- 49,
+ 339,
"ObjectFilter!"
]
}
],
- "index": [
- 45,
- {
- "id": [
- 3,
- "UUID!"
- ]
- }
- ],
- "indexMetadatas": [
- 205,
- {
- "paging": [
- 47,
- "CursorPaging!"
- ],
- "filter": [
- 54,
- "IndexFilter!"
- ]
- }
- ],
"findOneLogicFunction": [
41,
{
"input": [
- 342,
+ 340,
"LogicFunctionIdInput!"
]
}
@@ -6400,7 +6308,7 @@ export default {
7,
{
"input": [
- 342,
+ 340,
"LogicFunctionIdInput!"
]
}
@@ -6409,7 +6317,7 @@ export default {
1,
{
"input": [
- 342,
+ 340,
"LogicFunctionIdInput!"
]
}
@@ -6439,10 +6347,10 @@ export default {
}
],
"currentWorkspace": [
- 72
+ 71
],
"getPublicWorkspaceDataByDomain": [
- 180,
+ 179,
{
"origin": [
1
@@ -6450,7 +6358,7 @@ export default {
}
],
"getPublicWorkspaceDataById": [
- 181,
+ 180,
{
"id": [
3,
@@ -6468,20 +6376,20 @@ export default {
}
],
"fields": [
- 214,
+ 211,
{
"paging": [
- 47,
+ 48,
"CursorPaging!"
],
"filter": [
- 53,
+ 50,
"FieldFilter!"
]
}
],
"getViewGroups": [
- 62,
+ 61,
{
"viewId": [
1
@@ -6489,7 +6397,7 @@ export default {
}
],
"getViewGroup": [
- 62,
+ 61,
{
"id": [
1,
@@ -6498,10 +6406,10 @@ export default {
}
],
"findManyApplications": [
- 55
+ 54
],
"findOneApplication": [
- 55,
+ 54,
{
"id": [
3
@@ -6512,7 +6420,7 @@ export default {
}
],
"findManyMarketplaceApps": [
- 227,
+ 224,
{
"universalIdentifiers": [
1,
@@ -6521,7 +6429,7 @@ export default {
}
],
"findMarketplaceAppDetail": [
- 231,
+ 228,
{
"universalIdentifier": [
1,
@@ -6530,7 +6438,7 @@ export default {
}
],
"publicMarketplaceApps": [
- 227,
+ 224,
{
"isVetted": [
6,
@@ -6539,7 +6447,7 @@ export default {
}
],
"publicMarketplaceAppDetail": [
- 231,
+ 228,
{
"universalIdentifier": [
1,
@@ -6548,7 +6456,7 @@ export default {
}
],
"findApplicationRegistrationByClientId": [
- 198,
+ 197,
{
"clientId": [
1,
@@ -6578,7 +6486,7 @@ export default {
}
],
"findApplicationRegistrationStats": [
- 173,
+ 172,
{
"id": [
1,
@@ -6587,7 +6495,7 @@ export default {
}
],
"findApplicationRegistrationVariables": [
- 171,
+ 170,
{
"applicationRegistrationId": [
1,
@@ -6608,22 +6516,22 @@ export default {
29
],
"previewMessageCampaignAudience": [
- 283,
+ 280,
{
"input": [
- 343,
+ 341,
"PreviewMessageCampaignAudienceInput!"
]
}
],
"unsubscribeTopics": [
- 287
+ 284
],
"unsubscribePagePreviewUrl": [
1
],
"myMessageChannels": [
- 274,
+ 271,
{
"connectedAccountId": [
3
@@ -6631,13 +6539,13 @@ export default {
}
],
"getEmailingDomains": [
- 272
+ 269
],
"myConnectedAccounts": [
- 241
+ 238
],
"getToolIndex": [
- 297
+ 294
],
"getToolInputSchema": [
7,
@@ -6649,10 +6557,10 @@ export default {
}
],
"webhooks": [
- 296
+ 293
],
"webhook": [
- 296,
+ 293,
{
"id": [
3,
@@ -6661,7 +6569,7 @@ export default {
}
],
"myMessageFolders": [
- 332,
+ 329,
{
"messageChannelId": [
3
@@ -6669,7 +6577,7 @@ export default {
}
],
"myCalendarChannels": [
- 327,
+ 324,
{
"connectedAccountId": [
3
@@ -6677,33 +6585,33 @@ export default {
}
],
"minimalMetadata": [
- 338
+ 335
],
"appConnections": [
- 215,
+ 212,
{
"filter": [
- 344
+ 342
]
}
],
"appConnection": [
- 215,
+ 212,
{
"id": [
- 216,
+ 213,
"ID!"
]
}
],
"findWorkspaceAiStats": [
- 326
+ 323
],
"chatThreads": [
- 317
+ 314
],
"chatThread": [
- 317,
+ 314,
{
"id": [
3,
@@ -6712,7 +6620,7 @@ export default {
}
],
"chatMessages": [
- 316,
+ 313,
{
"threadId": [
3,
@@ -6721,7 +6629,7 @@ export default {
}
],
"chatStreamCatchupChunks": [
- 321,
+ 318,
{
"threadId": [
3,
@@ -6730,13 +6638,13 @@ export default {
}
],
"getAiSystemPromptPreview": [
- 319
+ 316
],
"skills": [
- 315
+ 312
],
"skill": [
- 315,
+ 312,
{
"id": [
3,
@@ -6745,7 +6653,7 @@ export default {
}
],
"agentTurns": [
- 325,
+ 322,
{
"agentId": [
3,
@@ -6754,7 +6662,7 @@ export default {
}
],
"checkUserExists": [
- 261,
+ 258,
{
"email": [
1,
@@ -6766,7 +6674,7 @@ export default {
}
],
"checkWorkspaceInviteHashIsValid": [
- 262,
+ 259,
{
"inviteHash": [
1,
@@ -6775,7 +6683,7 @@ export default {
}
],
"findWorkspaceFromInviteHash": [
- 72,
+ 71,
{
"inviteHash": [
1,
@@ -6784,7 +6692,7 @@ export default {
}
],
"checkWorkspaceSubdomainAvailability": [
- 256,
+ 253,
{
"subdomain": [
1,
@@ -6793,10 +6701,10 @@ export default {
}
],
"getWorkspaceCreationDefaults": [
- 257
+ 254
],
"validatePasswordResetToken": [
- 254,
+ 251,
{
"passwordResetToken": [
1,
@@ -6805,49 +6713,49 @@ export default {
}
],
"currentUser": [
- 75
+ 74
],
"getSSOIdentityProviders": [
- 221
+ 218
],
"eventLogs": [
- 314,
+ 311,
{
"input": [
- 345,
+ 343,
"EventLogQueryInput!"
]
}
],
"pieChartData": [
- 308,
+ 305,
{
"input": [
- 349,
+ 347,
"PieChartDataInput!"
]
}
],
"lineChartData": [
- 306,
+ 303,
{
"input": [
- 350,
+ 348,
"LineChartDataInput!"
]
}
],
"barChartData": [
- 303,
+ 300,
{
"input": [
- 351,
+ 349,
"BarChartDataInput!"
]
}
],
"getConnectedImapSmtpCaldavAccount": [
- 294,
+ 291,
{
"id": [
3,
@@ -6856,7 +6764,7 @@ export default {
}
],
"getAutoCompleteAddress": [
- 289,
+ 286,
{
"address": [
1,
@@ -6875,7 +6783,7 @@ export default {
}
],
"getAddressDetails": [
- 291,
+ 288,
{
"placeId": [
1,
@@ -6888,15 +6796,15 @@ export default {
}
],
"getUsageAnalytics": [
- 266,
+ 263,
{
"input": [
- 352
+ 350
]
}
],
"findManyPublicDomains": [
- 270
+ 267
],
"__typename": [
1
@@ -6918,9 +6826,44 @@ export default {
1
]
},
+ "ObjectFilter": {
+ "and": [
+ 339
+ ],
+ "or": [
+ 339
+ ],
+ "id": [
+ 51
+ ],
+ "isRemote": [
+ 52
+ ],
+ "isActive": [
+ 52
+ ],
+ "isSystem": [
+ 52
+ ],
+ "isUIEditable": [
+ 52
+ ],
+ "isUICreatable": [
+ 52
+ ],
+ "isUIReadOnly": [
+ 52
+ ],
+ "isSearchable": [
+ 52
+ ],
+ "__typename": [
+ 1
+ ]
+ },
"LogicFunctionIdInput": {
"id": [
- 216
+ 213
],
"__typename": [
1
@@ -6953,10 +6896,10 @@ export default {
},
"EventLogQueryInput": {
"table": [
- 346
+ 344
],
"filters": [
- 347
+ 345
],
"first": [
21
@@ -6977,7 +6920,7 @@ export default {
1
],
"dateRange": [
- 348
+ 346
],
"recordId": [
1
@@ -7044,7 +6987,7 @@ export default {
1
],
"operationTypes": [
- 353
+ 351
],
"__typename": [
1
@@ -7056,7 +6999,7 @@ export default {
6,
{
"input": [
- 355,
+ 353,
"AddQuerySubscriptionInput!"
]
}
@@ -7065,49 +7008,49 @@ export default {
6,
{
"input": [
- 356,
+ 354,
"RemoveQueryFromEventStreamInput!"
]
}
],
"createManyNavigationMenuItems": [
- 157,
+ 156,
{
"inputs": [
- 357,
+ 355,
"[CreateNavigationMenuItemInput!]!"
]
}
],
"createNavigationMenuItem": [
- 157,
+ 156,
{
"input": [
- 357,
+ 355,
"CreateNavigationMenuItemInput!"
]
}
],
"updateManyNavigationMenuItems": [
- 157,
+ 156,
{
"inputs": [
- 358,
+ 356,
"[UpdateOneNavigationMenuItemInput!]!"
]
}
],
"updateNavigationMenuItem": [
- 157,
+ 156,
{
"input": [
- 358,
+ 356,
"UpdateOneNavigationMenuItemInput!"
]
}
],
"deleteManyNavigationMenuItems": [
- 157,
+ 156,
{
"ids": [
3,
@@ -7116,7 +7059,7 @@ export default {
}
],
"deleteNavigationMenuItem": [
- 157,
+ 156,
{
"id": [
3,
@@ -7125,7 +7068,7 @@ export default {
}
],
"createFileUpload": [
- 128,
+ 127,
{
"filename": [
1,
@@ -7136,7 +7079,7 @@ export default {
"Float!"
],
"fileFolder": [
- 360,
+ 358,
"FileFolder!"
],
"fieldMetadataId": [
@@ -7148,7 +7091,7 @@ export default {
}
],
"completeFileUpload": [
- 127,
+ 126,
{
"fileId": [
1,
@@ -7160,10 +7103,10 @@ export default {
6
],
"releaseEnterpriseServerBinding": [
- 124
+ 123
],
"setEnterpriseKey": [
- 124,
+ 123,
{
"enterpriseKey": [
1,
@@ -7172,55 +7115,55 @@ export default {
}
],
"uploadEmailAttachmentFile": [
- 127,
+ 126,
{
"file": [
- 361,
+ 359,
"Upload!"
]
}
],
"uploadAiChatFile": [
- 127,
+ 126,
{
"file": [
- 361,
+ 359,
"Upload!"
]
}
],
"uploadWorkflowFile": [
- 127,
+ 126,
{
"file": [
- 361,
+ 359,
"Upload!"
]
}
],
"uploadWorkspaceLogo": [
- 127,
+ 126,
{
"file": [
- 361,
+ 359,
"Upload!"
]
}
],
"uploadWorkspaceMemberProfilePicture": [
- 127,
+ 126,
{
"file": [
- 361,
+ 359,
"Upload!"
]
}
],
"uploadFilesFieldFile": [
- 127,
+ 126,
{
"file": [
- 361,
+ 359,
"Upload!"
],
"fieldMetadataId": [
@@ -7230,10 +7173,10 @@ export default {
}
],
"uploadFilesFieldFileByUniversalIdentifier": [
- 127,
+ 126,
{
"file": [
- 361,
+ 359,
"Upload!"
],
"fieldMetadataUniversalIdentifier": [
@@ -7243,23 +7186,23 @@ export default {
}
],
"createViewFilterGroup": [
- 58,
+ 57,
{
"input": [
- 362,
+ 360,
"CreateViewFilterGroupInput!"
]
}
],
"updateViewFilterGroup": [
- 58,
+ 57,
{
"id": [
1,
"String!"
],
"input": [
- 363,
+ 361,
"UpdateViewFilterGroupInput!"
]
}
@@ -7283,59 +7226,59 @@ export default {
}
],
"createViewFilter": [
- 60,
+ 59,
{
"input": [
- 364,
+ 362,
"CreateViewFilterInput!"
]
}
],
"updateViewFilter": [
- 60,
+ 59,
{
"input": [
- 365,
+ 363,
"UpdateViewFilterInput!"
]
}
],
"deleteViewFilter": [
- 60,
+ 59,
{
"input": [
- 367,
+ 365,
"DeleteViewFilterInput!"
]
}
],
"destroyViewFilter": [
- 60,
+ 59,
{
"input": [
- 368,
+ 366,
"DestroyViewFilterInput!"
]
}
],
"createView": [
- 66,
+ 65,
{
"input": [
- 369,
+ 367,
"CreateViewInput!"
]
}
],
"updateView": [
- 66,
+ 65,
{
"id": [
1,
"String!"
],
"input": [
- 370,
+ 368,
"UpdateViewInput!"
]
}
@@ -7359,28 +7302,28 @@ export default {
}
],
"upsertViewWidget": [
- 66,
+ 65,
{
"input": [
- 371,
+ 369,
"UpsertViewWidgetInput!"
]
}
],
"createViewSort": [
- 63,
+ 62,
{
"input": [
- 376,
+ 374,
"CreateViewSortInput!"
]
}
],
"updateViewSort": [
- 63,
+ 62,
{
"input": [
- 377,
+ 375,
"UpdateViewSortInput!"
]
}
@@ -7389,7 +7332,7 @@ export default {
6,
{
"input": [
- 379,
+ 377,
"DeleteViewSortInput!"
]
}
@@ -7398,106 +7341,106 @@ export default {
6,
{
"input": [
- 380,
+ 378,
"DestroyViewSortInput!"
]
}
],
"updateViewField": [
- 56,
+ 55,
{
"input": [
- 381,
+ 379,
"UpdateViewFieldInput!"
]
}
],
"createViewField": [
- 56,
+ 55,
{
"input": [
- 383,
+ 381,
"CreateViewFieldInput!"
]
}
],
"createManyViewFields": [
- 56,
+ 55,
{
"inputs": [
- 383,
+ 381,
"[CreateViewFieldInput!]!"
]
}
],
"deleteViewField": [
- 56,
+ 55,
{
"input": [
- 384,
+ 382,
"DeleteViewFieldInput!"
]
}
],
"destroyViewField": [
- 56,
+ 55,
{
"input": [
- 385,
+ 383,
"DestroyViewFieldInput!"
]
}
],
"updateViewFieldGroup": [
- 65,
+ 64,
{
"input": [
- 386,
+ 384,
"UpdateViewFieldGroupInput!"
]
}
],
"createViewFieldGroup": [
- 65,
+ 64,
{
"input": [
- 388,
+ 386,
"CreateViewFieldGroupInput!"
]
}
],
"createManyViewFieldGroups": [
- 65,
+ 64,
{
"inputs": [
- 388,
+ 386,
"[CreateViewFieldGroupInput!]!"
]
}
],
"deleteViewFieldGroup": [
- 65,
+ 64,
{
"input": [
- 389,
+ 387,
"DeleteViewFieldGroupInput!"
]
}
],
"destroyViewFieldGroup": [
- 65,
+ 64,
{
"input": [
- 390,
+ 388,
"DestroyViewFieldGroupInput!"
]
}
],
"upsertFieldsWidget": [
- 66,
+ 65,
{
"input": [
- 391,
+ 389,
"UpsertFieldsWidgetInput!"
]
}
@@ -7506,7 +7449,7 @@ export default {
2,
{
"input": [
- 394,
+ 392,
"CreateApiKeyInput!"
]
}
@@ -7515,7 +7458,7 @@ export default {
2,
{
"input": [
- 395,
+ 393,
"UpdateApiKeyInput!"
]
}
@@ -7524,7 +7467,7 @@ export default {
2,
{
"input": [
- 396,
+ 394,
"RevokeApiKeyInput!"
]
}
@@ -7543,10 +7486,10 @@ export default {
}
],
"skipSyncEmailOnboardingStep": [
- 153
+ 152
],
"triggerInstallAppsOnboardingStep": [
- 153,
+ 152,
{
"universalIdentifiers": [
1,
@@ -7572,14 +7515,14 @@ export default {
}
],
"checkoutSession": [
- 150,
+ 149,
{
"recurringInterval": [
- 136,
+ 135,
"SubscriptionInterval!"
],
"plan": [
- 132,
+ 131,
"BillingPlanKey!"
],
"requirePaymentMethod": [
@@ -7592,14 +7535,14 @@ export default {
}
],
"createSubscriptionPaymentIntent": [
- 149,
+ 148,
{
"recurringInterval": [
- 136,
+ 135,
"SubscriptionInterval!"
],
"plan": [
- 132,
+ 131,
"BillingPlanKey!"
],
"requirePaymentMethod": [
@@ -7616,22 +7559,22 @@ export default {
}
],
"createBillingPaymentMethodSetupIntent": [
- 149
+ 148
],
"switchSubscriptionInterval": [
- 151
+ 150
],
"switchBillingPlan": [
- 151
+ 150
],
"cancelSwitchBillingPlan": [
- 151
+ 150
],
"cancelSwitchBillingInterval": [
- 151
+ 150
],
"setResourceCreditSubscriptionPrice": [
- 151,
+ 150,
{
"priceId": [
1,
@@ -7640,10 +7583,10 @@ export default {
}
],
"endSubscriptionTrialPeriod": [
- 146
+ 145
],
"cancelSwitchResourceCreditPrice": [
- 151
+ 150
],
"deleteWorkspaceInvitation": [
1,
@@ -7655,7 +7598,7 @@ export default {
}
],
"resendWorkspaceInvitation": [
- 155,
+ 154,
{
"appTokenId": [
1,
@@ -7664,7 +7607,7 @@ export default {
}
],
"sendInvitations": [
- 155,
+ 154,
{
"emails": [
1,
@@ -7676,10 +7619,10 @@ export default {
}
],
"createApprovedAccessDomain": [
- 126,
+ 125,
{
"input": [
- 397,
+ 395,
"CreateApprovedAccessDomainInput!"
]
}
@@ -7688,38 +7631,38 @@ export default {
6,
{
"input": [
- 398,
+ 396,
"DeleteApprovedAccessDomainInput!"
]
}
],
"validateApprovedAccessDomain": [
- 126,
+ 125,
{
"input": [
- 399,
+ 397,
"ValidateApprovedAccessDomainInput!"
]
}
],
"createPageLayoutTab": [
- 119,
+ 118,
{
"input": [
- 400,
+ 398,
"CreatePageLayoutTabInput!"
]
}
],
"updatePageLayoutTab": [
- 119,
+ 118,
{
"id": [
1,
"String!"
],
"input": [
- 401,
+ 399,
"UpdatePageLayoutTabInput!"
]
}
@@ -7734,23 +7677,23 @@ export default {
}
],
"createPageLayout": [
- 120,
+ 119,
{
"input": [
- 402,
+ 400,
"CreatePageLayoutInput!"
]
}
],
"updatePageLayout": [
- 120,
+ 119,
{
"id": [
1,
"String!"
],
"input": [
- 403,
+ 401,
"UpdatePageLayoutInput!"
]
}
@@ -7765,37 +7708,19 @@ export default {
}
],
"updatePageLayoutWithTabsAndWidgets": [
- 120,
+ 119,
{
"id": [
1,
"String!"
],
"input": [
- 404,
+ 402,
"UpdatePageLayoutWithTabsInput!"
]
}
],
"resetPageLayoutToDefault": [
- 120,
- {
- "id": [
- 1,
- "String!"
- ]
- }
- ],
- "resetPageLayoutWidgetToDefault": [
- 81,
- {
- "id": [
- 1,
- "String!"
- ]
- }
- ],
- "resetPageLayoutTabToDefault": [
119,
{
"id": [
@@ -7804,24 +7729,42 @@ export default {
]
}
],
+ "resetPageLayoutWidgetToDefault": [
+ 80,
+ {
+ "id": [
+ 1,
+ "String!"
+ ]
+ }
+ ],
+ "resetPageLayoutTabToDefault": [
+ 118,
+ {
+ "id": [
+ 1,
+ "String!"
+ ]
+ }
+ ],
"createPageLayoutWidget": [
- 81,
+ 80,
{
"input": [
- 408,
+ 406,
"CreatePageLayoutWidgetInput!"
]
}
],
"updatePageLayoutWidget": [
- 81,
+ 80,
{
"id": [
1,
"String!"
],
"input": [
- 409,
+ 407,
"UpdatePageLayoutWidgetInput!"
]
}
@@ -7839,7 +7782,7 @@ export default {
25,
{
"input": [
- 410,
+ 408,
"CreateAgentInput!"
]
}
@@ -7848,7 +7791,7 @@ export default {
25,
{
"input": [
- 411,
+ 409,
"UpdateAgentInput!"
]
}
@@ -7857,34 +7800,34 @@ export default {
25,
{
"input": [
- 341,
+ 338,
"AgentIdInput!"
]
}
],
"createOneObject": [
- 52,
+ 47,
{
"input": [
- 412,
+ 410,
"CreateOneObjectInput!"
]
}
],
"deleteOneObject": [
- 52,
+ 47,
{
"input": [
- 414,
+ 412,
"DeleteOneObjectInput!"
]
}
],
"updateOneObject": [
- 52,
+ 47,
{
"input": [
- 415,
+ 413,
"UpdateOneObjectInput!"
]
}
@@ -7893,7 +7836,7 @@ export default {
45,
{
"input": [
- 417,
+ 415,
"CreateOneIndexInput!"
]
}
@@ -7902,7 +7845,7 @@ export default {
45,
{
"input": [
- 420,
+ 418,
"DeleteOneIndexInput!"
]
}
@@ -7911,7 +7854,7 @@ export default {
41,
{
"input": [
- 342,
+ 340,
"LogicFunctionIdInput!"
]
}
@@ -7920,16 +7863,16 @@ export default {
41,
{
"input": [
- 421,
+ 419,
"CreateLogicFunctionFromSourceInput!"
]
}
],
"executeOneLogicFunction": [
- 166,
+ 165,
{
"input": [
- 422,
+ 420,
"ExecuteOneLogicFunctionInput!"
]
}
@@ -7938,7 +7881,7 @@ export default {
6,
{
"input": [
- 423,
+ 421,
"UpdateLogicFunctionFromSourceInput!"
]
}
@@ -7947,7 +7890,7 @@ export default {
35,
{
"input": [
- 425,
+ 423,
"CreateCommandMenuItemInput!"
]
}
@@ -7956,7 +7899,7 @@ export default {
35,
{
"input": [
- 426,
+ 424,
"UpdateCommandMenuItemInput!"
]
}
@@ -7983,7 +7926,7 @@ export default {
34,
{
"input": [
- 427,
+ 425,
"CreateFrontComponentInput!"
]
}
@@ -7992,7 +7935,7 @@ export default {
34,
{
"input": [
- 428,
+ 426,
"UpdateFrontComponentInput!"
]
}
@@ -8007,34 +7950,34 @@ export default {
}
],
"activateWorkspace": [
- 72,
+ 71,
{
"data": [
- 430,
+ 428,
"ActivateWorkspaceInput!"
]
}
],
"updateWorkspace": [
- 72,
+ 71,
{
"data": [
- 431,
+ 429,
"UpdateWorkspaceInput!"
]
}
],
"deleteCurrentWorkspace": [
- 72
+ 71
],
"checkCustomDomainValidRecords": [
- 235
+ 232
],
"createOneField": [
43,
{
"input": [
- 432,
+ 430,
"CreateOneFieldMetadataInput!"
]
}
@@ -8043,7 +7986,7 @@ export default {
43,
{
"input": [
- 434,
+ 432,
"UpdateOneFieldMetadataInput!"
]
}
@@ -8052,61 +7995,61 @@ export default {
43,
{
"input": [
- 436,
+ 434,
"DeleteOneFieldInput!"
]
}
],
"createViewGroup": [
- 62,
+ 61,
{
"input": [
- 437,
+ 435,
"CreateViewGroupInput!"
]
}
],
"createManyViewGroups": [
- 62,
+ 61,
{
"inputs": [
- 437,
+ 435,
"[CreateViewGroupInput!]!"
]
}
],
"updateViewGroup": [
- 62,
+ 61,
{
"input": [
- 438,
+ 436,
"UpdateViewGroupInput!"
]
}
],
"updateManyViewGroups": [
- 62,
+ 61,
{
"inputs": [
- 438,
+ 436,
"[UpdateViewGroupInput!]!"
]
}
],
"deleteViewGroup": [
- 62,
+ 61,
{
"input": [
- 440,
+ 438,
"DeleteViewGroupInput!"
]
}
],
"destroyViewGroup": [
- 62,
+ 61,
{
"input": [
- 441,
+ 439,
"DestroyViewGroupInput!"
]
}
@@ -8124,7 +8067,7 @@ export default {
}
],
"installApplication": [
- 55,
+ 54,
{
"universalIdentifier": [
1,
@@ -8148,10 +8091,10 @@ export default {
6
],
"createApplicationRegistration": [
- 197,
+ 196,
{
"input": [
- 442,
+ 440,
"CreateApplicationRegistrationInput!"
]
}
@@ -8160,7 +8103,7 @@ export default {
8,
{
"input": [
- 443,
+ 441,
"UpdateApplicationRegistrationInput!"
]
}
@@ -8175,7 +8118,7 @@ export default {
}
],
"rotateApplicationRegistrationClientSecret": [
- 199,
+ 198,
{
"id": [
1,
@@ -8187,7 +8130,7 @@ export default {
5,
{
"input": [
- 445,
+ 443,
"CreateApplicationRegistrationVariableInput!"
]
}
@@ -8196,7 +8139,7 @@ export default {
5,
{
"input": [
- 446,
+ 444,
"UpdateApplicationRegistrationVariableInput!"
]
}
@@ -8214,7 +8157,7 @@ export default {
8,
{
"file": [
- 361,
+ 359,
"Upload!"
],
"universalIdentifier": [
@@ -8261,7 +8204,7 @@ export default {
29,
{
"createRoleInput": [
- 448,
+ 446,
"CreateRoleInput!"
]
}
@@ -8270,7 +8213,7 @@ export default {
29,
{
"updateRoleInput": [
- 449,
+ 447,
"UpdateRoleInput!"
]
}
@@ -8288,7 +8231,7 @@ export default {
16,
{
"upsertObjectPermissionsInput": [
- 451,
+ 449,
"UpsertObjectPermissionsInput!"
]
}
@@ -8297,7 +8240,7 @@ export default {
27,
{
"upsertPermissionFlagsInput": [
- 453,
+ 451,
"UpsertPermissionFlagsInput!"
]
}
@@ -8306,16 +8249,16 @@ export default {
26,
{
"upsertFieldPermissionsInput": [
- 454,
+ 452,
"UpsertFieldPermissionsInput!"
]
}
],
"upsertRowLevelPermissionPredicates": [
- 236,
+ 233,
{
"input": [
- 456,
+ 454,
"UpsertRowLevelPermissionPredicatesInput!"
]
}
@@ -8343,37 +8286,37 @@ export default {
}
],
"sendEmailViaEmailingDomain": [
- 284,
+ 281,
{
"input": [
- 459,
+ 457,
"SendEmailViaDomainInput!"
]
}
],
"sendMessageCampaign": [
- 286,
+ 283,
{
"input": [
- 460,
+ 458,
"SendMessageCampaignInput!"
]
}
],
"createUnsubscribeTopic": [
- 287,
+ 284,
{
"input": [
- 461,
+ 459,
"CreateUnsubscribeTopicInput!"
]
}
],
"updateUnsubscribeTopic": [
- 287,
+ 284,
{
"input": [
- 462,
+ 460,
"UpdateUnsubscribeTopicInput!"
]
}
@@ -8388,25 +8331,25 @@ export default {
}
],
"updateMessageChannel": [
- 274,
+ 271,
{
"input": [
- 463,
+ 461,
"UpdateMessageChannelInput!"
]
}
],
"createEmailGroupChannel": [
- 282,
+ 279,
{
"input": [
- 465,
+ 463,
"CreateEmailGroupChannelInput!"
]
}
],
"deleteEmailGroupChannel": [
- 274,
+ 271,
{
"id": [
3,
@@ -8415,10 +8358,10 @@ export default {
}
],
"createEmailingDomain": [
- 272,
+ 269,
{
"input": [
- 466,
+ 464,
"CreateEmailingDomainInput!"
]
}
@@ -8433,7 +8376,7 @@ export default {
}
],
"verifyEmailingDomain": [
- 272,
+ 269,
{
"id": [
1,
@@ -8442,7 +8385,7 @@ export default {
}
],
"deleteConnectedAccount": [
- 241,
+ 238,
{
"id": [
3,
@@ -8451,34 +8394,34 @@ export default {
}
],
"runAgent": [
- 299,
+ 296,
{
"input": [
- 467,
+ 465,
"RunAgentInput!"
]
}
],
"createWebhook": [
- 296,
+ 293,
{
"input": [
- 468,
+ 466,
"CreateWebhookInput!"
]
}
],
"updateWebhook": [
- 296,
+ 293,
{
"input": [
- 469,
+ 467,
"UpdateWebhookInput!"
]
}
],
"deleteWebhook": [
- 296,
+ 293,
{
"id": [
3,
@@ -8487,37 +8430,37 @@ export default {
}
],
"updateMessageFolder": [
- 332,
+ 329,
{
"input": [
- 471,
+ 469,
"UpdateMessageFolderInput!"
]
}
],
"updateMessageFolders": [
- 332,
+ 329,
{
"input": [
- 473,
+ 471,
"UpdateMessageFoldersInput!"
]
}
],
"updateCalendarChannel": [
- 327,
+ 324,
{
"input": [
- 474,
+ 472,
"UpdateCalendarChannelInput!"
]
}
],
"createChatThread": [
- 317
+ 314
],
"sendChatMessage": [
- 322,
+ 319,
{
"threadId": [
3,
@@ -8538,13 +8481,13 @@ export default {
1
],
"fileAttachments": [
- 476,
+ 474,
"[FileAttachmentInput!]"
]
}
],
"retryChatMessage": [
- 322,
+ 319,
{
"threadId": [
3,
@@ -8556,7 +8499,7 @@ export default {
}
],
"answerAgentChatQuestion": [
- 322,
+ 319,
{
"threadId": [
3,
@@ -8567,7 +8510,7 @@ export default {
"UUID!"
],
"answers": [
- 477,
+ 475,
"[AgentChatQuestionAnswerInput!]!"
],
"modelId": [
@@ -8585,7 +8528,7 @@ export default {
}
],
"renameChatThread": [
- 317,
+ 314,
{
"id": [
3,
@@ -8598,7 +8541,7 @@ export default {
}
],
"archiveChatThread": [
- 317,
+ 314,
{
"id": [
3,
@@ -8607,7 +8550,7 @@ export default {
}
],
"unarchiveChatThread": [
- 317,
+ 314,
{
"id": [
3,
@@ -8634,25 +8577,25 @@ export default {
}
],
"createSkill": [
- 315,
+ 312,
{
"input": [
- 478,
+ 476,
"CreateSkillInput!"
]
}
],
"updateSkill": [
- 315,
+ 312,
{
"input": [
- 479,
+ 477,
"UpdateSkillInput!"
]
}
],
"deleteSkill": [
- 315,
+ 312,
{
"id": [
3,
@@ -8661,7 +8604,7 @@ export default {
}
],
"activateSkill": [
- 315,
+ 312,
{
"id": [
3,
@@ -8670,7 +8613,7 @@ export default {
}
],
"deactivateSkill": [
- 315,
+ 312,
{
"id": [
3,
@@ -8679,7 +8622,7 @@ export default {
}
],
"evaluateAgentTurn": [
- 324,
+ 321,
{
"turnId": [
3,
@@ -8688,7 +8631,7 @@ export default {
}
],
"runEvaluationInput": [
- 325,
+ 322,
{
"agentId": [
3,
@@ -8701,16 +8644,16 @@ export default {
}
],
"getAuthorizationUrlForSSO": [
- 249,
+ 246,
{
"input": [
- 480,
+ 478,
"GetAuthorizationUrlForSSOInput!"
]
}
],
"getLoginTokenFromCredentials": [
- 260,
+ 257,
{
"email": [
1,
@@ -8736,7 +8679,7 @@ export default {
}
],
"signIn": [
- 247,
+ 244,
{
"email": [
1,
@@ -8758,7 +8701,7 @@ export default {
}
],
"verifyEmailAndGetLoginToken": [
- 255,
+ 252,
{
"emailVerificationToken": [
1,
@@ -8778,7 +8721,7 @@ export default {
}
],
"verifyEmailAndGetWorkspaceAgnosticToken": [
- 247,
+ 244,
{
"emailVerificationToken": [
1,
@@ -8794,7 +8737,7 @@ export default {
}
],
"getAuthTokensFromOTP": [
- 259,
+ 256,
{
"otp": [
1,
@@ -8814,7 +8757,7 @@ export default {
}
],
"signUp": [
- 247,
+ 244,
{
"email": [
1,
@@ -8836,7 +8779,7 @@ export default {
}
],
"signUpInWorkspace": [
- 252,
+ 249,
{
"email": [
1,
@@ -8867,31 +8810,31 @@ export default {
}
],
"signUpInNewWorkspace": [
- 252,
+ 249,
{
"input": [
- 481
+ 479
]
}
],
"uploadNewWorkspaceLogo": [
- 127,
+ 126,
{
"workspaceId": [
1,
"String!"
],
"file": [
- 361,
+ 359,
"Upload!"
]
}
],
"generateTransientToken": [
- 253
+ 250
],
"getAuthTokensFromLoginToken": [
- 259,
+ 256,
{
"loginToken": [
1,
@@ -8904,7 +8847,7 @@ export default {
}
],
"authorizeApp": [
- 245,
+ 242,
{
"clientId": [
1,
@@ -8926,7 +8869,7 @@ export default {
}
],
"renewToken": [
- 259,
+ 256,
{
"appToken": [
1,
@@ -8935,7 +8878,7 @@ export default {
}
],
"generateApiKeyToken": [
- 258,
+ 255,
{
"apiKeyId": [
3,
@@ -8951,7 +8894,7 @@ export default {
32
],
"emailPasswordResetLink": [
- 248,
+ 245,
{
"email": [
1,
@@ -8963,7 +8906,7 @@ export default {
}
],
"updatePasswordViaResetToken": [
- 250,
+ 247,
{
"passwordResetToken": [
1,
@@ -8976,7 +8919,7 @@ export default {
}
],
"initiateOTPProvisioning": [
- 243,
+ 240,
{
"loginToken": [
1,
@@ -8989,10 +8932,10 @@ export default {
}
],
"initiateOTPProvisioningForAuthenticatedUser": [
- 243
+ 240
],
"deleteTwoFactorAuthenticationMethod": [
- 242,
+ 239,
{
"twoFactorAuthenticationMethodId": [
3,
@@ -9001,7 +8944,7 @@ export default {
}
],
"verifyTwoFactorAuthenticationMethodForAuthenticatedUser": [
- 244,
+ 241,
{
"otp": [
1,
@@ -9010,7 +8953,7 @@ export default {
}
],
"deleteUser": [
- 75
+ 74
],
"deleteUserFromWorkspace": [
17,
@@ -9025,7 +8968,7 @@ export default {
6,
{
"input": [
- 482,
+ 480,
"UpdateWorkspaceMemberSettingsInput!"
]
}
@@ -9043,7 +8986,7 @@ export default {
}
],
"resendEmailVerificationToken": [
- 217,
+ 214,
{
"email": [
1,
@@ -9056,43 +8999,43 @@ export default {
}
],
"createOIDCIdentityProvider": [
- 222,
+ 219,
{
"input": [
- 483,
+ 481,
"SetupOIDCSsoInput!"
]
}
],
"createSAMLIdentityProvider": [
- 222,
+ 219,
{
"input": [
- 484,
+ 482,
"SetupSAMLSsoInput!"
]
}
],
"deleteSSOIdentityProvider": [
- 218,
+ 215,
{
"input": [
- 485,
+ 483,
"DeleteSsoInput!"
]
}
],
"editSSOIdentityProvider": [
- 219,
+ 216,
{
"input": [
- 486,
+ 484,
"EditSsoInput!"
]
}
],
"createObjectEvent": [
- 311,
+ 308,
{
"event": [
1,
@@ -9112,10 +9055,10 @@ export default {
}
],
"trackAnalytics": [
- 311,
+ 308,
{
"type": [
- 487,
+ 485,
"AnalyticsType!"
],
"name": [
@@ -9130,7 +9073,7 @@ export default {
}
],
"duplicateDashboard": [
- 309,
+ 306,
{
"id": [
3,
@@ -9139,7 +9082,7 @@ export default {
}
],
"impersonate": [
- 263,
+ 260,
{
"userId": [
3,
@@ -9152,25 +9095,25 @@ export default {
}
],
"createCalendarEvent": [
- 301,
+ 298,
{
"input": [
- 488,
+ 486,
"CreateCalendarEventInput!"
]
}
],
"sendEmail": [
- 310,
+ 307,
{
"input": [
- 489,
+ 487,
"SendEmailInput!"
]
}
],
"startChannelSync": [
- 300,
+ 297,
{
"connectedAccountId": [
3,
@@ -9179,14 +9122,14 @@ export default {
}
],
"saveImapSmtpCaldavAccount": [
- 295,
+ 292,
{
"handle": [
1,
"String!"
],
"connectionParameters": [
- 491,
+ 489,
"EmailAccountConnectionParameters!"
],
"id": [
@@ -9195,16 +9138,16 @@ export default {
}
],
"updateLabPublicFeatureFlag": [
- 168,
+ 167,
{
"input": [
- 493,
+ 491,
"UpdateLabPublicFeatureFlagInput!"
]
}
],
"createPublicDomain": [
- 270,
+ 267,
{
"domain": [
1,
@@ -9226,7 +9169,7 @@ export default {
}
],
"checkPublicDomainValidRecords": [
- 235,
+ 232,
{
"domain": [
1,
@@ -9235,7 +9178,7 @@ export default {
}
],
"createDevelopmentApplication": [
- 267,
+ 264,
{
"universalIdentifier": [
1,
@@ -9248,7 +9191,7 @@ export default {
}
],
"syncApplication": [
- 268,
+ 265,
{
"manifest": [
7,
@@ -9260,10 +9203,10 @@ export default {
}
],
"uploadApplicationFile": [
- 269,
+ 266,
{
"file": [
- 361,
+ 359,
"Upload!"
],
"applicationUniversalIdentifier": [
@@ -9271,7 +9214,7 @@ export default {
"String!"
],
"fileFolder": [
- 360,
+ 358,
"FileFolder!"
],
"filePath": [
@@ -9357,7 +9300,7 @@ export default {
3
],
"type": [
- 158
+ 157
],
"name": [
1
@@ -9389,7 +9332,7 @@ export default {
3
],
"update": [
- 359
+ 357
],
"__typename": [
1
@@ -9431,7 +9374,7 @@ export default {
3
],
"logicalOperator": [
- 59
+ 58
],
"positionInViewFilterGroup": [
12
@@ -9451,7 +9394,7 @@ export default {
3
],
"logicalOperator": [
- 59
+ 58
],
"positionInViewFilterGroup": [
12
@@ -9471,7 +9414,7 @@ export default {
3
],
"operand": [
- 61
+ 60
],
"value": [
7
@@ -9500,7 +9443,7 @@ export default {
3
],
"update": [
- 366
+ 364
],
"__typename": [
1
@@ -9511,7 +9454,7 @@ export default {
3
],
"operand": [
- 61
+ 60
],
"value": [
7
@@ -9559,10 +9502,10 @@ export default {
3
],
"type": [
- 67
+ 66
],
"key": [
- 68
+ 67
],
"icon": [
1
@@ -9580,10 +9523,10 @@ export default {
21
],
"openRecordIn": [
- 69
+ 68
],
"kanbanAggregateOperation": [
- 57
+ 56
],
"kanbanAggregateOperationFieldMetadataId": [
3
@@ -9592,7 +9535,7 @@ export default {
1
],
"calendarLayout": [
- 70
+ 69
],
"calendarFieldMetadataId": [
3
@@ -9601,7 +9544,7 @@ export default {
3
],
"visibility": [
- 71
+ 70
],
"__typename": [
1
@@ -9615,7 +9558,7 @@ export default {
1
],
"type": [
- 67
+ 66
],
"icon": [
1
@@ -9627,10 +9570,10 @@ export default {
6
],
"openRecordIn": [
- 69
+ 68
],
"kanbanAggregateOperation": [
- 57
+ 56
],
"kanbanAggregateOperationFieldMetadataId": [
3
@@ -9639,13 +9582,13 @@ export default {
1
],
"calendarLayout": [
- 70
+ 69
],
"calendarFieldMetadataId": [
3
],
"visibility": [
- 71
+ 70
],
"mainGroupByFieldMetadataId": [
3
@@ -9665,16 +9608,16 @@ export default {
3
],
"viewFields": [
- 372
+ 370
],
"viewFilters": [
- 373
+ 371
],
"viewFilterGroups": [
- 374
+ 372
],
"viewSorts": [
- 375
+ 373
],
"__typename": [
1
@@ -9708,7 +9651,7 @@ export default {
3
],
"operand": [
- 61
+ 60
],
"value": [
7
@@ -9737,7 +9680,7 @@ export default {
3
],
"logicalOperator": [
- 59
+ 58
],
"positionInViewFilterGroup": [
12
@@ -9754,7 +9697,7 @@ export default {
3
],
"direction": [
- 64
+ 63
],
"__typename": [
1
@@ -9768,7 +9711,7 @@ export default {
3
],
"direction": [
- 64
+ 63
],
"subFieldName": [
1
@@ -9785,7 +9728,7 @@ export default {
3
],
"update": [
- 378
+ 376
],
"__typename": [
1
@@ -9793,7 +9736,7 @@ export default {
},
"UpdateViewSortInputUpdates": {
"direction": [
- 64
+ 63
],
"subFieldName": [
1
@@ -9823,7 +9766,7 @@ export default {
3
],
"update": [
- 382
+ 380
],
"__typename": [
1
@@ -9840,7 +9783,7 @@ export default {
12
],
"aggregateOperation": [
- 57
+ 56
],
"viewFieldGroupId": [
3
@@ -9869,7 +9812,7 @@ export default {
12
],
"aggregateOperation": [
- 57
+ 56
],
"viewFieldGroupId": [
3
@@ -9899,7 +9842,7 @@ export default {
3
],
"update": [
- 387
+ 385
],
"__typename": [
1
@@ -9963,10 +9906,10 @@ export default {
3
],
"groups": [
- 392
+ 390
],
"fields": [
- 393
+ 391
],
"__typename": [
1
@@ -9986,7 +9929,7 @@ export default {
6
],
"fields": [
- 393
+ 391
],
"__typename": [
1
@@ -10092,7 +10035,7 @@ export default {
3
],
"layoutMode": [
- 85
+ 84
],
"__typename": [
1
@@ -10109,7 +10052,7 @@ export default {
1
],
"layoutMode": [
- 85
+ 84
],
"__typename": [
1
@@ -10120,7 +10063,7 @@ export default {
1
],
"type": [
- 121
+ 120
],
"objectMetadataId": [
3
@@ -10134,7 +10077,7 @@ export default {
1
],
"type": [
- 121
+ 120
],
"objectMetadataId": [
3
@@ -10148,13 +10091,13 @@ export default {
1
],
"type": [
- 121
+ 120
],
"objectMetadataId": [
3
],
"tabs": [
- 405
+ 403
],
"__typename": [
1
@@ -10174,10 +10117,10 @@ export default {
1
],
"layoutMode": [
- 85
+ 84
],
"widgets": [
- 406
+ 404
],
"__typename": [
1
@@ -10194,13 +10137,13 @@ export default {
1
],
"type": [
- 82
+ 81
],
"objectMetadataId": [
3
],
"gridPosition": [
- 407
+ 405
],
"position": [
7
@@ -10243,13 +10186,13 @@ export default {
1
],
"type": [
- 82
+ 81
],
"objectMetadataId": [
3
],
"gridPosition": [
- 407
+ 405
],
"position": [
7
@@ -10269,13 +10212,13 @@ export default {
1
],
"type": [
- 82
+ 81
],
"objectMetadataId": [
3
],
"gridPosition": [
- 407
+ 405
],
"position": [
7
@@ -10368,7 +10311,7 @@ export default {
},
"CreateOneObjectInput": {
"object": [
- 413
+ 411
],
"__typename": [
1
@@ -10428,7 +10371,7 @@ export default {
},
"UpdateOneObjectInput": {
"update": [
- 416
+ 414
],
"id": [
3
@@ -10483,7 +10426,7 @@ export default {
},
"CreateOneIndexInput": {
"index": [
- 418
+ 416
],
"__typename": [
1
@@ -10494,7 +10437,7 @@ export default {
3
],
"fields": [
- 419
+ 417
],
"indexType": [
46
@@ -10579,7 +10522,7 @@ export default {
3
],
"update": [
- 424
+ 422
],
"__typename": [
1
@@ -10739,7 +10682,7 @@ export default {
3
],
"update": [
- 429
+ 427
],
"__typename": [
1
@@ -10784,7 +10727,7 @@ export default {
6
],
"workspaceDiscoverability": [
- 73
+ 72
],
"allowImpersonation": [
6
@@ -10846,7 +10789,7 @@ export default {
},
"CreateOneFieldMetadataInput": {
"field": [
- 433
+ 431
],
"__typename": [
1
@@ -10919,7 +10862,7 @@ export default {
3
],
"update": [
- 435
+ 433
],
"__typename": [
1
@@ -11014,7 +10957,7 @@ export default {
3
],
"update": [
- 439
+ 437
],
"__typename": [
1
@@ -11075,7 +11018,7 @@ export default {
1
],
"update": [
- 444
+ 442
],
"__typename": [
1
@@ -11129,7 +11072,7 @@ export default {
1
],
"update": [
- 447
+ 445
],
"__typename": [
1
@@ -11195,7 +11138,7 @@ export default {
},
"UpdateRoleInput": {
"update": [
- 450
+ 448
],
"id": [
3
@@ -11250,7 +11193,7 @@ export default {
3
],
"objectPermissions": [
- 452
+ 450
],
"__typename": [
1
@@ -11292,7 +11235,7 @@ export default {
3
],
"fieldPermissions": [
- 455
+ 453
],
"__typename": [
1
@@ -11323,10 +11266,10 @@ export default {
3
],
"predicates": [
- 457
+ 455
],
"predicateGroups": [
- 458
+ 456
],
"__typename": [
1
@@ -11444,7 +11387,7 @@ export default {
1
],
"visibility": [
- 288
+ 285
],
"__typename": [
1
@@ -11461,7 +11404,7 @@ export default {
1
],
"visibility": [
- 288
+ 285
],
"__typename": [
1
@@ -11472,7 +11415,7 @@ export default {
3
],
"update": [
- 464
+ 462
],
"__typename": [
1
@@ -11480,16 +11423,16 @@ export default {
},
"UpdateMessageChannelInputUpdates": {
"visibility": [
- 275
+ 272
],
"isContactAutoCreationEnabled": [
6
],
"contactAutoCreationPolicy": [
- 277
+ 274
],
"messageFolderImportPolicy": [
- 278
+ 275
],
"isSyncEnabled": [
6
@@ -11556,7 +11499,7 @@ export default {
3
],
"update": [
- 470
+ 468
],
"__typename": [
1
@@ -11584,7 +11527,7 @@ export default {
3
],
"update": [
- 472
+ 470
],
"__typename": [
1
@@ -11603,7 +11546,7 @@ export default {
3
],
"update": [
- 472
+ 470
],
"__typename": [
1
@@ -11614,7 +11557,7 @@ export default {
3
],
"update": [
- 475
+ 473
],
"__typename": [
1
@@ -11622,13 +11565,13 @@ export default {
},
"UpdateCalendarChannelInputUpdates": {
"visibility": [
- 330
+ 327
],
"isContactAutoCreationEnabled": [
6
],
"contactAutoCreationPolicy": [
- 331
+ 328
],
"isSyncEnabled": [
6
@@ -11797,7 +11740,7 @@ export default {
3
],
"status": [
- 177
+ 176
],
"__typename": [
1
@@ -11868,7 +11811,7 @@ export default {
1
],
"files": [
- 490
+ 488
],
"__typename": [
1
@@ -11890,13 +11833,13 @@ export default {
1
],
"IMAP": [
- 492
+ 490
],
"SMTP": [
- 492
+ 490
],
"CALDAV": [
- 492
+ 490
],
"__typename": [
1
@@ -11916,7 +11859,7 @@ export default {
1
],
"connectionSecurity": [
- 239
+ 236
],
"__typename": [
1
@@ -11935,7 +11878,7 @@ export default {
},
"Subscription": {
"onEventSubscription": [
- 165,
+ 164,
{
"eventStreamId": [
1,
@@ -11944,16 +11887,16 @@ export default {
}
],
"logicFunctionLogs": [
- 237,
+ 234,
{
"input": [
- 495,
+ 493,
"LogicFunctionLogsInput!"
]
}
],
"onAgentChatEvent": [
- 323,
+ 320,
{
"threadId": [
3,
@@ -11962,10 +11905,10 @@ export default {
}
],
"eventLogsLive": [
- 312,
+ 309,
{
"table": [
- 346,
+ 344,
"EventLogTable!"
]
}
diff --git a/packages/twenty-front/src/generated-metadata/graphql.ts b/packages/twenty-front/src/generated-metadata/graphql.ts
index a2231479c9..f72afdd17c 100644
--- a/packages/twenty-front/src/generated-metadata/graphql.ts
+++ b/packages/twenty-front/src/generated-metadata/graphql.ts
@@ -2061,24 +2061,9 @@ export type Index = {
isCustom?: Maybe;
isUnique: Scalars['Boolean']['output'];
name: Scalars['String']['output'];
- objectMetadata: IndexObjectMetadataConnection;
updatedAt: Scalars['DateTime']['output'];
};
-
-export type IndexObjectMetadataArgs = {
- filter?: ObjectFilter;
- paging?: CursorPaging;
-};
-
-export type IndexConnection = {
- __typename?: 'IndexConnection';
- /** Array of edges. */
- edges: Array;
- /** Paging information */
- pageInfo: PageInfo;
-};
-
export type IndexEdge = {
__typename?: 'IndexEdge';
/** Cursor for this node. */
@@ -2104,14 +2089,6 @@ export type IndexFilter = {
or?: InputMaybe>;
};
-export type IndexObjectMetadataConnection = {
- __typename?: 'IndexObjectMetadataConnection';
- /** Array of edges. */
- edges: Array;
- /** Paging information */
- pageInfo: PageInfo;
-};
-
/** Type of the index */
export enum IndexType {
BTREE = 'BTREE',
@@ -4420,8 +4397,6 @@ export type Query = {
getViewSorts: Array;
getViews: Array;
getWorkspaceCreationDefaults: WorkspaceCreationDefaultsDto;
- index: Index;
- indexMetadatas: IndexConnection;
lineChartData: LineChartData;
listPlans: Array;
minimalMetadata: MinimalMetadata;
@@ -4763,17 +4738,6 @@ export type QueryGetViewsArgs = {
};
-export type QueryIndexArgs = {
- id: Scalars['UUID']['input'];
-};
-
-
-export type QueryIndexMetadatasArgs = {
- filter?: IndexFilter;
- paging?: CursorPaging;
-};
-
-
export type QueryLineChartDataArgs = {
input: LineChartDataInput;
};
diff --git a/packages/twenty-server/src/engine/metadata-modules/index-metadata/dtos/index-metadata.dto.ts b/packages/twenty-server/src/engine/metadata-modules/index-metadata/dtos/index-metadata.dto.ts
index fa101c8886..2f621a2d21 100644
--- a/packages/twenty-server/src/engine/metadata-modules/index-metadata/dtos/index-metadata.dto.ts
+++ b/packages/twenty-server/src/engine/metadata-modules/index-metadata/dtos/index-metadata.dto.ts
@@ -7,7 +7,6 @@ import {
import {
Authorize,
- CursorConnection,
FilterableField,
IDField,
QueryOptions,
@@ -25,13 +24,14 @@ import {
import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';
import { IsValidMetadataName } from 'src/engine/decorators/metadata/is-valid-metadata-name.decorator';
import { IndexType } from 'src/engine/metadata-modules/index-metadata/types/indexType.types';
-import { ObjectMetadataDTO } from 'src/engine/metadata-modules/object-metadata/dtos/object-metadata.dto';
registerEnumType(IndexType, {
name: 'IndexType',
description: 'Type of the index',
});
+// TODO: drop these nestjs-query decorators once ObjectMetadataDTO's
+// @CursorConnection('indexMetadatas') relation is migrated off nestjs-query.
@ObjectType('Index')
@Authorize({
// oxlint-disable-next-line typescript/no-explicit-any
@@ -44,7 +44,6 @@ registerEnumType(IndexType, {
disableSort: true,
maxResultsSize: 1000,
})
-@CursorConnection('objectMetadata', () => ObjectMetadataDTO)
export class IndexMetadataDTO {
@IsUUID()
@IsNotEmpty()
diff --git a/packages/twenty-server/src/engine/metadata-modules/index-metadata/index-metadata.module.ts b/packages/twenty-server/src/engine/metadata-modules/index-metadata/index-metadata.module.ts
index 649e643f64..465971cdd5 100644
--- a/packages/twenty-server/src/engine/metadata-modules/index-metadata/index-metadata.module.ts
+++ b/packages/twenty-server/src/engine/metadata-modules/index-metadata/index-metadata.module.ts
@@ -1,19 +1,11 @@
import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
-import { SortDirection } from '@ptc-org/nestjs-query-core';
-import { NestjsQueryGraphQLModule } from '@ptc-org/nestjs-query-graphql';
-import { NestjsQueryTypeOrmModule } from '@ptc-org/nestjs-query-typeorm';
-
import { ApplicationModule } from 'src/engine/core-modules/application/application.module';
-import { WorkspaceAuthGuard } from 'src/engine/guards/workspace-auth.guard';
import { WorkspaceManyOrAllFlatEntityMapsCacheModule } from 'src/engine/metadata-modules/flat-entity/services/workspace-many-or-all-flat-entity-maps-cache.module';
-import { IndexMetadataDTO } from 'src/engine/metadata-modules/index-metadata/dtos/index-metadata.dto';
-import { IndexFieldMetadataEntity } from 'src/engine/metadata-modules/index-metadata/index-field-metadata.entity';
import { IndexMetadataEntity } from 'src/engine/metadata-modules/index-metadata/index-metadata.entity';
import { IndexMetadataResolver } from 'src/engine/metadata-modules/index-metadata/index-metadata.resolver';
import { IndexMetadataService } from 'src/engine/metadata-modules/index-metadata/services/index-metadata.service';
-import { ObjectMetadataGraphqlApiExceptionInterceptor } from 'src/engine/metadata-modules/object-metadata/interceptors/object-metadata-graphql-api-exception.interceptor';
import { PermissionsModule } from 'src/engine/metadata-modules/permissions/permissions.module';
import { WorkspaceMigrationModule } from 'src/engine/workspace-manager/workspace-migration/workspace-migration.module';
@@ -24,33 +16,6 @@ import { WorkspaceMigrationModule } from 'src/engine/workspace-manager/workspace
PermissionsModule,
WorkspaceMigrationModule,
WorkspaceManyOrAllFlatEntityMapsCacheModule,
- NestjsQueryGraphQLModule.forFeature({
- imports: [
- NestjsQueryTypeOrmModule.forFeature([
- IndexMetadataEntity,
- IndexFieldMetadataEntity,
- ]),
- ],
- resolvers: [
- {
- EntityClass: IndexMetadataEntity,
- DTOClass: IndexMetadataDTO,
- read: {
- defaultSort: [{ field: 'id', direction: SortDirection.DESC }],
- many: {
- name: 'indexMetadatas', //TODO: check + singular
- },
- },
- create: {
- disabled: true,
- },
- update: { disabled: true },
- delete: { disabled: true },
- guards: [WorkspaceAuthGuard],
- interceptors: [ObjectMetadataGraphqlApiExceptionInterceptor],
- },
- ],
- }),
],
providers: [IndexMetadataResolver, IndexMetadataService],
exports: [IndexMetadataService],
diff --git a/packages/twenty-server/test/integration/graphql/suites/object-generated/index-metadatas.integration-spec.ts b/packages/twenty-server/test/integration/graphql/suites/object-generated/index-metadatas.integration-spec.ts
deleted file mode 100644
index 80a321853b..0000000000
--- a/packages/twenty-server/test/integration/graphql/suites/object-generated/index-metadatas.integration-spec.ts
+++ /dev/null
@@ -1,59 +0,0 @@
-import request from 'supertest';
-
-const client = request(`http://localhost:${APP_PORT}`);
-
-describe('indexMetadatasResolver (e2e)', () => {
- it('should find many indexMetadatas', () => {
- const queryData = {
- query: `
- query indexMetadatas {
- indexMetadatas {
- edges {
- node {
- id
- name
- isCustom
- isUnique
- indexWhereClause
- indexType
- createdAt
- updatedAt
- }
- }
- }
- }
- `,
- };
-
- return client
- .post('/metadata')
- .set('Authorization', `Bearer ${APPLE_JANE_ADMIN_ACCESS_TOKEN}`)
- .send(queryData)
- .expect(200)
- .expect((res) => {
- expect(res.body.data).toBeDefined();
- expect(res.body.errors).toBeUndefined();
- })
- .expect((res) => {
- const data = res.body.data.indexMetadatas;
-
- expect(data).toBeDefined();
- expect(Array.isArray(data.edges)).toBe(true);
-
- const edges = data.edges;
-
- if (edges.length > 0) {
- const indexMetadatas = edges[0].node;
-
- expect(indexMetadatas).toHaveProperty('id');
- expect(indexMetadatas).toHaveProperty('name');
- expect(indexMetadatas).toHaveProperty('isCustom');
- expect(indexMetadatas).toHaveProperty('isUnique');
- expect(indexMetadatas).toHaveProperty('indexWhereClause');
- expect(indexMetadatas).toHaveProperty('indexType');
- expect(indexMetadatas).toHaveProperty('createdAt');
- expect(indexMetadatas).toHaveProperty('updatedAt');
- }
- });
- });
-});