diff --git a/sdk/constructive-sdk/schemas/admin.graphql b/sdk/constructive-sdk/schemas/admin.graphql index 8f9b1f689..bd26022e5 100644 --- a/sdk/constructive-sdk/schemas/admin.graphql +++ b/sdk/constructive-sdk/schemas/admin.graphql @@ -1107,16 +1107,6 @@ type AppPermission { """Human-readable description of what this permission allows""" description: String - - """ - TRGM similarity when searching `description`. Returns null when no trgm search filter is active. - """ - descriptionTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `AppPermission` edge in the connection.""" @@ -1166,16 +1156,6 @@ type OrgPermission { """Human-readable description of what this permission allows""" description: String - - """ - TRGM similarity when searching `description`. Returns null when no trgm search filter is active. - """ - descriptionTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `OrgPermission` edge in the connection.""" @@ -1226,16 +1206,6 @@ type AppLevelRequirement { priority: Int! createdAt: Datetime updatedAt: Datetime - - """ - TRGM similarity when searching `description`. Returns null when no trgm search filter is active. - """ - descriptionTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """ @@ -1603,6 +1573,8 @@ enum OrgPermissionDefaultOrderBy { PRIMARY_KEY_DESC ID_ASC ID_DESC + ENTITY_ID_ASC + ENTITY_ID_DESC } """A connection to a list of `AppAdminGrant` values.""" @@ -1726,6 +1698,8 @@ enum AppAdminGrantOrderBy { PRIMARY_KEY_DESC ID_ASC ID_DESC + ACTOR_ID_ASC + ACTOR_ID_DESC GRANTOR_ID_ASC GRANTOR_ID_DESC CREATED_AT_ASC @@ -1813,6 +1787,8 @@ enum AppOwnerGrantOrderBy { PRIMARY_KEY_DESC ID_ASC ID_DESC + ACTOR_ID_ASC + ACTOR_ID_DESC GRANTOR_ID_ASC GRANTOR_ID_DESC CREATED_AT_ASC @@ -1906,6 +1882,8 @@ enum OrgAdminGrantOrderBy { PRIMARY_KEY_DESC ID_ASC ID_DESC + ACTOR_ID_ASC + ACTOR_ID_DESC ENTITY_ID_ASC ENTITY_ID_DESC GRANTOR_ID_ASC @@ -2001,6 +1979,8 @@ enum OrgOwnerGrantOrderBy { PRIMARY_KEY_DESC ID_ASC ID_DESC + ACTOR_ID_ASC + ACTOR_ID_DESC ENTITY_ID_ASC ENTITY_ID_DESC GRANTOR_ID_ASC @@ -2205,29 +2185,6 @@ input StringFilter { """Greater than or equal to the specified value (case-insensitive).""" greaterThanOrEqualToInsensitive: String - - """ - Fuzzy matches using pg_trgm trigram similarity. Tolerates typos and misspellings. - """ - similarTo: TrgmSearchInput - - """ - Fuzzy matches using pg_trgm word_similarity. Finds the best matching substring within the column value. - """ - wordSimilarTo: TrgmSearchInput -} - -""" -Input for pg_trgm fuzzy text matching. Provide a search value and optional similarity threshold. -""" -input TrgmSearchInput { - """The text to fuzzy-match against. Typos and misspellings are tolerated.""" - value: String! - - """ - Minimum similarity threshold (0.0 to 1.0). Higher = stricter matching. Default is 0.3. - """ - threshold: Float } """ @@ -2392,8 +2349,10 @@ type OrgChartEdgeGrant { """User ID of the manager being assigned; NULL for top-level positions""" parentId: UUID - """User ID of the admin who performed this grant or revocation""" - grantorId: UUID! + """ + User ID of the admin who performed this grant or revocation; NULL if grantor was deleted + """ + grantorId: UUID """TRUE to add/update the edge, FALSE to remove it""" isGrant: Boolean! @@ -2406,16 +2365,6 @@ type OrgChartEdgeGrant { """Timestamp when this grant or revocation was recorded""" createdAt: Datetime! - - """ - TRGM similarity when searching `positionTitle`. Returns null when no trgm search filter is active. - """ - positionTitleTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `OrgChartEdgeGrant` edge in the connection.""" @@ -2466,17 +2415,6 @@ input OrgChartEdgeGrantFilter { """Negates the expression.""" not: OrgChartEdgeGrantFilter - - """TRGM search on the `position_title` column.""" - trgmPositionTitle: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """Methods to use when ordering `OrgChartEdgeGrant`.""" @@ -2494,10 +2432,6 @@ enum OrgChartEdgeGrantOrderBy { PARENT_ID_DESC GRANTOR_ID_ASC GRANTOR_ID_DESC - POSITION_TITLE_TRGM_SIMILARITY_ASC - POSITION_TITLE_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `MembershipType` values.""" @@ -2536,21 +2470,6 @@ type MembershipType { Short prefix used to namespace tables and functions for this membership scope """ prefix: String! - - """ - TRGM similarity when searching `description`. Returns null when no trgm search filter is active. - """ - descriptionTrgmSimilarity: Float - - """ - TRGM similarity when searching `prefix`. Returns null when no trgm search filter is active. - """ - prefixTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `MembershipType` edge in the connection.""" @@ -2586,20 +2505,6 @@ input MembershipTypeFilter { """Negates the expression.""" not: MembershipTypeFilter - - """TRGM search on the `description` column.""" - trgmDescription: TrgmSearchInput - - """TRGM search on the `prefix` column.""" - trgmPrefix: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """Methods to use when ordering `MembershipType`.""" @@ -2611,12 +2516,6 @@ enum MembershipTypeOrderBy { ID_DESC NAME_ASC NAME_DESC - DESCRIPTION_TRGM_SIMILARITY_ASC - DESCRIPTION_TRGM_SIMILARITY_DESC - PREFIX_TRGM_SIMILARITY_ASC - PREFIX_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """ @@ -2646,17 +2545,6 @@ input AppPermissionFilter { """Negates the expression.""" not: AppPermissionFilter - - """TRGM search on the `description` column.""" - trgmDescription: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """Methods to use when ordering `AppPermission`.""" @@ -2670,10 +2558,6 @@ enum AppPermissionOrderBy { NAME_DESC BITNUM_ASC BITNUM_DESC - DESCRIPTION_TRGM_SIMILARITY_ASC - DESCRIPTION_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """ @@ -2703,17 +2587,6 @@ input OrgPermissionFilter { """Negates the expression.""" not: OrgPermissionFilter - - """TRGM search on the `description` column.""" - trgmDescription: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """Methods to use when ordering `OrgPermission`.""" @@ -2727,10 +2600,6 @@ enum OrgPermissionOrderBy { NAME_DESC BITNUM_ASC BITNUM_DESC - DESCRIPTION_TRGM_SIMILARITY_ASC - DESCRIPTION_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `AppLimit` values.""" @@ -3182,6 +3051,8 @@ enum AppGrantOrderBy { PRIMARY_KEY_DESC ID_ASC ID_DESC + ACTOR_ID_ASC + ACTOR_ID_DESC GRANTOR_ID_ASC GRANTOR_ID_DESC CREATED_AT_ASC @@ -3472,6 +3343,8 @@ enum OrgClaimedInviteOrderBy { CREATED_AT_DESC UPDATED_AT_ASC UPDATED_AT_DESC + ENTITY_ID_ASC + ENTITY_ID_DESC } """A connection to a list of `OrgGrant` values.""" @@ -3567,6 +3440,8 @@ enum OrgGrantOrderBy { PRIMARY_KEY_DESC ID_ASC ID_DESC + ACTOR_ID_ASC + ACTOR_ID_DESC ENTITY_ID_ASC ENTITY_ID_DESC GRANTOR_ID_ASC @@ -3618,16 +3493,6 @@ type OrgChartEdge { """Numeric seniority level for this position (higher = more senior)""" positionLevel: Int - - """ - TRGM similarity when searching `positionTitle`. Returns null when no trgm search filter is active. - """ - positionTitleTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `OrgChartEdge` edge in the connection.""" @@ -3675,17 +3540,6 @@ input OrgChartEdgeFilter { """Negates the expression.""" not: OrgChartEdgeFilter - - """TRGM search on the `position_title` column.""" - trgmPositionTitle: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """Methods to use when ordering `OrgChartEdge`.""" @@ -3705,10 +3559,6 @@ enum OrgChartEdgeOrderBy { CHILD_ID_DESC PARENT_ID_ASC PARENT_ID_DESC - POSITION_TITLE_TRGM_SIMILARITY_ASC - POSITION_TITLE_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `OrgMembershipDefault` values.""" @@ -3862,17 +3712,6 @@ input AppLevelRequirementFilter { """Negates the expression.""" not: AppLevelRequirementFilter - - """TRGM search on the `description` column.""" - trgmDescription: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """Methods to use when ordering `AppLevelRequirement`.""" @@ -3892,10 +3731,6 @@ enum AppLevelRequirementOrderBy { CREATED_AT_DESC UPDATED_AT_ASC UPDATED_AT_DESC - DESCRIPTION_TRGM_SIMILARITY_ASC - DESCRIPTION_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `AppMembership` values.""" @@ -4273,16 +4108,6 @@ type Invite { expiresAt: Datetime! createdAt: Datetime updatedAt: Datetime - - """ - TRGM similarity when searching `inviteToken`. Returns null when no trgm search filter is active. - """ - inviteTokenTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } scalar ConstructiveInternalTypeEmail @@ -4341,17 +4166,6 @@ input InviteFilter { """Negates the expression.""" not: InviteFilter - - """TRGM search on the `invite_token` column.""" - trgmInviteToken: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """ @@ -4507,10 +4321,6 @@ enum InviteOrderBy { CREATED_AT_DESC UPDATED_AT_ASC UPDATED_AT_DESC - INVITE_TOKEN_TRGM_SIMILARITY_ASC - INVITE_TOKEN_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `AppLevel` values.""" @@ -4549,16 +4359,6 @@ type AppLevel { ownerId: UUID createdAt: Datetime updatedAt: Datetime - - """ - TRGM similarity when searching `description`. Returns null when no trgm search filter is active. - """ - descriptionTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } scalar ConstructiveInternalTypeImage @@ -4605,17 +4405,6 @@ input AppLevelFilter { """Negates the expression.""" not: AppLevelFilter - - """TRGM search on the `description` column.""" - trgmDescription: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """ @@ -4684,14 +4473,12 @@ enum AppLevelOrderBy { ID_DESC NAME_ASC NAME_DESC + OWNER_ID_ASC + OWNER_ID_DESC CREATED_AT_ASC CREATED_AT_DESC UPDATED_AT_ASC UPDATED_AT_DESC - DESCRIPTION_TRGM_SIMILARITY_ASC - DESCRIPTION_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `OrgInvite` values.""" @@ -4749,16 +4536,6 @@ type OrgInvite { createdAt: Datetime updatedAt: Datetime entityId: UUID! - - """ - TRGM similarity when searching `inviteToken`. Returns null when no trgm search filter is active. - """ - inviteTokenTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `OrgInvite` edge in the connection.""" @@ -4821,17 +4598,6 @@ input OrgInviteFilter { """Negates the expression.""" not: OrgInviteFilter - - """TRGM search on the `invite_token` column.""" - trgmInviteToken: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """Methods to use when ordering `OrgInvite`.""" @@ -4845,6 +4611,8 @@ enum OrgInviteOrderBy { EMAIL_DESC SENDER_ID_ASC SENDER_ID_DESC + RECEIVER_ID_ASC + RECEIVER_ID_DESC INVITE_TOKEN_ASC INVITE_TOKEN_DESC INVITE_VALID_ASC @@ -4857,10 +4625,6 @@ enum OrgInviteOrderBy { UPDATED_AT_DESC ENTITY_ID_ASC ENTITY_ID_DESC - INVITE_TOKEN_TRGM_SIMILARITY_ASC - INVITE_TOKEN_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """Root meta schema type""" @@ -6285,8 +6049,10 @@ input OrgChartEdgeGrantInput { """User ID of the manager being assigned; NULL for top-level positions""" parentId: UUID - """User ID of the admin who performed this grant or revocation""" - grantorId: UUID! + """ + User ID of the admin who performed this grant or revocation; NULL if grantor was deleted + """ + grantorId: UUID """TRUE to add/update the edge, FALSE to remove it""" isGrant: Boolean @@ -7994,7 +7760,9 @@ input OrgChartEdgeGrantPatch { """User ID of the manager being assigned; NULL for top-level positions""" parentId: UUID - """User ID of the admin who performed this grant or revocation""" + """ + User ID of the admin who performed this grant or revocation; NULL if grantor was deleted + """ grantorId: UUID """TRUE to add/update the edge, FALSE to remove it""" diff --git a/sdk/constructive-sdk/schemas/auth.graphql b/sdk/constructive-sdk/schemas/auth.graphql index 0e71c1397..96741450b 100644 --- a/sdk/constructive-sdk/schemas/auth.graphql +++ b/sdk/constructive-sdk/schemas/auth.graphql @@ -235,6 +235,151 @@ type User { """Reads a single `RoleType` that is related to this `User`.""" roleType: RoleType + """Reads and enables pagination through a set of `Email`.""" + ownedEmails( + """Only read the first `n` values of the set.""" + first: Int + + """Only read the last `n` values of the set.""" + last: Int + + """ + Skip the first `n` values from our `after` cursor, an alternative to cursor + based pagination. May not be used with `last`. + """ + offset: Int + + """Read all values in the set before (above) this cursor.""" + before: Cursor + + """Read all values in the set after (below) this cursor.""" + after: Cursor + + """ + A filter to be used in determining which values should be returned by the collection. + """ + where: EmailFilter + + """The method to use when ordering `Email`.""" + orderBy: [EmailOrderBy!] = [PRIMARY_KEY_ASC] + ): EmailConnection! + + """Reads and enables pagination through a set of `PhoneNumber`.""" + ownedPhoneNumbers( + """Only read the first `n` values of the set.""" + first: Int + + """Only read the last `n` values of the set.""" + last: Int + + """ + Skip the first `n` values from our `after` cursor, an alternative to cursor + based pagination. May not be used with `last`. + """ + offset: Int + + """Read all values in the set before (above) this cursor.""" + before: Cursor + + """Read all values in the set after (below) this cursor.""" + after: Cursor + + """ + A filter to be used in determining which values should be returned by the collection. + """ + where: PhoneNumberFilter + + """The method to use when ordering `PhoneNumber`.""" + orderBy: [PhoneNumberOrderBy!] = [PRIMARY_KEY_ASC] + ): PhoneNumberConnection! + + """Reads and enables pagination through a set of `CryptoAddress`.""" + ownedCryptoAddresses( + """Only read the first `n` values of the set.""" + first: Int + + """Only read the last `n` values of the set.""" + last: Int + + """ + Skip the first `n` values from our `after` cursor, an alternative to cursor + based pagination. May not be used with `last`. + """ + offset: Int + + """Read all values in the set before (above) this cursor.""" + before: Cursor + + """Read all values in the set after (below) this cursor.""" + after: Cursor + + """ + A filter to be used in determining which values should be returned by the collection. + """ + where: CryptoAddressFilter + + """The method to use when ordering `CryptoAddress`.""" + orderBy: [CryptoAddressOrderBy!] = [PRIMARY_KEY_ASC] + ): CryptoAddressConnection! + + """Reads and enables pagination through a set of `ConnectedAccount`.""" + ownedConnectedAccounts( + """Only read the first `n` values of the set.""" + first: Int + + """Only read the last `n` values of the set.""" + last: Int + + """ + Skip the first `n` values from our `after` cursor, an alternative to cursor + based pagination. May not be used with `last`. + """ + offset: Int + + """Read all values in the set before (above) this cursor.""" + before: Cursor + + """Read all values in the set after (below) this cursor.""" + after: Cursor + + """ + A filter to be used in determining which values should be returned by the collection. + """ + where: ConnectedAccountFilter + + """The method to use when ordering `ConnectedAccount`.""" + orderBy: [ConnectedAccountOrderBy!] = [PRIMARY_KEY_ASC] + ): ConnectedAccountConnection! + + """Reads and enables pagination through a set of `AuditLog`.""" + auditLogsByActorId( + """Only read the first `n` values of the set.""" + first: Int + + """Only read the last `n` values of the set.""" + last: Int + + """ + Skip the first `n` values from our `after` cursor, an alternative to cursor + based pagination. May not be used with `last`. + """ + offset: Int + + """Read all values in the set before (above) this cursor.""" + before: Cursor + + """Read all values in the set after (below) this cursor.""" + after: Cursor + + """ + A filter to be used in determining which values should be returned by the collection. + """ + where: AuditLogFilter + + """The method to use when ordering `AuditLog`.""" + orderBy: [AuditLogOrderBy!] = [PRIMARY_KEY_ASC] + ): AuditLogConnection! + """ TSV rank when searching `searchTsv`. Returns null when no tsv search filter is active. """ @@ -246,7 +391,7 @@ type User { displayNameTrgmSimilarity: Float """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. + Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Supports per-table weight customization via @searchConfig smart tag. Returns null when no search filters are active. """ searchScore: Float } @@ -270,64 +415,52 @@ type RoleType { name: String! } -"""A connection to a list of `CryptoAddress` values.""" -type CryptoAddressConnection { - """A list of `CryptoAddress` objects.""" - nodes: [CryptoAddress]! +"""A connection to a list of `Email` values.""" +type EmailConnection { + """A list of `Email` objects.""" + nodes: [Email]! """ - A list of edges which contains the `CryptoAddress` and cursor to aid in pagination. + A list of edges which contains the `Email` and cursor to aid in pagination. """ - edges: [CryptoAddressEdge]! + edges: [EmailEdge]! """Information to aid in pagination.""" pageInfo: PageInfo! - """The count of *all* `CryptoAddress` you could get from the connection.""" + """The count of *all* `Email` you could get from the connection.""" totalCount: Int! } -""" -Cryptocurrency wallet addresses owned by users, with network-specific validation and verification -""" -type CryptoAddress { +"""User email addresses with verification and primary-email management""" +type Email { id: UUID! ownerId: UUID! - """ - The cryptocurrency wallet address, validated against network-specific patterns - """ - address: String! + """The email address""" + email: ConstructiveInternalTypeEmail! - """Whether ownership of this address has been cryptographically verified""" + """Whether the email address has been verified via confirmation link""" isVerified: Boolean! - """Whether this is the user's primary cryptocurrency address""" + """Whether this is the user's primary email address""" isPrimary: Boolean! createdAt: Datetime updatedAt: Datetime - """Reads a single `User` that is related to this `CryptoAddress`.""" + """Reads a single `User` that is related to this `Email`.""" owner: User - - """ - TRGM similarity when searching `address`. Returns null when no trgm search filter is active. - """ - addressTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } -"""A `CryptoAddress` edge in the connection.""" -type CryptoAddressEdge { +scalar ConstructiveInternalTypeEmail + +"""A `Email` edge in the connection.""" +type EmailEdge { """A cursor for use in pagination.""" cursor: Cursor - """The `CryptoAddress` at the end of the edge.""" - node: CryptoAddress + """The `Email` at the end of the edge.""" + node: Email } """A location in a connection that can be used for resuming pagination.""" @@ -349,17 +482,17 @@ type PageInfo { } """ -A filter to be used against `CryptoAddress` object types. All fields are combined with a logical ‘and.’ +A filter to be used against `Email` object types. All fields are combined with a logical ‘and.’ """ -input CryptoAddressFilter { +input EmailFilter { """Filter by the object’s `id` field.""" id: UUIDFilter """Filter by the object’s `ownerId` field.""" ownerId: UUIDFilter - """Filter by the object’s `address` field.""" - address: StringFilter + """Filter by the object’s `email` field.""" + email: ConstructiveInternalTypeEmailFilter """Filter by the object’s `isVerified` field.""" isVerified: BooleanFilter @@ -374,27 +507,16 @@ input CryptoAddressFilter { updatedAt: DatetimeFilter """Checks for all expressions in this list.""" - and: [CryptoAddressFilter!] + and: [EmailFilter!] """Checks for any expressions in this list.""" - or: [CryptoAddressFilter!] + or: [EmailFilter!] """Negates the expression.""" - not: CryptoAddressFilter + not: EmailFilter """Filter by the object’s `owner` relation.""" owner: UserFilter - - """TRGM search on the `address` column.""" - trgmAddress: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """ @@ -440,9 +562,9 @@ input UUIDFilter { } """ -A filter to be used against String fields. All fields are combined with a logical ‘and.’ +A filter to be used against ConstructiveInternalTypeEmail fields. All fields are combined with a logical ‘and.’ """ -input StringFilter { +input ConstructiveInternalTypeEmailFilter { """ Is null (if `true` is specified) or is not null (if `false` is specified). """ @@ -487,10 +609,10 @@ input StringFilter { notIncludes: String """Contains the specified string (case-insensitive).""" - includesInsensitive: String + includesInsensitive: ConstructiveInternalTypeEmail """Does not contain the specified string (case-insensitive).""" - notIncludesInsensitive: String + notIncludesInsensitive: ConstructiveInternalTypeEmail """Starts with the specified string (case-sensitive).""" startsWith: String @@ -499,10 +621,10 @@ input StringFilter { notStartsWith: String """Starts with the specified string (case-insensitive).""" - startsWithInsensitive: String + startsWithInsensitive: ConstructiveInternalTypeEmail """Does not start with the specified string (case-insensitive).""" - notStartsWithInsensitive: String + notStartsWithInsensitive: ConstructiveInternalTypeEmail """Ends with the specified string (case-sensitive).""" endsWith: String @@ -511,10 +633,10 @@ input StringFilter { notEndsWith: String """Ends with the specified string (case-insensitive).""" - endsWithInsensitive: String + endsWithInsensitive: ConstructiveInternalTypeEmail """Does not end with the specified string (case-insensitive).""" - notEndsWithInsensitive: String + notEndsWithInsensitive: ConstructiveInternalTypeEmail """ Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. @@ -529,79 +651,56 @@ input StringFilter { """ Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. """ - likeInsensitive: String + likeInsensitive: ConstructiveInternalTypeEmail """ Does not match the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. """ - notLikeInsensitive: String + notLikeInsensitive: ConstructiveInternalTypeEmail """Equal to the specified value (case-insensitive).""" - equalToInsensitive: String + equalToInsensitive: ConstructiveInternalTypeEmail """Not equal to the specified value (case-insensitive).""" - notEqualToInsensitive: String + notEqualToInsensitive: ConstructiveInternalTypeEmail """ Not equal to the specified value, treating null like an ordinary value (case-insensitive). """ - distinctFromInsensitive: String + distinctFromInsensitive: ConstructiveInternalTypeEmail """ Equal to the specified value, treating null like an ordinary value (case-insensitive). """ - notDistinctFromInsensitive: String + notDistinctFromInsensitive: ConstructiveInternalTypeEmail """Included in the specified list (case-insensitive).""" - inInsensitive: [String!] + inInsensitive: [ConstructiveInternalTypeEmail!] """Not included in the specified list (case-insensitive).""" - notInInsensitive: [String!] + notInInsensitive: [ConstructiveInternalTypeEmail!] """Less than the specified value (case-insensitive).""" - lessThanInsensitive: String + lessThanInsensitive: ConstructiveInternalTypeEmail """Less than or equal to the specified value (case-insensitive).""" - lessThanOrEqualToInsensitive: String + lessThanOrEqualToInsensitive: ConstructiveInternalTypeEmail """Greater than the specified value (case-insensitive).""" - greaterThanInsensitive: String + greaterThanInsensitive: ConstructiveInternalTypeEmail """Greater than or equal to the specified value (case-insensitive).""" - greaterThanOrEqualToInsensitive: String + greaterThanOrEqualToInsensitive: ConstructiveInternalTypeEmail +} +""" +A filter to be used against Boolean fields. All fields are combined with a logical ‘and.’ +""" +input BooleanFilter { """ - Fuzzy matches using pg_trgm trigram similarity. Tolerates typos and misspellings. + Is null (if `true` is specified) or is not null (if `false` is specified). """ - similarTo: TrgmSearchInput - - """ - Fuzzy matches using pg_trgm word_similarity. Finds the best matching substring within the column value. - """ - wordSimilarTo: TrgmSearchInput -} - -""" -Input for pg_trgm fuzzy text matching. Provide a search value and optional similarity threshold. -""" -input TrgmSearchInput { - """The text to fuzzy-match against. Typos and misspellings are tolerated.""" - value: String! - - """ - Minimum similarity threshold (0.0 to 1.0). Higher = stricter matching. Default is 0.3. - """ - threshold: Float -} - -""" -A filter to be used against Boolean fields. All fields are combined with a logical ‘and.’ -""" -input BooleanFilter { - """ - Is null (if `true` is specified) or is not null (if `false` is specified). - """ - isNull: Boolean + isNull: Boolean """Equal to the specified value.""" equalTo: Boolean @@ -686,10 +785,10 @@ input UserFilter { id: UUIDFilter """Filter by the object’s `username` field.""" - username: StringFilter + username: StringTrgmFilter """Filter by the object’s `displayName` field.""" - displayName: StringFilter + displayName: StringTrgmFilter """Filter by the object’s `profilePicture` field.""" profilePicture: ConstructiveInternalTypeImageFilter @@ -718,6 +817,36 @@ input UserFilter { """Filter by the object’s `roleType` relation.""" roleType: RoleTypeFilter + """Filter by the object’s `ownedEmails` relation.""" + ownedEmails: UserToManyEmailFilter + + """`ownedEmails` exist.""" + ownedEmailsExist: Boolean + + """Filter by the object’s `ownedPhoneNumbers` relation.""" + ownedPhoneNumbers: UserToManyPhoneNumberFilter + + """`ownedPhoneNumbers` exist.""" + ownedPhoneNumbersExist: Boolean + + """Filter by the object’s `ownedCryptoAddresses` relation.""" + ownedCryptoAddresses: UserToManyCryptoAddressFilter + + """`ownedCryptoAddresses` exist.""" + ownedCryptoAddressesExist: Boolean + + """Filter by the object’s `ownedConnectedAccounts` relation.""" + ownedConnectedAccounts: UserToManyConnectedAccountFilter + + """`ownedConnectedAccounts` exist.""" + ownedConnectedAccountsExist: Boolean + + """Filter by the object’s `auditLogsByActorId` relation.""" + auditLogsByActorId: UserToManyAuditLogFilter + + """`auditLogsByActorId` exist.""" + auditLogsByActorIdExist: Boolean + """TSV search on the `search_tsv` column.""" tsvSearchTsv: String @@ -733,6 +862,161 @@ input UserFilter { fullTextSearch: String } +""" +A filter to be used against String fields with pg_trgm support. All fields are combined with a logical ‘and.’ +""" +input StringTrgmFilter { + """ + Is null (if `true` is specified) or is not null (if `false` is specified). + """ + isNull: Boolean + + """Equal to the specified value.""" + equalTo: String + + """Not equal to the specified value.""" + notEqualTo: String + + """ + Not equal to the specified value, treating null like an ordinary value. + """ + distinctFrom: String + + """Equal to the specified value, treating null like an ordinary value.""" + notDistinctFrom: String + + """Included in the specified list.""" + in: [String!] + + """Not included in the specified list.""" + notIn: [String!] + + """Less than the specified value.""" + lessThan: String + + """Less than or equal to the specified value.""" + lessThanOrEqualTo: String + + """Greater than the specified value.""" + greaterThan: String + + """Greater than or equal to the specified value.""" + greaterThanOrEqualTo: String + + """Contains the specified string (case-sensitive).""" + includes: String + + """Does not contain the specified string (case-sensitive).""" + notIncludes: String + + """Contains the specified string (case-insensitive).""" + includesInsensitive: String + + """Does not contain the specified string (case-insensitive).""" + notIncludesInsensitive: String + + """Starts with the specified string (case-sensitive).""" + startsWith: String + + """Does not start with the specified string (case-sensitive).""" + notStartsWith: String + + """Starts with the specified string (case-insensitive).""" + startsWithInsensitive: String + + """Does not start with the specified string (case-insensitive).""" + notStartsWithInsensitive: String + + """Ends with the specified string (case-sensitive).""" + endsWith: String + + """Does not end with the specified string (case-sensitive).""" + notEndsWith: String + + """Ends with the specified string (case-insensitive).""" + endsWithInsensitive: String + + """Does not end with the specified string (case-insensitive).""" + notEndsWithInsensitive: String + + """ + Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. + """ + like: String + + """ + Does not match the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. + """ + notLike: String + + """ + Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. + """ + likeInsensitive: String + + """ + Does not match the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. + """ + notLikeInsensitive: String + + """Equal to the specified value (case-insensitive).""" + equalToInsensitive: String + + """Not equal to the specified value (case-insensitive).""" + notEqualToInsensitive: String + + """ + Not equal to the specified value, treating null like an ordinary value (case-insensitive). + """ + distinctFromInsensitive: String + + """ + Equal to the specified value, treating null like an ordinary value (case-insensitive). + """ + notDistinctFromInsensitive: String + + """Included in the specified list (case-insensitive).""" + inInsensitive: [String!] + + """Not included in the specified list (case-insensitive).""" + notInInsensitive: [String!] + + """Less than the specified value (case-insensitive).""" + lessThanInsensitive: String + + """Less than or equal to the specified value (case-insensitive).""" + lessThanOrEqualToInsensitive: String + + """Greater than the specified value (case-insensitive).""" + greaterThanInsensitive: String + + """Greater than or equal to the specified value (case-insensitive).""" + greaterThanOrEqualToInsensitive: String + + """ + Fuzzy matches using pg_trgm trigram similarity. Tolerates typos and misspellings. + """ + similarTo: TrgmSearchInput + + """ + Fuzzy matches using pg_trgm word_similarity. Finds the best matching substring within the column value. + """ + wordSimilarTo: TrgmSearchInput +} + +""" +Input for pg_trgm fuzzy text matching. Provide a search value and optional similarity threshold. +""" +input TrgmSearchInput { + """The text to fuzzy-match against. Typos and misspellings are tolerated.""" + value: String! + + """ + Minimum similarity threshold (0.0 to 1.0). Higher = stricter matching. Default is 0.3. + """ + threshold: Float +} + """ A filter to be used against ConstructiveInternalTypeImage fields. All fields are combined with a logical ‘and.’ """ @@ -885,126 +1169,164 @@ input RoleTypeFilter { not: RoleTypeFilter } -"""Methods to use when ordering `CryptoAddress`.""" -enum CryptoAddressOrderBy { - NATURAL - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC - ID_ASC - ID_DESC - ADDRESS_ASC - ADDRESS_DESC - CREATED_AT_ASC - CREATED_AT_DESC - UPDATED_AT_ASC - UPDATED_AT_DESC - ADDRESS_TRGM_SIMILARITY_ASC - ADDRESS_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC -} +""" +A filter to be used against String fields. All fields are combined with a logical ‘and.’ +""" +input StringFilter { + """ + Is null (if `true` is specified) or is not null (if `false` is specified). + """ + isNull: Boolean -"""A connection to a list of `RoleType` values.""" -type RoleTypeConnection { - """A list of `RoleType` objects.""" - nodes: [RoleType]! + """Equal to the specified value.""" + equalTo: String + + """Not equal to the specified value.""" + notEqualTo: String """ - A list of edges which contains the `RoleType` and cursor to aid in pagination. + Not equal to the specified value, treating null like an ordinary value. """ - edges: [RoleTypeEdge]! + distinctFrom: String - """Information to aid in pagination.""" - pageInfo: PageInfo! + """Equal to the specified value, treating null like an ordinary value.""" + notDistinctFrom: String - """The count of *all* `RoleType` you could get from the connection.""" - totalCount: Int! -} + """Included in the specified list.""" + in: [String!] -"""A `RoleType` edge in the connection.""" -type RoleTypeEdge { - """A cursor for use in pagination.""" - cursor: Cursor + """Not included in the specified list.""" + notIn: [String!] - """The `RoleType` at the end of the edge.""" - node: RoleType -} + """Less than the specified value.""" + lessThan: String -"""Methods to use when ordering `RoleType`.""" -enum RoleTypeOrderBy { - NATURAL - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC - ID_ASC - ID_DESC - NAME_ASC - NAME_DESC -} + """Less than or equal to the specified value.""" + lessThanOrEqualTo: String -"""A connection to a list of `PhoneNumber` values.""" -type PhoneNumberConnection { - """A list of `PhoneNumber` objects.""" - nodes: [PhoneNumber]! + """Greater than the specified value.""" + greaterThan: String - """ - A list of edges which contains the `PhoneNumber` and cursor to aid in pagination. - """ - edges: [PhoneNumberEdge]! + """Greater than or equal to the specified value.""" + greaterThanOrEqualTo: String - """Information to aid in pagination.""" - pageInfo: PageInfo! + """Contains the specified string (case-sensitive).""" + includes: String - """The count of *all* `PhoneNumber` you could get from the connection.""" - totalCount: Int! -} + """Does not contain the specified string (case-sensitive).""" + notIncludes: String -""" -User phone numbers with country code, verification, and primary-number management -""" -type PhoneNumber { - id: UUID! - ownerId: UUID! + """Contains the specified string (case-insensitive).""" + includesInsensitive: String - """Country calling code (e.g. +1, +44)""" - cc: String! + """Does not contain the specified string (case-insensitive).""" + notIncludesInsensitive: String - """The phone number without country code""" - number: String! + """Starts with the specified string (case-sensitive).""" + startsWith: String - """Whether the phone number has been verified via SMS code""" - isVerified: Boolean! + """Does not start with the specified string (case-sensitive).""" + notStartsWith: String - """Whether this is the user's primary phone number""" - isPrimary: Boolean! - createdAt: Datetime - updatedAt: Datetime + """Starts with the specified string (case-insensitive).""" + startsWithInsensitive: String - """Reads a single `User` that is related to this `PhoneNumber`.""" - owner: User + """Does not start with the specified string (case-insensitive).""" + notStartsWithInsensitive: String + + """Ends with the specified string (case-sensitive).""" + endsWith: String + + """Does not end with the specified string (case-sensitive).""" + notEndsWith: String + + """Ends with the specified string (case-insensitive).""" + endsWithInsensitive: String + + """Does not end with the specified string (case-insensitive).""" + notEndsWithInsensitive: String """ - TRGM similarity when searching `cc`. Returns null when no trgm search filter is active. + Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. """ - ccTrgmSimilarity: Float + like: String """ - TRGM similarity when searching `number`. Returns null when no trgm search filter is active. + Does not match the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. """ - numberTrgmSimilarity: Float + notLike: String """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. + Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. """ - searchScore: Float + likeInsensitive: String + + """ + Does not match the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. + """ + notLikeInsensitive: String + + """Equal to the specified value (case-insensitive).""" + equalToInsensitive: String + + """Not equal to the specified value (case-insensitive).""" + notEqualToInsensitive: String + + """ + Not equal to the specified value, treating null like an ordinary value (case-insensitive). + """ + distinctFromInsensitive: String + + """ + Equal to the specified value, treating null like an ordinary value (case-insensitive). + """ + notDistinctFromInsensitive: String + + """Included in the specified list (case-insensitive).""" + inInsensitive: [String!] + + """Not included in the specified list (case-insensitive).""" + notInInsensitive: [String!] + + """Less than the specified value (case-insensitive).""" + lessThanInsensitive: String + + """Less than or equal to the specified value (case-insensitive).""" + lessThanOrEqualToInsensitive: String + + """Greater than the specified value (case-insensitive).""" + greaterThanInsensitive: String + + """Greater than or equal to the specified value (case-insensitive).""" + greaterThanOrEqualToInsensitive: String } -"""A `PhoneNumber` edge in the connection.""" -type PhoneNumberEdge { - """A cursor for use in pagination.""" - cursor: Cursor +""" +A filter to be used against many `Email` object types. All fields are combined with a logical ‘and.’ +""" +input UserToManyEmailFilter { + """Filters to entities where at least one related entity matches.""" + some: EmailFilter - """The `PhoneNumber` at the end of the edge.""" - node: PhoneNumber + """Filters to entities where every related entity matches.""" + every: EmailFilter + + """Filters to entities where no related entity matches.""" + none: EmailFilter +} + +""" +A filter to be used against many `PhoneNumber` object types. All fields are combined with a logical ‘and.’ +""" +input UserToManyPhoneNumberFilter { + """Filters to entities where at least one related entity matches.""" + some: PhoneNumberFilter + + """Filters to entities where every related entity matches.""" + every: PhoneNumberFilter + + """Filters to entities where no related entity matches.""" + none: PhoneNumberFilter } """ @@ -1046,114 +1368,72 @@ input PhoneNumberFilter { """Filter by the object’s `owner` relation.""" owner: UserFilter - - """TRGM search on the `cc` column.""" - trgmCc: TrgmSearchInput - - """TRGM search on the `number` column.""" - trgmNumber: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } -"""Methods to use when ordering `PhoneNumber`.""" -enum PhoneNumberOrderBy { - NATURAL - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC - ID_ASC - ID_DESC - NUMBER_ASC - NUMBER_DESC - CREATED_AT_ASC - CREATED_AT_DESC - UPDATED_AT_ASC - UPDATED_AT_DESC - CC_TRGM_SIMILARITY_ASC - CC_TRGM_SIMILARITY_DESC - NUMBER_TRGM_SIMILARITY_ASC - NUMBER_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC -} - -"""A connection to a list of `ConnectedAccount` values.""" -type ConnectedAccountConnection { - """A list of `ConnectedAccount` objects.""" - nodes: [ConnectedAccount]! - - """ - A list of edges which contains the `ConnectedAccount` and cursor to aid in pagination. - """ - edges: [ConnectedAccountEdge]! +""" +A filter to be used against many `CryptoAddress` object types. All fields are combined with a logical ‘and.’ +""" +input UserToManyCryptoAddressFilter { + """Filters to entities where at least one related entity matches.""" + some: CryptoAddressFilter - """Information to aid in pagination.""" - pageInfo: PageInfo! + """Filters to entities where every related entity matches.""" + every: CryptoAddressFilter - """ - The count of *all* `ConnectedAccount` you could get from the connection. - """ - totalCount: Int! + """Filters to entities where no related entity matches.""" + none: CryptoAddressFilter } """ -OAuth and social login connections linking external service accounts to users +A filter to be used against `CryptoAddress` object types. All fields are combined with a logical ‘and.’ """ -type ConnectedAccount { - id: UUID! - ownerId: UUID! +input CryptoAddressFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter - """The service used, e.g. `twitter` or `github`.""" - service: String! + """Filter by the object’s `ownerId` field.""" + ownerId: UUIDFilter - """A unique identifier for the user within the service""" - identifier: String! + """Filter by the object’s `address` field.""" + address: StringFilter - """Additional profile details extracted from this login method""" - details: JSON! + """Filter by the object’s `isVerified` field.""" + isVerified: BooleanFilter - """Whether this connected account has been verified""" - isVerified: Boolean! - createdAt: Datetime - updatedAt: Datetime + """Filter by the object’s `isPrimary` field.""" + isPrimary: BooleanFilter - """Reads a single `User` that is related to this `ConnectedAccount`.""" - owner: User + """Filter by the object’s `createdAt` field.""" + createdAt: DatetimeFilter - """ - TRGM similarity when searching `service`. Returns null when no trgm search filter is active. - """ - serviceTrgmSimilarity: Float + """Filter by the object’s `updatedAt` field.""" + updatedAt: DatetimeFilter - """ - TRGM similarity when searching `identifier`. Returns null when no trgm search filter is active. - """ - identifierTrgmSimilarity: Float + """Checks for all expressions in this list.""" + and: [CryptoAddressFilter!] - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float + """Checks for any expressions in this list.""" + or: [CryptoAddressFilter!] + + """Negates the expression.""" + not: CryptoAddressFilter + + """Filter by the object’s `owner` relation.""" + owner: UserFilter } """ -Represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). +A filter to be used against many `ConnectedAccount` object types. All fields are combined with a logical ‘and.’ """ -scalar JSON +input UserToManyConnectedAccountFilter { + """Filters to entities where at least one related entity matches.""" + some: ConnectedAccountFilter -"""A `ConnectedAccount` edge in the connection.""" -type ConnectedAccountEdge { - """A cursor for use in pagination.""" - cursor: Cursor + """Filters to entities where every related entity matches.""" + every: ConnectedAccountFilter - """The `ConnectedAccount` at the end of the edge.""" - node: ConnectedAccount + """Filters to entities where no related entity matches.""" + none: ConnectedAccountFilter } """ @@ -1187,28 +1467,14 @@ input ConnectedAccountFilter { """Checks for all expressions in this list.""" and: [ConnectedAccountFilter!] - """Checks for any expressions in this list.""" - or: [ConnectedAccountFilter!] - - """Negates the expression.""" - not: ConnectedAccountFilter - - """Filter by the object’s `owner` relation.""" - owner: UserFilter - - """TRGM search on the `service` column.""" - trgmService: TrgmSearchInput - - """TRGM search on the `identifier` column.""" - trgmIdentifier: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String + """Checks for any expressions in this list.""" + or: [ConnectedAccountFilter!] + + """Negates the expression.""" + not: ConnectedAccountFilter + + """Filter by the object’s `owner` relation.""" + owner: UserFilter } """ @@ -1268,98 +1534,23 @@ input JSONFilter { containedBy: JSON } -"""Methods to use when ordering `ConnectedAccount`.""" -enum ConnectedAccountOrderBy { - NATURAL - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC - ID_ASC - ID_DESC - SERVICE_ASC - SERVICE_DESC - IDENTIFIER_ASC - IDENTIFIER_DESC - CREATED_AT_ASC - CREATED_AT_DESC - UPDATED_AT_ASC - UPDATED_AT_DESC - SERVICE_TRGM_SIMILARITY_ASC - SERVICE_TRGM_SIMILARITY_DESC - IDENTIFIER_TRGM_SIMILARITY_ASC - IDENTIFIER_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC -} - -"""A connection to a list of `AuditLog` values.""" -type AuditLogConnection { - """A list of `AuditLog` objects.""" - nodes: [AuditLog]! - - """ - A list of edges which contains the `AuditLog` and cursor to aid in pagination. - """ - edges: [AuditLogEdge]! - - """Information to aid in pagination.""" - pageInfo: PageInfo! - - """The count of *all* `AuditLog` you could get from the connection.""" - totalCount: Int! -} - """ -Append-only audit log of authentication events (sign-in, sign-up, password changes, etc.) +Represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). """ -type AuditLog { - id: UUID! - - """ - Type of authentication event (e.g. sign_in, sign_up, password_change, verify_email) - """ - event: String! - - """User who performed the authentication action""" - actorId: UUID! - - """Request origin (domain) where the auth event occurred""" - origin: ConstructiveInternalTypeOrigin - - """Browser or client user-agent string from the request""" - userAgent: String - - """IP address of the client that initiated the auth event""" - ipAddress: InternetAddress - - """Whether the authentication attempt succeeded""" - success: Boolean! - - """Timestamp when the audit event was recorded""" - createdAt: Datetime! - - """Reads a single `User` that is related to this `AuditLog`.""" - actor: User - - """ - TRGM similarity when searching `userAgent`. Returns null when no trgm search filter is active. - """ - userAgentTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float -} +scalar JSON -scalar ConstructiveInternalTypeOrigin +""" +A filter to be used against many `AuditLog` object types. All fields are combined with a logical ‘and.’ +""" +input UserToManyAuditLogFilter { + """Filters to entities where at least one related entity matches.""" + some: AuditLogFilter -"""A `AuditLog` edge in the connection.""" -type AuditLogEdge { - """A cursor for use in pagination.""" - cursor: Cursor + """Filters to entities where every related entity matches.""" + every: AuditLogFilter - """The `AuditLog` at the end of the edge.""" - node: AuditLog + """Filters to entities where no related entity matches.""" + none: AuditLogFilter } """ @@ -1402,16 +1593,8 @@ input AuditLogFilter { """Filter by the object’s `actor` relation.""" actor: UserFilter - """TRGM search on the `user_agent` column.""" - trgmUserAgent: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String + """A related `actor` exists.""" + actorExists: Boolean } """ @@ -1546,6 +1729,8 @@ input ConstructiveInternalTypeOriginFilter { greaterThanOrEqualToInsensitive: String } +scalar ConstructiveInternalTypeOrigin + """ A filter to be used against InternetAddress fields. All fields are combined with a logical ‘and.’ """ @@ -1603,252 +1788,337 @@ input InternetAddressFilter { containsOrContainedBy: InternetAddress } -"""Methods to use when ordering `AuditLog`.""" -enum AuditLogOrderBy { +"""Methods to use when ordering `Email`.""" +enum EmailOrderBy { NATURAL PRIMARY_KEY_ASC PRIMARY_KEY_DESC ID_ASC ID_DESC - EVENT_ASC - EVENT_DESC - USER_AGENT_TRGM_SIMILARITY_ASC - USER_AGENT_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC + OWNER_ID_ASC + OWNER_ID_DESC + EMAIL_ASC + EMAIL_DESC + CREATED_AT_ASC + CREATED_AT_DESC + UPDATED_AT_ASC + UPDATED_AT_DESC } -"""A connection to a list of `Email` values.""" -type EmailConnection { - """A list of `Email` objects.""" - nodes: [Email]! +"""A connection to a list of `PhoneNumber` values.""" +type PhoneNumberConnection { + """A list of `PhoneNumber` objects.""" + nodes: [PhoneNumber]! """ - A list of edges which contains the `Email` and cursor to aid in pagination. + A list of edges which contains the `PhoneNumber` and cursor to aid in pagination. """ - edges: [EmailEdge]! + edges: [PhoneNumberEdge]! """Information to aid in pagination.""" pageInfo: PageInfo! - """The count of *all* `Email` you could get from the connection.""" + """The count of *all* `PhoneNumber` you could get from the connection.""" totalCount: Int! } -"""User email addresses with verification and primary-email management""" -type Email { +""" +User phone numbers with country code, verification, and primary-number management +""" +type PhoneNumber { id: UUID! ownerId: UUID! - """The email address""" - email: ConstructiveInternalTypeEmail! + """Country calling code (e.g. +1, +44)""" + cc: String! - """Whether the email address has been verified via confirmation link""" + """The phone number without country code""" + number: String! + + """Whether the phone number has been verified via SMS code""" isVerified: Boolean! - """Whether this is the user's primary email address""" + """Whether this is the user's primary phone number""" isPrimary: Boolean! createdAt: Datetime updatedAt: Datetime - """Reads a single `User` that is related to this `Email`.""" + """Reads a single `User` that is related to this `PhoneNumber`.""" owner: User } -scalar ConstructiveInternalTypeEmail - -"""A `Email` edge in the connection.""" -type EmailEdge { +"""A `PhoneNumber` edge in the connection.""" +type PhoneNumberEdge { """A cursor for use in pagination.""" cursor: Cursor - """The `Email` at the end of the edge.""" - node: Email + """The `PhoneNumber` at the end of the edge.""" + node: PhoneNumber } -""" -A filter to be used against `Email` object types. All fields are combined with a logical ‘and.’ -""" -input EmailFilter { - """Filter by the object’s `id` field.""" - id: UUIDFilter +"""Methods to use when ordering `PhoneNumber`.""" +enum PhoneNumberOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + OWNER_ID_ASC + OWNER_ID_DESC + NUMBER_ASC + NUMBER_DESC + CREATED_AT_ASC + CREATED_AT_DESC + UPDATED_AT_ASC + UPDATED_AT_DESC +} - """Filter by the object’s `ownerId` field.""" - ownerId: UUIDFilter +"""A connection to a list of `CryptoAddress` values.""" +type CryptoAddressConnection { + """A list of `CryptoAddress` objects.""" + nodes: [CryptoAddress]! - """Filter by the object’s `email` field.""" - email: ConstructiveInternalTypeEmailFilter + """ + A list of edges which contains the `CryptoAddress` and cursor to aid in pagination. + """ + edges: [CryptoAddressEdge]! - """Filter by the object’s `isVerified` field.""" - isVerified: BooleanFilter + """Information to aid in pagination.""" + pageInfo: PageInfo! - """Filter by the object’s `isPrimary` field.""" - isPrimary: BooleanFilter + """The count of *all* `CryptoAddress` you could get from the connection.""" + totalCount: Int! +} - """Filter by the object’s `createdAt` field.""" - createdAt: DatetimeFilter +""" +Cryptocurrency wallet addresses owned by users, with network-specific validation and verification +""" +type CryptoAddress { + id: UUID! + ownerId: UUID! - """Filter by the object’s `updatedAt` field.""" - updatedAt: DatetimeFilter + """ + The cryptocurrency wallet address, validated against network-specific patterns + """ + address: String! - """Checks for all expressions in this list.""" - and: [EmailFilter!] + """Whether ownership of this address has been cryptographically verified""" + isVerified: Boolean! - """Checks for any expressions in this list.""" - or: [EmailFilter!] + """Whether this is the user's primary cryptocurrency address""" + isPrimary: Boolean! + createdAt: Datetime + updatedAt: Datetime - """Negates the expression.""" - not: EmailFilter + """Reads a single `User` that is related to this `CryptoAddress`.""" + owner: User +} - """Filter by the object’s `owner` relation.""" - owner: UserFilter +"""A `CryptoAddress` edge in the connection.""" +type CryptoAddressEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `CryptoAddress` at the end of the edge.""" + node: CryptoAddress +} + +"""Methods to use when ordering `CryptoAddress`.""" +enum CryptoAddressOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + OWNER_ID_ASC + OWNER_ID_DESC + ADDRESS_ASC + ADDRESS_DESC + CREATED_AT_ASC + CREATED_AT_DESC + UPDATED_AT_ASC + UPDATED_AT_DESC } -""" -A filter to be used against ConstructiveInternalTypeEmail fields. All fields are combined with a logical ‘and.’ -""" -input ConstructiveInternalTypeEmailFilter { +"""A connection to a list of `ConnectedAccount` values.""" +type ConnectedAccountConnection { + """A list of `ConnectedAccount` objects.""" + nodes: [ConnectedAccount]! + """ - Is null (if `true` is specified) or is not null (if `false` is specified). + A list of edges which contains the `ConnectedAccount` and cursor to aid in pagination. """ - isNull: Boolean - - """Equal to the specified value.""" - equalTo: String + edges: [ConnectedAccountEdge]! - """Not equal to the specified value.""" - notEqualTo: String + """Information to aid in pagination.""" + pageInfo: PageInfo! """ - Not equal to the specified value, treating null like an ordinary value. + The count of *all* `ConnectedAccount` you could get from the connection. """ - distinctFrom: String + totalCount: Int! +} - """Equal to the specified value, treating null like an ordinary value.""" - notDistinctFrom: String +""" +OAuth and social login connections linking external service accounts to users +""" +type ConnectedAccount { + id: UUID! + ownerId: UUID! - """Included in the specified list.""" - in: [String!] + """The service used, e.g. `twitter` or `github`.""" + service: String! - """Not included in the specified list.""" - notIn: [String!] + """A unique identifier for the user within the service""" + identifier: String! - """Less than the specified value.""" - lessThan: String + """Additional profile details extracted from this login method""" + details: JSON! - """Less than or equal to the specified value.""" - lessThanOrEqualTo: String + """Whether this connected account has been verified""" + isVerified: Boolean! + createdAt: Datetime + updatedAt: Datetime - """Greater than the specified value.""" - greaterThan: String + """Reads a single `User` that is related to this `ConnectedAccount`.""" + owner: User +} - """Greater than or equal to the specified value.""" - greaterThanOrEqualTo: String +"""A `ConnectedAccount` edge in the connection.""" +type ConnectedAccountEdge { + """A cursor for use in pagination.""" + cursor: Cursor - """Contains the specified string (case-sensitive).""" - includes: String + """The `ConnectedAccount` at the end of the edge.""" + node: ConnectedAccount +} - """Does not contain the specified string (case-sensitive).""" - notIncludes: String +"""Methods to use when ordering `ConnectedAccount`.""" +enum ConnectedAccountOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + OWNER_ID_ASC + OWNER_ID_DESC + SERVICE_ASC + SERVICE_DESC + IDENTIFIER_ASC + IDENTIFIER_DESC + CREATED_AT_ASC + CREATED_AT_DESC + UPDATED_AT_ASC + UPDATED_AT_DESC +} - """Contains the specified string (case-insensitive).""" - includesInsensitive: ConstructiveInternalTypeEmail +"""A connection to a list of `AuditLog` values.""" +type AuditLogConnection { + """A list of `AuditLog` objects.""" + nodes: [AuditLog]! - """Does not contain the specified string (case-insensitive).""" - notIncludesInsensitive: ConstructiveInternalTypeEmail + """ + A list of edges which contains the `AuditLog` and cursor to aid in pagination. + """ + edges: [AuditLogEdge]! - """Starts with the specified string (case-sensitive).""" - startsWith: String + """Information to aid in pagination.""" + pageInfo: PageInfo! - """Does not start with the specified string (case-sensitive).""" - notStartsWith: String + """The count of *all* `AuditLog` you could get from the connection.""" + totalCount: Int! +} - """Starts with the specified string (case-insensitive).""" - startsWithInsensitive: ConstructiveInternalTypeEmail +""" +Append-only audit log of authentication events (sign-in, sign-up, password changes, etc.) +""" +type AuditLog { + id: UUID! - """Does not start with the specified string (case-insensitive).""" - notStartsWithInsensitive: ConstructiveInternalTypeEmail + """ + Type of authentication event (e.g. sign_in, sign_up, password_change, verify_email) + """ + event: String! - """Ends with the specified string (case-sensitive).""" - endsWith: String + """User who performed the authentication action; NULL if user was deleted""" + actorId: UUID - """Does not end with the specified string (case-sensitive).""" - notEndsWith: String + """Request origin (domain) where the auth event occurred""" + origin: ConstructiveInternalTypeOrigin - """Ends with the specified string (case-insensitive).""" - endsWithInsensitive: ConstructiveInternalTypeEmail + """Browser or client user-agent string from the request""" + userAgent: String - """Does not end with the specified string (case-insensitive).""" - notEndsWithInsensitive: ConstructiveInternalTypeEmail + """IP address of the client that initiated the auth event""" + ipAddress: InternetAddress - """ - Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. - """ - like: String + """Whether the authentication attempt succeeded""" + success: Boolean! - """ - Does not match the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. - """ - notLike: String + """Timestamp when the audit event was recorded""" + createdAt: Datetime! - """ - Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. - """ - likeInsensitive: ConstructiveInternalTypeEmail + """Reads a single `User` that is related to this `AuditLog`.""" + actor: User +} - """ - Does not match the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. - """ - notLikeInsensitive: ConstructiveInternalTypeEmail +"""A `AuditLog` edge in the connection.""" +type AuditLogEdge { + """A cursor for use in pagination.""" + cursor: Cursor - """Equal to the specified value (case-insensitive).""" - equalToInsensitive: ConstructiveInternalTypeEmail + """The `AuditLog` at the end of the edge.""" + node: AuditLog +} - """Not equal to the specified value (case-insensitive).""" - notEqualToInsensitive: ConstructiveInternalTypeEmail +"""Methods to use when ordering `AuditLog`.""" +enum AuditLogOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + EVENT_ASC + EVENT_DESC + ACTOR_ID_ASC + ACTOR_ID_DESC +} - """ - Not equal to the specified value, treating null like an ordinary value (case-insensitive). - """ - distinctFromInsensitive: ConstructiveInternalTypeEmail +"""A connection to a list of `RoleType` values.""" +type RoleTypeConnection { + """A list of `RoleType` objects.""" + nodes: [RoleType]! """ - Equal to the specified value, treating null like an ordinary value (case-insensitive). + A list of edges which contains the `RoleType` and cursor to aid in pagination. """ - notDistinctFromInsensitive: ConstructiveInternalTypeEmail - - """Included in the specified list (case-insensitive).""" - inInsensitive: [ConstructiveInternalTypeEmail!] - - """Not included in the specified list (case-insensitive).""" - notInInsensitive: [ConstructiveInternalTypeEmail!] + edges: [RoleTypeEdge]! - """Less than the specified value (case-insensitive).""" - lessThanInsensitive: ConstructiveInternalTypeEmail + """Information to aid in pagination.""" + pageInfo: PageInfo! - """Less than or equal to the specified value (case-insensitive).""" - lessThanOrEqualToInsensitive: ConstructiveInternalTypeEmail + """The count of *all* `RoleType` you could get from the connection.""" + totalCount: Int! +} - """Greater than the specified value (case-insensitive).""" - greaterThanInsensitive: ConstructiveInternalTypeEmail +"""A `RoleType` edge in the connection.""" +type RoleTypeEdge { + """A cursor for use in pagination.""" + cursor: Cursor - """Greater than or equal to the specified value (case-insensitive).""" - greaterThanOrEqualToInsensitive: ConstructiveInternalTypeEmail + """The `RoleType` at the end of the edge.""" + node: RoleType } -"""Methods to use when ordering `Email`.""" -enum EmailOrderBy { +"""Methods to use when ordering `RoleType`.""" +enum RoleTypeOrderBy { NATURAL PRIMARY_KEY_ASC PRIMARY_KEY_DESC ID_ASC ID_DESC - EMAIL_ASC - EMAIL_DESC - CREATED_AT_ASC - CREATED_AT_DESC - UPDATED_AT_ASC - UPDATED_AT_DESC + NAME_ASC + NAME_DESC } """A connection to a list of `User` values.""" @@ -2512,16 +2782,6 @@ type SignInOneTimeTokenRecord { accessTokenExpiresAt: Datetime isVerified: Boolean totpEnabled: Boolean - - """ - TRGM similarity when searching `accessToken`. Returns null when no trgm search filter is active. - """ - accessTokenTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """All input for the `signInOneTimeToken` mutation.""" @@ -2557,16 +2817,6 @@ type SignInRecord { accessTokenExpiresAt: Datetime isVerified: Boolean totpEnabled: Boolean - - """ - TRGM similarity when searching `accessToken`. Returns null when no trgm search filter is active. - """ - accessTokenTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """All input for the `signIn` mutation.""" @@ -2605,16 +2855,6 @@ type SignUpRecord { accessTokenExpiresAt: Datetime isVerified: Boolean totpEnabled: Boolean - - """ - TRGM similarity when searching `accessToken`. Returns null when no trgm search filter is active. - """ - accessTokenTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """All input for the `signUp` mutation.""" @@ -2833,26 +3073,6 @@ type Session { csrfSecret: String createdAt: Datetime updatedAt: Datetime - - """ - TRGM similarity when searching `uagent`. Returns null when no trgm search filter is active. - """ - uagentTrgmSimilarity: Float - - """ - TRGM similarity when searching `fingerprintMode`. Returns null when no trgm search filter is active. - """ - fingerprintModeTrgmSimilarity: Float - - """ - TRGM similarity when searching `csrfSecret`. Returns null when no trgm search filter is active. - """ - csrfSecretTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """All input for the `verifyPassword` mutation.""" @@ -3139,7 +3359,7 @@ input AuditLogInput { """ event: String! - """User who performed the authentication action""" + """User who performed the authentication action; NULL if user was deleted""" actorId: UUID """Request origin (domain) where the auth event occurred""" @@ -3530,7 +3750,7 @@ input AuditLogPatch { """ event: String - """User who performed the authentication action""" + """User who performed the authentication action; NULL if user was deleted""" actorId: UUID """Request origin (domain) where the auth event occurred""" diff --git a/sdk/constructive-sdk/schemas/objects.graphql b/sdk/constructive-sdk/schemas/objects.graphql index 5d5efa69b..1874f9c38 100644 --- a/sdk/constructive-sdk/schemas/objects.graphql +++ b/sdk/constructive-sdk/schemas/objects.graphql @@ -313,16 +313,6 @@ type Ref { databaseId: UUID! storeId: UUID! commitId: UUID - - """ - TRGM similarity when searching `name`. Returns null when no trgm search filter is active. - """ - nameTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `Ref` edge in the connection.""" @@ -361,17 +351,6 @@ input RefFilter { """Negates the expression.""" not: RefFilter - - """TRGM search on the `name` column.""" - trgmName: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """ @@ -546,29 +525,6 @@ input StringFilter { """Greater than or equal to the specified value (case-insensitive).""" greaterThanOrEqualToInsensitive: String - - """ - Fuzzy matches using pg_trgm trigram similarity. Tolerates typos and misspellings. - """ - similarTo: TrgmSearchInput - - """ - Fuzzy matches using pg_trgm word_similarity. Finds the best matching substring within the column value. - """ - wordSimilarTo: TrgmSearchInput -} - -""" -Input for pg_trgm fuzzy text matching. Provide a search value and optional similarity threshold. -""" -input TrgmSearchInput { - """The text to fuzzy-match against. Typos and misspellings are tolerated.""" - value: String! - - """ - Minimum similarity threshold (0.0 to 1.0). Higher = stricter matching. Default is 0.3. - """ - threshold: Float } """Methods to use when ordering `Ref`.""" @@ -582,10 +538,6 @@ enum RefOrderBy { DATABASE_ID_DESC STORE_ID_ASC STORE_ID_DESC - NAME_TRGM_SIMILARITY_ASC - NAME_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `Store` values.""" @@ -619,16 +571,6 @@ type Store { """The current head tree_id for this store.""" hash: UUID createdAt: Datetime - - """ - TRGM similarity when searching `name`. Returns null when no trgm search filter is active. - """ - nameTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `Store` edge in the connection.""" @@ -667,17 +609,6 @@ input StoreFilter { """Negates the expression.""" not: StoreFilter - - """TRGM search on the `name` column.""" - trgmName: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """ @@ -731,10 +662,6 @@ enum StoreOrderBy { ID_DESC DATABASE_ID_ASC DATABASE_ID_DESC - NAME_TRGM_SIMILARITY_ASC - NAME_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `Commit` values.""" @@ -778,16 +705,6 @@ type Commit { """The root of the tree""" treeId: UUID date: Datetime! - - """ - TRGM similarity when searching `message`. Returns null when no trgm search filter is active. - """ - messageTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `Commit` edge in the connection.""" @@ -838,17 +755,6 @@ input CommitFilter { """Negates the expression.""" not: CommitFilter - - """TRGM search on the `message` column.""" - trgmMessage: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """ @@ -923,10 +829,6 @@ enum CommitOrderBy { ID_DESC DATABASE_ID_ASC DATABASE_ID_DESC - MESSAGE_TRGM_SIMILARITY_ASC - MESSAGE_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """ diff --git a/sdk/constructive-sdk/schemas/public.graphql b/sdk/constructive-sdk/schemas/public.graphql index ea9fb6e65..b20a1744b 100644 --- a/sdk/constructive-sdk/schemas/public.graphql +++ b/sdk/constructive-sdk/schemas/public.graphql @@ -7,6 +7,24 @@ type Query { orgPermissionsGetPaddedMask(mask: BitString): BitString stepsAchieved(vlevel: String, vroleId: UUID): Boolean revParse(dbId: UUID, storeId: UUID, refname: String): UUID + + """Reads and enables pagination through a set of `GetAllRecord`.""" + getAll( + databaseId: UUID + id: UUID + + """Only read the first `n` values of the set.""" + first: Int + + """ + Skip the first `n` values from our `after` cursor, an alternative to cursor + based pagination. May not be used with `last`. + """ + offset: Int + + """Read all values in the set after (below) this cursor.""" + after: Cursor + ): GetAllConnection orgIsManagerOf(pEntityId: UUID, pManagerId: UUID, pUserId: UUID, pMaxDepth: Int): Boolean """Reads and enables pagination through a set of `OrgGetManagersRecord`.""" @@ -50,24 +68,6 @@ type Query { ): OrgGetSubordinatesConnection appPermissionsGetMask(ids: [UUID]): BitString orgPermissionsGetMask(ids: [UUID]): BitString - - """Reads and enables pagination through a set of `GetAllRecord`.""" - getAll( - databaseId: UUID - id: UUID - - """Only read the first `n` values of the set.""" - first: Int - - """ - Skip the first `n` values from our `after` cursor, an alternative to cursor - based pagination. May not be used with `last`. - """ - offset: Int - - """Read all values in the set after (below) this cursor.""" - after: Cursor - ): GetAllConnection appPermissionsGetMaskByNames(names: [String]): BitString orgPermissionsGetMaskByNames(names: [String]): BitString @@ -250,6 +250,35 @@ type Query { orderBy: [ApiSchemaOrderBy!] = [PRIMARY_KEY_ASC] ): ApiSchemaConnection + """Reads and enables pagination through a set of `SiteTheme`.""" + siteThemes( + """Only read the first `n` values of the set.""" + first: Int + + """Only read the last `n` values of the set.""" + last: Int + + """ + Skip the first `n` values from our `after` cursor, an alternative to cursor + based pagination. May not be used with `last`. + """ + offset: Int + + """Read all values in the set before (above) this cursor.""" + before: Cursor + + """Read all values in the set after (below) this cursor.""" + after: Cursor + + """ + A filter to be used in determining which values should be returned by the collection. + """ + where: SiteThemeFilter + + """The method to use when ordering `SiteTheme`.""" + orderBy: [SiteThemeOrderBy!] = [PRIMARY_KEY_ASC] + ): SiteThemeConnection + """Reads and enables pagination through a set of `OrgMember`.""" orgMembers( """Only read the first `n` values of the set.""" @@ -397,64 +426,6 @@ type Query { orderBy: [SecretsModuleOrderBy!] = [PRIMARY_KEY_ASC] ): SecretsModuleConnection - """Reads and enables pagination through a set of `UuidModule`.""" - uuidModules( - """Only read the first `n` values of the set.""" - first: Int - - """Only read the last `n` values of the set.""" - last: Int - - """ - Skip the first `n` values from our `after` cursor, an alternative to cursor - based pagination. May not be used with `last`. - """ - offset: Int - - """Read all values in the set before (above) this cursor.""" - before: Cursor - - """Read all values in the set after (below) this cursor.""" - after: Cursor - - """ - A filter to be used in determining which values should be returned by the collection. - """ - where: UuidModuleFilter - - """The method to use when ordering `UuidModule`.""" - orderBy: [UuidModuleOrderBy!] = [PRIMARY_KEY_ASC] - ): UuidModuleConnection - - """Reads and enables pagination through a set of `SiteTheme`.""" - siteThemes( - """Only read the first `n` values of the set.""" - first: Int - - """Only read the last `n` values of the set.""" - last: Int - - """ - Skip the first `n` values from our `after` cursor, an alternative to cursor - based pagination. May not be used with `last`. - """ - offset: Int - - """Read all values in the set before (above) this cursor.""" - before: Cursor - - """Read all values in the set after (below) this cursor.""" - after: Cursor - - """ - A filter to be used in determining which values should be returned by the collection. - """ - where: SiteThemeFilter - - """The method to use when ordering `SiteTheme`.""" - orderBy: [SiteThemeOrderBy!] = [PRIMARY_KEY_ASC] - ): SiteThemeConnection - """Reads and enables pagination through a set of `Store`.""" stores( """Only read the first `n` values of the set.""" @@ -1124,8 +1095,8 @@ type Query { orderBy: [CryptoAddressesModuleOrderBy!] = [PRIMARY_KEY_ASC] ): CryptoAddressesModuleConnection - """Reads and enables pagination through a set of `PhoneNumber`.""" - phoneNumbers( + """Reads and enables pagination through a set of `ConnectedAccount`.""" + connectedAccounts( """Only read the first `n` values of the set.""" first: Int @@ -1147,14 +1118,14 @@ type Query { """ A filter to be used in determining which values should be returned by the collection. """ - where: PhoneNumberFilter + where: ConnectedAccountFilter - """The method to use when ordering `PhoneNumber`.""" - orderBy: [PhoneNumberOrderBy!] = [PRIMARY_KEY_ASC] - ): PhoneNumberConnection + """The method to use when ordering `ConnectedAccount`.""" + orderBy: [ConnectedAccountOrderBy!] = [PRIMARY_KEY_ASC] + ): ConnectedAccountConnection - """Reads and enables pagination through a set of `AppLimitDefault`.""" - appLimitDefaults( + """Reads and enables pagination through a set of `PhoneNumber`.""" + phoneNumbers( """Only read the first `n` values of the set.""" first: Int @@ -1176,14 +1147,14 @@ type Query { """ A filter to be used in determining which values should be returned by the collection. """ - where: AppLimitDefaultFilter + where: PhoneNumberFilter - """The method to use when ordering `AppLimitDefault`.""" - orderBy: [AppLimitDefaultOrderBy!] = [PRIMARY_KEY_ASC] - ): AppLimitDefaultConnection + """The method to use when ordering `PhoneNumber`.""" + orderBy: [PhoneNumberOrderBy!] = [PRIMARY_KEY_ASC] + ): PhoneNumberConnection - """Reads and enables pagination through a set of `OrgLimitDefault`.""" - orgLimitDefaults( + """Reads and enables pagination through a set of `AppLimitDefault`.""" + appLimitDefaults( """Only read the first `n` values of the set.""" first: Int @@ -1205,14 +1176,14 @@ type Query { """ A filter to be used in determining which values should be returned by the collection. """ - where: OrgLimitDefaultFilter + where: AppLimitDefaultFilter - """The method to use when ordering `OrgLimitDefault`.""" - orderBy: [OrgLimitDefaultOrderBy!] = [PRIMARY_KEY_ASC] - ): OrgLimitDefaultConnection + """The method to use when ordering `AppLimitDefault`.""" + orderBy: [AppLimitDefaultOrderBy!] = [PRIMARY_KEY_ASC] + ): AppLimitDefaultConnection - """Reads and enables pagination through a set of `ConnectedAccount`.""" - connectedAccounts( + """Reads and enables pagination through a set of `OrgLimitDefault`.""" + orgLimitDefaults( """Only read the first `n` values of the set.""" first: Int @@ -1234,11 +1205,11 @@ type Query { """ A filter to be used in determining which values should be returned by the collection. """ - where: ConnectedAccountFilter + where: OrgLimitDefaultFilter - """The method to use when ordering `ConnectedAccount`.""" - orderBy: [ConnectedAccountOrderBy!] = [PRIMARY_KEY_ASC] - ): ConnectedAccountConnection + """The method to use when ordering `OrgLimitDefault`.""" + orderBy: [OrgLimitDefaultOrderBy!] = [PRIMARY_KEY_ASC] + ): OrgLimitDefaultConnection """Reads and enables pagination through a set of `TableGrant`.""" tableGrants( @@ -2141,6 +2112,35 @@ type Query { orderBy: [SqlMigrationOrderBy!] = [NATURAL] ): SqlMigrationConnection + """Reads and enables pagination through a set of `DatabaseTransfer`.""" + databaseTransfers( + """Only read the first `n` values of the set.""" + first: Int + + """Only read the last `n` values of the set.""" + last: Int + + """ + Skip the first `n` values from our `after` cursor, an alternative to cursor + based pagination. May not be used with `last`. + """ + offset: Int + + """Read all values in the set before (above) this cursor.""" + before: Cursor + + """Read all values in the set after (below) this cursor.""" + after: Cursor + + """ + A filter to be used in determining which values should be returned by the collection. + """ + where: DatabaseTransferFilter + + """The method to use when ordering `DatabaseTransfer`.""" + orderBy: [DatabaseTransferOrderBy!] = [PRIMARY_KEY_ASC] + ): DatabaseTransferConnection + """Reads and enables pagination through a set of `CryptoAuthModule`.""" cryptoAuthModules( """Only read the first `n` values of the set.""" @@ -2259,6 +2259,35 @@ type Query { orderBy: [EmailOrderBy!] = [PRIMARY_KEY_ASC] ): EmailConnection + """Reads and enables pagination through a set of `Enum`.""" + enums( + """Only read the first `n` values of the set.""" + first: Int + + """Only read the last `n` values of the set.""" + last: Int + + """ + Skip the first `n` values from our `after` cursor, an alternative to cursor + based pagination. May not be used with `last`. + """ + offset: Int + + """Read all values in the set before (above) this cursor.""" + before: Cursor + + """Read all values in the set after (below) this cursor.""" + after: Cursor + + """ + A filter to be used in determining which values should be returned by the collection. + """ + where: EnumFilter + + """The method to use when ordering `Enum`.""" + orderBy: [EnumOrderBy!] = [PRIMARY_KEY_ASC] + ): EnumConnection + """Reads and enables pagination through a set of `View`.""" views( """Only read the first `n` values of the set.""" @@ -2288,6 +2317,35 @@ type Query { orderBy: [ViewOrderBy!] = [PRIMARY_KEY_ASC] ): ViewConnection + """Reads and enables pagination through a set of `Blueprint`.""" + blueprints( + """Only read the first `n` values of the set.""" + first: Int + + """Only read the last `n` values of the set.""" + last: Int + + """ + Skip the first `n` values from our `after` cursor, an alternative to cursor + based pagination. May not be used with `last`. + """ + offset: Int + + """Read all values in the set before (above) this cursor.""" + before: Cursor + + """Read all values in the set after (below) this cursor.""" + after: Cursor + + """ + A filter to be used in determining which values should be returned by the collection. + """ + where: BlueprintFilter + + """The method to use when ordering `Blueprint`.""" + orderBy: [BlueprintOrderBy!] = [PRIMARY_KEY_ASC] + ): BlueprintConnection + """Reads and enables pagination through a set of `PermissionsModule`.""" permissionsModules( """Only read the first `n` values of the set.""" @@ -2317,6 +2375,35 @@ type Query { orderBy: [PermissionsModuleOrderBy!] = [PRIMARY_KEY_ASC] ): PermissionsModuleConnection + """Reads and enables pagination through a set of `EmbeddingChunk`.""" + embeddingChunks( + """Only read the first `n` values of the set.""" + first: Int + + """Only read the last `n` values of the set.""" + last: Int + + """ + Skip the first `n` values from our `after` cursor, an alternative to cursor + based pagination. May not be used with `last`. + """ + offset: Int + + """Read all values in the set before (above) this cursor.""" + before: Cursor + + """Read all values in the set after (below) this cursor.""" + after: Cursor + + """ + A filter to be used in determining which values should be returned by the collection. + """ + where: EmbeddingChunkFilter + + """The method to use when ordering `EmbeddingChunk`.""" + orderBy: [EmbeddingChunkOrderBy!] = [PRIMARY_KEY_ASC] + ): EmbeddingChunkConnection + """Reads and enables pagination through a set of `LimitsModule`.""" limitsModules( """Only read the first `n` values of the set.""" @@ -2375,35 +2462,6 @@ type Query { orderBy: [ProfilesModuleOrderBy!] = [PRIMARY_KEY_ASC] ): ProfilesModuleConnection - """Reads and enables pagination through a set of `SecureTableProvision`.""" - secureTableProvisions( - """Only read the first `n` values of the set.""" - first: Int - - """Only read the last `n` values of the set.""" - last: Int - - """ - Skip the first `n` values from our `after` cursor, an alternative to cursor - based pagination. May not be used with `last`. - """ - offset: Int - - """Read all values in the set before (above) this cursor.""" - before: Cursor - - """Read all values in the set after (below) this cursor.""" - after: Cursor - - """ - A filter to be used in determining which values should be returned by the collection. - """ - where: SecureTableProvisionFilter - - """The method to use when ordering `SecureTableProvision`.""" - orderBy: [SecureTableProvisionOrderBy!] = [PRIMARY_KEY_ASC] - ): SecureTableProvisionConnection - """Reads and enables pagination through a set of `User`.""" users( """Only read the first `n` values of the set.""" @@ -2781,6 +2839,35 @@ type Query { orderBy: [SiteOrderBy!] = [PRIMARY_KEY_ASC] ): SiteConnection + """Reads and enables pagination through a set of `BlueprintTemplate`.""" + blueprintTemplates( + """Only read the first `n` values of the set.""" + first: Int + + """Only read the last `n` values of the set.""" + last: Int + + """ + Skip the first `n` values from our `after` cursor, an alternative to cursor + based pagination. May not be used with `last`. + """ + offset: Int + + """Read all values in the set before (above) this cursor.""" + before: Cursor + + """Read all values in the set after (below) this cursor.""" + after: Cursor + + """ + A filter to be used in determining which values should be returned by the collection. + """ + where: BlueprintTemplateFilter + + """The method to use when ordering `BlueprintTemplate`.""" + orderBy: [BlueprintTemplateOrderBy!] = [PRIMARY_KEY_ASC] + ): BlueprintTemplateConnection + """Reads and enables pagination through a set of `HierarchyModule`.""" hierarchyModules( """Only read the first `n` values of the set.""" @@ -2868,6 +2955,35 @@ type Query { orderBy: [ForeignKeyConstraintOrderBy!] = [PRIMARY_KEY_ASC] ): ForeignKeyConstraintConnection + """Reads and enables pagination through a set of `SecureTableProvision`.""" + secureTableProvisions( + """Only read the first `n` values of the set.""" + first: Int + + """Only read the last `n` values of the set.""" + last: Int + + """ + Skip the first `n` values from our `after` cursor, an alternative to cursor + based pagination. May not be used with `last`. + """ + offset: Int + + """Read all values in the set before (above) this cursor.""" + before: Cursor + + """Read all values in the set after (below) this cursor.""" + after: Cursor + + """ + A filter to be used in determining which values should be returned by the collection. + """ + where: SecureTableProvisionFilter + + """The method to use when ordering `SecureTableProvision`.""" + orderBy: [SecureTableProvisionOrderBy!] = [PRIMARY_KEY_ASC] + ): SecureTableProvisionConnection + """Reads and enables pagination through a set of `OrgInvite`.""" orgInvites( """Only read the first `n` values of the set.""" @@ -2984,8 +3100,8 @@ type Query { orderBy: [UserAuthModuleOrderBy!] = [PRIMARY_KEY_ASC] ): UserAuthModuleConnection - """Reads and enables pagination through a set of `RelationProvision`.""" - relationProvisions( + """Reads and enables pagination through a set of `Field`.""" + fields( """Only read the first `n` values of the set.""" first: Int @@ -3007,14 +3123,14 @@ type Query { """ A filter to be used in determining which values should be returned by the collection. """ - where: RelationProvisionFilter + where: FieldFilter - """The method to use when ordering `RelationProvision`.""" - orderBy: [RelationProvisionOrderBy!] = [PRIMARY_KEY_ASC] - ): RelationProvisionConnection + """The method to use when ordering `Field`.""" + orderBy: [FieldOrderBy!] = [PRIMARY_KEY_ASC] + ): FieldConnection - """Reads and enables pagination through a set of `Field`.""" - fields( + """Reads and enables pagination through a set of `MembershipsModule`.""" + membershipsModules( """Only read the first `n` values of the set.""" first: Int @@ -3036,14 +3152,14 @@ type Query { """ A filter to be used in determining which values should be returned by the collection. """ - where: FieldFilter + where: MembershipsModuleFilter - """The method to use when ordering `Field`.""" - orderBy: [FieldOrderBy!] = [PRIMARY_KEY_ASC] - ): FieldConnection + """The method to use when ordering `MembershipsModule`.""" + orderBy: [MembershipsModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): MembershipsModuleConnection - """Reads and enables pagination through a set of `MembershipsModule`.""" - membershipsModules( + """Reads and enables pagination through a set of `RelationProvision`.""" + relationProvisions( """Only read the first `n` values of the set.""" first: Int @@ -3065,11 +3181,11 @@ type Query { """ A filter to be used in determining which values should be returned by the collection. """ - where: MembershipsModuleFilter + where: RelationProvisionFilter - """The method to use when ordering `MembershipsModule`.""" - orderBy: [MembershipsModuleOrderBy!] = [PRIMARY_KEY_ASC] - ): MembershipsModuleConnection + """The method to use when ordering `RelationProvision`.""" + orderBy: [RelationProvisionOrderBy!] = [PRIMARY_KEY_ASC] + ): RelationProvisionConnection """ Metadata about the database schema, including tables, fields, indexes, and constraints. Useful for code generation tools. @@ -3088,37 +3204,40 @@ scalar InternetAddress """A string representing a series of binary bits""" scalar BitString -"""A connection to a list of `OrgGetManagersRecord` values.""" -type OrgGetManagersConnection { - """A list of `OrgGetManagersRecord` objects.""" - nodes: [OrgGetManagersRecord]! +"""A connection to a list of `GetAllRecord` values.""" +type GetAllConnection { + """A list of `GetAllRecord` objects.""" + nodes: [GetAllRecord]! """ - A list of edges which contains the `OrgGetManagersRecord` and cursor to aid in pagination. + A list of edges which contains the `GetAllRecord` and cursor to aid in pagination. """ - edges: [OrgGetManagersEdge]! + edges: [GetAllEdge]! """Information to aid in pagination.""" pageInfo: PageInfo! - """ - The count of *all* `OrgGetManagersRecord` you could get from the connection. - """ + """The count of *all* `GetAllRecord` you could get from the connection.""" totalCount: Int! } -type OrgGetManagersRecord { - userId: UUID - depth: Int +type GetAllRecord { + path: [String] + data: JSON } -"""A `OrgGetManagersRecord` edge in the connection.""" -type OrgGetManagersEdge { +""" +Represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). +""" +scalar JSON + +"""A `GetAllRecord` edge in the connection.""" +type GetAllEdge { """A cursor for use in pagination.""" cursor: Cursor - """The `OrgGetManagersRecord` at the end of the edge.""" - node: OrgGetManagersRecord + """The `GetAllRecord` at the end of the edge.""" + node: GetAllRecord } """A location in a connection that can be used for resuming pagination.""" @@ -3139,73 +3258,70 @@ type PageInfo { endCursor: Cursor } -"""A connection to a list of `OrgGetSubordinatesRecord` values.""" -type OrgGetSubordinatesConnection { - """A list of `OrgGetSubordinatesRecord` objects.""" - nodes: [OrgGetSubordinatesRecord]! +"""A connection to a list of `OrgGetManagersRecord` values.""" +type OrgGetManagersConnection { + """A list of `OrgGetManagersRecord` objects.""" + nodes: [OrgGetManagersRecord]! """ - A list of edges which contains the `OrgGetSubordinatesRecord` and cursor to aid in pagination. + A list of edges which contains the `OrgGetManagersRecord` and cursor to aid in pagination. """ - edges: [OrgGetSubordinatesEdge]! + edges: [OrgGetManagersEdge]! """Information to aid in pagination.""" pageInfo: PageInfo! """ - The count of *all* `OrgGetSubordinatesRecord` you could get from the connection. + The count of *all* `OrgGetManagersRecord` you could get from the connection. """ totalCount: Int! } -type OrgGetSubordinatesRecord { +type OrgGetManagersRecord { userId: UUID depth: Int } -"""A `OrgGetSubordinatesRecord` edge in the connection.""" -type OrgGetSubordinatesEdge { +"""A `OrgGetManagersRecord` edge in the connection.""" +type OrgGetManagersEdge { """A cursor for use in pagination.""" cursor: Cursor - """The `OrgGetSubordinatesRecord` at the end of the edge.""" - node: OrgGetSubordinatesRecord + """The `OrgGetManagersRecord` at the end of the edge.""" + node: OrgGetManagersRecord } -"""A connection to a list of `GetAllRecord` values.""" -type GetAllConnection { - """A list of `GetAllRecord` objects.""" - nodes: [GetAllRecord]! +"""A connection to a list of `OrgGetSubordinatesRecord` values.""" +type OrgGetSubordinatesConnection { + """A list of `OrgGetSubordinatesRecord` objects.""" + nodes: [OrgGetSubordinatesRecord]! """ - A list of edges which contains the `GetAllRecord` and cursor to aid in pagination. + A list of edges which contains the `OrgGetSubordinatesRecord` and cursor to aid in pagination. """ - edges: [GetAllEdge]! + edges: [OrgGetSubordinatesEdge]! """Information to aid in pagination.""" pageInfo: PageInfo! - """The count of *all* `GetAllRecord` you could get from the connection.""" + """ + The count of *all* `OrgGetSubordinatesRecord` you could get from the connection. + """ totalCount: Int! } -type GetAllRecord { - path: [String] - data: JSON +type OrgGetSubordinatesRecord { + userId: UUID + depth: Int } -""" -Represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). -""" -scalar JSON - -"""A `GetAllRecord` edge in the connection.""" -type GetAllEdge { +"""A `OrgGetSubordinatesRecord` edge in the connection.""" +type OrgGetSubordinatesEdge { """A cursor for use in pagination.""" cursor: Cursor - """The `GetAllRecord` at the end of the edge.""" - node: GetAllRecord + """The `OrgGetSubordinatesRecord` at the end of the edge.""" + node: OrgGetSubordinatesRecord } """A connection to a list of `Object` values.""" @@ -3292,16 +3408,6 @@ type AppPermission { """Human-readable description of what this permission allows""" description: String - - """ - TRGM similarity when searching `description`. Returns null when no trgm search filter is active. - """ - descriptionTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `AppPermission` edge in the connection.""" @@ -3351,16 +3457,6 @@ type OrgPermission { """Human-readable description of what this permission allows""" description: String - - """ - TRGM similarity when searching `description`. Returns null when no trgm search filter is active. - """ - descriptionTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `OrgPermission` edge in the connection.""" @@ -3411,16 +3507,6 @@ type AppLevelRequirement { priority: Int! createdAt: Datetime updatedAt: Datetime - - """ - TRGM similarity when searching `description`. Returns null when no trgm search filter is active. - """ - descriptionTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `AppLevelRequirement` edge in the connection.""" @@ -3478,7 +3564,7 @@ type User { appMembershipByActorId: AppMembership """Reads and enables pagination through a set of `AppAdminGrant`.""" - appAdminGrantsByGrantorId( + appAdminGrantsByActorId( """Only read the first `n` values of the set.""" first: Int @@ -3506,8 +3592,8 @@ type User { orderBy: [AppAdminGrantOrderBy!] = [PRIMARY_KEY_ASC] ): AppAdminGrantConnection! - """Reads and enables pagination through a set of `AppOwnerGrant`.""" - appOwnerGrantsByGrantorId( + """Reads and enables pagination through a set of `AppAdminGrant`.""" + appAdminGrantsByGrantorId( """Only read the first `n` values of the set.""" first: Int @@ -3529,14 +3615,14 @@ type User { """ A filter to be used in determining which values should be returned by the collection. """ - where: AppOwnerGrantFilter + where: AppAdminGrantFilter - """The method to use when ordering `AppOwnerGrant`.""" - orderBy: [AppOwnerGrantOrderBy!] = [PRIMARY_KEY_ASC] - ): AppOwnerGrantConnection! + """The method to use when ordering `AppAdminGrant`.""" + orderBy: [AppAdminGrantOrderBy!] = [PRIMARY_KEY_ASC] + ): AppAdminGrantConnection! - """Reads and enables pagination through a set of `AppGrant`.""" - appGrantsByGrantorId( + """Reads and enables pagination through a set of `AppOwnerGrant`.""" + appOwnerGrantsByActorId( """Only read the first `n` values of the set.""" first: Int @@ -3558,14 +3644,101 @@ type User { """ A filter to be used in determining which values should be returned by the collection. """ - where: AppGrantFilter + where: AppOwnerGrantFilter - """The method to use when ordering `AppGrant`.""" - orderBy: [AppGrantOrderBy!] = [PRIMARY_KEY_ASC] - ): AppGrantConnection! + """The method to use when ordering `AppOwnerGrant`.""" + orderBy: [AppOwnerGrantOrderBy!] = [PRIMARY_KEY_ASC] + ): AppOwnerGrantConnection! - """Reads and enables pagination through a set of `OrgMembership`.""" - orgMembershipsByActorId( + """Reads and enables pagination through a set of `AppOwnerGrant`.""" + appOwnerGrantsByGrantorId( + """Only read the first `n` values of the set.""" + first: Int + + """Only read the last `n` values of the set.""" + last: Int + + """ + Skip the first `n` values from our `after` cursor, an alternative to cursor + based pagination. May not be used with `last`. + """ + offset: Int + + """Read all values in the set before (above) this cursor.""" + before: Cursor + + """Read all values in the set after (below) this cursor.""" + after: Cursor + + """ + A filter to be used in determining which values should be returned by the collection. + """ + where: AppOwnerGrantFilter + + """The method to use when ordering `AppOwnerGrant`.""" + orderBy: [AppOwnerGrantOrderBy!] = [PRIMARY_KEY_ASC] + ): AppOwnerGrantConnection! + + """Reads and enables pagination through a set of `AppGrant`.""" + appGrantsByActorId( + """Only read the first `n` values of the set.""" + first: Int + + """Only read the last `n` values of the set.""" + last: Int + + """ + Skip the first `n` values from our `after` cursor, an alternative to cursor + based pagination. May not be used with `last`. + """ + offset: Int + + """Read all values in the set before (above) this cursor.""" + before: Cursor + + """Read all values in the set after (below) this cursor.""" + after: Cursor + + """ + A filter to be used in determining which values should be returned by the collection. + """ + where: AppGrantFilter + + """The method to use when ordering `AppGrant`.""" + orderBy: [AppGrantOrderBy!] = [PRIMARY_KEY_ASC] + ): AppGrantConnection! + + """Reads and enables pagination through a set of `AppGrant`.""" + appGrantsByGrantorId( + """Only read the first `n` values of the set.""" + first: Int + + """Only read the last `n` values of the set.""" + last: Int + + """ + Skip the first `n` values from our `after` cursor, an alternative to cursor + based pagination. May not be used with `last`. + """ + offset: Int + + """Read all values in the set before (above) this cursor.""" + before: Cursor + + """Read all values in the set after (below) this cursor.""" + after: Cursor + + """ + A filter to be used in determining which values should be returned by the collection. + """ + where: AppGrantFilter + + """The method to use when ordering `AppGrant`.""" + orderBy: [AppGrantOrderBy!] = [PRIMARY_KEY_ASC] + ): AppGrantConnection! + + """Reads and enables pagination through a set of `OrgMembership`.""" + orgMembershipsByActorId( """Only read the first `n` values of the set.""" first: Int @@ -3683,6 +3856,35 @@ type User { orderBy: [OrgMemberOrderBy!] = [PRIMARY_KEY_ASC] ): OrgMemberConnection! + """Reads and enables pagination through a set of `OrgAdminGrant`.""" + orgAdminGrantsByActorId( + """Only read the first `n` values of the set.""" + first: Int + + """Only read the last `n` values of the set.""" + last: Int + + """ + Skip the first `n` values from our `after` cursor, an alternative to cursor + based pagination. May not be used with `last`. + """ + offset: Int + + """Read all values in the set before (above) this cursor.""" + before: Cursor + + """Read all values in the set after (below) this cursor.""" + after: Cursor + + """ + A filter to be used in determining which values should be returned by the collection. + """ + where: OrgAdminGrantFilter + + """The method to use when ordering `OrgAdminGrant`.""" + orderBy: [OrgAdminGrantOrderBy!] = [PRIMARY_KEY_ASC] + ): OrgAdminGrantConnection! + """Reads and enables pagination through a set of `OrgAdminGrant`.""" orgAdminGrantsByEntityId( """Only read the first `n` values of the set.""" @@ -3741,6 +3943,35 @@ type User { orderBy: [OrgAdminGrantOrderBy!] = [PRIMARY_KEY_ASC] ): OrgAdminGrantConnection! + """Reads and enables pagination through a set of `OrgOwnerGrant`.""" + orgOwnerGrantsByActorId( + """Only read the first `n` values of the set.""" + first: Int + + """Only read the last `n` values of the set.""" + last: Int + + """ + Skip the first `n` values from our `after` cursor, an alternative to cursor + based pagination. May not be used with `last`. + """ + offset: Int + + """Read all values in the set before (above) this cursor.""" + before: Cursor + + """Read all values in the set after (below) this cursor.""" + after: Cursor + + """ + A filter to be used in determining which values should be returned by the collection. + """ + where: OrgOwnerGrantFilter + + """The method to use when ordering `OrgOwnerGrant`.""" + orderBy: [OrgOwnerGrantOrderBy!] = [PRIMARY_KEY_ASC] + ): OrgOwnerGrantConnection! + """Reads and enables pagination through a set of `OrgOwnerGrant`.""" orgOwnerGrantsByEntityId( """Only read the first `n` values of the set.""" @@ -3799,6 +4030,35 @@ type User { orderBy: [OrgOwnerGrantOrderBy!] = [PRIMARY_KEY_ASC] ): OrgOwnerGrantConnection! + """Reads and enables pagination through a set of `OrgGrant`.""" + orgGrantsByActorId( + """Only read the first `n` values of the set.""" + first: Int + + """Only read the last `n` values of the set.""" + last: Int + + """ + Skip the first `n` values from our `after` cursor, an alternative to cursor + based pagination. May not be used with `last`. + """ + offset: Int + + """Read all values in the set before (above) this cursor.""" + before: Cursor + + """Read all values in the set after (below) this cursor.""" + after: Cursor + + """ + A filter to be used in determining which values should be returned by the collection. + """ + where: OrgGrantFilter + + """The method to use when ordering `OrgGrant`.""" + orderBy: [OrgGrantOrderBy!] = [PRIMARY_KEY_ASC] + ): OrgGrantConnection! + """Reads and enables pagination through a set of `OrgGrant`.""" orgGrantsByEntityId( """Only read the first `n` values of the set.""" @@ -4060,6 +4320,35 @@ type User { orderBy: [OrgChartEdgeGrantOrderBy!] = [PRIMARY_KEY_ASC] ): OrgChartEdgeGrantConnection! + """Reads and enables pagination through a set of `OrgPermissionDefault`.""" + orgPermissionDefaultsByEntityId( + """Only read the first `n` values of the set.""" + first: Int + + """Only read the last `n` values of the set.""" + last: Int + + """ + Skip the first `n` values from our `after` cursor, an alternative to cursor + based pagination. May not be used with `last`. + """ + offset: Int + + """Read all values in the set before (above) this cursor.""" + before: Cursor + + """Read all values in the set after (below) this cursor.""" + after: Cursor + + """ + A filter to be used in determining which values should be returned by the collection. + """ + where: OrgPermissionDefaultFilter + + """The method to use when ordering `OrgPermissionDefault`.""" + orderBy: [OrgPermissionDefaultOrderBy!] = [PRIMARY_KEY_ASC] + ): OrgPermissionDefaultConnection! + """Reads and enables pagination through a set of `AppLimit`.""" appLimitsByActorId( """Only read the first `n` values of the set.""" @@ -4205,8 +4494,8 @@ type User { orderBy: [AppAchievementOrderBy!] = [PRIMARY_KEY_ASC] ): AppAchievementConnection! - """Reads and enables pagination through a set of `Invite`.""" - invitesBySenderId( + """Reads and enables pagination through a set of `AppLevel`.""" + ownedAppLevels( """Only read the first `n` values of the set.""" first: Int @@ -4228,14 +4517,14 @@ type User { """ A filter to be used in determining which values should be returned by the collection. """ - where: InviteFilter + where: AppLevelFilter - """The method to use when ordering `Invite`.""" - orderBy: [InviteOrderBy!] = [PRIMARY_KEY_ASC] - ): InviteConnection! + """The method to use when ordering `AppLevel`.""" + orderBy: [AppLevelOrderBy!] = [PRIMARY_KEY_ASC] + ): AppLevelConnection! - """Reads and enables pagination through a set of `ClaimedInvite`.""" - claimedInvitesByReceiverId( + """Reads and enables pagination through a set of `Email`.""" + ownedEmails( """Only read the first `n` values of the set.""" first: Int @@ -4257,14 +4546,14 @@ type User { """ A filter to be used in determining which values should be returned by the collection. """ - where: ClaimedInviteFilter + where: EmailFilter - """The method to use when ordering `ClaimedInvite`.""" - orderBy: [ClaimedInviteOrderBy!] = [PRIMARY_KEY_ASC] - ): ClaimedInviteConnection! + """The method to use when ordering `Email`.""" + orderBy: [EmailOrderBy!] = [PRIMARY_KEY_ASC] + ): EmailConnection! - """Reads and enables pagination through a set of `ClaimedInvite`.""" - claimedInvitesBySenderId( + """Reads and enables pagination through a set of `PhoneNumber`.""" + ownedPhoneNumbers( """Only read the first `n` values of the set.""" first: Int @@ -4286,14 +4575,188 @@ type User { """ A filter to be used in determining which values should be returned by the collection. """ - where: ClaimedInviteFilter + where: PhoneNumberFilter - """The method to use when ordering `ClaimedInvite`.""" - orderBy: [ClaimedInviteOrderBy!] = [PRIMARY_KEY_ASC] - ): ClaimedInviteConnection! + """The method to use when ordering `PhoneNumber`.""" + orderBy: [PhoneNumberOrderBy!] = [PRIMARY_KEY_ASC] + ): PhoneNumberConnection! - """Reads and enables pagination through a set of `OrgInvite`.""" - orgInvitesByEntityId( + """Reads and enables pagination through a set of `CryptoAddress`.""" + ownedCryptoAddresses( + """Only read the first `n` values of the set.""" + first: Int + + """Only read the last `n` values of the set.""" + last: Int + + """ + Skip the first `n` values from our `after` cursor, an alternative to cursor + based pagination. May not be used with `last`. + """ + offset: Int + + """Read all values in the set before (above) this cursor.""" + before: Cursor + + """Read all values in the set after (below) this cursor.""" + after: Cursor + + """ + A filter to be used in determining which values should be returned by the collection. + """ + where: CryptoAddressFilter + + """The method to use when ordering `CryptoAddress`.""" + orderBy: [CryptoAddressOrderBy!] = [PRIMARY_KEY_ASC] + ): CryptoAddressConnection! + + """Reads and enables pagination through a set of `ConnectedAccount`.""" + ownedConnectedAccounts( + """Only read the first `n` values of the set.""" + first: Int + + """Only read the last `n` values of the set.""" + last: Int + + """ + Skip the first `n` values from our `after` cursor, an alternative to cursor + based pagination. May not be used with `last`. + """ + offset: Int + + """Read all values in the set before (above) this cursor.""" + before: Cursor + + """Read all values in the set after (below) this cursor.""" + after: Cursor + + """ + A filter to be used in determining which values should be returned by the collection. + """ + where: ConnectedAccountFilter + + """The method to use when ordering `ConnectedAccount`.""" + orderBy: [ConnectedAccountOrderBy!] = [PRIMARY_KEY_ASC] + ): ConnectedAccountConnection! + + """Reads and enables pagination through a set of `Invite`.""" + invitesBySenderId( + """Only read the first `n` values of the set.""" + first: Int + + """Only read the last `n` values of the set.""" + last: Int + + """ + Skip the first `n` values from our `after` cursor, an alternative to cursor + based pagination. May not be used with `last`. + """ + offset: Int + + """Read all values in the set before (above) this cursor.""" + before: Cursor + + """Read all values in the set after (below) this cursor.""" + after: Cursor + + """ + A filter to be used in determining which values should be returned by the collection. + """ + where: InviteFilter + + """The method to use when ordering `Invite`.""" + orderBy: [InviteOrderBy!] = [PRIMARY_KEY_ASC] + ): InviteConnection! + + """Reads and enables pagination through a set of `ClaimedInvite`.""" + claimedInvitesByReceiverId( + """Only read the first `n` values of the set.""" + first: Int + + """Only read the last `n` values of the set.""" + last: Int + + """ + Skip the first `n` values from our `after` cursor, an alternative to cursor + based pagination. May not be used with `last`. + """ + offset: Int + + """Read all values in the set before (above) this cursor.""" + before: Cursor + + """Read all values in the set after (below) this cursor.""" + after: Cursor + + """ + A filter to be used in determining which values should be returned by the collection. + """ + where: ClaimedInviteFilter + + """The method to use when ordering `ClaimedInvite`.""" + orderBy: [ClaimedInviteOrderBy!] = [PRIMARY_KEY_ASC] + ): ClaimedInviteConnection! + + """Reads and enables pagination through a set of `ClaimedInvite`.""" + claimedInvitesBySenderId( + """Only read the first `n` values of the set.""" + first: Int + + """Only read the last `n` values of the set.""" + last: Int + + """ + Skip the first `n` values from our `after` cursor, an alternative to cursor + based pagination. May not be used with `last`. + """ + offset: Int + + """Read all values in the set before (above) this cursor.""" + before: Cursor + + """Read all values in the set after (below) this cursor.""" + after: Cursor + + """ + A filter to be used in determining which values should be returned by the collection. + """ + where: ClaimedInviteFilter + + """The method to use when ordering `ClaimedInvite`.""" + orderBy: [ClaimedInviteOrderBy!] = [PRIMARY_KEY_ASC] + ): ClaimedInviteConnection! + + """Reads and enables pagination through a set of `OrgInvite`.""" + orgInvitesByEntityId( + """Only read the first `n` values of the set.""" + first: Int + + """Only read the last `n` values of the set.""" + last: Int + + """ + Skip the first `n` values from our `after` cursor, an alternative to cursor + based pagination. May not be used with `last`. + """ + offset: Int + + """Read all values in the set before (above) this cursor.""" + before: Cursor + + """Read all values in the set after (below) this cursor.""" + after: Cursor + + """ + A filter to be used in determining which values should be returned by the collection. + """ + where: OrgInviteFilter + + """The method to use when ordering `OrgInvite`.""" + orderBy: [OrgInviteOrderBy!] = [PRIMARY_KEY_ASC] + ): OrgInviteConnection! + + """Reads and enables pagination through a set of `OrgInvite`.""" + orgInvitesByReceiverId( """Only read the first `n` values of the set.""" first: Int @@ -4350,6 +4813,35 @@ type User { orderBy: [OrgInviteOrderBy!] = [PRIMARY_KEY_ASC] ): OrgInviteConnection! + """Reads and enables pagination through a set of `OrgClaimedInvite`.""" + orgClaimedInvitesByEntityId( + """Only read the first `n` values of the set.""" + first: Int + + """Only read the last `n` values of the set.""" + last: Int + + """ + Skip the first `n` values from our `after` cursor, an alternative to cursor + based pagination. May not be used with `last`. + """ + offset: Int + + """Read all values in the set before (above) this cursor.""" + before: Cursor + + """Read all values in the set after (below) this cursor.""" + after: Cursor + + """ + A filter to be used in determining which values should be returned by the collection. + """ + where: OrgClaimedInviteFilter + + """The method to use when ordering `OrgClaimedInvite`.""" + orderBy: [OrgClaimedInviteOrderBy!] = [PRIMARY_KEY_ASC] + ): OrgClaimedInviteConnection! + """Reads and enables pagination through a set of `OrgClaimedInvite`.""" orgClaimedInvitesByReceiverId( """Only read the first `n` values of the set.""" @@ -4408,6 +4900,35 @@ type User { orderBy: [OrgClaimedInviteOrderBy!] = [PRIMARY_KEY_ASC] ): OrgClaimedInviteConnection! + """Reads and enables pagination through a set of `AuditLog`.""" + auditLogsByActorId( + """Only read the first `n` values of the set.""" + first: Int + + """Only read the last `n` values of the set.""" + last: Int + + """ + Skip the first `n` values from our `after` cursor, an alternative to cursor + based pagination. May not be used with `last`. + """ + offset: Int + + """Read all values in the set before (above) this cursor.""" + before: Cursor + + """Read all values in the set after (below) this cursor.""" + after: Cursor + + """ + A filter to be used in determining which values should be returned by the collection. + """ + where: AuditLogFilter + + """The method to use when ordering `AuditLog`.""" + orderBy: [AuditLogOrderBy!] = [PRIMARY_KEY_ASC] + ): AuditLogConnection! + """ TSV rank when searching `searchTsv`. Returns null when no tsv search filter is active. """ @@ -4419,7 +4940,7 @@ type User { displayNameTrgmSimilarity: Float """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. + Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Supports per-table weight customization via @searchConfig smart tag. Returns null when no search filters are active. """ searchScore: Float } @@ -4986,8 +5507,8 @@ type Database { orderBy: [DefaultPrivilegeOrderBy!] = [PRIMARY_KEY_ASC] ): DefaultPrivilegeConnection! - """Reads and enables pagination through a set of `Api`.""" - apis( + """Reads and enables pagination through a set of `Enum`.""" + enums( """Only read the first `n` values of the set.""" first: Int @@ -5009,14 +5530,14 @@ type Database { """ A filter to be used in determining which values should be returned by the collection. """ - where: ApiFilter + where: EnumFilter - """The method to use when ordering `Api`.""" - orderBy: [ApiOrderBy!] = [PRIMARY_KEY_ASC] - ): ApiConnection! + """The method to use when ordering `Enum`.""" + orderBy: [EnumOrderBy!] = [PRIMARY_KEY_ASC] + ): EnumConnection! - """Reads and enables pagination through a set of `ApiModule`.""" - apiModules( + """Reads and enables pagination through a set of `EmbeddingChunk`.""" + embeddingChunks( """Only read the first `n` values of the set.""" first: Int @@ -5038,14 +5559,14 @@ type Database { """ A filter to be used in determining which values should be returned by the collection. """ - where: ApiModuleFilter + where: EmbeddingChunkFilter - """The method to use when ordering `ApiModule`.""" - orderBy: [ApiModuleOrderBy!] = [PRIMARY_KEY_ASC] - ): ApiModuleConnection! + """The method to use when ordering `EmbeddingChunk`.""" + orderBy: [EmbeddingChunkOrderBy!] = [PRIMARY_KEY_ASC] + ): EmbeddingChunkConnection! - """Reads and enables pagination through a set of `ApiSchema`.""" - apiSchemas( + """Reads and enables pagination through a set of `DatabaseTransfer`.""" + databaseTransfers( """Only read the first `n` values of the set.""" first: Int @@ -5067,43 +5588,14 @@ type Database { """ A filter to be used in determining which values should be returned by the collection. """ - where: ApiSchemaFilter + where: DatabaseTransferFilter - """The method to use when ordering `ApiSchema`.""" - orderBy: [ApiSchemaOrderBy!] = [PRIMARY_KEY_ASC] - ): ApiSchemaConnection! - - """Reads and enables pagination through a set of `Site`.""" - sites( - """Only read the first `n` values of the set.""" - first: Int + """The method to use when ordering `DatabaseTransfer`.""" + orderBy: [DatabaseTransferOrderBy!] = [PRIMARY_KEY_ASC] + ): DatabaseTransferConnection! - """Only read the last `n` values of the set.""" - last: Int - - """ - Skip the first `n` values from our `after` cursor, an alternative to cursor - based pagination. May not be used with `last`. - """ - offset: Int - - """Read all values in the set before (above) this cursor.""" - before: Cursor - - """Read all values in the set after (below) this cursor.""" - after: Cursor - - """ - A filter to be used in determining which values should be returned by the collection. - """ - where: SiteFilter - - """The method to use when ordering `Site`.""" - orderBy: [SiteOrderBy!] = [PRIMARY_KEY_ASC] - ): SiteConnection! - - """Reads and enables pagination through a set of `App`.""" - apps( + """Reads and enables pagination through a set of `Api`.""" + apis( """Only read the first `n` values of the set.""" first: Int @@ -5125,14 +5617,130 @@ type Database { """ A filter to be used in determining which values should be returned by the collection. """ - where: AppFilter + where: ApiFilter - """The method to use when ordering `App`.""" - orderBy: [AppOrderBy!] = [PRIMARY_KEY_ASC] - ): AppConnection! + """The method to use when ordering `Api`.""" + orderBy: [ApiOrderBy!] = [PRIMARY_KEY_ASC] + ): ApiConnection! - """Reads and enables pagination through a set of `Domain`.""" - domains( + """Reads and enables pagination through a set of `ApiModule`.""" + apiModules( + """Only read the first `n` values of the set.""" + first: Int + + """Only read the last `n` values of the set.""" + last: Int + + """ + Skip the first `n` values from our `after` cursor, an alternative to cursor + based pagination. May not be used with `last`. + """ + offset: Int + + """Read all values in the set before (above) this cursor.""" + before: Cursor + + """Read all values in the set after (below) this cursor.""" + after: Cursor + + """ + A filter to be used in determining which values should be returned by the collection. + """ + where: ApiModuleFilter + + """The method to use when ordering `ApiModule`.""" + orderBy: [ApiModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): ApiModuleConnection! + + """Reads and enables pagination through a set of `ApiSchema`.""" + apiSchemas( + """Only read the first `n` values of the set.""" + first: Int + + """Only read the last `n` values of the set.""" + last: Int + + """ + Skip the first `n` values from our `after` cursor, an alternative to cursor + based pagination. May not be used with `last`. + """ + offset: Int + + """Read all values in the set before (above) this cursor.""" + before: Cursor + + """Read all values in the set after (below) this cursor.""" + after: Cursor + + """ + A filter to be used in determining which values should be returned by the collection. + """ + where: ApiSchemaFilter + + """The method to use when ordering `ApiSchema`.""" + orderBy: [ApiSchemaOrderBy!] = [PRIMARY_KEY_ASC] + ): ApiSchemaConnection! + + """Reads and enables pagination through a set of `Site`.""" + sites( + """Only read the first `n` values of the set.""" + first: Int + + """Only read the last `n` values of the set.""" + last: Int + + """ + Skip the first `n` values from our `after` cursor, an alternative to cursor + based pagination. May not be used with `last`. + """ + offset: Int + + """Read all values in the set before (above) this cursor.""" + before: Cursor + + """Read all values in the set after (below) this cursor.""" + after: Cursor + + """ + A filter to be used in determining which values should be returned by the collection. + """ + where: SiteFilter + + """The method to use when ordering `Site`.""" + orderBy: [SiteOrderBy!] = [PRIMARY_KEY_ASC] + ): SiteConnection! + + """Reads and enables pagination through a set of `App`.""" + apps( + """Only read the first `n` values of the set.""" + first: Int + + """Only read the last `n` values of the set.""" + last: Int + + """ + Skip the first `n` values from our `after` cursor, an alternative to cursor + based pagination. May not be used with `last`. + """ + offset: Int + + """Read all values in the set before (above) this cursor.""" + before: Cursor + + """Read all values in the set after (below) this cursor.""" + after: Cursor + + """ + A filter to be used in determining which values should be returned by the collection. + """ + where: AppFilter + + """The method to use when ordering `App`.""" + orderBy: [AppOrderBy!] = [PRIMARY_KEY_ASC] + ): AppConnection! + + """Reads and enables pagination through a set of `Domain`.""" + domains( """Only read the first `n` values of the set.""" first: Int @@ -5836,8 +6444,11 @@ type Database { orderBy: [UsersModuleOrderBy!] = [PRIMARY_KEY_ASC] ): UsersModuleConnection! - """Reads and enables pagination through a set of `UuidModule`.""" - uuidModules( + """Reads a single `HierarchyModule` that is related to this `Database`.""" + hierarchyModule: HierarchyModule + + """Reads and enables pagination through a set of `TableTemplateModule`.""" + tableTemplateModules( """Only read the first `n` values of the set.""" first: Int @@ -5859,17 +6470,14 @@ type Database { """ A filter to be used in determining which values should be returned by the collection. """ - where: UuidModuleFilter - - """The method to use when ordering `UuidModule`.""" - orderBy: [UuidModuleOrderBy!] = [PRIMARY_KEY_ASC] - ): UuidModuleConnection! + where: TableTemplateModuleFilter - """Reads a single `HierarchyModule` that is related to this `Database`.""" - hierarchyModule: HierarchyModule + """The method to use when ordering `TableTemplateModule`.""" + orderBy: [TableTemplateModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): TableTemplateModuleConnection! - """Reads and enables pagination through a set of `TableTemplateModule`.""" - tableTemplateModules( + """Reads and enables pagination through a set of `SecureTableProvision`.""" + secureTableProvisions( """Only read the first `n` values of the set.""" first: Int @@ -5891,14 +6499,14 @@ type Database { """ A filter to be used in determining which values should be returned by the collection. """ - where: TableTemplateModuleFilter + where: SecureTableProvisionFilter - """The method to use when ordering `TableTemplateModule`.""" - orderBy: [TableTemplateModuleOrderBy!] = [PRIMARY_KEY_ASC] - ): TableTemplateModuleConnection! + """The method to use when ordering `SecureTableProvision`.""" + orderBy: [SecureTableProvisionOrderBy!] = [PRIMARY_KEY_ASC] + ): SecureTableProvisionConnection! - """Reads and enables pagination through a set of `SecureTableProvision`.""" - secureTableProvisions( + """Reads and enables pagination through a set of `RelationProvision`.""" + relationProvisions( """Only read the first `n` values of the set.""" first: Int @@ -5920,14 +6528,14 @@ type Database { """ A filter to be used in determining which values should be returned by the collection. """ - where: SecureTableProvisionFilter + where: RelationProvisionFilter - """The method to use when ordering `SecureTableProvision`.""" - orderBy: [SecureTableProvisionOrderBy!] = [PRIMARY_KEY_ASC] - ): SecureTableProvisionConnection! + """The method to use when ordering `RelationProvision`.""" + orderBy: [RelationProvisionOrderBy!] = [PRIMARY_KEY_ASC] + ): RelationProvisionConnection! - """Reads and enables pagination through a set of `RelationProvision`.""" - relationProvisions( + """Reads and enables pagination through a set of `Blueprint`.""" + blueprints( """Only read the first `n` values of the set.""" first: Int @@ -5949,11 +6557,11 @@ type Database { """ A filter to be used in determining which values should be returned by the collection. """ - where: RelationProvisionFilter + where: BlueprintFilter - """The method to use when ordering `RelationProvision`.""" - orderBy: [RelationProvisionOrderBy!] = [PRIMARY_KEY_ASC] - ): RelationProvisionConnection! + """The method to use when ordering `Blueprint`.""" + orderBy: [BlueprintOrderBy!] = [PRIMARY_KEY_ASC] + ): BlueprintConnection! """ Reads and enables pagination through a set of `DatabaseProvisionModule`. @@ -5985,26 +6593,6 @@ type Database { """The method to use when ordering `DatabaseProvisionModule`.""" orderBy: [DatabaseProvisionModuleOrderBy!] = [PRIMARY_KEY_ASC] ): DatabaseProvisionModuleConnection! - - """ - TRGM similarity when searching `schemaHash`. Returns null when no trgm search filter is active. - """ - schemaHashTrgmSimilarity: Float - - """ - TRGM similarity when searching `name`. Returns null when no trgm search filter is active. - """ - nameTrgmSimilarity: Float - - """ - TRGM similarity when searching `label`. Returns null when no trgm search filter is active. - """ - labelTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A connection to a list of `Schema` values.""" @@ -6159,6 +6747,35 @@ type Schema { orderBy: [DefaultPrivilegeOrderBy!] = [PRIMARY_KEY_ASC] ): DefaultPrivilegeConnection! + """Reads and enables pagination through a set of `Enum`.""" + enums( + """Only read the first `n` values of the set.""" + first: Int + + """Only read the last `n` values of the set.""" + last: Int + + """ + Skip the first `n` values from our `after` cursor, an alternative to cursor + based pagination. May not be used with `last`. + """ + offset: Int + + """Read all values in the set before (above) this cursor.""" + before: Cursor + + """Read all values in the set after (below) this cursor.""" + after: Cursor + + """ + A filter to be used in determining which values should be returned by the collection. + """ + where: EnumFilter + + """The method to use when ordering `Enum`.""" + orderBy: [EnumOrderBy!] = [PRIMARY_KEY_ASC] + ): EnumConnection! + """Reads and enables pagination through a set of `ApiSchema`.""" apiSchemas( """Only read the first `n` values of the set.""" @@ -6245,36 +6862,6 @@ type Schema { """The method to use when ordering `TableTemplateModule`.""" orderBy: [TableTemplateModuleOrderBy!] = [PRIMARY_KEY_ASC] ): TableTemplateModuleConnection! - - """ - TRGM similarity when searching `name`. Returns null when no trgm search filter is active. - """ - nameTrgmSimilarity: Float - - """ - TRGM similarity when searching `schemaName`. Returns null when no trgm search filter is active. - """ - schemaNameTrgmSimilarity: Float - - """ - TRGM similarity when searching `label`. Returns null when no trgm search filter is active. - """ - labelTrgmSimilarity: Float - - """ - TRGM similarity when searching `description`. Returns null when no trgm search filter is active. - """ - descriptionTrgmSimilarity: Float - - """ - TRGM similarity when searching `module`. Returns null when no trgm search filter is active. - """ - moduleTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } enum ObjectCategory { @@ -6678,6 +7265,64 @@ type Table { orderBy: [ViewTableOrderBy!] = [PRIMARY_KEY_ASC] ): ViewTableConnection! + """Reads and enables pagination through a set of `EmbeddingChunk`.""" + embeddingChunksByChunksTableId( + """Only read the first `n` values of the set.""" + first: Int + + """Only read the last `n` values of the set.""" + last: Int + + """ + Skip the first `n` values from our `after` cursor, an alternative to cursor + based pagination. May not be used with `last`. + """ + offset: Int + + """Read all values in the set before (above) this cursor.""" + before: Cursor + + """Read all values in the set after (below) this cursor.""" + after: Cursor + + """ + A filter to be used in determining which values should be returned by the collection. + """ + where: EmbeddingChunkFilter + + """The method to use when ordering `EmbeddingChunk`.""" + orderBy: [EmbeddingChunkOrderBy!] = [PRIMARY_KEY_ASC] + ): EmbeddingChunkConnection! + + """Reads and enables pagination through a set of `EmbeddingChunk`.""" + embeddingChunks( + """Only read the first `n` values of the set.""" + first: Int + + """Only read the last `n` values of the set.""" + last: Int + + """ + Skip the first `n` values from our `after` cursor, an alternative to cursor + based pagination. May not be used with `last`. + """ + offset: Int + + """Read all values in the set before (above) this cursor.""" + before: Cursor + + """Read all values in the set after (below) this cursor.""" + after: Cursor + + """ + A filter to be used in determining which values should be returned by the collection. + """ + where: EmbeddingChunkFilter + + """The method to use when ordering `EmbeddingChunk`.""" + orderBy: [EmbeddingChunkOrderBy!] = [PRIMARY_KEY_ASC] + ): EmbeddingChunkConnection! + """Reads and enables pagination through a set of `TableTemplateModule`.""" tableTemplateModulesByOwnerTableId( """Only read the first `n` values of the set.""" @@ -6822,41 +7467,6 @@ type Table { """The method to use when ordering `RelationProvision`.""" orderBy: [RelationProvisionOrderBy!] = [PRIMARY_KEY_ASC] ): RelationProvisionConnection! - - """ - TRGM similarity when searching `name`. Returns null when no trgm search filter is active. - """ - nameTrgmSimilarity: Float - - """ - TRGM similarity when searching `label`. Returns null when no trgm search filter is active. - """ - labelTrgmSimilarity: Float - - """ - TRGM similarity when searching `description`. Returns null when no trgm search filter is active. - """ - descriptionTrgmSimilarity: Float - - """ - TRGM similarity when searching `module`. Returns null when no trgm search filter is active. - """ - moduleTrgmSimilarity: Float - - """ - TRGM similarity when searching `pluralName`. Returns null when no trgm search filter is active. - """ - pluralNameTrgmSimilarity: Float - - """ - TRGM similarity when searching `singularName`. Returns null when no trgm search filter is active. - """ - singularNameTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A connection to a list of `CheckConstraint` values.""" @@ -6899,26 +7509,6 @@ type CheckConstraint { """Reads a single `Table` that is related to this `CheckConstraint`.""" table: Table - - """ - TRGM similarity when searching `name`. Returns null when no trgm search filter is active. - """ - nameTrgmSimilarity: Float - - """ - TRGM similarity when searching `type`. Returns null when no trgm search filter is active. - """ - typeTrgmSimilarity: Float - - """ - TRGM similarity when searching `module`. Returns null when no trgm search filter is active. - """ - moduleTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `CheckConstraint` edge in the connection.""" @@ -6990,23 +7580,6 @@ input CheckConstraintFilter { """Filter by the object’s `table` relation.""" table: TableFilter - - """TRGM search on the `name` column.""" - trgmName: TrgmSearchInput - - """TRGM search on the `type` column.""" - trgmType: TrgmSearchInput - - """TRGM search on the `module` column.""" - trgmModule: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """ @@ -7181,29 +7754,6 @@ input StringFilter { """Greater than or equal to the specified value (case-insensitive).""" greaterThanOrEqualToInsensitive: String - - """ - Fuzzy matches using pg_trgm trigram similarity. Tolerates typos and misspellings. - """ - similarTo: TrgmSearchInput - - """ - Fuzzy matches using pg_trgm word_similarity. Finds the best matching substring within the column value. - """ - wordSimilarTo: TrgmSearchInput -} - -""" -Input for pg_trgm fuzzy text matching. Provide a search value and optional similarity threshold. -""" -input TrgmSearchInput { - """The text to fuzzy-match against. Typos and misspellings are tolerated.""" - value: String! - - """ - Minimum similarity threshold (0.0 to 1.0). Higher = stricter matching. Default is 0.3. - """ - threshold: Float } """ @@ -7666,6 +8216,24 @@ input DatabaseFilter { """`defaultPrivileges` exist.""" defaultPrivilegesExist: Boolean + """Filter by the object’s `enums` relation.""" + enums: DatabaseToManyEnumFilter + + """`enums` exist.""" + enumsExist: Boolean + + """Filter by the object’s `embeddingChunks` relation.""" + embeddingChunks: DatabaseToManyEmbeddingChunkFilter + + """`embeddingChunks` exist.""" + embeddingChunksExist: Boolean + + """Filter by the object’s `databaseTransfers` relation.""" + databaseTransfers: DatabaseToManyDatabaseTransferFilter + + """`databaseTransfers` exist.""" + databaseTransfersExist: Boolean + """Filter by the object’s `apis` relation.""" apis: DatabaseToManyApiFilter @@ -7846,12 +8414,6 @@ input DatabaseFilter { """`usersModules` exist.""" usersModulesExist: Boolean - """Filter by the object’s `uuidModules` relation.""" - uuidModules: DatabaseToManyUuidModuleFilter - - """`uuidModules` exist.""" - uuidModulesExist: Boolean - """Filter by the object’s `hierarchyModule` relation.""" hierarchyModule: HierarchyModuleFilter @@ -7876,28 +8438,17 @@ input DatabaseFilter { """`relationProvisions` exist.""" relationProvisionsExist: Boolean + """Filter by the object’s `blueprints` relation.""" + blueprints: DatabaseToManyBlueprintFilter + + """`blueprints` exist.""" + blueprintsExist: Boolean + """Filter by the object’s `databaseProvisionModules` relation.""" databaseProvisionModules: DatabaseToManyDatabaseProvisionModuleFilter """`databaseProvisionModules` exist.""" databaseProvisionModulesExist: Boolean - - """TRGM search on the `schema_hash` column.""" - trgmSchemaHash: TrgmSearchInput - - """TRGM search on the `name` column.""" - trgmName: TrgmSearchInput - - """TRGM search on the `label` column.""" - trgmLabel: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """ @@ -7908,10 +8459,10 @@ input UserFilter { id: UUIDFilter """Filter by the object’s `username` field.""" - username: StringFilter + username: StringTrgmFilter """Filter by the object’s `displayName` field.""" - displayName: StringFilter + displayName: StringTrgmFilter """Filter by the object’s `profilePicture` field.""" profilePicture: ConstructiveInternalTypeImageFilter @@ -7952,18 +8503,36 @@ input UserFilter { """A related `appMembershipByActorId` exists.""" appMembershipByActorIdExists: Boolean + """Filter by the object’s `appAdminGrantsByActorId` relation.""" + appAdminGrantsByActorId: UserToManyAppAdminGrantFilter + + """`appAdminGrantsByActorId` exist.""" + appAdminGrantsByActorIdExist: Boolean + """Filter by the object’s `appAdminGrantsByGrantorId` relation.""" appAdminGrantsByGrantorId: UserToManyAppAdminGrantFilter """`appAdminGrantsByGrantorId` exist.""" appAdminGrantsByGrantorIdExist: Boolean + """Filter by the object’s `appOwnerGrantsByActorId` relation.""" + appOwnerGrantsByActorId: UserToManyAppOwnerGrantFilter + + """`appOwnerGrantsByActorId` exist.""" + appOwnerGrantsByActorIdExist: Boolean + """Filter by the object’s `appOwnerGrantsByGrantorId` relation.""" appOwnerGrantsByGrantorId: UserToManyAppOwnerGrantFilter """`appOwnerGrantsByGrantorId` exist.""" appOwnerGrantsByGrantorIdExist: Boolean + """Filter by the object’s `appGrantsByActorId` relation.""" + appGrantsByActorId: UserToManyAppGrantFilter + + """`appGrantsByActorId` exist.""" + appGrantsByActorIdExist: Boolean + """Filter by the object’s `appGrantsByGrantorId` relation.""" appGrantsByGrantorId: UserToManyAppGrantFilter @@ -8000,6 +8569,12 @@ input UserFilter { """`orgMembersByEntityId` exist.""" orgMembersByEntityIdExist: Boolean + """Filter by the object’s `orgAdminGrantsByActorId` relation.""" + orgAdminGrantsByActorId: UserToManyOrgAdminGrantFilter + + """`orgAdminGrantsByActorId` exist.""" + orgAdminGrantsByActorIdExist: Boolean + """Filter by the object’s `orgAdminGrantsByEntityId` relation.""" orgAdminGrantsByEntityId: UserToManyOrgAdminGrantFilter @@ -8012,6 +8587,12 @@ input UserFilter { """`orgAdminGrantsByGrantorId` exist.""" orgAdminGrantsByGrantorIdExist: Boolean + """Filter by the object’s `orgOwnerGrantsByActorId` relation.""" + orgOwnerGrantsByActorId: UserToManyOrgOwnerGrantFilter + + """`orgOwnerGrantsByActorId` exist.""" + orgOwnerGrantsByActorIdExist: Boolean + """Filter by the object’s `orgOwnerGrantsByEntityId` relation.""" orgOwnerGrantsByEntityId: UserToManyOrgOwnerGrantFilter @@ -8024,6 +8605,12 @@ input UserFilter { """`orgOwnerGrantsByGrantorId` exist.""" orgOwnerGrantsByGrantorIdExist: Boolean + """Filter by the object’s `orgGrantsByActorId` relation.""" + orgGrantsByActorId: UserToManyOrgGrantFilter + + """`orgGrantsByActorId` exist.""" + orgGrantsByActorIdExist: Boolean + """Filter by the object’s `orgGrantsByEntityId` relation.""" orgGrantsByEntityId: UserToManyOrgGrantFilter @@ -8078,6 +8665,12 @@ input UserFilter { """`childOrgChartEdgeGrants` exist.""" childOrgChartEdgeGrantsExist: Boolean + """Filter by the object’s `orgPermissionDefaultsByEntityId` relation.""" + orgPermissionDefaultsByEntityId: UserToManyOrgPermissionDefaultFilter + + """`orgPermissionDefaultsByEntityId` exist.""" + orgPermissionDefaultsByEntityIdExist: Boolean + """Filter by the object’s `appLimitsByActorId` relation.""" appLimitsByActorId: UserToManyAppLimitFilter @@ -8108,6 +8701,36 @@ input UserFilter { """`appAchievementsByActorId` exist.""" appAchievementsByActorIdExist: Boolean + """Filter by the object’s `ownedAppLevels` relation.""" + ownedAppLevels: UserToManyAppLevelFilter + + """`ownedAppLevels` exist.""" + ownedAppLevelsExist: Boolean + + """Filter by the object’s `ownedEmails` relation.""" + ownedEmails: UserToManyEmailFilter + + """`ownedEmails` exist.""" + ownedEmailsExist: Boolean + + """Filter by the object’s `ownedPhoneNumbers` relation.""" + ownedPhoneNumbers: UserToManyPhoneNumberFilter + + """`ownedPhoneNumbers` exist.""" + ownedPhoneNumbersExist: Boolean + + """Filter by the object’s `ownedCryptoAddresses` relation.""" + ownedCryptoAddresses: UserToManyCryptoAddressFilter + + """`ownedCryptoAddresses` exist.""" + ownedCryptoAddressesExist: Boolean + + """Filter by the object’s `ownedConnectedAccounts` relation.""" + ownedConnectedAccounts: UserToManyConnectedAccountFilter + + """`ownedConnectedAccounts` exist.""" + ownedConnectedAccountsExist: Boolean + """Filter by the object’s `invitesBySenderId` relation.""" invitesBySenderId: UserToManyInviteFilter @@ -8132,12 +8755,24 @@ input UserFilter { """`orgInvitesByEntityId` exist.""" orgInvitesByEntityIdExist: Boolean + """Filter by the object’s `orgInvitesByReceiverId` relation.""" + orgInvitesByReceiverId: UserToManyOrgInviteFilter + + """`orgInvitesByReceiverId` exist.""" + orgInvitesByReceiverIdExist: Boolean + """Filter by the object’s `orgInvitesBySenderId` relation.""" orgInvitesBySenderId: UserToManyOrgInviteFilter """`orgInvitesBySenderId` exist.""" orgInvitesBySenderIdExist: Boolean + """Filter by the object’s `orgClaimedInvitesByEntityId` relation.""" + orgClaimedInvitesByEntityId: UserToManyOrgClaimedInviteFilter + + """`orgClaimedInvitesByEntityId` exist.""" + orgClaimedInvitesByEntityIdExist: Boolean + """Filter by the object’s `orgClaimedInvitesByReceiverId` relation.""" orgClaimedInvitesByReceiverId: UserToManyOrgClaimedInviteFilter @@ -8150,6 +8785,12 @@ input UserFilter { """`orgClaimedInvitesBySenderId` exist.""" orgClaimedInvitesBySenderIdExist: Boolean + """Filter by the object’s `auditLogsByActorId` relation.""" + auditLogsByActorId: UserToManyAuditLogFilter + + """`auditLogsByActorId` exist.""" + auditLogsByActorIdExist: Boolean + """TSV search on the `search_tsv` column.""" tsvSearchTsv: String @@ -8165,6 +8806,161 @@ input UserFilter { fullTextSearch: String } +""" +A filter to be used against String fields with pg_trgm support. All fields are combined with a logical ‘and.’ +""" +input StringTrgmFilter { + """ + Is null (if `true` is specified) or is not null (if `false` is specified). + """ + isNull: Boolean + + """Equal to the specified value.""" + equalTo: String + + """Not equal to the specified value.""" + notEqualTo: String + + """ + Not equal to the specified value, treating null like an ordinary value. + """ + distinctFrom: String + + """Equal to the specified value, treating null like an ordinary value.""" + notDistinctFrom: String + + """Included in the specified list.""" + in: [String!] + + """Not included in the specified list.""" + notIn: [String!] + + """Less than the specified value.""" + lessThan: String + + """Less than or equal to the specified value.""" + lessThanOrEqualTo: String + + """Greater than the specified value.""" + greaterThan: String + + """Greater than or equal to the specified value.""" + greaterThanOrEqualTo: String + + """Contains the specified string (case-sensitive).""" + includes: String + + """Does not contain the specified string (case-sensitive).""" + notIncludes: String + + """Contains the specified string (case-insensitive).""" + includesInsensitive: String + + """Does not contain the specified string (case-insensitive).""" + notIncludesInsensitive: String + + """Starts with the specified string (case-sensitive).""" + startsWith: String + + """Does not start with the specified string (case-sensitive).""" + notStartsWith: String + + """Starts with the specified string (case-insensitive).""" + startsWithInsensitive: String + + """Does not start with the specified string (case-insensitive).""" + notStartsWithInsensitive: String + + """Ends with the specified string (case-sensitive).""" + endsWith: String + + """Does not end with the specified string (case-sensitive).""" + notEndsWith: String + + """Ends with the specified string (case-insensitive).""" + endsWithInsensitive: String + + """Does not end with the specified string (case-insensitive).""" + notEndsWithInsensitive: String + + """ + Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. + """ + like: String + + """ + Does not match the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. + """ + notLike: String + + """ + Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. + """ + likeInsensitive: String + + """ + Does not match the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. + """ + notLikeInsensitive: String + + """Equal to the specified value (case-insensitive).""" + equalToInsensitive: String + + """Not equal to the specified value (case-insensitive).""" + notEqualToInsensitive: String + + """ + Not equal to the specified value, treating null like an ordinary value (case-insensitive). + """ + distinctFromInsensitive: String + + """ + Equal to the specified value, treating null like an ordinary value (case-insensitive). + """ + notDistinctFromInsensitive: String + + """Included in the specified list (case-insensitive).""" + inInsensitive: [String!] + + """Not included in the specified list (case-insensitive).""" + notInInsensitive: [String!] + + """Less than the specified value (case-insensitive).""" + lessThanInsensitive: String + + """Less than or equal to the specified value (case-insensitive).""" + lessThanOrEqualToInsensitive: String + + """Greater than the specified value (case-insensitive).""" + greaterThanInsensitive: String + + """Greater than or equal to the specified value (case-insensitive).""" + greaterThanOrEqualToInsensitive: String + + """ + Fuzzy matches using pg_trgm trigram similarity. Tolerates typos and misspellings. + """ + similarTo: TrgmSearchInput + + """ + Fuzzy matches using pg_trgm word_similarity. Finds the best matching substring within the column value. + """ + wordSimilarTo: TrgmSearchInput +} + +""" +Input for pg_trgm fuzzy text matching. Provide a search value and optional similarity threshold. +""" +input TrgmSearchInput { + """The text to fuzzy-match against. Typos and misspellings are tolerated.""" + value: String! + + """ + Minimum similarity threshold (0.0 to 1.0). Higher = stricter matching. Default is 0.3. + """ + threshold: Float +} + """ A filter to be used against ConstructiveInternalTypeImage fields. All fields are combined with a logical ‘and.’ """ @@ -9026,17 +9822,6 @@ input OrgChartEdgeFilter { """A related `parent` exists.""" parentExists: Boolean - - """TRGM search on the `position_title` column.""" - trgmPositionTitle: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """ @@ -9102,22 +9887,54 @@ input OrgChartEdgeGrantFilter { """Filter by the object’s `grantor` relation.""" grantor: UserFilter + """A related `grantor` exists.""" + grantorExists: Boolean + """Filter by the object’s `parent` relation.""" parent: UserFilter """A related `parent` exists.""" parentExists: Boolean +} + +""" +A filter to be used against many `OrgPermissionDefault` object types. All fields are combined with a logical ‘and.’ +""" +input UserToManyOrgPermissionDefaultFilter { + """Filters to entities where at least one related entity matches.""" + some: OrgPermissionDefaultFilter - """TRGM search on the `position_title` column.""" - trgmPositionTitle: TrgmSearchInput + """Filters to entities where every related entity matches.""" + every: OrgPermissionDefaultFilter - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String + """Filters to entities where no related entity matches.""" + none: OrgPermissionDefaultFilter +} + +""" +A filter to be used against `OrgPermissionDefault` object types. All fields are combined with a logical ‘and.’ +""" +input OrgPermissionDefaultFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `permissions` field.""" + permissions: BitStringFilter + + """Filter by the object’s `entityId` field.""" + entityId: UUIDFilter + + """Checks for all expressions in this list.""" + and: [OrgPermissionDefaultFilter!] + + """Checks for any expressions in this list.""" + or: [OrgPermissionDefaultFilter!] + + """Negates the expression.""" + not: OrgPermissionDefaultFilter + + """Filter by the object’s `entity` relation.""" + entity: UserFilter } """ @@ -9317,49 +10134,92 @@ input AppAchievementFilter { } """ -A filter to be used against many `Invite` object types. All fields are combined with a logical ‘and.’ +A filter to be used against many `AppLevel` object types. All fields are combined with a logical ‘and.’ """ -input UserToManyInviteFilter { +input UserToManyAppLevelFilter { """Filters to entities where at least one related entity matches.""" - some: InviteFilter + some: AppLevelFilter """Filters to entities where every related entity matches.""" - every: InviteFilter + every: AppLevelFilter """Filters to entities where no related entity matches.""" - none: InviteFilter + none: AppLevelFilter } """ -A filter to be used against `Invite` object types. All fields are combined with a logical ‘and.’ +A filter to be used against `AppLevel` object types. All fields are combined with a logical ‘and.’ """ -input InviteFilter { +input AppLevelFilter { """Filter by the object’s `id` field.""" id: UUIDFilter - """Filter by the object’s `email` field.""" - email: ConstructiveInternalTypeEmailFilter + """Filter by the object’s `name` field.""" + name: StringFilter - """Filter by the object’s `senderId` field.""" - senderId: UUIDFilter + """Filter by the object’s `description` field.""" + description: StringFilter - """Filter by the object’s `inviteToken` field.""" - inviteToken: StringFilter + """Filter by the object’s `image` field.""" + image: ConstructiveInternalTypeImageFilter - """Filter by the object’s `inviteValid` field.""" - inviteValid: BooleanFilter + """Filter by the object’s `ownerId` field.""" + ownerId: UUIDFilter - """Filter by the object’s `inviteLimit` field.""" - inviteLimit: IntFilter + """Filter by the object’s `createdAt` field.""" + createdAt: DatetimeFilter - """Filter by the object’s `inviteCount` field.""" - inviteCount: IntFilter + """Filter by the object’s `updatedAt` field.""" + updatedAt: DatetimeFilter - """Filter by the object’s `multiple` field.""" - multiple: BooleanFilter + """Checks for all expressions in this list.""" + and: [AppLevelFilter!] - """Filter by the object’s `expiresAt` field.""" - expiresAt: DatetimeFilter + """Checks for any expressions in this list.""" + or: [AppLevelFilter!] + + """Negates the expression.""" + not: AppLevelFilter + + """Filter by the object’s `owner` relation.""" + owner: UserFilter + + """A related `owner` exists.""" + ownerExists: Boolean +} + +""" +A filter to be used against many `Email` object types. All fields are combined with a logical ‘and.’ +""" +input UserToManyEmailFilter { + """Filters to entities where at least one related entity matches.""" + some: EmailFilter + + """Filters to entities where every related entity matches.""" + every: EmailFilter + + """Filters to entities where no related entity matches.""" + none: EmailFilter +} + +""" +A filter to be used against `Email` object types. All fields are combined with a logical ‘and.’ +""" +input EmailFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `ownerId` field.""" + ownerId: UUIDFilter + + """Filter by the object’s `email` field.""" + email: ConstructiveInternalTypeEmailFilter + + """Filter by the object’s `isVerified` field.""" + isVerified: BooleanFilter + + """Filter by the object’s `isPrimary` field.""" + isPrimary: BooleanFilter """Filter by the object’s `createdAt` field.""" createdAt: DatetimeFilter @@ -9368,27 +10228,16 @@ input InviteFilter { updatedAt: DatetimeFilter """Checks for all expressions in this list.""" - and: [InviteFilter!] + and: [EmailFilter!] """Checks for any expressions in this list.""" - or: [InviteFilter!] + or: [EmailFilter!] """Negates the expression.""" - not: InviteFilter - - """Filter by the object’s `sender` relation.""" - sender: UserFilter - - """TRGM search on the `invite_token` column.""" - trgmInviteToken: TrgmSearchInput + not: EmailFilter - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String + """Filter by the object’s `owner` relation.""" + owner: UserFilter } """ @@ -9525,6 +10374,232 @@ input ConstructiveInternalTypeEmailFilter { scalar ConstructiveInternalTypeEmail +""" +A filter to be used against many `PhoneNumber` object types. All fields are combined with a logical ‘and.’ +""" +input UserToManyPhoneNumberFilter { + """Filters to entities where at least one related entity matches.""" + some: PhoneNumberFilter + + """Filters to entities where every related entity matches.""" + every: PhoneNumberFilter + + """Filters to entities where no related entity matches.""" + none: PhoneNumberFilter +} + +""" +A filter to be used against `PhoneNumber` object types. All fields are combined with a logical ‘and.’ +""" +input PhoneNumberFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `ownerId` field.""" + ownerId: UUIDFilter + + """Filter by the object’s `cc` field.""" + cc: StringFilter + + """Filter by the object’s `number` field.""" + number: StringFilter + + """Filter by the object’s `isVerified` field.""" + isVerified: BooleanFilter + + """Filter by the object’s `isPrimary` field.""" + isPrimary: BooleanFilter + + """Filter by the object’s `createdAt` field.""" + createdAt: DatetimeFilter + + """Filter by the object’s `updatedAt` field.""" + updatedAt: DatetimeFilter + + """Checks for all expressions in this list.""" + and: [PhoneNumberFilter!] + + """Checks for any expressions in this list.""" + or: [PhoneNumberFilter!] + + """Negates the expression.""" + not: PhoneNumberFilter + + """Filter by the object’s `owner` relation.""" + owner: UserFilter +} + +""" +A filter to be used against many `CryptoAddress` object types. All fields are combined with a logical ‘and.’ +""" +input UserToManyCryptoAddressFilter { + """Filters to entities where at least one related entity matches.""" + some: CryptoAddressFilter + + """Filters to entities where every related entity matches.""" + every: CryptoAddressFilter + + """Filters to entities where no related entity matches.""" + none: CryptoAddressFilter +} + +""" +A filter to be used against `CryptoAddress` object types. All fields are combined with a logical ‘and.’ +""" +input CryptoAddressFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `ownerId` field.""" + ownerId: UUIDFilter + + """Filter by the object’s `address` field.""" + address: StringFilter + + """Filter by the object’s `isVerified` field.""" + isVerified: BooleanFilter + + """Filter by the object’s `isPrimary` field.""" + isPrimary: BooleanFilter + + """Filter by the object’s `createdAt` field.""" + createdAt: DatetimeFilter + + """Filter by the object’s `updatedAt` field.""" + updatedAt: DatetimeFilter + + """Checks for all expressions in this list.""" + and: [CryptoAddressFilter!] + + """Checks for any expressions in this list.""" + or: [CryptoAddressFilter!] + + """Negates the expression.""" + not: CryptoAddressFilter + + """Filter by the object’s `owner` relation.""" + owner: UserFilter +} + +""" +A filter to be used against many `ConnectedAccount` object types. All fields are combined with a logical ‘and.’ +""" +input UserToManyConnectedAccountFilter { + """Filters to entities where at least one related entity matches.""" + some: ConnectedAccountFilter + + """Filters to entities where every related entity matches.""" + every: ConnectedAccountFilter + + """Filters to entities where no related entity matches.""" + none: ConnectedAccountFilter +} + +""" +A filter to be used against `ConnectedAccount` object types. All fields are combined with a logical ‘and.’ +""" +input ConnectedAccountFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `ownerId` field.""" + ownerId: UUIDFilter + + """Filter by the object’s `service` field.""" + service: StringFilter + + """Filter by the object’s `identifier` field.""" + identifier: StringFilter + + """Filter by the object’s `details` field.""" + details: JSONFilter + + """Filter by the object’s `isVerified` field.""" + isVerified: BooleanFilter + + """Filter by the object’s `createdAt` field.""" + createdAt: DatetimeFilter + + """Filter by the object’s `updatedAt` field.""" + updatedAt: DatetimeFilter + + """Checks for all expressions in this list.""" + and: [ConnectedAccountFilter!] + + """Checks for any expressions in this list.""" + or: [ConnectedAccountFilter!] + + """Negates the expression.""" + not: ConnectedAccountFilter + + """Filter by the object’s `owner` relation.""" + owner: UserFilter +} + +""" +A filter to be used against many `Invite` object types. All fields are combined with a logical ‘and.’ +""" +input UserToManyInviteFilter { + """Filters to entities where at least one related entity matches.""" + some: InviteFilter + + """Filters to entities where every related entity matches.""" + every: InviteFilter + + """Filters to entities where no related entity matches.""" + none: InviteFilter +} + +""" +A filter to be used against `Invite` object types. All fields are combined with a logical ‘and.’ +""" +input InviteFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `email` field.""" + email: ConstructiveInternalTypeEmailFilter + + """Filter by the object’s `senderId` field.""" + senderId: UUIDFilter + + """Filter by the object’s `inviteToken` field.""" + inviteToken: StringFilter + + """Filter by the object’s `inviteValid` field.""" + inviteValid: BooleanFilter + + """Filter by the object’s `inviteLimit` field.""" + inviteLimit: IntFilter + + """Filter by the object’s `inviteCount` field.""" + inviteCount: IntFilter + + """Filter by the object’s `multiple` field.""" + multiple: BooleanFilter + + """Filter by the object’s `expiresAt` field.""" + expiresAt: DatetimeFilter + + """Filter by the object’s `createdAt` field.""" + createdAt: DatetimeFilter + + """Filter by the object’s `updatedAt` field.""" + updatedAt: DatetimeFilter + + """Checks for all expressions in this list.""" + and: [InviteFilter!] + + """Checks for any expressions in this list.""" + or: [InviteFilter!] + + """Negates the expression.""" + not: InviteFilter + + """Filter by the object’s `sender` relation.""" + sender: UserFilter +} + """ A filter to be used against many `ClaimedInvite` object types. All fields are combined with a logical ‘and.’ """ @@ -9657,17 +10732,6 @@ input OrgInviteFilter { """Filter by the object’s `sender` relation.""" sender: UserFilter - - """TRGM search on the `invite_token` column.""" - trgmInviteToken: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """ @@ -9732,143 +10796,375 @@ input OrgClaimedInviteFilter { } """ -A filter to be used against many `Schema` object types. All fields are combined with a logical ‘and.’ +A filter to be used against many `AuditLog` object types. All fields are combined with a logical ‘and.’ """ -input DatabaseToManySchemaFilter { +input UserToManyAuditLogFilter { """Filters to entities where at least one related entity matches.""" - some: SchemaFilter + some: AuditLogFilter """Filters to entities where every related entity matches.""" - every: SchemaFilter + every: AuditLogFilter """Filters to entities where no related entity matches.""" - none: SchemaFilter + none: AuditLogFilter } """ -A filter to be used against `Schema` object types. All fields are combined with a logical ‘and.’ +A filter to be used against `AuditLog` object types. All fields are combined with a logical ‘and.’ """ -input SchemaFilter { +input AuditLogFilter { """Filter by the object’s `id` field.""" id: UUIDFilter - """Filter by the object’s `databaseId` field.""" - databaseId: UUIDFilter - - """Filter by the object’s `name` field.""" - name: StringFilter - - """Filter by the object’s `schemaName` field.""" - schemaName: StringFilter - - """Filter by the object’s `label` field.""" - label: StringFilter - - """Filter by the object’s `description` field.""" - description: StringFilter - - """Filter by the object’s `smartTags` field.""" - smartTags: JSONFilter + """Filter by the object’s `event` field.""" + event: StringFilter - """Filter by the object’s `category` field.""" - category: ObjectCategoryFilter + """Filter by the object’s `actorId` field.""" + actorId: UUIDFilter - """Filter by the object’s `module` field.""" - module: StringFilter + """Filter by the object’s `origin` field.""" + origin: ConstructiveInternalTypeOriginFilter - """Filter by the object’s `scope` field.""" - scope: IntFilter + """Filter by the object’s `userAgent` field.""" + userAgent: StringFilter - """Filter by the object’s `tags` field.""" - tags: StringListFilter + """Filter by the object’s `ipAddress` field.""" + ipAddress: InternetAddressFilter - """Filter by the object’s `isPublic` field.""" - isPublic: BooleanFilter + """Filter by the object’s `success` field.""" + success: BooleanFilter """Filter by the object’s `createdAt` field.""" createdAt: DatetimeFilter - """Filter by the object’s `updatedAt` field.""" - updatedAt: DatetimeFilter - """Checks for all expressions in this list.""" - and: [SchemaFilter!] + and: [AuditLogFilter!] """Checks for any expressions in this list.""" - or: [SchemaFilter!] + or: [AuditLogFilter!] """Negates the expression.""" - not: SchemaFilter + not: AuditLogFilter - """Filter by the object’s `database` relation.""" - database: DatabaseFilter + """Filter by the object’s `actor` relation.""" + actor: UserFilter - """Filter by the object’s `tables` relation.""" - tables: SchemaToManyTableFilter + """A related `actor` exists.""" + actorExists: Boolean +} - """`tables` exist.""" - tablesExist: Boolean +""" +A filter to be used against ConstructiveInternalTypeOrigin fields. All fields are combined with a logical ‘and.’ +""" +input ConstructiveInternalTypeOriginFilter { + """ + Is null (if `true` is specified) or is not null (if `false` is specified). + """ + isNull: Boolean - """Filter by the object’s `schemaGrants` relation.""" - schemaGrants: SchemaToManySchemaGrantFilter + """Equal to the specified value.""" + equalTo: ConstructiveInternalTypeOrigin - """`schemaGrants` exist.""" - schemaGrantsExist: Boolean + """Not equal to the specified value.""" + notEqualTo: ConstructiveInternalTypeOrigin - """Filter by the object’s `views` relation.""" - views: SchemaToManyViewFilter + """ + Not equal to the specified value, treating null like an ordinary value. + """ + distinctFrom: ConstructiveInternalTypeOrigin - """`views` exist.""" - viewsExist: Boolean + """Equal to the specified value, treating null like an ordinary value.""" + notDistinctFrom: ConstructiveInternalTypeOrigin - """Filter by the object’s `defaultPrivileges` relation.""" - defaultPrivileges: SchemaToManyDefaultPrivilegeFilter + """Included in the specified list.""" + in: [ConstructiveInternalTypeOrigin!] - """`defaultPrivileges` exist.""" - defaultPrivilegesExist: Boolean + """Not included in the specified list.""" + notIn: [ConstructiveInternalTypeOrigin!] - """Filter by the object’s `apiSchemas` relation.""" - apiSchemas: SchemaToManyApiSchemaFilter + """Less than the specified value.""" + lessThan: ConstructiveInternalTypeOrigin - """`apiSchemas` exist.""" - apiSchemasExist: Boolean + """Less than or equal to the specified value.""" + lessThanOrEqualTo: ConstructiveInternalTypeOrigin - """ - Filter by the object’s `tableTemplateModulesByPrivateSchemaId` relation. - """ - tableTemplateModulesByPrivateSchemaId: SchemaToManyTableTemplateModuleFilter + """Greater than the specified value.""" + greaterThan: ConstructiveInternalTypeOrigin - """`tableTemplateModulesByPrivateSchemaId` exist.""" - tableTemplateModulesByPrivateSchemaIdExist: Boolean + """Greater than or equal to the specified value.""" + greaterThanOrEqualTo: ConstructiveInternalTypeOrigin - """Filter by the object’s `tableTemplateModules` relation.""" - tableTemplateModules: SchemaToManyTableTemplateModuleFilter + """Contains the specified string (case-sensitive).""" + includes: ConstructiveInternalTypeOrigin - """`tableTemplateModules` exist.""" - tableTemplateModulesExist: Boolean + """Does not contain the specified string (case-sensitive).""" + notIncludes: ConstructiveInternalTypeOrigin - """TRGM search on the `name` column.""" - trgmName: TrgmSearchInput + """Contains the specified string (case-insensitive).""" + includesInsensitive: ConstructiveInternalTypeOrigin - """TRGM search on the `schema_name` column.""" - trgmSchemaName: TrgmSearchInput + """Does not contain the specified string (case-insensitive).""" + notIncludesInsensitive: ConstructiveInternalTypeOrigin - """TRGM search on the `label` column.""" - trgmLabel: TrgmSearchInput + """Starts with the specified string (case-sensitive).""" + startsWith: ConstructiveInternalTypeOrigin - """TRGM search on the `description` column.""" - trgmDescription: TrgmSearchInput + """Does not start with the specified string (case-sensitive).""" + notStartsWith: ConstructiveInternalTypeOrigin - """TRGM search on the `module` column.""" - trgmModule: TrgmSearchInput + """Starts with the specified string (case-insensitive).""" + startsWithInsensitive: ConstructiveInternalTypeOrigin - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String + """Does not start with the specified string (case-insensitive).""" + notStartsWithInsensitive: ConstructiveInternalTypeOrigin + + """Ends with the specified string (case-sensitive).""" + endsWith: ConstructiveInternalTypeOrigin + + """Does not end with the specified string (case-sensitive).""" + notEndsWith: ConstructiveInternalTypeOrigin + + """Ends with the specified string (case-insensitive).""" + endsWithInsensitive: ConstructiveInternalTypeOrigin + + """Does not end with the specified string (case-insensitive).""" + notEndsWithInsensitive: ConstructiveInternalTypeOrigin + + """ + Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. + """ + like: ConstructiveInternalTypeOrigin + + """ + Does not match the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. + """ + notLike: ConstructiveInternalTypeOrigin + + """ + Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. + """ + likeInsensitive: ConstructiveInternalTypeOrigin + + """ + Does not match the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. + """ + notLikeInsensitive: ConstructiveInternalTypeOrigin + + """Equal to the specified value (case-insensitive).""" + equalToInsensitive: String + + """Not equal to the specified value (case-insensitive).""" + notEqualToInsensitive: String + + """ + Not equal to the specified value, treating null like an ordinary value (case-insensitive). + """ + distinctFromInsensitive: String + + """ + Equal to the specified value, treating null like an ordinary value (case-insensitive). + """ + notDistinctFromInsensitive: String + + """Included in the specified list (case-insensitive).""" + inInsensitive: [String!] + + """Not included in the specified list (case-insensitive).""" + notInInsensitive: [String!] + + """Less than the specified value (case-insensitive).""" + lessThanInsensitive: String + + """Less than or equal to the specified value (case-insensitive).""" + lessThanOrEqualToInsensitive: String + + """Greater than the specified value (case-insensitive).""" + greaterThanInsensitive: String + + """Greater than or equal to the specified value (case-insensitive).""" + greaterThanOrEqualToInsensitive: String +} + +scalar ConstructiveInternalTypeOrigin + +""" +A filter to be used against InternetAddress fields. All fields are combined with a logical ‘and.’ +""" +input InternetAddressFilter { + """ + Is null (if `true` is specified) or is not null (if `false` is specified). + """ + isNull: Boolean + + """Equal to the specified value.""" + equalTo: InternetAddress + + """Not equal to the specified value.""" + notEqualTo: InternetAddress + + """ + Not equal to the specified value, treating null like an ordinary value. + """ + distinctFrom: InternetAddress + + """Equal to the specified value, treating null like an ordinary value.""" + notDistinctFrom: InternetAddress + + """Included in the specified list.""" + in: [InternetAddress!] + + """Not included in the specified list.""" + notIn: [InternetAddress!] + + """Less than the specified value.""" + lessThan: InternetAddress + + """Less than or equal to the specified value.""" + lessThanOrEqualTo: InternetAddress + + """Greater than the specified value.""" + greaterThan: InternetAddress + + """Greater than or equal to the specified value.""" + greaterThanOrEqualTo: InternetAddress + + """Contains the specified internet address.""" + contains: InternetAddress + + """Contains or equal to the specified internet address.""" + containsOrEqualTo: InternetAddress + + """Contained by the specified internet address.""" + containedBy: InternetAddress + + """Contained by or equal to the specified internet address.""" + containedByOrEqualTo: InternetAddress + + """Contains or contained by the specified internet address.""" + containsOrContainedBy: InternetAddress +} + +""" +A filter to be used against many `Schema` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManySchemaFilter { + """Filters to entities where at least one related entity matches.""" + some: SchemaFilter + + """Filters to entities where every related entity matches.""" + every: SchemaFilter + + """Filters to entities where no related entity matches.""" + none: SchemaFilter +} + +""" +A filter to be used against `Schema` object types. All fields are combined with a logical ‘and.’ +""" +input SchemaFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `databaseId` field.""" + databaseId: UUIDFilter + + """Filter by the object’s `name` field.""" + name: StringFilter + + """Filter by the object’s `schemaName` field.""" + schemaName: StringFilter + + """Filter by the object’s `label` field.""" + label: StringFilter + + """Filter by the object’s `description` field.""" + description: StringFilter + + """Filter by the object’s `smartTags` field.""" + smartTags: JSONFilter + + """Filter by the object’s `category` field.""" + category: ObjectCategoryFilter + + """Filter by the object’s `module` field.""" + module: StringFilter + + """Filter by the object’s `scope` field.""" + scope: IntFilter + + """Filter by the object’s `tags` field.""" + tags: StringListFilter + + """Filter by the object’s `isPublic` field.""" + isPublic: BooleanFilter + + """Filter by the object’s `createdAt` field.""" + createdAt: DatetimeFilter + + """Filter by the object’s `updatedAt` field.""" + updatedAt: DatetimeFilter + + """Checks for all expressions in this list.""" + and: [SchemaFilter!] + + """Checks for any expressions in this list.""" + or: [SchemaFilter!] + + """Negates the expression.""" + not: SchemaFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `tables` relation.""" + tables: SchemaToManyTableFilter + + """`tables` exist.""" + tablesExist: Boolean + + """Filter by the object’s `schemaGrants` relation.""" + schemaGrants: SchemaToManySchemaGrantFilter + + """`schemaGrants` exist.""" + schemaGrantsExist: Boolean + + """Filter by the object’s `views` relation.""" + views: SchemaToManyViewFilter + + """`views` exist.""" + viewsExist: Boolean + + """Filter by the object’s `defaultPrivileges` relation.""" + defaultPrivileges: SchemaToManyDefaultPrivilegeFilter + + """`defaultPrivileges` exist.""" + defaultPrivilegesExist: Boolean + + """Filter by the object’s `enums` relation.""" + enums: SchemaToManyEnumFilter + + """`enums` exist.""" + enumsExist: Boolean + + """Filter by the object’s `apiSchemas` relation.""" + apiSchemas: SchemaToManyApiSchemaFilter + + """`apiSchemas` exist.""" + apiSchemasExist: Boolean + + """ + Filter by the object’s `tableTemplateModulesByPrivateSchemaId` relation. + """ + tableTemplateModulesByPrivateSchemaId: SchemaToManyTableTemplateModuleFilter + + """`tableTemplateModulesByPrivateSchemaId` exist.""" + tableTemplateModulesByPrivateSchemaIdExist: Boolean + + """Filter by the object’s `tableTemplateModules` relation.""" + tableTemplateModules: SchemaToManyTableTemplateModuleFilter + + """`tableTemplateModules` exist.""" + tableTemplateModulesExist: Boolean } """ @@ -10039,6 +11335,18 @@ input TableFilter { """`viewTables` exist.""" viewTablesExist: Boolean + """Filter by the object’s `embeddingChunksByChunksTableId` relation.""" + embeddingChunksByChunksTableId: TableToManyEmbeddingChunkFilter + + """`embeddingChunksByChunksTableId` exist.""" + embeddingChunksByChunksTableIdExist: Boolean + + """Filter by the object’s `embeddingChunks` relation.""" + embeddingChunks: TableToManyEmbeddingChunkFilter + + """`embeddingChunks` exist.""" + embeddingChunksExist: Boolean + """Filter by the object’s `tableTemplateModulesByOwnerTableId` relation.""" tableTemplateModulesByOwnerTableId: TableToManyTableTemplateModuleFilter @@ -10068,32 +11376,6 @@ input TableFilter { """`relationProvisionsByTargetTableId` exist.""" relationProvisionsByTargetTableIdExist: Boolean - - """TRGM search on the `name` column.""" - trgmName: TrgmSearchInput - - """TRGM search on the `label` column.""" - trgmLabel: TrgmSearchInput - - """TRGM search on the `description` column.""" - trgmDescription: TrgmSearchInput - - """TRGM search on the `module` column.""" - trgmModule: TrgmSearchInput - - """TRGM search on the `plural_name` column.""" - trgmPluralName: TrgmSearchInput - - """TRGM search on the `singular_name` column.""" - trgmSingularName: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """ @@ -10152,6 +11434,9 @@ input FieldFilter { """Filter by the object’s `isRequired` field.""" isRequired: BooleanFilter + """Filter by the object’s `apiRequired` field.""" + apiRequired: BooleanFilter + """Filter by the object’s `defaultValue` field.""" defaultValue: StringFilter @@ -10214,32 +11499,6 @@ input FieldFilter { """Filter by the object’s `table` relation.""" table: TableFilter - - """TRGM search on the `name` column.""" - trgmName: TrgmSearchInput - - """TRGM search on the `label` column.""" - trgmLabel: TrgmSearchInput - - """TRGM search on the `description` column.""" - trgmDescription: TrgmSearchInput - - """TRGM search on the `default_value` column.""" - trgmDefaultValue: TrgmSearchInput - - """TRGM search on the `regexp` column.""" - trgmRegexp: TrgmSearchInput - - """TRGM search on the `module` column.""" - trgmModule: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """ @@ -10373,32 +11632,6 @@ input ForeignKeyConstraintFilter { """Filter by the object’s `table` relation.""" table: TableFilter - - """TRGM search on the `name` column.""" - trgmName: TrgmSearchInput - - """TRGM search on the `description` column.""" - trgmDescription: TrgmSearchInput - - """TRGM search on the `type` column.""" - trgmType: TrgmSearchInput - - """TRGM search on the `delete_action` column.""" - trgmDeleteAction: TrgmSearchInput - - """TRGM search on the `update_action` column.""" - trgmUpdateAction: TrgmSearchInput - - """TRGM search on the `module` column.""" - trgmModule: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """ @@ -10551,23 +11784,6 @@ input IndexFilter { """Filter by the object’s `table` relation.""" table: TableFilter - - """TRGM search on the `name` column.""" - trgmName: TrgmSearchInput - - """TRGM search on the `access_method` column.""" - trgmAccessMethod: TrgmSearchInput - - """TRGM search on the `module` column.""" - trgmModule: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """ @@ -10653,29 +11869,6 @@ input PolicyFilter { """Filter by the object’s `table` relation.""" table: TableFilter - - """TRGM search on the `name` column.""" - trgmName: TrgmSearchInput - - """TRGM search on the `grantee_name` column.""" - trgmGranteeName: TrgmSearchInput - - """TRGM search on the `privilege` column.""" - trgmPrivilege: TrgmSearchInput - - """TRGM search on the `policy_type` column.""" - trgmPolicyType: TrgmSearchInput - - """TRGM search on the `module` column.""" - trgmModule: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """ @@ -10749,23 +11942,6 @@ input PrimaryKeyConstraintFilter { """Filter by the object’s `table` relation.""" table: TableFilter - - """TRGM search on the `name` column.""" - trgmName: TrgmSearchInput - - """TRGM search on the `type` column.""" - trgmType: TrgmSearchInput - - """TRGM search on the `module` column.""" - trgmModule: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """ @@ -10827,20 +12003,6 @@ input TableGrantFilter { """Filter by the object’s `table` relation.""" table: TableFilter - - """TRGM search on the `privilege` column.""" - trgmPrivilege: TrgmSearchInput - - """TRGM search on the `grantee_name` column.""" - trgmGranteeName: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """ @@ -10914,26 +12076,6 @@ input TriggerFilter { """Filter by the object’s `table` relation.""" table: TableFilter - - """TRGM search on the `name` column.""" - trgmName: TrgmSearchInput - - """TRGM search on the `event` column.""" - trgmEvent: TrgmSearchInput - - """TRGM search on the `function_name` column.""" - trgmFunctionName: TrgmSearchInput - - """TRGM search on the `module` column.""" - trgmModule: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """ @@ -11010,26 +12152,6 @@ input UniqueConstraintFilter { """Filter by the object’s `table` relation.""" table: TableFilter - - """TRGM search on the `name` column.""" - trgmName: TrgmSearchInput - - """TRGM search on the `description` column.""" - trgmDescription: TrgmSearchInput - - """TRGM search on the `type` column.""" - trgmType: TrgmSearchInput - - """TRGM search on the `module` column.""" - trgmModule: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """ @@ -11136,26 +12258,6 @@ input ViewFilter { """`viewRules` exist.""" viewRulesExist: Boolean - - """TRGM search on the `name` column.""" - trgmName: TrgmSearchInput - - """TRGM search on the `view_type` column.""" - trgmViewType: TrgmSearchInput - - """TRGM search on the `filter_type` column.""" - trgmFilterType: TrgmSearchInput - - """TRGM search on the `module` column.""" - trgmModule: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """ @@ -11257,20 +12359,6 @@ input ViewGrantFilter { """Filter by the object’s `view` relation.""" view: ViewFilter - - """TRGM search on the `grantee_name` column.""" - trgmGranteeName: TrgmSearchInput - - """TRGM search on the `privilege` column.""" - trgmPrivilege: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """ @@ -11323,23 +12411,6 @@ input ViewRuleFilter { """Filter by the object’s `view` relation.""" view: ViewFilter - - """TRGM search on the `name` column.""" - trgmName: TrgmSearchInput - - """TRGM search on the `event` column.""" - trgmEvent: TrgmSearchInput - - """TRGM search on the `action` column.""" - trgmAction: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """ @@ -11356,6 +12427,112 @@ input TableToManyViewTableFilter { none: ViewTableFilter } +""" +A filter to be used against many `EmbeddingChunk` object types. All fields are combined with a logical ‘and.’ +""" +input TableToManyEmbeddingChunkFilter { + """Filters to entities where at least one related entity matches.""" + some: EmbeddingChunkFilter + + """Filters to entities where every related entity matches.""" + every: EmbeddingChunkFilter + + """Filters to entities where no related entity matches.""" + none: EmbeddingChunkFilter +} + +""" +A filter to be used against `EmbeddingChunk` object types. All fields are combined with a logical ‘and.’ +""" +input EmbeddingChunkFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `databaseId` field.""" + databaseId: UUIDFilter + + """Filter by the object’s `tableId` field.""" + tableId: UUIDFilter + + """Filter by the object’s `embeddingFieldId` field.""" + embeddingFieldId: UUIDFilter + + """Filter by the object’s `chunksTableId` field.""" + chunksTableId: UUIDFilter + + """Filter by the object’s `chunksTableName` field.""" + chunksTableName: StringFilter + + """Filter by the object’s `contentFieldName` field.""" + contentFieldName: StringFilter + + """Filter by the object’s `dimensions` field.""" + dimensions: IntFilter + + """Filter by the object’s `metric` field.""" + metric: StringFilter + + """Filter by the object’s `chunkSize` field.""" + chunkSize: IntFilter + + """Filter by the object’s `chunkOverlap` field.""" + chunkOverlap: IntFilter + + """Filter by the object’s `chunkStrategy` field.""" + chunkStrategy: StringFilter + + """Filter by the object’s `metadataFields` field.""" + metadataFields: JSONFilter + + """Filter by the object’s `enqueueChunkingJob` field.""" + enqueueChunkingJob: BooleanFilter + + """Filter by the object’s `chunkingTaskName` field.""" + chunkingTaskName: StringFilter + + """Filter by the object’s `parentFkFieldId` field.""" + parentFkFieldId: UUIDFilter + + """Filter by the object’s `createdAt` field.""" + createdAt: DatetimeFilter + + """Filter by the object’s `updatedAt` field.""" + updatedAt: DatetimeFilter + + """Checks for all expressions in this list.""" + and: [EmbeddingChunkFilter!] + + """Checks for any expressions in this list.""" + or: [EmbeddingChunkFilter!] + + """Negates the expression.""" + not: EmbeddingChunkFilter + + """Filter by the object’s `chunksTable` relation.""" + chunksTable: TableFilter + + """A related `chunksTable` exists.""" + chunksTableExists: Boolean + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `embeddingField` relation.""" + embeddingField: FieldFilter + + """A related `embeddingField` exists.""" + embeddingFieldExists: Boolean + + """Filter by the object’s `parentFkField` relation.""" + parentFkField: FieldFilter + + """A related `parentFkField` exists.""" + parentFkFieldExists: Boolean + + """Filter by the object’s `table` relation.""" + table: TableFilter +} + """ A filter to be used against many `TableTemplateModule` object types. All fields are combined with a logical ‘and.’ """ @@ -11424,20 +12601,6 @@ input TableTemplateModuleFilter { """Filter by the object’s `table` relation.""" table: TableFilter - - """TRGM search on the `table_name` column.""" - trgmTableName: TrgmSearchInput - - """TRGM search on the `node_type` column.""" - trgmNodeType: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """ @@ -11483,13 +12646,13 @@ input SecureTableProvisionFilter { nodeData: JSONFilter """Filter by the object’s `fields` field.""" - fields: JSONFilter + fields: JSONListFilter """Filter by the object’s `grantRoles` field.""" grantRoles: StringListFilter """Filter by the object’s `grantPrivileges` field.""" - grantPrivileges: JSONFilter + grantPrivileges: JSONListFilter """Filter by the object’s `policyType` field.""" policyType: StringFilter @@ -11529,29 +12692,69 @@ input SecureTableProvisionFilter { """Filter by the object’s `table` relation.""" table: TableFilter +} - """TRGM search on the `table_name` column.""" - trgmTableName: TrgmSearchInput - - """TRGM search on the `node_type` column.""" - trgmNodeType: TrgmSearchInput - - """TRGM search on the `policy_type` column.""" - trgmPolicyType: TrgmSearchInput +""" +A filter to be used against JSON List fields. All fields are combined with a logical ‘and.’ +""" +input JSONListFilter { + """ + Is null (if `true` is specified) or is not null (if `false` is specified). + """ + isNull: Boolean - """TRGM search on the `policy_role` column.""" - trgmPolicyRole: TrgmSearchInput + """Equal to the specified value.""" + equalTo: [JSON] - """TRGM search on the `policy_name` column.""" - trgmPolicyName: TrgmSearchInput + """Not equal to the specified value.""" + notEqualTo: [JSON] """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. + Not equal to the specified value, treating null like an ordinary value. """ - fullTextSearch: String + distinctFrom: [JSON] + + """Equal to the specified value, treating null like an ordinary value.""" + notDistinctFrom: [JSON] + + """Less than the specified value.""" + lessThan: [JSON] + + """Less than or equal to the specified value.""" + lessThanOrEqualTo: [JSON] + + """Greater than the specified value.""" + greaterThan: [JSON] + + """Greater than or equal to the specified value.""" + greaterThanOrEqualTo: [JSON] + + """Contains the specified list of values.""" + contains: [JSON] + + """Contained by the specified list of values.""" + containedBy: [JSON] + + """Overlaps the specified list of values.""" + overlaps: [JSON] + + """Any array item is equal to the specified value.""" + anyEqualTo: JSON + + """Any array item is not equal to the specified value.""" + anyNotEqualTo: JSON + + """Any array item is less than the specified value.""" + anyLessThan: JSON + + """Any array item is less than or equal to the specified value.""" + anyLessThanOrEqualTo: JSON + + """Any array item is greater than the specified value.""" + anyGreaterThan: JSON + + """Any array item is greater than or equal to the specified value.""" + anyGreaterThanOrEqualTo: JSON } """ @@ -11596,6 +12799,9 @@ input RelationProvisionFilter { """Filter by the object’s `isRequired` field.""" isRequired: BooleanFilter + """Filter by the object’s `apiRequired` field.""" + apiRequired: BooleanFilter + """Filter by the object’s `junctionTableId` field.""" junctionTableId: UUIDFilter @@ -11614,6 +12820,12 @@ input RelationProvisionFilter { """Filter by the object’s `useCompositeKey` field.""" useCompositeKey: BooleanFilter + """Filter by the object’s `createIndex` field.""" + createIndex: BooleanFilter + + """Filter by the object’s `exposeInApi` field.""" + exposeInApi: BooleanFilter + """Filter by the object’s `nodeType` field.""" nodeType: StringFilter @@ -11624,7 +12836,7 @@ input RelationProvisionFilter { grantRoles: StringListFilter """Filter by the object’s `grantPrivileges` field.""" - grantPrivileges: JSONFilter + grantPrivileges: JSONListFilter """Filter by the object’s `policyType` field.""" policyType: StringFilter @@ -11673,44 +12885,6 @@ input RelationProvisionFilter { """Filter by the object’s `targetTable` relation.""" targetTable: TableFilter - - """TRGM search on the `relation_type` column.""" - trgmRelationType: TrgmSearchInput - - """TRGM search on the `field_name` column.""" - trgmFieldName: TrgmSearchInput - - """TRGM search on the `delete_action` column.""" - trgmDeleteAction: TrgmSearchInput - - """TRGM search on the `junction_table_name` column.""" - trgmJunctionTableName: TrgmSearchInput - - """TRGM search on the `source_field_name` column.""" - trgmSourceFieldName: TrgmSearchInput - - """TRGM search on the `target_field_name` column.""" - trgmTargetFieldName: TrgmSearchInput - - """TRGM search on the `node_type` column.""" - trgmNodeType: TrgmSearchInput - - """TRGM search on the `policy_type` column.""" - trgmPolicyType: TrgmSearchInput - - """TRGM search on the `policy_role` column.""" - trgmPolicyRole: TrgmSearchInput - - """TRGM search on the `policy_name` column.""" - trgmPolicyName: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """ @@ -11763,17 +12937,6 @@ input SchemaGrantFilter { """Filter by the object’s `schema` relation.""" schema: SchemaFilter - - """TRGM search on the `grantee_name` column.""" - trgmGranteeName: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """ @@ -11843,23 +13006,76 @@ input DefaultPrivilegeFilter { """Filter by the object’s `schema` relation.""" schema: SchemaFilter +} + +""" +A filter to be used against many `Enum` object types. All fields are combined with a logical ‘and.’ +""" +input SchemaToManyEnumFilter { + """Filters to entities where at least one related entity matches.""" + some: EnumFilter - """TRGM search on the `object_type` column.""" - trgmObjectType: TrgmSearchInput + """Filters to entities where every related entity matches.""" + every: EnumFilter - """TRGM search on the `privilege` column.""" - trgmPrivilege: TrgmSearchInput + """Filters to entities where no related entity matches.""" + none: EnumFilter +} - """TRGM search on the `grantee_name` column.""" - trgmGranteeName: TrgmSearchInput +""" +A filter to be used against `Enum` object types. All fields are combined with a logical ‘and.’ +""" +input EnumFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String + """Filter by the object’s `databaseId` field.""" + databaseId: UUIDFilter + + """Filter by the object’s `schemaId` field.""" + schemaId: UUIDFilter + + """Filter by the object’s `name` field.""" + name: StringFilter + + """Filter by the object’s `label` field.""" + label: StringFilter + + """Filter by the object’s `description` field.""" + description: StringFilter + + """Filter by the object’s `values` field.""" + values: StringListFilter + + """Filter by the object’s `smartTags` field.""" + smartTags: JSONFilter + + """Filter by the object’s `category` field.""" + category: ObjectCategoryFilter + + """Filter by the object’s `module` field.""" + module: StringFilter + + """Filter by the object’s `scope` field.""" + scope: IntFilter + + """Filter by the object’s `tags` field.""" + tags: StringListFilter + + """Checks for all expressions in this list.""" + and: [EnumFilter!] + + """Checks for any expressions in this list.""" + or: [EnumFilter!] + + """Negates the expression.""" + not: EnumFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `schema` relation.""" + schema: SchemaFilter } """ @@ -11965,26 +13181,6 @@ input ApiFilter { """`domains` exist.""" domainsExist: Boolean - - """TRGM search on the `name` column.""" - trgmName: TrgmSearchInput - - """TRGM search on the `dbname` column.""" - trgmDbname: TrgmSearchInput - - """TRGM search on the `role_name` column.""" - trgmRoleName: TrgmSearchInput - - """TRGM search on the `anon_role` column.""" - trgmAnonRole: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """ @@ -12031,17 +13227,6 @@ input ApiModuleFilter { """Filter by the object’s `database` relation.""" database: DatabaseFilter - - """TRGM search on the `name` column.""" - trgmName: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """ @@ -12325,23 +13510,6 @@ input SiteFilter { """`siteThemes` exist.""" siteThemesExist: Boolean - - """TRGM search on the `title` column.""" - trgmTitle: TrgmSearchInput - - """TRGM search on the `description` column.""" - trgmDescription: TrgmSearchInput - - """TRGM search on the `dbname` column.""" - trgmDbname: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """ @@ -12523,23 +13691,6 @@ input AppFilter { """Filter by the object’s `database` relation.""" database: DatabaseFilter - - """TRGM search on the `name` column.""" - trgmName: TrgmSearchInput - - """TRGM search on the `app_store_id` column.""" - trgmAppStoreId: TrgmSearchInput - - """TRGM search on the `app_id_prefix` column.""" - trgmAppIdPrefix: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """ @@ -12740,20 +13891,6 @@ input SiteMetadatumFilter { """Filter by the object’s `site` relation.""" site: SiteFilter - - """TRGM search on the `title` column.""" - trgmTitle: TrgmSearchInput - - """TRGM search on the `description` column.""" - trgmDescription: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """ @@ -12800,17 +13937,6 @@ input SiteModuleFilter { """Filter by the object’s `site` relation.""" site: SiteFilter - - """TRGM search on the `name` column.""" - trgmName: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """ @@ -13060,20 +14186,6 @@ input TriggerFunctionFilter { """Filter by the object’s `database` relation.""" database: DatabaseFilter - - """TRGM search on the `name` column.""" - trgmName: TrgmSearchInput - - """TRGM search on the `code` column.""" - trgmCode: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """ @@ -13160,6 +14272,107 @@ input DatabaseToManyDefaultPrivilegeFilter { none: DefaultPrivilegeFilter } +""" +A filter to be used against many `Enum` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyEnumFilter { + """Filters to entities where at least one related entity matches.""" + some: EnumFilter + + """Filters to entities where every related entity matches.""" + every: EnumFilter + + """Filters to entities where no related entity matches.""" + none: EnumFilter +} + +""" +A filter to be used against many `EmbeddingChunk` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyEmbeddingChunkFilter { + """Filters to entities where at least one related entity matches.""" + some: EmbeddingChunkFilter + + """Filters to entities where every related entity matches.""" + every: EmbeddingChunkFilter + + """Filters to entities where no related entity matches.""" + none: EmbeddingChunkFilter +} + +""" +A filter to be used against many `DatabaseTransfer` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyDatabaseTransferFilter { + """Filters to entities where at least one related entity matches.""" + some: DatabaseTransferFilter + + """Filters to entities where every related entity matches.""" + every: DatabaseTransferFilter + + """Filters to entities where no related entity matches.""" + none: DatabaseTransferFilter +} + +""" +A filter to be used against `DatabaseTransfer` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseTransferFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `databaseId` field.""" + databaseId: UUIDFilter + + """Filter by the object’s `targetOwnerId` field.""" + targetOwnerId: UUIDFilter + + """Filter by the object’s `sourceApproved` field.""" + sourceApproved: BooleanFilter + + """Filter by the object’s `targetApproved` field.""" + targetApproved: BooleanFilter + + """Filter by the object’s `sourceApprovedAt` field.""" + sourceApprovedAt: DatetimeFilter + + """Filter by the object’s `targetApprovedAt` field.""" + targetApprovedAt: DatetimeFilter + + """Filter by the object’s `status` field.""" + status: StringFilter + + """Filter by the object’s `initiatedBy` field.""" + initiatedBy: UUIDFilter + + """Filter by the object’s `notes` field.""" + notes: StringFilter + + """Filter by the object’s `expiresAt` field.""" + expiresAt: DatetimeFilter + + """Filter by the object’s `createdAt` field.""" + createdAt: DatetimeFilter + + """Filter by the object’s `updatedAt` field.""" + updatedAt: DatetimeFilter + + """Filter by the object’s `completedAt` field.""" + completedAt: DatetimeFilter + + """Checks for all expressions in this list.""" + and: [DatabaseTransferFilter!] + + """Checks for any expressions in this list.""" + or: [DatabaseTransferFilter!] + + """Negates the expression.""" + not: DatabaseTransferFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter +} + """ A filter to be used against many `Api` object types. All fields are combined with a logical ‘and.’ """ @@ -13348,17 +14561,6 @@ input ConnectedAccountsModuleFilter { """Filter by the object’s `table` relation.""" table: TableFilter - - """TRGM search on the `table_name` column.""" - trgmTableName: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """ @@ -13426,20 +14628,6 @@ input CryptoAddressesModuleFilter { """Filter by the object’s `table` relation.""" table: TableFilter - - """TRGM search on the `table_name` column.""" - trgmTableName: TrgmSearchInput - - """TRGM search on the `crypto_network` column.""" - trgmCryptoNetwork: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """ @@ -13528,32 +14716,6 @@ input CryptoAuthModuleFilter { """Filter by the object’s `usersTable` relation.""" usersTable: TableFilter - - """TRGM search on the `user_field` column.""" - trgmUserField: TrgmSearchInput - - """TRGM search on the `crypto_network` column.""" - trgmCryptoNetwork: TrgmSearchInput - - """TRGM search on the `sign_in_request_challenge` column.""" - trgmSignInRequestChallenge: TrgmSearchInput - - """TRGM search on the `sign_in_record_failure` column.""" - trgmSignInRecordFailure: TrgmSearchInput - - """TRGM search on the `sign_up_with_key` column.""" - trgmSignUpWithKey: TrgmSearchInput - - """TRGM search on the `sign_in_with_challenge` column.""" - trgmSignInWithChallenge: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """ @@ -13670,17 +14832,6 @@ input DenormalizedTableFieldFilter { """Filter by the object’s `table` relation.""" table: TableFilter - - """TRGM search on the `func_name` column.""" - trgmFuncName: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """ @@ -13745,17 +14896,6 @@ input EmailsModuleFilter { """Filter by the object’s `table` relation.""" table: TableFilter - - """TRGM search on the `table_name` column.""" - trgmTableName: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """ @@ -13808,17 +14948,6 @@ input EncryptedSecretsModuleFilter { """Filter by the object’s `table` relation.""" table: TableFilter - - """TRGM search on the `table_name` column.""" - trgmTableName: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """ @@ -13886,17 +15015,6 @@ input FieldModuleFilter { """Filter by the object’s `table` relation.""" table: TableFilter - - """TRGM search on the `node_type` column.""" - trgmNodeType: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """ @@ -13994,26 +15112,6 @@ input InvitesModuleFilter { """Filter by the object’s `usersTable` relation.""" usersTable: TableFilter - - """TRGM search on the `invites_table_name` column.""" - trgmInvitesTableName: TrgmSearchInput - - """TRGM search on the `claimed_invites_table_name` column.""" - trgmClaimedInvitesTableName: TrgmSearchInput - - """TRGM search on the `submit_invite_code_function` column.""" - trgmSubmitInviteCodeFunction: TrgmSearchInput - - """TRGM search on the `prefix` column.""" - trgmPrefix: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """ @@ -14150,59 +15248,6 @@ input LevelsModuleFilter { """Filter by the object’s `stepsTable` relation.""" stepsTable: TableFilter - - """TRGM search on the `steps_table_name` column.""" - trgmStepsTableName: TrgmSearchInput - - """TRGM search on the `achievements_table_name` column.""" - trgmAchievementsTableName: TrgmSearchInput - - """TRGM search on the `levels_table_name` column.""" - trgmLevelsTableName: TrgmSearchInput - - """TRGM search on the `level_requirements_table_name` column.""" - trgmLevelRequirementsTableName: TrgmSearchInput - - """TRGM search on the `completed_step` column.""" - trgmCompletedStep: TrgmSearchInput - - """TRGM search on the `incompleted_step` column.""" - trgmIncompletedStep: TrgmSearchInput - - """TRGM search on the `tg_achievement` column.""" - trgmTgAchievement: TrgmSearchInput - - """TRGM search on the `tg_achievement_toggle` column.""" - trgmTgAchievementToggle: TrgmSearchInput - - """TRGM search on the `tg_achievement_toggle_boolean` column.""" - trgmTgAchievementToggleBoolean: TrgmSearchInput - - """TRGM search on the `tg_achievement_boolean` column.""" - trgmTgAchievementBoolean: TrgmSearchInput - - """TRGM search on the `upsert_achievement` column.""" - trgmUpsertAchievement: TrgmSearchInput - - """TRGM search on the `tg_update_achievements` column.""" - trgmTgUpdateAchievements: TrgmSearchInput - - """TRGM search on the `steps_required` column.""" - trgmStepsRequired: TrgmSearchInput - - """TRGM search on the `level_achieved` column.""" - trgmLevelAchieved: TrgmSearchInput - - """TRGM search on the `prefix` column.""" - trgmPrefix: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """ @@ -14309,41 +15354,6 @@ input LimitsModuleFilter { """Filter by the object’s `table` relation.""" table: TableFilter - - """TRGM search on the `table_name` column.""" - trgmTableName: TrgmSearchInput - - """TRGM search on the `default_table_name` column.""" - trgmDefaultTableName: TrgmSearchInput - - """TRGM search on the `limit_increment_function` column.""" - trgmLimitIncrementFunction: TrgmSearchInput - - """TRGM search on the `limit_decrement_function` column.""" - trgmLimitDecrementFunction: TrgmSearchInput - - """TRGM search on the `limit_increment_trigger` column.""" - trgmLimitIncrementTrigger: TrgmSearchInput - - """TRGM search on the `limit_decrement_trigger` column.""" - trgmLimitDecrementTrigger: TrgmSearchInput - - """TRGM search on the `limit_update_trigger` column.""" - trgmLimitUpdateTrigger: TrgmSearchInput - - """TRGM search on the `limit_check_function` column.""" - trgmLimitCheckFunction: TrgmSearchInput - - """TRGM search on the `prefix` column.""" - trgmPrefix: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """ @@ -14396,17 +15406,6 @@ input MembershipTypesModuleFilter { """Filter by the object’s `table` relation.""" table: TableFilter - - """TRGM search on the `table_name` column.""" - trgmTableName: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """ @@ -14579,50 +15578,6 @@ input MembershipsModuleFilter { """Filter by the object’s `sprtTable` relation.""" sprtTable: TableFilter - - """TRGM search on the `memberships_table_name` column.""" - trgmMembershipsTableName: TrgmSearchInput - - """TRGM search on the `members_table_name` column.""" - trgmMembersTableName: TrgmSearchInput - - """TRGM search on the `membership_defaults_table_name` column.""" - trgmMembershipDefaultsTableName: TrgmSearchInput - - """TRGM search on the `grants_table_name` column.""" - trgmGrantsTableName: TrgmSearchInput - - """TRGM search on the `admin_grants_table_name` column.""" - trgmAdminGrantsTableName: TrgmSearchInput - - """TRGM search on the `owner_grants_table_name` column.""" - trgmOwnerGrantsTableName: TrgmSearchInput - - """TRGM search on the `prefix` column.""" - trgmPrefix: TrgmSearchInput - - """TRGM search on the `actor_mask_check` column.""" - trgmActorMaskCheck: TrgmSearchInput - - """TRGM search on the `actor_perm_check` column.""" - trgmActorPermCheck: TrgmSearchInput - - """TRGM search on the `entity_ids_by_mask` column.""" - trgmEntityIdsByMask: TrgmSearchInput - - """TRGM search on the `entity_ids_by_perm` column.""" - trgmEntityIdsByPerm: TrgmSearchInput - - """TRGM search on the `entity_ids_function` column.""" - trgmEntityIdsFunction: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """ @@ -14726,35 +15681,6 @@ input PermissionsModuleFilter { """Filter by the object’s `table` relation.""" table: TableFilter - - """TRGM search on the `table_name` column.""" - trgmTableName: TrgmSearchInput - - """TRGM search on the `default_table_name` column.""" - trgmDefaultTableName: TrgmSearchInput - - """TRGM search on the `prefix` column.""" - trgmPrefix: TrgmSearchInput - - """TRGM search on the `get_padded_mask` column.""" - trgmGetPaddedMask: TrgmSearchInput - - """TRGM search on the `get_mask` column.""" - trgmGetMask: TrgmSearchInput - - """TRGM search on the `get_by_mask` column.""" - trgmGetByMask: TrgmSearchInput - - """TRGM search on the `get_mask_by_name` column.""" - trgmGetMaskByName: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """ @@ -14819,17 +15745,6 @@ input PhoneNumbersModuleFilter { """Filter by the object’s `table` relation.""" table: TableFilter - - """TRGM search on the `table_name` column.""" - trgmTableName: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """ @@ -14948,29 +15863,6 @@ input ProfilesModuleFilter { """Filter by the object’s `table` relation.""" table: TableFilter - - """TRGM search on the `table_name` column.""" - trgmTableName: TrgmSearchInput - - """TRGM search on the `profile_permissions_table_name` column.""" - trgmProfilePermissionsTableName: TrgmSearchInput - - """TRGM search on the `profile_grants_table_name` column.""" - trgmProfileGrantsTableName: TrgmSearchInput - - """TRGM search on the `profile_definition_grants_table_name` column.""" - trgmProfileDefinitionGrantsTableName: TrgmSearchInput - - """TRGM search on the `prefix` column.""" - trgmPrefix: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """ @@ -15036,26 +15928,6 @@ input RlsModuleFilter { """Filter by the object’s `usersTable` relation.""" usersTable: TableFilter - - """TRGM search on the `authenticate` column.""" - trgmAuthenticate: TrgmSearchInput - - """TRGM search on the `authenticate_strict` column.""" - trgmAuthenticateStrict: TrgmSearchInput - - """TRGM search on the `current_role` column.""" - trgmCurrentRole: TrgmSearchInput - - """TRGM search on the `current_role_id` column.""" - trgmCurrentRoleId: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """ @@ -15108,17 +15980,6 @@ input SecretsModuleFilter { """Filter by the object’s `table` relation.""" table: TableFilter - - """TRGM search on the `table_name` column.""" - trgmTableName: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """ @@ -15202,23 +16063,6 @@ input SessionsModuleFilter { """Filter by the object’s `usersTable` relation.""" usersTable: TableFilter - - """TRGM search on the `sessions_table` column.""" - trgmSessionsTable: TrgmSearchInput - - """TRGM search on the `session_credentials_table` column.""" - trgmSessionCredentialsTable: TrgmSearchInput - - """TRGM search on the `auth_settings_table` column.""" - trgmAuthSettingsTable: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """ @@ -15418,62 +16262,6 @@ input UserAuthModuleFilter { """Filter by the object’s `usersTable` relation.""" usersTable: TableFilter - - """TRGM search on the `audits_table_name` column.""" - trgmAuditsTableName: TrgmSearchInput - - """TRGM search on the `sign_in_function` column.""" - trgmSignInFunction: TrgmSearchInput - - """TRGM search on the `sign_up_function` column.""" - trgmSignUpFunction: TrgmSearchInput - - """TRGM search on the `sign_out_function` column.""" - trgmSignOutFunction: TrgmSearchInput - - """TRGM search on the `set_password_function` column.""" - trgmSetPasswordFunction: TrgmSearchInput - - """TRGM search on the `reset_password_function` column.""" - trgmResetPasswordFunction: TrgmSearchInput - - """TRGM search on the `forgot_password_function` column.""" - trgmForgotPasswordFunction: TrgmSearchInput - - """TRGM search on the `send_verification_email_function` column.""" - trgmSendVerificationEmailFunction: TrgmSearchInput - - """TRGM search on the `verify_email_function` column.""" - trgmVerifyEmailFunction: TrgmSearchInput - - """TRGM search on the `verify_password_function` column.""" - trgmVerifyPasswordFunction: TrgmSearchInput - - """TRGM search on the `check_password_function` column.""" - trgmCheckPasswordFunction: TrgmSearchInput - - """TRGM search on the `send_account_deletion_email_function` column.""" - trgmSendAccountDeletionEmailFunction: TrgmSearchInput - - """TRGM search on the `delete_account_function` column.""" - trgmDeleteAccountFunction: TrgmSearchInput - - """TRGM search on the `sign_in_one_time_token_function` column.""" - trgmSignInOneTimeTokenFunction: TrgmSearchInput - - """TRGM search on the `one_time_token_function` column.""" - trgmOneTimeTokenFunction: TrgmSearchInput - - """TRGM search on the `extend_token_expires` column.""" - trgmExtendTokenExpires: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """ @@ -15535,83 +16323,6 @@ input UsersModuleFilter { """Filter by the object’s `typeTable` relation.""" typeTable: TableFilter - - """TRGM search on the `table_name` column.""" - trgmTableName: TrgmSearchInput - - """TRGM search on the `type_table_name` column.""" - trgmTypeTableName: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String -} - -""" -A filter to be used against many `UuidModule` object types. All fields are combined with a logical ‘and.’ -""" -input DatabaseToManyUuidModuleFilter { - """Filters to entities where at least one related entity matches.""" - some: UuidModuleFilter - - """Filters to entities where every related entity matches.""" - every: UuidModuleFilter - - """Filters to entities where no related entity matches.""" - none: UuidModuleFilter -} - -""" -A filter to be used against `UuidModule` object types. All fields are combined with a logical ‘and.’ -""" -input UuidModuleFilter { - """Filter by the object’s `id` field.""" - id: UUIDFilter - - """Filter by the object’s `databaseId` field.""" - databaseId: UUIDFilter - - """Filter by the object’s `schemaId` field.""" - schemaId: UUIDFilter - - """Filter by the object’s `uuidFunction` field.""" - uuidFunction: StringFilter - - """Filter by the object’s `uuidSeed` field.""" - uuidSeed: StringFilter - - """Checks for all expressions in this list.""" - and: [UuidModuleFilter!] - - """Checks for any expressions in this list.""" - or: [UuidModuleFilter!] - - """Negates the expression.""" - not: UuidModuleFilter - - """Filter by the object’s `database` relation.""" - database: DatabaseFilter - - """Filter by the object’s `schema` relation.""" - schema: SchemaFilter - - """TRGM search on the `uuid_function` column.""" - trgmUuidFunction: TrgmSearchInput - - """TRGM search on the `uuid_seed` column.""" - trgmUuidSeed: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """ @@ -15710,44 +16421,6 @@ input HierarchyModuleFilter { """Filter by the object’s `usersTable` relation.""" usersTable: TableFilter - - """TRGM search on the `chart_edges_table_name` column.""" - trgmChartEdgesTableName: TrgmSearchInput - - """TRGM search on the `hierarchy_sprt_table_name` column.""" - trgmHierarchySprtTableName: TrgmSearchInput - - """TRGM search on the `chart_edge_grants_table_name` column.""" - trgmChartEdgeGrantsTableName: TrgmSearchInput - - """TRGM search on the `prefix` column.""" - trgmPrefix: TrgmSearchInput - - """TRGM search on the `private_schema_name` column.""" - trgmPrivateSchemaName: TrgmSearchInput - - """TRGM search on the `sprt_table_name` column.""" - trgmSprtTableName: TrgmSearchInput - - """TRGM search on the `rebuild_hierarchy_function` column.""" - trgmRebuildHierarchyFunction: TrgmSearchInput - - """TRGM search on the `get_subordinates_function` column.""" - trgmGetSubordinatesFunction: TrgmSearchInput - - """TRGM search on the `get_managers_function` column.""" - trgmGetManagersFunction: TrgmSearchInput - - """TRGM search on the `is_manager_of_function` column.""" - trgmIsManagerOfFunction: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """ @@ -15792,6 +16465,214 @@ input DatabaseToManyRelationProvisionFilter { none: RelationProvisionFilter } +""" +A filter to be used against many `Blueprint` object types. All fields are combined with a logical ‘and.’ +""" +input DatabaseToManyBlueprintFilter { + """Filters to entities where at least one related entity matches.""" + some: BlueprintFilter + + """Filters to entities where every related entity matches.""" + every: BlueprintFilter + + """Filters to entities where no related entity matches.""" + none: BlueprintFilter +} + +""" +A filter to be used against `Blueprint` object types. All fields are combined with a logical ‘and.’ +""" +input BlueprintFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `ownerId` field.""" + ownerId: UUIDFilter + + """Filter by the object’s `databaseId` field.""" + databaseId: UUIDFilter + + """Filter by the object’s `name` field.""" + name: StringFilter + + """Filter by the object’s `displayName` field.""" + displayName: StringFilter + + """Filter by the object’s `description` field.""" + description: StringFilter + + """Filter by the object’s `definition` field.""" + definition: JSONFilter + + """Filter by the object’s `templateId` field.""" + templateId: UUIDFilter + + """Filter by the object’s `status` field.""" + status: StringFilter + + """Filter by the object’s `constructedAt` field.""" + constructedAt: DatetimeFilter + + """Filter by the object’s `errorDetails` field.""" + errorDetails: StringFilter + + """Filter by the object’s `refMap` field.""" + refMap: JSONFilter + + """Filter by the object’s `constructedDefinition` field.""" + constructedDefinition: JSONFilter + + """Filter by the object’s `definitionHash` field.""" + definitionHash: UUIDFilter + + """Filter by the object’s `tableHashes` field.""" + tableHashes: JSONFilter + + """Filter by the object’s `createdAt` field.""" + createdAt: DatetimeFilter + + """Filter by the object’s `updatedAt` field.""" + updatedAt: DatetimeFilter + + """Checks for all expressions in this list.""" + and: [BlueprintFilter!] + + """Checks for any expressions in this list.""" + or: [BlueprintFilter!] + + """Negates the expression.""" + not: BlueprintFilter + + """Filter by the object’s `database` relation.""" + database: DatabaseFilter + + """Filter by the object’s `template` relation.""" + template: BlueprintTemplateFilter + + """A related `template` exists.""" + templateExists: Boolean +} + +""" +A filter to be used against `BlueprintTemplate` object types. All fields are combined with a logical ‘and.’ +""" +input BlueprintTemplateFilter { + """Filter by the object’s `id` field.""" + id: UUIDFilter + + """Filter by the object’s `name` field.""" + name: StringFilter + + """Filter by the object’s `version` field.""" + version: StringFilter + + """Filter by the object’s `displayName` field.""" + displayName: StringFilter + + """Filter by the object’s `description` field.""" + description: StringFilter + + """Filter by the object’s `ownerId` field.""" + ownerId: UUIDFilter + + """Filter by the object’s `visibility` field.""" + visibility: StringFilter + + """Filter by the object’s `categories` field.""" + categories: StringListFilter + + """Filter by the object’s `tags` field.""" + tags: StringListFilter + + """Filter by the object’s `definition` field.""" + definition: JSONFilter + + """Filter by the object’s `definitionSchemaVersion` field.""" + definitionSchemaVersion: StringFilter + + """Filter by the object’s `source` field.""" + source: StringFilter + + """Filter by the object’s `complexity` field.""" + complexity: StringFilter + + """Filter by the object’s `copyCount` field.""" + copyCount: IntFilter + + """Filter by the object’s `forkCount` field.""" + forkCount: IntFilter + + """Filter by the object’s `forkedFromId` field.""" + forkedFromId: UUIDFilter + + """Filter by the object’s `definitionHash` field.""" + definitionHash: UUIDFilter + + """Filter by the object’s `tableHashes` field.""" + tableHashes: JSONFilter + + """Filter by the object’s `createdAt` field.""" + createdAt: DatetimeFilter + + """Filter by the object’s `updatedAt` field.""" + updatedAt: DatetimeFilter + + """Checks for all expressions in this list.""" + and: [BlueprintTemplateFilter!] + + """Checks for any expressions in this list.""" + or: [BlueprintTemplateFilter!] + + """Negates the expression.""" + not: BlueprintTemplateFilter + + """Filter by the object’s `forkedFrom` relation.""" + forkedFrom: BlueprintTemplateFilter + + """A related `forkedFrom` exists.""" + forkedFromExists: Boolean + + """Filter by the object’s `blueprintTemplatesByForkedFromId` relation.""" + blueprintTemplatesByForkedFromId: BlueprintTemplateToManyBlueprintTemplateFilter + + """`blueprintTemplatesByForkedFromId` exist.""" + blueprintTemplatesByForkedFromIdExist: Boolean + + """Filter by the object’s `blueprintsByTemplateId` relation.""" + blueprintsByTemplateId: BlueprintTemplateToManyBlueprintFilter + + """`blueprintsByTemplateId` exist.""" + blueprintsByTemplateIdExist: Boolean +} + +""" +A filter to be used against many `BlueprintTemplate` object types. All fields are combined with a logical ‘and.’ +""" +input BlueprintTemplateToManyBlueprintTemplateFilter { + """Filters to entities where at least one related entity matches.""" + some: BlueprintTemplateFilter + + """Filters to entities where every related entity matches.""" + every: BlueprintTemplateFilter + + """Filters to entities where no related entity matches.""" + none: BlueprintTemplateFilter +} + +""" +A filter to be used against many `Blueprint` object types. All fields are combined with a logical ‘and.’ +""" +input BlueprintTemplateToManyBlueprintFilter { + """Filters to entities where at least one related entity matches.""" + some: BlueprintFilter + + """Filters to entities where every related entity matches.""" + every: BlueprintFilter + + """Filters to entities where no related entity matches.""" + none: BlueprintFilter +} + """ A filter to be used against many `DatabaseProvisionModule` object types. All fields are combined with a logical ‘and.’ """ @@ -15866,29 +16747,6 @@ input DatabaseProvisionModuleFilter { """A related `database` exists.""" databaseExists: Boolean - - """TRGM search on the `database_name` column.""" - trgmDatabaseName: TrgmSearchInput - - """TRGM search on the `subdomain` column.""" - trgmSubdomain: TrgmSearchInput - - """TRGM search on the `domain` column.""" - trgmDomain: TrgmSearchInput - - """TRGM search on the `status` column.""" - trgmStatus: TrgmSearchInput - - """TRGM search on the `error_message` column.""" - trgmErrorMessage: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """Methods to use when ordering `CheckConstraint`.""" @@ -15908,14 +16766,6 @@ enum CheckConstraintOrderBy { CREATED_AT_DESC UPDATED_AT_ASC UPDATED_AT_DESC - NAME_TRGM_SIMILARITY_ASC - NAME_TRGM_SIMILARITY_DESC - TYPE_TRGM_SIMILARITY_ASC - TYPE_TRGM_SIMILARITY_DESC - MODULE_TRGM_SIMILARITY_ASC - MODULE_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `Field` values.""" @@ -15944,6 +16794,7 @@ type Field { description: String smartTags: JSON isRequired: Boolean! + apiRequired: Boolean! defaultValue: String defaultValueAst: JSON isHidden: Boolean! @@ -15966,41 +16817,6 @@ type Field { """Reads a single `Table` that is related to this `Field`.""" table: Table - - """ - TRGM similarity when searching `name`. Returns null when no trgm search filter is active. - """ - nameTrgmSimilarity: Float - - """ - TRGM similarity when searching `label`. Returns null when no trgm search filter is active. - """ - labelTrgmSimilarity: Float - - """ - TRGM similarity when searching `description`. Returns null when no trgm search filter is active. - """ - descriptionTrgmSimilarity: Float - - """ - TRGM similarity when searching `defaultValue`. Returns null when no trgm search filter is active. - """ - defaultValueTrgmSimilarity: Float - - """ - TRGM similarity when searching `regexp`. Returns null when no trgm search filter is active. - """ - regexpTrgmSimilarity: Float - - """ - TRGM similarity when searching `module`. Returns null when no trgm search filter is active. - """ - moduleTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `Field` edge in the connection.""" @@ -16029,20 +16845,6 @@ enum FieldOrderBy { CREATED_AT_DESC UPDATED_AT_ASC UPDATED_AT_DESC - NAME_TRGM_SIMILARITY_ASC - NAME_TRGM_SIMILARITY_DESC - LABEL_TRGM_SIMILARITY_ASC - LABEL_TRGM_SIMILARITY_DESC - DESCRIPTION_TRGM_SIMILARITY_ASC - DESCRIPTION_TRGM_SIMILARITY_DESC - DEFAULT_VALUE_TRGM_SIMILARITY_ASC - DEFAULT_VALUE_TRGM_SIMILARITY_DESC - REGEXP_TRGM_SIMILARITY_ASC - REGEXP_TRGM_SIMILARITY_DESC - MODULE_TRGM_SIMILARITY_ASC - MODULE_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `ForeignKeyConstraint` values.""" @@ -16094,41 +16896,6 @@ type ForeignKeyConstraint { """Reads a single `Table` that is related to this `ForeignKeyConstraint`.""" table: Table - - """ - TRGM similarity when searching `name`. Returns null when no trgm search filter is active. - """ - nameTrgmSimilarity: Float - - """ - TRGM similarity when searching `description`. Returns null when no trgm search filter is active. - """ - descriptionTrgmSimilarity: Float - - """ - TRGM similarity when searching `type`. Returns null when no trgm search filter is active. - """ - typeTrgmSimilarity: Float - - """ - TRGM similarity when searching `deleteAction`. Returns null when no trgm search filter is active. - """ - deleteActionTrgmSimilarity: Float - - """ - TRGM similarity when searching `updateAction`. Returns null when no trgm search filter is active. - """ - updateActionTrgmSimilarity: Float - - """ - TRGM similarity when searching `module`. Returns null when no trgm search filter is active. - """ - moduleTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `ForeignKeyConstraint` edge in the connection.""" @@ -16157,20 +16924,6 @@ enum ForeignKeyConstraintOrderBy { CREATED_AT_DESC UPDATED_AT_ASC UPDATED_AT_DESC - NAME_TRGM_SIMILARITY_ASC - NAME_TRGM_SIMILARITY_DESC - DESCRIPTION_TRGM_SIMILARITY_ASC - DESCRIPTION_TRGM_SIMILARITY_DESC - TYPE_TRGM_SIMILARITY_ASC - TYPE_TRGM_SIMILARITY_DESC - DELETE_ACTION_TRGM_SIMILARITY_ASC - DELETE_ACTION_TRGM_SIMILARITY_DESC - UPDATE_ACTION_TRGM_SIMILARITY_ASC - UPDATE_ACTION_TRGM_SIMILARITY_DESC - MODULE_TRGM_SIMILARITY_ASC - MODULE_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `FullTextSearch` values.""" @@ -16277,26 +17030,6 @@ type Index { """Reads a single `Table` that is related to this `Index`.""" table: Table - - """ - TRGM similarity when searching `name`. Returns null when no trgm search filter is active. - """ - nameTrgmSimilarity: Float - - """ - TRGM similarity when searching `accessMethod`. Returns null when no trgm search filter is active. - """ - accessMethodTrgmSimilarity: Float - - """ - TRGM similarity when searching `module`. Returns null when no trgm search filter is active. - """ - moduleTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `Index` edge in the connection.""" @@ -16325,14 +17058,6 @@ enum IndexOrderBy { CREATED_AT_DESC UPDATED_AT_ASC UPDATED_AT_DESC - NAME_TRGM_SIMILARITY_ASC - NAME_TRGM_SIMILARITY_DESC - ACCESS_METHOD_TRGM_SIMILARITY_ASC - ACCESS_METHOD_TRGM_SIMILARITY_DESC - MODULE_TRGM_SIMILARITY_ASC - MODULE_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `Policy` values.""" @@ -16376,36 +17101,6 @@ type Policy { """Reads a single `Table` that is related to this `Policy`.""" table: Table - - """ - TRGM similarity when searching `name`. Returns null when no trgm search filter is active. - """ - nameTrgmSimilarity: Float - - """ - TRGM similarity when searching `granteeName`. Returns null when no trgm search filter is active. - """ - granteeNameTrgmSimilarity: Float - - """ - TRGM similarity when searching `privilege`. Returns null when no trgm search filter is active. - """ - privilegeTrgmSimilarity: Float - - """ - TRGM similarity when searching `policyType`. Returns null when no trgm search filter is active. - """ - policyTypeTrgmSimilarity: Float - - """ - TRGM similarity when searching `module`. Returns null when no trgm search filter is active. - """ - moduleTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `Policy` edge in the connection.""" @@ -16434,18 +17129,6 @@ enum PolicyOrderBy { CREATED_AT_DESC UPDATED_AT_ASC UPDATED_AT_DESC - NAME_TRGM_SIMILARITY_ASC - NAME_TRGM_SIMILARITY_DESC - GRANTEE_NAME_TRGM_SIMILARITY_ASC - GRANTEE_NAME_TRGM_SIMILARITY_DESC - PRIVILEGE_TRGM_SIMILARITY_ASC - PRIVILEGE_TRGM_SIMILARITY_DESC - POLICY_TYPE_TRGM_SIMILARITY_ASC - POLICY_TYPE_TRGM_SIMILARITY_DESC - MODULE_TRGM_SIMILARITY_ASC - MODULE_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `PrimaryKeyConstraint` values.""" @@ -16489,26 +17172,6 @@ type PrimaryKeyConstraint { """Reads a single `Table` that is related to this `PrimaryKeyConstraint`.""" table: Table - - """ - TRGM similarity when searching `name`. Returns null when no trgm search filter is active. - """ - nameTrgmSimilarity: Float - - """ - TRGM similarity when searching `type`. Returns null when no trgm search filter is active. - """ - typeTrgmSimilarity: Float - - """ - TRGM similarity when searching `module`. Returns null when no trgm search filter is active. - """ - moduleTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `PrimaryKeyConstraint` edge in the connection.""" @@ -16537,14 +17200,6 @@ enum PrimaryKeyConstraintOrderBy { CREATED_AT_DESC UPDATED_AT_ASC UPDATED_AT_DESC - NAME_TRGM_SIMILARITY_ASC - NAME_TRGM_SIMILARITY_DESC - TYPE_TRGM_SIMILARITY_ASC - TYPE_TRGM_SIMILARITY_DESC - MODULE_TRGM_SIMILARITY_ASC - MODULE_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `TableGrant` values.""" @@ -16580,21 +17235,6 @@ type TableGrant { """Reads a single `Table` that is related to this `TableGrant`.""" table: Table - - """ - TRGM similarity when searching `privilege`. Returns null when no trgm search filter is active. - """ - privilegeTrgmSimilarity: Float - - """ - TRGM similarity when searching `granteeName`. Returns null when no trgm search filter is active. - """ - granteeNameTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `TableGrant` edge in the connection.""" @@ -16621,12 +17261,6 @@ enum TableGrantOrderBy { CREATED_AT_DESC UPDATED_AT_ASC UPDATED_AT_DESC - PRIVILEGE_TRGM_SIMILARITY_ASC - PRIVILEGE_TRGM_SIMILARITY_DESC - GRANTEE_NAME_TRGM_SIMILARITY_ASC - GRANTEE_NAME_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `Trigger` values.""" @@ -16666,31 +17300,6 @@ type Trigger { """Reads a single `Table` that is related to this `Trigger`.""" table: Table - - """ - TRGM similarity when searching `name`. Returns null when no trgm search filter is active. - """ - nameTrgmSimilarity: Float - - """ - TRGM similarity when searching `event`. Returns null when no trgm search filter is active. - """ - eventTrgmSimilarity: Float - - """ - TRGM similarity when searching `functionName`. Returns null when no trgm search filter is active. - """ - functionNameTrgmSimilarity: Float - - """ - TRGM similarity when searching `module`. Returns null when no trgm search filter is active. - """ - moduleTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `Trigger` edge in the connection.""" @@ -16719,16 +17328,6 @@ enum TriggerOrderBy { CREATED_AT_DESC UPDATED_AT_ASC UPDATED_AT_DESC - NAME_TRGM_SIMILARITY_ASC - NAME_TRGM_SIMILARITY_DESC - EVENT_TRGM_SIMILARITY_ASC - EVENT_TRGM_SIMILARITY_DESC - FUNCTION_NAME_TRGM_SIMILARITY_ASC - FUNCTION_NAME_TRGM_SIMILARITY_DESC - MODULE_TRGM_SIMILARITY_ASC - MODULE_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `UniqueConstraint` values.""" @@ -16771,31 +17370,6 @@ type UniqueConstraint { """Reads a single `Table` that is related to this `UniqueConstraint`.""" table: Table - - """ - TRGM similarity when searching `name`. Returns null when no trgm search filter is active. - """ - nameTrgmSimilarity: Float - - """ - TRGM similarity when searching `description`. Returns null when no trgm search filter is active. - """ - descriptionTrgmSimilarity: Float - - """ - TRGM similarity when searching `type`. Returns null when no trgm search filter is active. - """ - typeTrgmSimilarity: Float - - """ - TRGM similarity when searching `module`. Returns null when no trgm search filter is active. - """ - moduleTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `UniqueConstraint` edge in the connection.""" @@ -16824,16 +17398,6 @@ enum UniqueConstraintOrderBy { CREATED_AT_DESC UPDATED_AT_ASC UPDATED_AT_DESC - NAME_TRGM_SIMILARITY_ASC - NAME_TRGM_SIMILARITY_DESC - DESCRIPTION_TRGM_SIMILARITY_ASC - DESCRIPTION_TRGM_SIMILARITY_DESC - TYPE_TRGM_SIMILARITY_ASC - TYPE_TRGM_SIMILARITY_DESC - MODULE_TRGM_SIMILARITY_ASC - MODULE_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `View` values.""" @@ -16966,31 +17530,6 @@ type View { """The method to use when ordering `ViewRule`.""" orderBy: [ViewRuleOrderBy!] = [PRIMARY_KEY_ASC] ): ViewRuleConnection! - - """ - TRGM similarity when searching `name`. Returns null when no trgm search filter is active. - """ - nameTrgmSimilarity: Float - - """ - TRGM similarity when searching `viewType`. Returns null when no trgm search filter is active. - """ - viewTypeTrgmSimilarity: Float - - """ - TRGM similarity when searching `filterType`. Returns null when no trgm search filter is active. - """ - filterTypeTrgmSimilarity: Float - - """ - TRGM similarity when searching `module`. Returns null when no trgm search filter is active. - """ - moduleTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A connection to a list of `ViewTable` values.""" @@ -17079,21 +17618,6 @@ type ViewGrant { """Reads a single `View` that is related to this `ViewGrant`.""" view: View - - """ - TRGM similarity when searching `granteeName`. Returns null when no trgm search filter is active. - """ - granteeNameTrgmSimilarity: Float - - """ - TRGM similarity when searching `privilege`. Returns null when no trgm search filter is active. - """ - privilegeTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `ViewGrant` edge in the connection.""" @@ -17122,12 +17646,6 @@ enum ViewGrantOrderBy { PRIVILEGE_DESC IS_GRANT_ASC IS_GRANT_DESC - GRANTEE_NAME_TRGM_SIMILARITY_ASC - GRANTEE_NAME_TRGM_SIMILARITY_DESC - PRIVILEGE_TRGM_SIMILARITY_ASC - PRIVILEGE_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `ViewRule` values.""" @@ -17165,26 +17683,6 @@ type ViewRule { """Reads a single `View` that is related to this `ViewRule`.""" view: View - - """ - TRGM similarity when searching `name`. Returns null when no trgm search filter is active. - """ - nameTrgmSimilarity: Float - - """ - TRGM similarity when searching `event`. Returns null when no trgm search filter is active. - """ - eventTrgmSimilarity: Float - - """ - TRGM similarity when searching `action`. Returns null when no trgm search filter is active. - """ - actionTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `ViewRule` edge in the connection.""" @@ -17209,14 +17707,6 @@ enum ViewRuleOrderBy { VIEW_ID_DESC NAME_ASC NAME_DESC - NAME_TRGM_SIMILARITY_ASC - NAME_TRGM_SIMILARITY_DESC - EVENT_TRGM_SIMILARITY_ASC - EVENT_TRGM_SIMILARITY_DESC - ACTION_TRGM_SIMILARITY_ASC - ACTION_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A `View` edge in the connection.""" @@ -17243,16 +17733,87 @@ enum ViewOrderBy { NAME_DESC TABLE_ID_ASC TABLE_ID_DESC - NAME_TRGM_SIMILARITY_ASC - NAME_TRGM_SIMILARITY_DESC - VIEW_TYPE_TRGM_SIMILARITY_ASC - VIEW_TYPE_TRGM_SIMILARITY_DESC - FILTER_TYPE_TRGM_SIMILARITY_ASC - FILTER_TYPE_TRGM_SIMILARITY_DESC - MODULE_TRGM_SIMILARITY_ASC - MODULE_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC +} + +"""A connection to a list of `EmbeddingChunk` values.""" +type EmbeddingChunkConnection { + """A list of `EmbeddingChunk` objects.""" + nodes: [EmbeddingChunk]! + + """ + A list of edges which contains the `EmbeddingChunk` and cursor to aid in pagination. + """ + edges: [EmbeddingChunkEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `EmbeddingChunk` you could get from the connection.""" + totalCount: Int! +} + +type EmbeddingChunk { + id: UUID! + databaseId: UUID! + tableId: UUID! + embeddingFieldId: UUID + chunksTableId: UUID + chunksTableName: String + contentFieldName: String! + dimensions: Int! + metric: String! + chunkSize: Int! + chunkOverlap: Int! + chunkStrategy: String! + metadataFields: JSON + enqueueChunkingJob: Boolean! + chunkingTaskName: String! + parentFkFieldId: UUID + createdAt: Datetime + updatedAt: Datetime + + """Reads a single `Table` that is related to this `EmbeddingChunk`.""" + chunksTable: Table + + """Reads a single `Database` that is related to this `EmbeddingChunk`.""" + database: Database + + """Reads a single `Field` that is related to this `EmbeddingChunk`.""" + embeddingField: Field + + """Reads a single `Field` that is related to this `EmbeddingChunk`.""" + parentFkField: Field + + """Reads a single `Table` that is related to this `EmbeddingChunk`.""" + table: Table +} + +"""A `EmbeddingChunk` edge in the connection.""" +type EmbeddingChunkEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `EmbeddingChunk` at the end of the edge.""" + node: EmbeddingChunk +} + +"""Methods to use when ordering `EmbeddingChunk`.""" +enum EmbeddingChunkOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + TABLE_ID_ASC + TABLE_ID_DESC + CHUNKS_TABLE_ID_ASC + CHUNKS_TABLE_ID_DESC + CREATED_AT_ASC + CREATED_AT_DESC + UPDATED_AT_ASC + UPDATED_AT_DESC } """A connection to a list of `TableTemplateModule` values.""" @@ -17301,21 +17862,6 @@ type TableTemplateModule { """Reads a single `Table` that is related to this `TableTemplateModule`.""" table: Table - - """ - TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. - """ - tableNameTrgmSimilarity: Float - - """ - TRGM similarity when searching `nodeType`. Returns null when no trgm search filter is active. - """ - nodeTypeTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `TableTemplateModule` edge in the connection.""" @@ -17346,12 +17892,6 @@ enum TableTemplateModuleOrderBy { OWNER_TABLE_ID_DESC NODE_TYPE_ASC NODE_TYPE_DESC - TABLE_NAME_TRGM_SIMILARITY_ASC - TABLE_NAME_TRGM_SIMILARITY_DESC - NODE_TYPE_TRGM_SIMILARITY_ASC - NODE_TYPE_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `SecureTableProvision` values.""" @@ -17409,14 +17949,14 @@ type SecureTableProvision { useRls: Boolean! """ - Configuration passed to the generator function for field creation (only used when node_type is set). Known keys include: field_name (text, default 'id') for DataId, owner_field_name (text, default 'owner_id') for DataDirectOwner/DataOwnershipInEntity, entity_field_name (text, default 'entity_id') for DataEntityMembership/DataOwnershipInEntity, include_id (boolean, default true) for most node_types, include_user_fk (boolean, default true) to add FK to users table. Defaults to '{}'. + Configuration passed to the generator function for field creation (only used when node_type is set). Known keys include: field_name (text, default 'id') for DataId, owner_field_name (text, default 'owner_id') for DataDirectOwner/DataOwnershipInEntity, entity_field_name (text, default 'entity_id') for DataEntityMembership/DataOwnershipInEntity, include_id (boolean, default true) for most node_types, include_user_fk (boolean, default true) to add FK to users table, create_index (boolean, default true) to create btree indexes on FK fields for join and cascade performance. Defaults to '{}'. """ nodeData: JSON! """ - JSON array of field definition objects to create on the target table. Each object has keys: "name" (text, required), "type" (text, required), "default" (text, optional), "is_required" (boolean, optional, defaults to false), "min" (float, optional), "max" (float, optional), "regexp" (text, optional). min/max generate CHECK constraints: for text/citext they constrain character_length, for integer/float types they constrain the value. regexp generates a CHECK (col ~ pattern) constraint for text/citext. Fields are created via metaschema.create_field() after any node_type generator runs, and their IDs are appended to out_fields. Example: [{"name":"username","type":"citext","max":256,"regexp":"^[a-z0-9_]+$"},{"name":"score","type":"integer","min":0,"max":100}]. Defaults to '[]' (no additional fields). + PostgreSQL array of jsonb field definition objects to create on the target table. Each object has keys: "name" (text, required), "type" (text, required), "default" (text, optional), "is_required" (boolean, optional, defaults to false), "min" (float, optional), "max" (float, optional), "regexp" (text, optional), "index" (boolean, optional, defaults to false — creates a btree index on the field). min/max generate CHECK constraints: for text/citext they constrain character_length, for integer/float types they constrain the value. regexp generates a CHECK (col ~ pattern) constraint for text/citext. Fields are created via metaschema.create_field() after any node_type generator runs, and their IDs are appended to out_fields. Example: ARRAY['{"name":"username","type":"citext","max":256,"regexp":"^[a-z0-9_]+$"}'::jsonb, '{"name":"score","type":"integer","min":0,"max":100}'::jsonb]. Defaults to '{}' (no additional fields). """ - fields: JSON! + fields: [JSON]! """ Database roles to grant privileges to. Supports multiple roles, e.g. ARRAY['authenticated', 'admin']. Each role receives all privileges defined in grant_privileges. Defaults to ARRAY['authenticated']. @@ -17424,9 +17964,9 @@ type SecureTableProvision { grantRoles: [String]! """ - Array of [privilege, columns] tuples defining table grants. Examples: [["select","*"],["insert","*"]] for full access, or [["update",["name","bio"]]] for column-level grants. "*" means all columns; an array means column-level grant. Defaults to '[]' (no grants). The trigger validates this is a proper jsonb array. + PostgreSQL array of jsonb [privilege, columns] tuples defining table grants. Examples: ARRAY['["select","*"]'::jsonb, '["insert","*"]'::jsonb] for full access, or ARRAY['["update",["name","bio"]]'::jsonb] for column-level grants. "*" means all columns; an array means column-level grant. Defaults to '{}' (no grants). Type safety is enforced by PostgreSQL at INSERT time. """ - grantPrivileges: JSON! + grantPrivileges: [JSON]! """ Policy generator type, e.g. 'AuthzEntityMembership', 'AuthzMembership', 'AuthzAllowAll'. NULL means no policy is created. When set, the trigger automatically enables RLS on the target table. @@ -17475,36 +18015,6 @@ type SecureTableProvision { """Reads a single `Table` that is related to this `SecureTableProvision`.""" table: Table - - """ - TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. - """ - tableNameTrgmSimilarity: Float - - """ - TRGM similarity when searching `nodeType`. Returns null when no trgm search filter is active. - """ - nodeTypeTrgmSimilarity: Float - - """ - TRGM similarity when searching `policyType`. Returns null when no trgm search filter is active. - """ - policyTypeTrgmSimilarity: Float - - """ - TRGM similarity when searching `policyRole`. Returns null when no trgm search filter is active. - """ - policyRoleTrgmSimilarity: Float - - """ - TRGM similarity when searching `policyName`. Returns null when no trgm search filter is active. - """ - policyNameTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `SecureTableProvision` edge in the connection.""" @@ -17529,18 +18039,6 @@ enum SecureTableProvisionOrderBy { TABLE_ID_DESC NODE_TYPE_ASC NODE_TYPE_DESC - TABLE_NAME_TRGM_SIMILARITY_ASC - TABLE_NAME_TRGM_SIMILARITY_DESC - NODE_TYPE_TRGM_SIMILARITY_ASC - NODE_TYPE_TRGM_SIMILARITY_DESC - POLICY_TYPE_TRGM_SIMILARITY_ASC - POLICY_TYPE_TRGM_SIMILARITY_DESC - POLICY_ROLE_TRGM_SIMILARITY_ASC - POLICY_ROLE_TRGM_SIMILARITY_DESC - POLICY_NAME_TRGM_SIMILARITY_ASC - POLICY_NAME_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `RelationProvision` values.""" @@ -17632,6 +18130,14 @@ type RelationProvision { """ isRequired: Boolean! + """ + Whether the FK field should be required at the API level even though it is nullable at the database level. Defaults to false. + When true and is_required is false, the field is created as nullable (allowing SET NULL cascade) but a @requiredInput smart tag is added so PostGraphile treats it as non-null in create/update input types. + When is_required is true, api_required is ignored (the field is already required at both levels). + Ignored for RelationManyToMany (junction FK fields are always required). + """ + apiRequired: Boolean! + """ For RelationManyToMany: an existing junction table to use. Defaults to uuid_nil(). - When uuid_nil(): the trigger creates a new junction table via secure_table_provision using junction_table_name. @@ -17669,6 +18175,28 @@ type RelationProvision { """ useCompositeKey: Boolean! + """ + Whether to create a btree index on FK fields created by this relation. Defaults to true. + PostgreSQL does not automatically index foreign key columns (only the referenced PK side is indexed). + Without indexes on FK columns, JOINs, CASCADE deletes, and RLS policy lookups perform sequential scans. + - RelationBelongsTo: creates an index on the FK field on the source table. + - RelationHasMany: creates an index on the FK field on the target table. + - RelationHasOne: skipped — the unique constraint already creates an implicit index. + - RelationManyToMany: creates indexes on both FK fields on the junction table. + Set to false only for very small tables or write-heavy tables where index maintenance cost outweighs read performance. + """ + createIndex: Boolean! + + """ + For RelationManyToMany: whether to expose the M:N shortcut fields in the GraphQL API. Defaults to true. + When true, sets @behavior +manyToMany on the junction table smart_tags so PostGraphile generates + clean M:N connection fields (e.g., event.contacts instead of event.contactEventsByEventId). + When false (or toggled off via UPDATE), the behavior tag is removed and the M:N fields disappear from GraphQL. + Toggling is supported: UPDATE expose_in_api to true/false and the smart tag is added/removed automatically. + Ignored for RelationBelongsTo/RelationHasOne/RelationHasMany. + """ + exposeInApi: Boolean! + """ For RelationManyToMany: which generator to invoke for field creation on the junction table. Forwarded to secure_table_provision as-is. The trigger does not interpret or validate this value. Examples: DataId (creates UUID primary key), DataDirectOwner (creates owner_id field), DataEntityMembership (creates entity_id field), DataOwnershipInEntity (creates both owner_id and entity_id), DataTimestamps, DataPeoplestamps, DataPublishable, DataSoftDelete. @@ -17694,9 +18222,9 @@ type RelationProvision { grantRoles: [String]! """ - For RelationManyToMany: privilege grants for the junction table. Forwarded to secure_table_provision as-is. Format: array of [privilege, columns] tuples. Examples: [["select","*"],["insert","*"]] for full access, or [["update",["name","bio"]]] for column-level grants. "*" means all columns. Defaults to select/insert/delete for all columns. Ignored for RelationBelongsTo/RelationHasOne. + For RelationManyToMany: privilege grants for the junction table. Forwarded to secure_table_provision as-is. Format: PostgreSQL array of jsonb [privilege, columns] tuples. Examples: ARRAY['["select","*"]'::jsonb, '["insert","*"]'::jsonb] for full access, or ARRAY['["update",["name","bio"]]'::jsonb] for column-level grants. "*" means all columns. Defaults to select/insert/delete for all columns. Ignored for RelationBelongsTo/RelationHasOne. """ - grantPrivileges: JSON! + grantPrivileges: [JSON]! """ For RelationManyToMany: RLS policy type for the junction table. Forwarded to secure_table_provision as-is. The trigger does not interpret or validate this value. @@ -17764,61 +18292,6 @@ type RelationProvision { """Reads a single `Table` that is related to this `RelationProvision`.""" targetTable: Table - - """ - TRGM similarity when searching `relationType`. Returns null when no trgm search filter is active. - """ - relationTypeTrgmSimilarity: Float - - """ - TRGM similarity when searching `fieldName`. Returns null when no trgm search filter is active. - """ - fieldNameTrgmSimilarity: Float - - """ - TRGM similarity when searching `deleteAction`. Returns null when no trgm search filter is active. - """ - deleteActionTrgmSimilarity: Float - - """ - TRGM similarity when searching `junctionTableName`. Returns null when no trgm search filter is active. - """ - junctionTableNameTrgmSimilarity: Float - - """ - TRGM similarity when searching `sourceFieldName`. Returns null when no trgm search filter is active. - """ - sourceFieldNameTrgmSimilarity: Float - - """ - TRGM similarity when searching `targetFieldName`. Returns null when no trgm search filter is active. - """ - targetFieldNameTrgmSimilarity: Float - - """ - TRGM similarity when searching `nodeType`. Returns null when no trgm search filter is active. - """ - nodeTypeTrgmSimilarity: Float - - """ - TRGM similarity when searching `policyType`. Returns null when no trgm search filter is active. - """ - policyTypeTrgmSimilarity: Float - - """ - TRGM similarity when searching `policyRole`. Returns null when no trgm search filter is active. - """ - policyRoleTrgmSimilarity: Float - - """ - TRGM similarity when searching `policyName`. Returns null when no trgm search filter is active. - """ - policyNameTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `RelationProvision` edge in the connection.""" @@ -17845,28 +18318,6 @@ enum RelationProvisionOrderBy { SOURCE_TABLE_ID_DESC TARGET_TABLE_ID_ASC TARGET_TABLE_ID_DESC - RELATION_TYPE_TRGM_SIMILARITY_ASC - RELATION_TYPE_TRGM_SIMILARITY_DESC - FIELD_NAME_TRGM_SIMILARITY_ASC - FIELD_NAME_TRGM_SIMILARITY_DESC - DELETE_ACTION_TRGM_SIMILARITY_ASC - DELETE_ACTION_TRGM_SIMILARITY_DESC - JUNCTION_TABLE_NAME_TRGM_SIMILARITY_ASC - JUNCTION_TABLE_NAME_TRGM_SIMILARITY_DESC - SOURCE_FIELD_NAME_TRGM_SIMILARITY_ASC - SOURCE_FIELD_NAME_TRGM_SIMILARITY_DESC - TARGET_FIELD_NAME_TRGM_SIMILARITY_ASC - TARGET_FIELD_NAME_TRGM_SIMILARITY_DESC - NODE_TYPE_TRGM_SIMILARITY_ASC - NODE_TYPE_TRGM_SIMILARITY_DESC - POLICY_TYPE_TRGM_SIMILARITY_ASC - POLICY_TYPE_TRGM_SIMILARITY_DESC - POLICY_ROLE_TRGM_SIMILARITY_ASC - POLICY_ROLE_TRGM_SIMILARITY_DESC - POLICY_NAME_TRGM_SIMILARITY_ASC - POLICY_NAME_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A `Table` edge in the connection.""" @@ -17895,20 +18346,6 @@ enum TableOrderBy { CREATED_AT_DESC UPDATED_AT_ASC UPDATED_AT_DESC - NAME_TRGM_SIMILARITY_ASC - NAME_TRGM_SIMILARITY_DESC - LABEL_TRGM_SIMILARITY_ASC - LABEL_TRGM_SIMILARITY_DESC - DESCRIPTION_TRGM_SIMILARITY_ASC - DESCRIPTION_TRGM_SIMILARITY_DESC - MODULE_TRGM_SIMILARITY_ASC - MODULE_TRGM_SIMILARITY_DESC - PLURAL_NAME_TRGM_SIMILARITY_ASC - PLURAL_NAME_TRGM_SIMILARITY_DESC - SINGULAR_NAME_TRGM_SIMILARITY_ASC - SINGULAR_NAME_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `SchemaGrant` values.""" @@ -17941,16 +18378,6 @@ type SchemaGrant { """Reads a single `Schema` that is related to this `SchemaGrant`.""" schema: Schema - - """ - TRGM similarity when searching `granteeName`. Returns null when no trgm search filter is active. - """ - granteeNameTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `SchemaGrant` edge in the connection.""" @@ -17977,10 +18404,6 @@ enum SchemaGrantOrderBy { CREATED_AT_DESC UPDATED_AT_ASC UPDATED_AT_DESC - GRANTEE_NAME_TRGM_SIMILARITY_ASC - GRANTEE_NAME_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `DefaultPrivilege` values.""" @@ -18016,26 +18439,6 @@ type DefaultPrivilege { """Reads a single `Schema` that is related to this `DefaultPrivilege`.""" schema: Schema - - """ - TRGM similarity when searching `objectType`. Returns null when no trgm search filter is active. - """ - objectTypeTrgmSimilarity: Float - - """ - TRGM similarity when searching `privilege`. Returns null when no trgm search filter is active. - """ - privilegeTrgmSimilarity: Float - - """ - TRGM similarity when searching `granteeName`. Returns null when no trgm search filter is active. - """ - granteeNameTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `DefaultPrivilege` edge in the connection.""" @@ -18066,14 +18469,68 @@ enum DefaultPrivilegeOrderBy { GRANTEE_NAME_DESC IS_GRANT_ASC IS_GRANT_DESC - OBJECT_TYPE_TRGM_SIMILARITY_ASC - OBJECT_TYPE_TRGM_SIMILARITY_DESC - PRIVILEGE_TRGM_SIMILARITY_ASC - PRIVILEGE_TRGM_SIMILARITY_DESC - GRANTEE_NAME_TRGM_SIMILARITY_ASC - GRANTEE_NAME_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC +} + +"""A connection to a list of `Enum` values.""" +type EnumConnection { + """A list of `Enum` objects.""" + nodes: [Enum]! + + """ + A list of edges which contains the `Enum` and cursor to aid in pagination. + """ + edges: [EnumEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `Enum` you could get from the connection.""" + totalCount: Int! +} + +type Enum { + id: UUID! + databaseId: UUID! + schemaId: UUID! + name: String! + label: String + description: String + values: [String]! + smartTags: JSON + category: ObjectCategory! + module: String + scope: Int + tags: [String]! + + """Reads a single `Database` that is related to this `Enum`.""" + database: Database + + """Reads a single `Schema` that is related to this `Enum`.""" + schema: Schema +} + +"""A `Enum` edge in the connection.""" +type EnumEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `Enum` at the end of the edge.""" + node: Enum +} + +"""Methods to use when ordering `Enum`.""" +enum EnumOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + SCHEMA_ID_ASC + SCHEMA_ID_DESC + NAME_ASC + NAME_DESC } """A connection to a list of `ApiSchema` values.""" @@ -18233,31 +18690,6 @@ type Api { """The method to use when ordering `Domain`.""" orderBy: [DomainOrderBy!] = [PRIMARY_KEY_ASC] ): DomainConnection! - - """ - TRGM similarity when searching `name`. Returns null when no trgm search filter is active. - """ - nameTrgmSimilarity: Float - - """ - TRGM similarity when searching `dbname`. Returns null when no trgm search filter is active. - """ - dbnameTrgmSimilarity: Float - - """ - TRGM similarity when searching `roleName`. Returns null when no trgm search filter is active. - """ - roleNameTrgmSimilarity: Float - - """ - TRGM similarity when searching `anonRole`. Returns null when no trgm search filter is active. - """ - anonRoleTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A connection to a list of `ApiModule` values.""" @@ -18301,16 +18733,6 @@ type ApiModule { """Reads a single `Database` that is related to this `ApiModule`.""" database: Database - - """ - TRGM similarity when searching `name`. Returns null when no trgm search filter is active. - """ - nameTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `ApiModule` edge in the connection.""" @@ -18335,10 +18757,6 @@ enum ApiModuleOrderBy { API_ID_DESC NAME_ASC NAME_DESC - NAME_TRGM_SIMILARITY_ASC - NAME_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """Methods to use when ordering `ApiSchema`.""" @@ -18557,26 +18975,6 @@ type Site { """The method to use when ordering `SiteTheme`.""" orderBy: [SiteThemeOrderBy!] = [PRIMARY_KEY_ASC] ): SiteThemeConnection! - - """ - TRGM similarity when searching `title`. Returns null when no trgm search filter is active. - """ - titleTrgmSimilarity: Float - - """ - TRGM similarity when searching `description`. Returns null when no trgm search filter is active. - """ - descriptionTrgmSimilarity: Float - - """ - TRGM similarity when searching `dbname`. Returns null when no trgm search filter is active. - """ - dbnameTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """ @@ -18617,26 +19015,6 @@ type App { """Reads a single `Database` that is related to this `App`.""" database: Database - - """ - TRGM similarity when searching `name`. Returns null when no trgm search filter is active. - """ - nameTrgmSimilarity: Float - - """ - TRGM similarity when searching `appStoreId`. Returns null when no trgm search filter is active. - """ - appStoreIdTrgmSimilarity: Float - - """ - TRGM similarity when searching `appIdPrefix`. Returns null when no trgm search filter is active. - """ - appIdPrefixTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """Methods to use when ordering `Domain`.""" @@ -18702,21 +19080,6 @@ type SiteMetadatum { """Reads a single `Site` that is related to this `SiteMetadatum`.""" site: Site - - """ - TRGM similarity when searching `title`. Returns null when no trgm search filter is active. - """ - titleTrgmSimilarity: Float - - """ - TRGM similarity when searching `description`. Returns null when no trgm search filter is active. - """ - descriptionTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `SiteMetadatum` edge in the connection.""" @@ -18739,12 +19102,6 @@ enum SiteMetadatumOrderBy { DATABASE_ID_DESC SITE_ID_ASC SITE_ID_DESC - TITLE_TRGM_SIMILARITY_ASC - TITLE_TRGM_SIMILARITY_DESC - DESCRIPTION_TRGM_SIMILARITY_ASC - DESCRIPTION_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `SiteModule` values.""" @@ -18788,16 +19145,6 @@ type SiteModule { """Reads a single `Site` that is related to this `SiteModule`.""" site: Site - - """ - TRGM similarity when searching `name`. Returns null when no trgm search filter is active. - """ - nameTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `SiteModule` edge in the connection.""" @@ -18820,10 +19167,6 @@ enum SiteModuleOrderBy { DATABASE_ID_DESC SITE_ID_ASC SITE_ID_DESC - NAME_TRGM_SIMILARITY_ASC - NAME_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `SiteTheme` values.""" @@ -18934,18 +19277,6 @@ enum SchemaOrderBy { CREATED_AT_DESC UPDATED_AT_ASC UPDATED_AT_DESC - NAME_TRGM_SIMILARITY_ASC - NAME_TRGM_SIMILARITY_DESC - SCHEMA_NAME_TRGM_SIMILARITY_ASC - SCHEMA_NAME_TRGM_SIMILARITY_DESC - LABEL_TRGM_SIMILARITY_ASC - LABEL_TRGM_SIMILARITY_DESC - DESCRIPTION_TRGM_SIMILARITY_ASC - DESCRIPTION_TRGM_SIMILARITY_DESC - MODULE_TRGM_SIMILARITY_ASC - MODULE_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `TriggerFunction` values.""" @@ -18977,21 +19308,6 @@ type TriggerFunction { """Reads a single `Database` that is related to this `TriggerFunction`.""" database: Database - - """ - TRGM similarity when searching `name`. Returns null when no trgm search filter is active. - """ - nameTrgmSimilarity: Float - - """ - TRGM similarity when searching `code`. Returns null when no trgm search filter is active. - """ - codeTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `TriggerFunction` edge in the connection.""" @@ -19018,12 +19334,69 @@ enum TriggerFunctionOrderBy { CREATED_AT_DESC UPDATED_AT_ASC UPDATED_AT_DESC - NAME_TRGM_SIMILARITY_ASC - NAME_TRGM_SIMILARITY_DESC - CODE_TRGM_SIMILARITY_ASC - CODE_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC +} + +"""A connection to a list of `DatabaseTransfer` values.""" +type DatabaseTransferConnection { + """A list of `DatabaseTransfer` objects.""" + nodes: [DatabaseTransfer]! + + """ + A list of edges which contains the `DatabaseTransfer` and cursor to aid in pagination. + """ + edges: [DatabaseTransferEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """ + The count of *all* `DatabaseTransfer` you could get from the connection. + """ + totalCount: Int! +} + +type DatabaseTransfer { + id: UUID! + databaseId: UUID! + targetOwnerId: UUID! + sourceApproved: Boolean! + targetApproved: Boolean! + sourceApprovedAt: Datetime + targetApprovedAt: Datetime + status: String! + initiatedBy: UUID! + notes: String + expiresAt: Datetime! + createdAt: Datetime! + updatedAt: Datetime! + completedAt: Datetime + + """Reads a single `Database` that is related to this `DatabaseTransfer`.""" + database: Database +} + +"""A `DatabaseTransfer` edge in the connection.""" +type DatabaseTransferEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `DatabaseTransfer` at the end of the edge.""" + node: DatabaseTransfer +} + +"""Methods to use when ordering `DatabaseTransfer`.""" +enum DatabaseTransferOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + TARGET_OWNER_ID_ASC + TARGET_OWNER_ID_DESC + STATUS_ASC + STATUS_DESC } """A connection to a list of `Api` values.""" @@ -19063,16 +19436,6 @@ enum ApiOrderBy { DATABASE_ID_DESC NAME_ASC NAME_DESC - NAME_TRGM_SIMILARITY_ASC - NAME_TRGM_SIMILARITY_DESC - DBNAME_TRGM_SIMILARITY_ASC - DBNAME_TRGM_SIMILARITY_DESC - ROLE_NAME_TRGM_SIMILARITY_ASC - ROLE_NAME_TRGM_SIMILARITY_DESC - ANON_ROLE_TRGM_SIMILARITY_ASC - ANON_ROLE_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `Site` values.""" @@ -19110,14 +19473,6 @@ enum SiteOrderBy { ID_DESC DATABASE_ID_ASC DATABASE_ID_DESC - TITLE_TRGM_SIMILARITY_ASC - TITLE_TRGM_SIMILARITY_DESC - DESCRIPTION_TRGM_SIMILARITY_ASC - DESCRIPTION_TRGM_SIMILARITY_DESC - DBNAME_TRGM_SIMILARITY_ASC - DBNAME_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `App` values.""" @@ -19157,14 +19512,6 @@ enum AppOrderBy { DATABASE_ID_DESC SITE_ID_ASC SITE_ID_DESC - NAME_TRGM_SIMILARITY_ASC - NAME_TRGM_SIMILARITY_DESC - APP_STORE_ID_TRGM_SIMILARITY_ASC - APP_STORE_ID_TRGM_SIMILARITY_DESC - APP_ID_PREFIX_TRGM_SIMILARITY_ASC - APP_ID_PREFIX_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `ConnectedAccountsModule` values.""" @@ -19219,16 +19566,6 @@ type ConnectedAccountsModule { Reads a single `Table` that is related to this `ConnectedAccountsModule`. """ table: Table - - """ - TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. - """ - tableNameTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `ConnectedAccountsModule` edge in the connection.""" @@ -19249,10 +19586,6 @@ enum ConnectedAccountsModuleOrderBy { ID_DESC DATABASE_ID_ASC DATABASE_ID_DESC - TABLE_NAME_TRGM_SIMILARITY_ASC - TABLE_NAME_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `CryptoAddressesModule` values.""" @@ -19308,21 +19641,6 @@ type CryptoAddressesModule { Reads a single `Table` that is related to this `CryptoAddressesModule`. """ table: Table - - """ - TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. - """ - tableNameTrgmSimilarity: Float - - """ - TRGM similarity when searching `cryptoNetwork`. Returns null when no trgm search filter is active. - """ - cryptoNetworkTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `CryptoAddressesModule` edge in the connection.""" @@ -19343,12 +19661,6 @@ enum CryptoAddressesModuleOrderBy { ID_DESC DATABASE_ID_ASC DATABASE_ID_DESC - TABLE_NAME_TRGM_SIMILARITY_ASC - TABLE_NAME_TRGM_SIMILARITY_DESC - CRYPTO_NETWORK_TRGM_SIMILARITY_ASC - CRYPTO_NETWORK_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `CryptoAuthModule` values.""" @@ -19403,41 +19715,6 @@ type CryptoAuthModule { """Reads a single `Table` that is related to this `CryptoAuthModule`.""" usersTable: Table - - """ - TRGM similarity when searching `userField`. Returns null when no trgm search filter is active. - """ - userFieldTrgmSimilarity: Float - - """ - TRGM similarity when searching `cryptoNetwork`. Returns null when no trgm search filter is active. - """ - cryptoNetworkTrgmSimilarity: Float - - """ - TRGM similarity when searching `signInRequestChallenge`. Returns null when no trgm search filter is active. - """ - signInRequestChallengeTrgmSimilarity: Float - - """ - TRGM similarity when searching `signInRecordFailure`. Returns null when no trgm search filter is active. - """ - signInRecordFailureTrgmSimilarity: Float - - """ - TRGM similarity when searching `signUpWithKey`. Returns null when no trgm search filter is active. - """ - signUpWithKeyTrgmSimilarity: Float - - """ - TRGM similarity when searching `signInWithChallenge`. Returns null when no trgm search filter is active. - """ - signInWithChallengeTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `CryptoAuthModule` edge in the connection.""" @@ -19458,20 +19735,6 @@ enum CryptoAuthModuleOrderBy { ID_DESC DATABASE_ID_ASC DATABASE_ID_DESC - USER_FIELD_TRGM_SIMILARITY_ASC - USER_FIELD_TRGM_SIMILARITY_DESC - CRYPTO_NETWORK_TRGM_SIMILARITY_ASC - CRYPTO_NETWORK_TRGM_SIMILARITY_DESC - SIGN_IN_REQUEST_CHALLENGE_TRGM_SIMILARITY_ASC - SIGN_IN_REQUEST_CHALLENGE_TRGM_SIMILARITY_DESC - SIGN_IN_RECORD_FAILURE_TRGM_SIMILARITY_ASC - SIGN_IN_RECORD_FAILURE_TRGM_SIMILARITY_DESC - SIGN_UP_WITH_KEY_TRGM_SIMILARITY_ASC - SIGN_UP_WITH_KEY_TRGM_SIMILARITY_DESC - SIGN_IN_WITH_CHALLENGE_TRGM_SIMILARITY_ASC - SIGN_IN_WITH_CHALLENGE_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `DefaultIdsModule` values.""" @@ -19578,16 +19841,6 @@ type DenormalizedTableField { Reads a single `Table` that is related to this `DenormalizedTableField`. """ table: Table - - """ - TRGM similarity when searching `funcName`. Returns null when no trgm search filter is active. - """ - funcNameTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `DenormalizedTableField` edge in the connection.""" @@ -19608,10 +19861,6 @@ enum DenormalizedTableFieldOrderBy { ID_DESC DATABASE_ID_ASC DATABASE_ID_DESC - FUNC_NAME_TRGM_SIMILARITY_ASC - FUNC_NAME_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `EmailsModule` values.""" @@ -19654,16 +19903,6 @@ type EmailsModule { """Reads a single `Table` that is related to this `EmailsModule`.""" table: Table - - """ - TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. - """ - tableNameTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `EmailsModule` edge in the connection.""" @@ -19684,10 +19923,6 @@ enum EmailsModuleOrderBy { ID_DESC DATABASE_ID_ASC DATABASE_ID_DESC - TABLE_NAME_TRGM_SIMILARITY_ASC - TABLE_NAME_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `EncryptedSecretsModule` values.""" @@ -19730,16 +19965,6 @@ type EncryptedSecretsModule { Reads a single `Table` that is related to this `EncryptedSecretsModule`. """ table: Table - - """ - TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. - """ - tableNameTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `EncryptedSecretsModule` edge in the connection.""" @@ -19760,10 +19985,6 @@ enum EncryptedSecretsModuleOrderBy { ID_DESC DATABASE_ID_ASC DATABASE_ID_DESC - TABLE_NAME_TRGM_SIMILARITY_ASC - TABLE_NAME_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `FieldModule` values.""" @@ -19805,16 +20026,6 @@ type FieldModule { """Reads a single `Table` that is related to this `FieldModule`.""" table: Table - - """ - TRGM similarity when searching `nodeType`. Returns null when no trgm search filter is active. - """ - nodeTypeTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `FieldModule` edge in the connection.""" @@ -19837,10 +20048,6 @@ enum FieldModuleOrderBy { DATABASE_ID_DESC NODE_TYPE_ASC NODE_TYPE_DESC - NODE_TYPE_TRGM_SIMILARITY_ASC - NODE_TYPE_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `InvitesModule` values.""" @@ -19899,31 +20106,6 @@ type InvitesModule { """Reads a single `Table` that is related to this `InvitesModule`.""" usersTable: Table - - """ - TRGM similarity when searching `invitesTableName`. Returns null when no trgm search filter is active. - """ - invitesTableNameTrgmSimilarity: Float - - """ - TRGM similarity when searching `claimedInvitesTableName`. Returns null when no trgm search filter is active. - """ - claimedInvitesTableNameTrgmSimilarity: Float - - """ - TRGM similarity when searching `submitInviteCodeFunction`. Returns null when no trgm search filter is active. - """ - submitInviteCodeFunctionTrgmSimilarity: Float - - """ - TRGM similarity when searching `prefix`. Returns null when no trgm search filter is active. - """ - prefixTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `InvitesModule` edge in the connection.""" @@ -19944,16 +20126,6 @@ enum InvitesModuleOrderBy { ID_DESC DATABASE_ID_ASC DATABASE_ID_DESC - INVITES_TABLE_NAME_TRGM_SIMILARITY_ASC - INVITES_TABLE_NAME_TRGM_SIMILARITY_DESC - CLAIMED_INVITES_TABLE_NAME_TRGM_SIMILARITY_ASC - CLAIMED_INVITES_TABLE_NAME_TRGM_SIMILARITY_DESC - SUBMIT_INVITE_CODE_FUNCTION_TRGM_SIMILARITY_ASC - SUBMIT_INVITE_CODE_FUNCTION_TRGM_SIMILARITY_DESC - PREFIX_TRGM_SIMILARITY_ASC - PREFIX_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `LevelsModule` values.""" @@ -20027,86 +20199,6 @@ type LevelsModule { """Reads a single `Table` that is related to this `LevelsModule`.""" stepsTable: Table - - """ - TRGM similarity when searching `stepsTableName`. Returns null when no trgm search filter is active. - """ - stepsTableNameTrgmSimilarity: Float - - """ - TRGM similarity when searching `achievementsTableName`. Returns null when no trgm search filter is active. - """ - achievementsTableNameTrgmSimilarity: Float - - """ - TRGM similarity when searching `levelsTableName`. Returns null when no trgm search filter is active. - """ - levelsTableNameTrgmSimilarity: Float - - """ - TRGM similarity when searching `levelRequirementsTableName`. Returns null when no trgm search filter is active. - """ - levelRequirementsTableNameTrgmSimilarity: Float - - """ - TRGM similarity when searching `completedStep`. Returns null when no trgm search filter is active. - """ - completedStepTrgmSimilarity: Float - - """ - TRGM similarity when searching `incompletedStep`. Returns null when no trgm search filter is active. - """ - incompletedStepTrgmSimilarity: Float - - """ - TRGM similarity when searching `tgAchievement`. Returns null when no trgm search filter is active. - """ - tgAchievementTrgmSimilarity: Float - - """ - TRGM similarity when searching `tgAchievementToggle`. Returns null when no trgm search filter is active. - """ - tgAchievementToggleTrgmSimilarity: Float - - """ - TRGM similarity when searching `tgAchievementToggleBoolean`. Returns null when no trgm search filter is active. - """ - tgAchievementToggleBooleanTrgmSimilarity: Float - - """ - TRGM similarity when searching `tgAchievementBoolean`. Returns null when no trgm search filter is active. - """ - tgAchievementBooleanTrgmSimilarity: Float - - """ - TRGM similarity when searching `upsertAchievement`. Returns null when no trgm search filter is active. - """ - upsertAchievementTrgmSimilarity: Float - - """ - TRGM similarity when searching `tgUpdateAchievements`. Returns null when no trgm search filter is active. - """ - tgUpdateAchievementsTrgmSimilarity: Float - - """ - TRGM similarity when searching `stepsRequired`. Returns null when no trgm search filter is active. - """ - stepsRequiredTrgmSimilarity: Float - - """ - TRGM similarity when searching `levelAchieved`. Returns null when no trgm search filter is active. - """ - levelAchievedTrgmSimilarity: Float - - """ - TRGM similarity when searching `prefix`. Returns null when no trgm search filter is active. - """ - prefixTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `LevelsModule` edge in the connection.""" @@ -20127,38 +20219,6 @@ enum LevelsModuleOrderBy { ID_DESC DATABASE_ID_ASC DATABASE_ID_DESC - STEPS_TABLE_NAME_TRGM_SIMILARITY_ASC - STEPS_TABLE_NAME_TRGM_SIMILARITY_DESC - ACHIEVEMENTS_TABLE_NAME_TRGM_SIMILARITY_ASC - ACHIEVEMENTS_TABLE_NAME_TRGM_SIMILARITY_DESC - LEVELS_TABLE_NAME_TRGM_SIMILARITY_ASC - LEVELS_TABLE_NAME_TRGM_SIMILARITY_DESC - LEVEL_REQUIREMENTS_TABLE_NAME_TRGM_SIMILARITY_ASC - LEVEL_REQUIREMENTS_TABLE_NAME_TRGM_SIMILARITY_DESC - COMPLETED_STEP_TRGM_SIMILARITY_ASC - COMPLETED_STEP_TRGM_SIMILARITY_DESC - INCOMPLETED_STEP_TRGM_SIMILARITY_ASC - INCOMPLETED_STEP_TRGM_SIMILARITY_DESC - TG_ACHIEVEMENT_TRGM_SIMILARITY_ASC - TG_ACHIEVEMENT_TRGM_SIMILARITY_DESC - TG_ACHIEVEMENT_TOGGLE_TRGM_SIMILARITY_ASC - TG_ACHIEVEMENT_TOGGLE_TRGM_SIMILARITY_DESC - TG_ACHIEVEMENT_TOGGLE_BOOLEAN_TRGM_SIMILARITY_ASC - TG_ACHIEVEMENT_TOGGLE_BOOLEAN_TRGM_SIMILARITY_DESC - TG_ACHIEVEMENT_BOOLEAN_TRGM_SIMILARITY_ASC - TG_ACHIEVEMENT_BOOLEAN_TRGM_SIMILARITY_DESC - UPSERT_ACHIEVEMENT_TRGM_SIMILARITY_ASC - UPSERT_ACHIEVEMENT_TRGM_SIMILARITY_DESC - TG_UPDATE_ACHIEVEMENTS_TRGM_SIMILARITY_ASC - TG_UPDATE_ACHIEVEMENTS_TRGM_SIMILARITY_DESC - STEPS_REQUIRED_TRGM_SIMILARITY_ASC - STEPS_REQUIRED_TRGM_SIMILARITY_DESC - LEVEL_ACHIEVED_TRGM_SIMILARITY_ASC - LEVEL_ACHIEVED_TRGM_SIMILARITY_DESC - PREFIX_TRGM_SIMILARITY_ASC - PREFIX_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `LimitsModule` values.""" @@ -20218,56 +20278,6 @@ type LimitsModule { """Reads a single `Table` that is related to this `LimitsModule`.""" table: Table - - """ - TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. - """ - tableNameTrgmSimilarity: Float - - """ - TRGM similarity when searching `defaultTableName`. Returns null when no trgm search filter is active. - """ - defaultTableNameTrgmSimilarity: Float - - """ - TRGM similarity when searching `limitIncrementFunction`. Returns null when no trgm search filter is active. - """ - limitIncrementFunctionTrgmSimilarity: Float - - """ - TRGM similarity when searching `limitDecrementFunction`. Returns null when no trgm search filter is active. - """ - limitDecrementFunctionTrgmSimilarity: Float - - """ - TRGM similarity when searching `limitIncrementTrigger`. Returns null when no trgm search filter is active. - """ - limitIncrementTriggerTrgmSimilarity: Float - - """ - TRGM similarity when searching `limitDecrementTrigger`. Returns null when no trgm search filter is active. - """ - limitDecrementTriggerTrgmSimilarity: Float - - """ - TRGM similarity when searching `limitUpdateTrigger`. Returns null when no trgm search filter is active. - """ - limitUpdateTriggerTrgmSimilarity: Float - - """ - TRGM similarity when searching `limitCheckFunction`. Returns null when no trgm search filter is active. - """ - limitCheckFunctionTrgmSimilarity: Float - - """ - TRGM similarity when searching `prefix`. Returns null when no trgm search filter is active. - """ - prefixTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `LimitsModule` edge in the connection.""" @@ -20288,26 +20298,6 @@ enum LimitsModuleOrderBy { ID_DESC DATABASE_ID_ASC DATABASE_ID_DESC - TABLE_NAME_TRGM_SIMILARITY_ASC - TABLE_NAME_TRGM_SIMILARITY_DESC - DEFAULT_TABLE_NAME_TRGM_SIMILARITY_ASC - DEFAULT_TABLE_NAME_TRGM_SIMILARITY_DESC - LIMIT_INCREMENT_FUNCTION_TRGM_SIMILARITY_ASC - LIMIT_INCREMENT_FUNCTION_TRGM_SIMILARITY_DESC - LIMIT_DECREMENT_FUNCTION_TRGM_SIMILARITY_ASC - LIMIT_DECREMENT_FUNCTION_TRGM_SIMILARITY_DESC - LIMIT_INCREMENT_TRIGGER_TRGM_SIMILARITY_ASC - LIMIT_INCREMENT_TRIGGER_TRGM_SIMILARITY_DESC - LIMIT_DECREMENT_TRIGGER_TRGM_SIMILARITY_ASC - LIMIT_DECREMENT_TRIGGER_TRGM_SIMILARITY_DESC - LIMIT_UPDATE_TRIGGER_TRGM_SIMILARITY_ASC - LIMIT_UPDATE_TRIGGER_TRGM_SIMILARITY_DESC - LIMIT_CHECK_FUNCTION_TRGM_SIMILARITY_ASC - LIMIT_CHECK_FUNCTION_TRGM_SIMILARITY_DESC - PREFIX_TRGM_SIMILARITY_ASC - PREFIX_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `MembershipTypesModule` values.""" @@ -20350,16 +20340,6 @@ type MembershipTypesModule { Reads a single `Table` that is related to this `MembershipTypesModule`. """ table: Table - - """ - TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. - """ - tableNameTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `MembershipTypesModule` edge in the connection.""" @@ -20380,10 +20360,6 @@ enum MembershipTypesModuleOrderBy { ID_DESC DATABASE_ID_ASC DATABASE_ID_DESC - TABLE_NAME_TRGM_SIMILARITY_ASC - TABLE_NAME_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `MembershipsModule` values.""" @@ -20482,71 +20458,6 @@ type MembershipsModule { """Reads a single `Table` that is related to this `MembershipsModule`.""" sprtTable: Table - - """ - TRGM similarity when searching `membershipsTableName`. Returns null when no trgm search filter is active. - """ - membershipsTableNameTrgmSimilarity: Float - - """ - TRGM similarity when searching `membersTableName`. Returns null when no trgm search filter is active. - """ - membersTableNameTrgmSimilarity: Float - - """ - TRGM similarity when searching `membershipDefaultsTableName`. Returns null when no trgm search filter is active. - """ - membershipDefaultsTableNameTrgmSimilarity: Float - - """ - TRGM similarity when searching `grantsTableName`. Returns null when no trgm search filter is active. - """ - grantsTableNameTrgmSimilarity: Float - - """ - TRGM similarity when searching `adminGrantsTableName`. Returns null when no trgm search filter is active. - """ - adminGrantsTableNameTrgmSimilarity: Float - - """ - TRGM similarity when searching `ownerGrantsTableName`. Returns null when no trgm search filter is active. - """ - ownerGrantsTableNameTrgmSimilarity: Float - - """ - TRGM similarity when searching `prefix`. Returns null when no trgm search filter is active. - """ - prefixTrgmSimilarity: Float - - """ - TRGM similarity when searching `actorMaskCheck`. Returns null when no trgm search filter is active. - """ - actorMaskCheckTrgmSimilarity: Float - - """ - TRGM similarity when searching `actorPermCheck`. Returns null when no trgm search filter is active. - """ - actorPermCheckTrgmSimilarity: Float - - """ - TRGM similarity when searching `entityIdsByMask`. Returns null when no trgm search filter is active. - """ - entityIdsByMaskTrgmSimilarity: Float - - """ - TRGM similarity when searching `entityIdsByPerm`. Returns null when no trgm search filter is active. - """ - entityIdsByPermTrgmSimilarity: Float - - """ - TRGM similarity when searching `entityIdsFunction`. Returns null when no trgm search filter is active. - """ - entityIdsFunctionTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `MembershipsModule` edge in the connection.""" @@ -20567,32 +20478,6 @@ enum MembershipsModuleOrderBy { ID_DESC DATABASE_ID_ASC DATABASE_ID_DESC - MEMBERSHIPS_TABLE_NAME_TRGM_SIMILARITY_ASC - MEMBERSHIPS_TABLE_NAME_TRGM_SIMILARITY_DESC - MEMBERS_TABLE_NAME_TRGM_SIMILARITY_ASC - MEMBERS_TABLE_NAME_TRGM_SIMILARITY_DESC - MEMBERSHIP_DEFAULTS_TABLE_NAME_TRGM_SIMILARITY_ASC - MEMBERSHIP_DEFAULTS_TABLE_NAME_TRGM_SIMILARITY_DESC - GRANTS_TABLE_NAME_TRGM_SIMILARITY_ASC - GRANTS_TABLE_NAME_TRGM_SIMILARITY_DESC - ADMIN_GRANTS_TABLE_NAME_TRGM_SIMILARITY_ASC - ADMIN_GRANTS_TABLE_NAME_TRGM_SIMILARITY_DESC - OWNER_GRANTS_TABLE_NAME_TRGM_SIMILARITY_ASC - OWNER_GRANTS_TABLE_NAME_TRGM_SIMILARITY_DESC - PREFIX_TRGM_SIMILARITY_ASC - PREFIX_TRGM_SIMILARITY_DESC - ACTOR_MASK_CHECK_TRGM_SIMILARITY_ASC - ACTOR_MASK_CHECK_TRGM_SIMILARITY_DESC - ACTOR_PERM_CHECK_TRGM_SIMILARITY_ASC - ACTOR_PERM_CHECK_TRGM_SIMILARITY_DESC - ENTITY_IDS_BY_MASK_TRGM_SIMILARITY_ASC - ENTITY_IDS_BY_MASK_TRGM_SIMILARITY_DESC - ENTITY_IDS_BY_PERM_TRGM_SIMILARITY_ASC - ENTITY_IDS_BY_PERM_TRGM_SIMILARITY_DESC - ENTITY_IDS_FUNCTION_TRGM_SIMILARITY_ASC - ENTITY_IDS_FUNCTION_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `PermissionsModule` values.""" @@ -20653,46 +20538,6 @@ type PermissionsModule { """Reads a single `Table` that is related to this `PermissionsModule`.""" table: Table - - """ - TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. - """ - tableNameTrgmSimilarity: Float - - """ - TRGM similarity when searching `defaultTableName`. Returns null when no trgm search filter is active. - """ - defaultTableNameTrgmSimilarity: Float - - """ - TRGM similarity when searching `prefix`. Returns null when no trgm search filter is active. - """ - prefixTrgmSimilarity: Float - - """ - TRGM similarity when searching `getPaddedMask`. Returns null when no trgm search filter is active. - """ - getPaddedMaskTrgmSimilarity: Float - - """ - TRGM similarity when searching `getMask`. Returns null when no trgm search filter is active. - """ - getMaskTrgmSimilarity: Float - - """ - TRGM similarity when searching `getByMask`. Returns null when no trgm search filter is active. - """ - getByMaskTrgmSimilarity: Float - - """ - TRGM similarity when searching `getMaskByName`. Returns null when no trgm search filter is active. - """ - getMaskByNameTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `PermissionsModule` edge in the connection.""" @@ -20713,22 +20558,6 @@ enum PermissionsModuleOrderBy { ID_DESC DATABASE_ID_ASC DATABASE_ID_DESC - TABLE_NAME_TRGM_SIMILARITY_ASC - TABLE_NAME_TRGM_SIMILARITY_DESC - DEFAULT_TABLE_NAME_TRGM_SIMILARITY_ASC - DEFAULT_TABLE_NAME_TRGM_SIMILARITY_DESC - PREFIX_TRGM_SIMILARITY_ASC - PREFIX_TRGM_SIMILARITY_DESC - GET_PADDED_MASK_TRGM_SIMILARITY_ASC - GET_PADDED_MASK_TRGM_SIMILARITY_DESC - GET_MASK_TRGM_SIMILARITY_ASC - GET_MASK_TRGM_SIMILARITY_DESC - GET_BY_MASK_TRGM_SIMILARITY_ASC - GET_BY_MASK_TRGM_SIMILARITY_DESC - GET_MASK_BY_NAME_TRGM_SIMILARITY_ASC - GET_MASK_BY_NAME_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `PhoneNumbersModule` values.""" @@ -20775,16 +20604,6 @@ type PhoneNumbersModule { """Reads a single `Table` that is related to this `PhoneNumbersModule`.""" table: Table - - """ - TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. - """ - tableNameTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `PhoneNumbersModule` edge in the connection.""" @@ -20805,10 +20624,6 @@ enum PhoneNumbersModuleOrderBy { ID_DESC DATABASE_ID_ASC DATABASE_ID_DESC - TABLE_NAME_TRGM_SIMILARITY_ASC - TABLE_NAME_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `ProfilesModule` values.""" @@ -20880,36 +20695,6 @@ type ProfilesModule { """Reads a single `Table` that is related to this `ProfilesModule`.""" table: Table - - """ - TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. - """ - tableNameTrgmSimilarity: Float - - """ - TRGM similarity when searching `profilePermissionsTableName`. Returns null when no trgm search filter is active. - """ - profilePermissionsTableNameTrgmSimilarity: Float - - """ - TRGM similarity when searching `profileGrantsTableName`. Returns null when no trgm search filter is active. - """ - profileGrantsTableNameTrgmSimilarity: Float - - """ - TRGM similarity when searching `profileDefinitionGrantsTableName`. Returns null when no trgm search filter is active. - """ - profileDefinitionGrantsTableNameTrgmSimilarity: Float - - """ - TRGM similarity when searching `prefix`. Returns null when no trgm search filter is active. - """ - prefixTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `ProfilesModule` edge in the connection.""" @@ -20932,18 +20717,6 @@ enum ProfilesModuleOrderBy { DATABASE_ID_DESC MEMBERSHIP_TYPE_ASC MEMBERSHIP_TYPE_DESC - TABLE_NAME_TRGM_SIMILARITY_ASC - TABLE_NAME_TRGM_SIMILARITY_DESC - PROFILE_PERMISSIONS_TABLE_NAME_TRGM_SIMILARITY_ASC - PROFILE_PERMISSIONS_TABLE_NAME_TRGM_SIMILARITY_DESC - PROFILE_GRANTS_TABLE_NAME_TRGM_SIMILARITY_ASC - PROFILE_GRANTS_TABLE_NAME_TRGM_SIMILARITY_DESC - PROFILE_DEFINITION_GRANTS_TABLE_NAME_TRGM_SIMILARITY_ASC - PROFILE_DEFINITION_GRANTS_TABLE_NAME_TRGM_SIMILARITY_DESC - PREFIX_TRGM_SIMILARITY_ASC - PREFIX_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } type RlsModule { @@ -20976,31 +20749,6 @@ type RlsModule { """Reads a single `Table` that is related to this `RlsModule`.""" usersTable: Table - - """ - TRGM similarity when searching `authenticate`. Returns null when no trgm search filter is active. - """ - authenticateTrgmSimilarity: Float - - """ - TRGM similarity when searching `authenticateStrict`. Returns null when no trgm search filter is active. - """ - authenticateStrictTrgmSimilarity: Float - - """ - TRGM similarity when searching `currentRole`. Returns null when no trgm search filter is active. - """ - currentRoleTrgmSimilarity: Float - - """ - TRGM similarity when searching `currentRoleId`. Returns null when no trgm search filter is active. - """ - currentRoleIdTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A connection to a list of `SecretsModule` values.""" @@ -21035,16 +20783,6 @@ type SecretsModule { """Reads a single `Table` that is related to this `SecretsModule`.""" table: Table - - """ - TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. - """ - tableNameTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `SecretsModule` edge in the connection.""" @@ -21065,10 +20803,6 @@ enum SecretsModuleOrderBy { ID_DESC DATABASE_ID_ASC DATABASE_ID_DESC - TABLE_NAME_TRGM_SIMILARITY_ASC - TABLE_NAME_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `SessionsModule` values.""" @@ -21118,26 +20852,6 @@ type SessionsModule { """Reads a single `Table` that is related to this `SessionsModule`.""" usersTable: Table - - """ - TRGM similarity when searching `sessionsTable`. Returns null when no trgm search filter is active. - """ - sessionsTableTrgmSimilarity: Float - - """ - TRGM similarity when searching `sessionCredentialsTable`. Returns null when no trgm search filter is active. - """ - sessionCredentialsTableTrgmSimilarity: Float - - """ - TRGM similarity when searching `authSettingsTable`. Returns null when no trgm search filter is active. - """ - authSettingsTableTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """ @@ -21185,14 +20899,6 @@ enum SessionsModuleOrderBy { ID_DESC DATABASE_ID_ASC DATABASE_ID_DESC - SESSIONS_TABLE_TRGM_SIMILARITY_ASC - SESSIONS_TABLE_TRGM_SIMILARITY_DESC - SESSION_CREDENTIALS_TABLE_TRGM_SIMILARITY_ASC - SESSION_CREDENTIALS_TABLE_TRGM_SIMILARITY_DESC - AUTH_SETTINGS_TABLE_TRGM_SIMILARITY_ASC - AUTH_SETTINGS_TABLE_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `UserAuthModule` values.""" @@ -21263,91 +20969,6 @@ type UserAuthModule { """Reads a single `Table` that is related to this `UserAuthModule`.""" usersTable: Table - - """ - TRGM similarity when searching `auditsTableName`. Returns null when no trgm search filter is active. - """ - auditsTableNameTrgmSimilarity: Float - - """ - TRGM similarity when searching `signInFunction`. Returns null when no trgm search filter is active. - """ - signInFunctionTrgmSimilarity: Float - - """ - TRGM similarity when searching `signUpFunction`. Returns null when no trgm search filter is active. - """ - signUpFunctionTrgmSimilarity: Float - - """ - TRGM similarity when searching `signOutFunction`. Returns null when no trgm search filter is active. - """ - signOutFunctionTrgmSimilarity: Float - - """ - TRGM similarity when searching `setPasswordFunction`. Returns null when no trgm search filter is active. - """ - setPasswordFunctionTrgmSimilarity: Float - - """ - TRGM similarity when searching `resetPasswordFunction`. Returns null when no trgm search filter is active. - """ - resetPasswordFunctionTrgmSimilarity: Float - - """ - TRGM similarity when searching `forgotPasswordFunction`. Returns null when no trgm search filter is active. - """ - forgotPasswordFunctionTrgmSimilarity: Float - - """ - TRGM similarity when searching `sendVerificationEmailFunction`. Returns null when no trgm search filter is active. - """ - sendVerificationEmailFunctionTrgmSimilarity: Float - - """ - TRGM similarity when searching `verifyEmailFunction`. Returns null when no trgm search filter is active. - """ - verifyEmailFunctionTrgmSimilarity: Float - - """ - TRGM similarity when searching `verifyPasswordFunction`. Returns null when no trgm search filter is active. - """ - verifyPasswordFunctionTrgmSimilarity: Float - - """ - TRGM similarity when searching `checkPasswordFunction`. Returns null when no trgm search filter is active. - """ - checkPasswordFunctionTrgmSimilarity: Float - - """ - TRGM similarity when searching `sendAccountDeletionEmailFunction`. Returns null when no trgm search filter is active. - """ - sendAccountDeletionEmailFunctionTrgmSimilarity: Float - - """ - TRGM similarity when searching `deleteAccountFunction`. Returns null when no trgm search filter is active. - """ - deleteAccountFunctionTrgmSimilarity: Float - - """ - TRGM similarity when searching `signInOneTimeTokenFunction`. Returns null when no trgm search filter is active. - """ - signInOneTimeTokenFunctionTrgmSimilarity: Float - - """ - TRGM similarity when searching `oneTimeTokenFunction`. Returns null when no trgm search filter is active. - """ - oneTimeTokenFunctionTrgmSimilarity: Float - - """ - TRGM similarity when searching `extendTokenExpires`. Returns null when no trgm search filter is active. - """ - extendTokenExpiresTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `UserAuthModule` edge in the connection.""" @@ -21368,40 +20989,6 @@ enum UserAuthModuleOrderBy { ID_DESC DATABASE_ID_ASC DATABASE_ID_DESC - AUDITS_TABLE_NAME_TRGM_SIMILARITY_ASC - AUDITS_TABLE_NAME_TRGM_SIMILARITY_DESC - SIGN_IN_FUNCTION_TRGM_SIMILARITY_ASC - SIGN_IN_FUNCTION_TRGM_SIMILARITY_DESC - SIGN_UP_FUNCTION_TRGM_SIMILARITY_ASC - SIGN_UP_FUNCTION_TRGM_SIMILARITY_DESC - SIGN_OUT_FUNCTION_TRGM_SIMILARITY_ASC - SIGN_OUT_FUNCTION_TRGM_SIMILARITY_DESC - SET_PASSWORD_FUNCTION_TRGM_SIMILARITY_ASC - SET_PASSWORD_FUNCTION_TRGM_SIMILARITY_DESC - RESET_PASSWORD_FUNCTION_TRGM_SIMILARITY_ASC - RESET_PASSWORD_FUNCTION_TRGM_SIMILARITY_DESC - FORGOT_PASSWORD_FUNCTION_TRGM_SIMILARITY_ASC - FORGOT_PASSWORD_FUNCTION_TRGM_SIMILARITY_DESC - SEND_VERIFICATION_EMAIL_FUNCTION_TRGM_SIMILARITY_ASC - SEND_VERIFICATION_EMAIL_FUNCTION_TRGM_SIMILARITY_DESC - VERIFY_EMAIL_FUNCTION_TRGM_SIMILARITY_ASC - VERIFY_EMAIL_FUNCTION_TRGM_SIMILARITY_DESC - VERIFY_PASSWORD_FUNCTION_TRGM_SIMILARITY_ASC - VERIFY_PASSWORD_FUNCTION_TRGM_SIMILARITY_DESC - CHECK_PASSWORD_FUNCTION_TRGM_SIMILARITY_ASC - CHECK_PASSWORD_FUNCTION_TRGM_SIMILARITY_DESC - SEND_ACCOUNT_DELETION_EMAIL_FUNCTION_TRGM_SIMILARITY_ASC - SEND_ACCOUNT_DELETION_EMAIL_FUNCTION_TRGM_SIMILARITY_DESC - DELETE_ACCOUNT_FUNCTION_TRGM_SIMILARITY_ASC - DELETE_ACCOUNT_FUNCTION_TRGM_SIMILARITY_DESC - SIGN_IN_ONE_TIME_TOKEN_FUNCTION_TRGM_SIMILARITY_ASC - SIGN_IN_ONE_TIME_TOKEN_FUNCTION_TRGM_SIMILARITY_DESC - ONE_TIME_TOKEN_FUNCTION_TRGM_SIMILARITY_ASC - ONE_TIME_TOKEN_FUNCTION_TRGM_SIMILARITY_DESC - EXTEND_TOKEN_EXPIRES_TRGM_SIMILARITY_ASC - EXTEND_TOKEN_EXPIRES_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `UsersModule` values.""" @@ -21441,21 +21028,6 @@ type UsersModule { """Reads a single `Table` that is related to this `UsersModule`.""" typeTable: Table - - """ - TRGM similarity when searching `tableName`. Returns null when no trgm search filter is active. - """ - tableNameTrgmSimilarity: Float - - """ - TRGM similarity when searching `typeTableName`. Returns null when no trgm search filter is active. - """ - typeTableNameTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `UsersModule` edge in the connection.""" @@ -21476,84 +21048,6 @@ enum UsersModuleOrderBy { ID_DESC DATABASE_ID_ASC DATABASE_ID_DESC - TABLE_NAME_TRGM_SIMILARITY_ASC - TABLE_NAME_TRGM_SIMILARITY_DESC - TYPE_TABLE_NAME_TRGM_SIMILARITY_ASC - TYPE_TABLE_NAME_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC -} - -"""A connection to a list of `UuidModule` values.""" -type UuidModuleConnection { - """A list of `UuidModule` objects.""" - nodes: [UuidModule]! - - """ - A list of edges which contains the `UuidModule` and cursor to aid in pagination. - """ - edges: [UuidModuleEdge]! - - """Information to aid in pagination.""" - pageInfo: PageInfo! - - """The count of *all* `UuidModule` you could get from the connection.""" - totalCount: Int! -} - -type UuidModule { - id: UUID! - databaseId: UUID! - schemaId: UUID! - uuidFunction: String! - uuidSeed: String! - - """Reads a single `Database` that is related to this `UuidModule`.""" - database: Database - - """Reads a single `Schema` that is related to this `UuidModule`.""" - schema: Schema - - """ - TRGM similarity when searching `uuidFunction`. Returns null when no trgm search filter is active. - """ - uuidFunctionTrgmSimilarity: Float - - """ - TRGM similarity when searching `uuidSeed`. Returns null when no trgm search filter is active. - """ - uuidSeedTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float -} - -"""A `UuidModule` edge in the connection.""" -type UuidModuleEdge { - """A cursor for use in pagination.""" - cursor: Cursor - - """The `UuidModule` at the end of the edge.""" - node: UuidModule -} - -"""Methods to use when ordering `UuidModule`.""" -enum UuidModuleOrderBy { - NATURAL - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC - ID_ASC - ID_DESC - DATABASE_ID_ASC - DATABASE_ID_DESC - UUID_FUNCTION_TRGM_SIMILARITY_ASC - UUID_FUNCTION_TRGM_SIMILARITY_DESC - UUID_SEED_TRGM_SIMILARITY_ASC - UUID_SEED_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } type HierarchyModule { @@ -21601,61 +21095,340 @@ type HierarchyModule { """Reads a single `Table` that is related to this `HierarchyModule`.""" usersTable: Table +} + +"""A connection to a list of `Blueprint` values.""" +type BlueprintConnection { + """A list of `Blueprint` objects.""" + nodes: [Blueprint]! """ - TRGM similarity when searching `chartEdgesTableName`. Returns null when no trgm search filter is active. + A list of edges which contains the `Blueprint` and cursor to aid in pagination. """ - chartEdgesTableNameTrgmSimilarity: Float + edges: [BlueprintEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `Blueprint` you could get from the connection.""" + totalCount: Int! +} + +""" +An owned, executable blueprint scoped to a specific database. Created by copying from a blueprint_template via copy_template_to_blueprint() or built from scratch. The owner can customize the definition before executing it with construct_blueprint(). Each blueprint tracks its execution status (draft/constructed/failed) and stores the ref_map of created table IDs after construction. +""" +type Blueprint { + """Unique identifier for this blueprint.""" + id: UUID! + + """The user who owns this blueprint.""" + ownerId: UUID! """ - TRGM similarity when searching `hierarchySprtTableName`. Returns null when no trgm search filter is active. + The database this blueprint is scoped to. Tables created by construct_blueprint() are provisioned in this database. """ - hierarchySprtTableNameTrgmSimilarity: Float + databaseId: UUID! + + """Machine-readable name for the blueprint. Must be unique per database.""" + name: String! + + """Human-readable display name for the blueprint.""" + displayName: String! + + """Optional description of the blueprint.""" + description: String """ - TRGM similarity when searching `chartEdgeGrantsTableName`. Returns null when no trgm search filter is active. + The blueprint definition as a JSONB document. Same format as blueprint_template.definition: contains tables[] (with nodes[], fields[], grants[], policies[] using $type) and relations[] (using $type). This is a mutable copy that the owner can customize before executing. """ - chartEdgeGrantsTableNameTrgmSimilarity: Float + definition: JSON! """ - TRGM similarity when searching `prefix`. Returns null when no trgm search filter is active. + If this blueprint was created by copying a template, the ID of the source template. NULL if built from scratch. """ - prefixTrgmSimilarity: Float + templateId: UUID """ - TRGM similarity when searching `privateSchemaName`. Returns null when no trgm search filter is active. + Execution state of the blueprint. draft: not yet executed (definition can still be modified). constructed: successfully executed via construct_blueprint(). failed: execution failed (see error_details). Defaults to draft. """ - privateSchemaNameTrgmSimilarity: Float + status: String! """ - TRGM similarity when searching `sprtTableName`. Returns null when no trgm search filter is active. + Timestamp when construct_blueprint() successfully completed. NULL until constructed. """ - sprtTableNameTrgmSimilarity: Float + constructedAt: Datetime """ - TRGM similarity when searching `rebuildHierarchyFunction`. Returns null when no trgm search filter is active. + Error message from the most recent failed construct_blueprint() attempt. NULL unless status is failed. """ - rebuildHierarchyFunctionTrgmSimilarity: Float + errorDetails: String """ - TRGM similarity when searching `getSubordinatesFunction`. Returns null when no trgm search filter is active. + Mapping of ref names to created table UUIDs, populated by construct_blueprint() after successful execution. Format: {"products": "uuid", "categories": "uuid", ...}. Defaults to empty object. """ - getSubordinatesFunctionTrgmSimilarity: Float + refMap: JSON! """ - TRGM similarity when searching `getManagersFunction`. Returns null when no trgm search filter is active. + Immutable snapshot of the definition at construct-time. Preserved so the exact definition that was executed is recorded even if the user later modifies the definition for re-execution. NULL until constructed. """ - getManagersFunctionTrgmSimilarity: Float + constructedDefinition: JSON """ - TRGM similarity when searching `isManagerOfFunction`. Returns null when no trgm search filter is active. + UUIDv5 Merkle root hash of the definition. Computed automatically via trigger from the ordered table_hashes. Used for content-addressable deduplication and provenance tracking. Backend-computed — clients should never set this directly. """ - isManagerOfFunctionTrgmSimilarity: Float + definitionHash: UUID """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. + JSONB map of table ref names to their individual UUIDv5 content hashes. Each table hash is computed from the canonical jsonb::text of the table entry. Enables structural comparison at the table level across blueprints and templates. Backend-computed via trigger. """ - searchScore: Float + tableHashes: JSON + + """Timestamp when this blueprint was created.""" + createdAt: Datetime! + + """Timestamp when this blueprint was last modified.""" + updatedAt: Datetime! + + """Reads a single `Database` that is related to this `Blueprint`.""" + database: Database + + """ + Reads a single `BlueprintTemplate` that is related to this `Blueprint`. + """ + template: BlueprintTemplate +} + +""" +A shareable, versioned schema recipe for the blueprint marketplace. Templates define arrays of secure_table_provision + relation_provision inputs that together describe a complete domain schema (e.g. e-commerce, telemedicine, habit tracker). Templates are never executed directly — they are copied into a blueprint first via copy_template_to_blueprint(). Can be private (owner-only) or public (marketplace-visible). +""" +type BlueprintTemplate { + """Unique identifier for this template.""" + id: UUID! + + """ + Machine-readable name for the template (e.g. e_commerce_basic). Must be unique per owner + version. + """ + name: String! + + """Semantic version string. Defaults to 1.0.0.""" + version: String! + + """Human-readable display name for the template (e.g. E-Commerce Basic).""" + displayName: String! + + """Optional description of what the template provisions.""" + description: String + + """The user who created or published this template.""" + ownerId: UUID! + + """ + Access control for the template. private: only the owner can see and copy. public: anyone can browse and copy from the marketplace. Defaults to private. + """ + visibility: String! + + """ + Domain categories for marketplace browsing (e.g. e-commerce, healthcare, social). Defaults to empty array. + """ + categories: [String]! + + """ + Freeform tags for search and discovery (e.g. products, orders, payments). Defaults to empty array. + """ + tags: [String]! + + """ + The blueprint definition as a JSONB document. Contains tables[] (each with nodes[] for data behaviors via string shorthand or {"$type": "...", "data": {...}} objects, fields[], grants[], and policies[] using {"$type": "...", "data": {...}}), and relations[] (using $type for relation_type with junction config in data). This is the core payload that gets copied into a blueprint for execution. + """ + definition: JSON! + + """ + Version of the definition format schema. Used for forward-compatible parsing. Defaults to 1. + """ + definitionSchemaVersion: String! + + """ + Provenance of the template. user: manually created by a human. system: official curated template from the Constructive team. agent: AI-generated. Defaults to user. + """ + source: String! + + """ + Complexity indicator for marketplace filtering. simple: 3-5 tables. moderate: 6-12 tables. complex: 13+ tables. NULL if not categorized. + """ + complexity: String + + """ + Denormalized count of how many blueprints have been created from this template via copy_template_to_blueprint(). Incremented automatically. Defaults to 0. + """ + copyCount: Int! + + """ + Denormalized count of how many derivative templates have been forked from this template. Defaults to 0. + """ + forkCount: Int! + + """ + If this template was forked from another template, the ID of the parent. NULL for original templates. + """ + forkedFromId: UUID + + """ + UUIDv5 Merkle root hash of the definition. Computed automatically via trigger from the ordered table_hashes. Used for content-addressable deduplication, provenance tracking, and cross-blueprint structural comparison. NULL columns are backend-computed — clients should never set this directly. + """ + definitionHash: UUID + + """ + JSONB map of table ref names to their individual UUIDv5 content hashes (e.g. {"products": "uuid", "categories": "uuid"}). Each table hash is computed from the canonical jsonb::text of the table entry. Enables structural comparison at the table level across different blueprints. Backend-computed via trigger. + """ + tableHashes: JSON + + """Timestamp when this template was created.""" + createdAt: Datetime! + + """Timestamp when this template was last modified.""" + updatedAt: Datetime! + + """ + Reads a single `BlueprintTemplate` that is related to this `BlueprintTemplate`. + """ + forkedFrom: BlueprintTemplate + + """Reads and enables pagination through a set of `BlueprintTemplate`.""" + blueprintTemplatesByForkedFromId( + """Only read the first `n` values of the set.""" + first: Int + + """Only read the last `n` values of the set.""" + last: Int + + """ + Skip the first `n` values from our `after` cursor, an alternative to cursor + based pagination. May not be used with `last`. + """ + offset: Int + + """Read all values in the set before (above) this cursor.""" + before: Cursor + + """Read all values in the set after (below) this cursor.""" + after: Cursor + + """ + A filter to be used in determining which values should be returned by the collection. + """ + where: BlueprintTemplateFilter + + """The method to use when ordering `BlueprintTemplate`.""" + orderBy: [BlueprintTemplateOrderBy!] = [PRIMARY_KEY_ASC] + ): BlueprintTemplateConnection! + + """Reads and enables pagination through a set of `Blueprint`.""" + blueprintsByTemplateId( + """Only read the first `n` values of the set.""" + first: Int + + """Only read the last `n` values of the set.""" + last: Int + + """ + Skip the first `n` values from our `after` cursor, an alternative to cursor + based pagination. May not be used with `last`. + """ + offset: Int + + """Read all values in the set before (above) this cursor.""" + before: Cursor + + """Read all values in the set after (below) this cursor.""" + after: Cursor + + """ + A filter to be used in determining which values should be returned by the collection. + """ + where: BlueprintFilter + + """The method to use when ordering `Blueprint`.""" + orderBy: [BlueprintOrderBy!] = [PRIMARY_KEY_ASC] + ): BlueprintConnection! +} + +"""A connection to a list of `BlueprintTemplate` values.""" +type BlueprintTemplateConnection { + """A list of `BlueprintTemplate` objects.""" + nodes: [BlueprintTemplate]! + + """ + A list of edges which contains the `BlueprintTemplate` and cursor to aid in pagination. + """ + edges: [BlueprintTemplateEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """ + The count of *all* `BlueprintTemplate` you could get from the connection. + """ + totalCount: Int! +} + +"""A `BlueprintTemplate` edge in the connection.""" +type BlueprintTemplateEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `BlueprintTemplate` at the end of the edge.""" + node: BlueprintTemplate +} + +"""Methods to use when ordering `BlueprintTemplate`.""" +enum BlueprintTemplateOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + NAME_ASC + NAME_DESC + VERSION_ASC + VERSION_DESC + OWNER_ID_ASC + OWNER_ID_DESC + VISIBILITY_ASC + VISIBILITY_DESC + FORKED_FROM_ID_ASC + FORKED_FROM_ID_DESC + DEFINITION_HASH_ASC + DEFINITION_HASH_DESC +} + +"""Methods to use when ordering `Blueprint`.""" +enum BlueprintOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + OWNER_ID_ASC + OWNER_ID_DESC + DATABASE_ID_ASC + DATABASE_ID_DESC + NAME_ASC + NAME_DESC + TEMPLATE_ID_ASC + TEMPLATE_ID_DESC + STATUS_ASC + STATUS_DESC + DEFINITION_HASH_ASC + DEFINITION_HASH_DESC +} + +"""A `Blueprint` edge in the connection.""" +type BlueprintEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `Blueprint` at the end of the edge.""" + node: Blueprint } """A connection to a list of `DatabaseProvisionModule` values.""" @@ -21722,36 +21495,6 @@ type DatabaseProvisionModule { Reads a single `Database` that is related to this `DatabaseProvisionModule`. """ database: Database - - """ - TRGM similarity when searching `databaseName`. Returns null when no trgm search filter is active. - """ - databaseNameTrgmSimilarity: Float - - """ - TRGM similarity when searching `subdomain`. Returns null when no trgm search filter is active. - """ - subdomainTrgmSimilarity: Float - - """ - TRGM similarity when searching `domain`. Returns null when no trgm search filter is active. - """ - domainTrgmSimilarity: Float - - """ - TRGM similarity when searching `status`. Returns null when no trgm search filter is active. - """ - statusTrgmSimilarity: Float - - """ - TRGM similarity when searching `errorMessage`. Returns null when no trgm search filter is active. - """ - errorMessageTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `DatabaseProvisionModule` edge in the connection.""" @@ -21776,18 +21519,6 @@ enum DatabaseProvisionModuleOrderBy { STATUS_DESC DATABASE_ID_ASC DATABASE_ID_DESC - DATABASE_NAME_TRGM_SIMILARITY_ASC - DATABASE_NAME_TRGM_SIMILARITY_DESC - SUBDOMAIN_TRGM_SIMILARITY_ASC - SUBDOMAIN_TRGM_SIMILARITY_DESC - DOMAIN_TRGM_SIMILARITY_ASC - DOMAIN_TRGM_SIMILARITY_DESC - STATUS_TRGM_SIMILARITY_ASC - STATUS_TRGM_SIMILARITY_DESC - ERROR_MESSAGE_TRGM_SIMILARITY_ASC - ERROR_MESSAGE_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A `Database` edge in the connection.""" @@ -21814,14 +21545,6 @@ enum DatabaseOrderBy { CREATED_AT_DESC UPDATED_AT_ASC UPDATED_AT_DESC - SCHEMA_HASH_TRGM_SIMILARITY_ASC - SCHEMA_HASH_TRGM_SIMILARITY_DESC - NAME_TRGM_SIMILARITY_ASC - NAME_TRGM_SIMILARITY_DESC - LABEL_TRGM_SIMILARITY_ASC - LABEL_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """ @@ -21928,6 +21651,8 @@ enum AppAdminGrantOrderBy { PRIMARY_KEY_DESC ID_ASC ID_DESC + ACTOR_ID_ASC + ACTOR_ID_DESC GRANTOR_ID_ASC GRANTOR_ID_DESC CREATED_AT_ASC @@ -21989,6 +21714,8 @@ enum AppOwnerGrantOrderBy { PRIMARY_KEY_DESC ID_ASC ID_DESC + ACTOR_ID_ASC + ACTOR_ID_DESC GRANTOR_ID_ASC GRANTOR_ID_DESC CREATED_AT_ASC @@ -22055,6 +21782,8 @@ enum AppGrantOrderBy { PRIMARY_KEY_DESC ID_ASC ID_DESC + ACTOR_ID_ASC + ACTOR_ID_DESC GRANTOR_ID_ASC GRANTOR_ID_DESC CREATED_AT_ASC @@ -22322,6 +22051,8 @@ enum OrgAdminGrantOrderBy { PRIMARY_KEY_DESC ID_ASC ID_DESC + ACTOR_ID_ASC + ACTOR_ID_DESC ENTITY_ID_ASC ENTITY_ID_DESC GRANTOR_ID_ASC @@ -22391,6 +22122,8 @@ enum OrgOwnerGrantOrderBy { PRIMARY_KEY_DESC ID_ASC ID_DESC + ACTOR_ID_ASC + ACTOR_ID_DESC ENTITY_ID_ASC ENTITY_ID_DESC GRANTOR_ID_ASC @@ -22465,6 +22198,8 @@ enum OrgGrantOrderBy { PRIMARY_KEY_DESC ID_ASC ID_DESC + ACTOR_ID_ASC + ACTOR_ID_DESC ENTITY_ID_ASC ENTITY_ID_DESC GRANTOR_ID_ASC @@ -22525,16 +22260,6 @@ type OrgChartEdge { """Reads a single `User` that is related to this `OrgChartEdge`.""" parent: User - - """ - TRGM similarity when searching `positionTitle`. Returns null when no trgm search filter is active. - """ - positionTitleTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `OrgChartEdge` edge in the connection.""" @@ -22563,10 +22288,6 @@ enum OrgChartEdgeOrderBy { CHILD_ID_DESC PARENT_ID_ASC PARENT_ID_DESC - POSITION_TITLE_TRGM_SIMILARITY_ASC - POSITION_TITLE_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `OrgChartEdgeGrant` values.""" @@ -22603,8 +22324,10 @@ type OrgChartEdgeGrant { """User ID of the manager being assigned; NULL for top-level positions""" parentId: UUID - """User ID of the admin who performed this grant or revocation""" - grantorId: UUID! + """ + User ID of the admin who performed this grant or revocation; NULL if grantor was deleted + """ + grantorId: UUID """TRUE to add/update the edge, FALSE to remove it""" isGrant: Boolean! @@ -22629,16 +22352,6 @@ type OrgChartEdgeGrant { """Reads a single `User` that is related to this `OrgChartEdgeGrant`.""" parent: User - - """ - TRGM similarity when searching `positionTitle`. Returns null when no trgm search filter is active. - """ - positionTitleTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `OrgChartEdgeGrant` edge in the connection.""" @@ -22665,10 +22378,61 @@ enum OrgChartEdgeGrantOrderBy { PARENT_ID_DESC GRANTOR_ID_ASC GRANTOR_ID_DESC - POSITION_TITLE_TRGM_SIMILARITY_ASC - POSITION_TITLE_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC +} + +"""A connection to a list of `OrgPermissionDefault` values.""" +type OrgPermissionDefaultConnection { + """A list of `OrgPermissionDefault` objects.""" + nodes: [OrgPermissionDefault]! + + """ + A list of edges which contains the `OrgPermissionDefault` and cursor to aid in pagination. + """ + edges: [OrgPermissionDefaultEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """ + The count of *all* `OrgPermissionDefault` you could get from the connection. + """ + totalCount: Int! +} + +""" +Stores the default permission bitmask assigned to new members upon joining +""" +type OrgPermissionDefault { + id: UUID! + + """Default permission bitmask applied to new members""" + permissions: BitString! + + """References the entity these default permissions apply to""" + entityId: UUID! + + """Reads a single `User` that is related to this `OrgPermissionDefault`.""" + entity: User +} + +"""A `OrgPermissionDefault` edge in the connection.""" +type OrgPermissionDefaultEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `OrgPermissionDefault` at the end of the edge.""" + node: OrgPermissionDefault +} + +"""Methods to use when ordering `OrgPermissionDefault`.""" +enum OrgPermissionDefaultOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + ENTITY_ID_ASC + ENTITY_ID_DESC } """A connection to a list of `AppLimit` values.""" @@ -22919,6 +22683,343 @@ enum AppAchievementOrderBy { UPDATED_AT_DESC } +"""A connection to a list of `AppLevel` values.""" +type AppLevelConnection { + """A list of `AppLevel` objects.""" + nodes: [AppLevel]! + + """ + A list of edges which contains the `AppLevel` and cursor to aid in pagination. + """ + edges: [AppLevelEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `AppLevel` you could get from the connection.""" + totalCount: Int! +} + +""" +Defines available levels that users can achieve by completing requirements +""" +type AppLevel { + id: UUID! + + """Unique name of the level""" + name: String! + + """Human-readable description of what this level represents""" + description: String + + """Badge or icon image associated with this level""" + image: ConstructiveInternalTypeImage + + """Optional owner (actor) who created or manages this level""" + ownerId: UUID + createdAt: Datetime + updatedAt: Datetime + + """Reads a single `User` that is related to this `AppLevel`.""" + owner: User +} + +"""A `AppLevel` edge in the connection.""" +type AppLevelEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `AppLevel` at the end of the edge.""" + node: AppLevel +} + +"""Methods to use when ordering `AppLevel`.""" +enum AppLevelOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + NAME_ASC + NAME_DESC + OWNER_ID_ASC + OWNER_ID_DESC + CREATED_AT_ASC + CREATED_AT_DESC + UPDATED_AT_ASC + UPDATED_AT_DESC +} + +"""A connection to a list of `Email` values.""" +type EmailConnection { + """A list of `Email` objects.""" + nodes: [Email]! + + """ + A list of edges which contains the `Email` and cursor to aid in pagination. + """ + edges: [EmailEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `Email` you could get from the connection.""" + totalCount: Int! +} + +"""User email addresses with verification and primary-email management""" +type Email { + id: UUID! + ownerId: UUID! + + """The email address""" + email: ConstructiveInternalTypeEmail! + + """Whether the email address has been verified via confirmation link""" + isVerified: Boolean! + + """Whether this is the user's primary email address""" + isPrimary: Boolean! + createdAt: Datetime + updatedAt: Datetime + + """Reads a single `User` that is related to this `Email`.""" + owner: User +} + +"""A `Email` edge in the connection.""" +type EmailEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `Email` at the end of the edge.""" + node: Email +} + +"""Methods to use when ordering `Email`.""" +enum EmailOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + OWNER_ID_ASC + OWNER_ID_DESC + EMAIL_ASC + EMAIL_DESC + CREATED_AT_ASC + CREATED_AT_DESC + UPDATED_AT_ASC + UPDATED_AT_DESC +} + +"""A connection to a list of `PhoneNumber` values.""" +type PhoneNumberConnection { + """A list of `PhoneNumber` objects.""" + nodes: [PhoneNumber]! + + """ + A list of edges which contains the `PhoneNumber` and cursor to aid in pagination. + """ + edges: [PhoneNumberEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `PhoneNumber` you could get from the connection.""" + totalCount: Int! +} + +""" +User phone numbers with country code, verification, and primary-number management +""" +type PhoneNumber { + id: UUID! + ownerId: UUID! + + """Country calling code (e.g. +1, +44)""" + cc: String! + + """The phone number without country code""" + number: String! + + """Whether the phone number has been verified via SMS code""" + isVerified: Boolean! + + """Whether this is the user's primary phone number""" + isPrimary: Boolean! + createdAt: Datetime + updatedAt: Datetime + + """Reads a single `User` that is related to this `PhoneNumber`.""" + owner: User +} + +"""A `PhoneNumber` edge in the connection.""" +type PhoneNumberEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `PhoneNumber` at the end of the edge.""" + node: PhoneNumber +} + +"""Methods to use when ordering `PhoneNumber`.""" +enum PhoneNumberOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + OWNER_ID_ASC + OWNER_ID_DESC + NUMBER_ASC + NUMBER_DESC + CREATED_AT_ASC + CREATED_AT_DESC + UPDATED_AT_ASC + UPDATED_AT_DESC +} + +"""A connection to a list of `CryptoAddress` values.""" +type CryptoAddressConnection { + """A list of `CryptoAddress` objects.""" + nodes: [CryptoAddress]! + + """ + A list of edges which contains the `CryptoAddress` and cursor to aid in pagination. + """ + edges: [CryptoAddressEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `CryptoAddress` you could get from the connection.""" + totalCount: Int! +} + +""" +Cryptocurrency wallet addresses owned by users, with network-specific validation and verification +""" +type CryptoAddress { + id: UUID! + ownerId: UUID! + + """ + The cryptocurrency wallet address, validated against network-specific patterns + """ + address: String! + + """Whether ownership of this address has been cryptographically verified""" + isVerified: Boolean! + + """Whether this is the user's primary cryptocurrency address""" + isPrimary: Boolean! + createdAt: Datetime + updatedAt: Datetime + + """Reads a single `User` that is related to this `CryptoAddress`.""" + owner: User +} + +"""A `CryptoAddress` edge in the connection.""" +type CryptoAddressEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `CryptoAddress` at the end of the edge.""" + node: CryptoAddress +} + +"""Methods to use when ordering `CryptoAddress`.""" +enum CryptoAddressOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + OWNER_ID_ASC + OWNER_ID_DESC + ADDRESS_ASC + ADDRESS_DESC + CREATED_AT_ASC + CREATED_AT_DESC + UPDATED_AT_ASC + UPDATED_AT_DESC +} + +"""A connection to a list of `ConnectedAccount` values.""" +type ConnectedAccountConnection { + """A list of `ConnectedAccount` objects.""" + nodes: [ConnectedAccount]! + + """ + A list of edges which contains the `ConnectedAccount` and cursor to aid in pagination. + """ + edges: [ConnectedAccountEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """ + The count of *all* `ConnectedAccount` you could get from the connection. + """ + totalCount: Int! +} + +""" +OAuth and social login connections linking external service accounts to users +""" +type ConnectedAccount { + id: UUID! + ownerId: UUID! + + """The service used, e.g. `twitter` or `github`.""" + service: String! + + """A unique identifier for the user within the service""" + identifier: String! + + """Additional profile details extracted from this login method""" + details: JSON! + + """Whether this connected account has been verified""" + isVerified: Boolean! + createdAt: Datetime + updatedAt: Datetime + + """Reads a single `User` that is related to this `ConnectedAccount`.""" + owner: User +} + +"""A `ConnectedAccount` edge in the connection.""" +type ConnectedAccountEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `ConnectedAccount` at the end of the edge.""" + node: ConnectedAccount +} + +"""Methods to use when ordering `ConnectedAccount`.""" +enum ConnectedAccountOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + OWNER_ID_ASC + OWNER_ID_DESC + SERVICE_ASC + SERVICE_DESC + IDENTIFIER_ASC + IDENTIFIER_DESC + CREATED_AT_ASC + CREATED_AT_DESC + UPDATED_AT_ASC + UPDATED_AT_DESC +} + """A connection to a list of `Invite` values.""" type InviteConnection { """A list of `Invite` objects.""" @@ -22973,16 +23074,6 @@ type Invite { """Reads a single `User` that is related to this `Invite`.""" sender: User - - """ - TRGM similarity when searching `inviteToken`. Returns null when no trgm search filter is active. - """ - inviteTokenTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `Invite` edge in the connection.""" @@ -23015,10 +23106,6 @@ enum InviteOrderBy { CREATED_AT_DESC UPDATED_AT_ASC UPDATED_AT_DESC - INVITE_TOKEN_TRGM_SIMILARITY_ASC - INVITE_TOKEN_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `ClaimedInvite` values.""" @@ -23152,16 +23239,6 @@ type OrgInvite { """Reads a single `User` that is related to this `OrgInvite`.""" sender: User - - """ - TRGM similarity when searching `inviteToken`. Returns null when no trgm search filter is active. - """ - inviteTokenTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `OrgInvite` edge in the connection.""" @@ -23184,6 +23261,8 @@ enum OrgInviteOrderBy { EMAIL_DESC SENDER_ID_ASC SENDER_ID_DESC + RECEIVER_ID_ASC + RECEIVER_ID_DESC INVITE_TOKEN_ASC INVITE_TOKEN_DESC INVITE_VALID_ASC @@ -23196,10 +23275,6 @@ enum OrgInviteOrderBy { UPDATED_AT_DESC ENTITY_ID_ASC ENTITY_ID_DESC - INVITE_TOKEN_TRGM_SIMILARITY_ASC - INVITE_TOKEN_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `OrgClaimedInvite` values.""" @@ -23273,6 +23348,80 @@ enum OrgClaimedInviteOrderBy { CREATED_AT_DESC UPDATED_AT_ASC UPDATED_AT_DESC + ENTITY_ID_ASC + ENTITY_ID_DESC +} + +"""A connection to a list of `AuditLog` values.""" +type AuditLogConnection { + """A list of `AuditLog` objects.""" + nodes: [AuditLog]! + + """ + A list of edges which contains the `AuditLog` and cursor to aid in pagination. + """ + edges: [AuditLogEdge]! + + """Information to aid in pagination.""" + pageInfo: PageInfo! + + """The count of *all* `AuditLog` you could get from the connection.""" + totalCount: Int! +} + +""" +Append-only audit log of authentication events (sign-in, sign-up, password changes, etc.) +""" +type AuditLog { + id: UUID! + + """ + Type of authentication event (e.g. sign_in, sign_up, password_change, verify_email) + """ + event: String! + + """User who performed the authentication action; NULL if user was deleted""" + actorId: UUID + + """Request origin (domain) where the auth event occurred""" + origin: ConstructiveInternalTypeOrigin + + """Browser or client user-agent string from the request""" + userAgent: String + + """IP address of the client that initiated the auth event""" + ipAddress: InternetAddress + + """Whether the authentication attempt succeeded""" + success: Boolean! + + """Timestamp when the audit event was recorded""" + createdAt: Datetime! + + """Reads a single `User` that is related to this `AuditLog`.""" + actor: User +} + +"""A `AuditLog` edge in the connection.""" +type AuditLogEdge { + """A cursor for use in pagination.""" + cursor: Cursor + + """The `AuditLog` at the end of the edge.""" + node: AuditLog +} + +"""Methods to use when ordering `AuditLog`.""" +enum AuditLogOrderBy { + NATURAL + PRIMARY_KEY_ASC + PRIMARY_KEY_DESC + ID_ASC + ID_DESC + EVENT_ASC + EVENT_DESC + ACTOR_ID_ASC + ACTOR_ID_DESC } """A connection to a list of `Ref` values.""" @@ -23302,16 +23451,6 @@ type Ref { databaseId: UUID! storeId: UUID! commitId: UUID - - """ - TRGM similarity when searching `name`. Returns null when no trgm search filter is active. - """ - nameTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `Ref` edge in the connection.""" @@ -23350,17 +23489,6 @@ input RefFilter { """Negates the expression.""" not: RefFilter - - """TRGM search on the `name` column.""" - trgmName: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """Methods to use when ordering `Ref`.""" @@ -23374,10 +23502,6 @@ enum RefOrderBy { DATABASE_ID_DESC STORE_ID_ASC STORE_ID_DESC - NAME_TRGM_SIMILARITY_ASC - NAME_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `Store` values.""" @@ -23411,16 +23535,6 @@ type Store { """The current head tree_id for this store.""" hash: UUID createdAt: Datetime - - """ - TRGM similarity when searching `name`. Returns null when no trgm search filter is active. - """ - nameTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `Store` edge in the connection.""" @@ -23459,17 +23573,6 @@ input StoreFilter { """Negates the expression.""" not: StoreFilter - - """TRGM search on the `name` column.""" - trgmName: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """Methods to use when ordering `Store`.""" @@ -23481,10 +23584,6 @@ enum StoreOrderBy { ID_DESC DATABASE_ID_ASC DATABASE_ID_DESC - NAME_TRGM_SIMILARITY_ASC - NAME_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `AppPermissionDefault` values.""" @@ -23554,134 +23653,6 @@ enum AppPermissionDefaultOrderBy { ID_DESC } -"""A connection to a list of `CryptoAddress` values.""" -type CryptoAddressConnection { - """A list of `CryptoAddress` objects.""" - nodes: [CryptoAddress]! - - """ - A list of edges which contains the `CryptoAddress` and cursor to aid in pagination. - """ - edges: [CryptoAddressEdge]! - - """Information to aid in pagination.""" - pageInfo: PageInfo! - - """The count of *all* `CryptoAddress` you could get from the connection.""" - totalCount: Int! -} - -""" -Cryptocurrency wallet addresses owned by users, with network-specific validation and verification -""" -type CryptoAddress { - id: UUID! - ownerId: UUID! - - """ - The cryptocurrency wallet address, validated against network-specific patterns - """ - address: String! - - """Whether ownership of this address has been cryptographically verified""" - isVerified: Boolean! - - """Whether this is the user's primary cryptocurrency address""" - isPrimary: Boolean! - createdAt: Datetime - updatedAt: Datetime - - """Reads a single `User` that is related to this `CryptoAddress`.""" - owner: User - - """ - TRGM similarity when searching `address`. Returns null when no trgm search filter is active. - """ - addressTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float -} - -"""A `CryptoAddress` edge in the connection.""" -type CryptoAddressEdge { - """A cursor for use in pagination.""" - cursor: Cursor - - """The `CryptoAddress` at the end of the edge.""" - node: CryptoAddress -} - -""" -A filter to be used against `CryptoAddress` object types. All fields are combined with a logical ‘and.’ -""" -input CryptoAddressFilter { - """Filter by the object’s `id` field.""" - id: UUIDFilter - - """Filter by the object’s `ownerId` field.""" - ownerId: UUIDFilter - - """Filter by the object’s `address` field.""" - address: StringFilter - - """Filter by the object’s `isVerified` field.""" - isVerified: BooleanFilter - - """Filter by the object’s `isPrimary` field.""" - isPrimary: BooleanFilter - - """Filter by the object’s `createdAt` field.""" - createdAt: DatetimeFilter - - """Filter by the object’s `updatedAt` field.""" - updatedAt: DatetimeFilter - - """Checks for all expressions in this list.""" - and: [CryptoAddressFilter!] - - """Checks for any expressions in this list.""" - or: [CryptoAddressFilter!] - - """Negates the expression.""" - not: CryptoAddressFilter - - """Filter by the object’s `owner` relation.""" - owner: UserFilter - - """TRGM search on the `address` column.""" - trgmAddress: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String -} - -"""Methods to use when ordering `CryptoAddress`.""" -enum CryptoAddressOrderBy { - NATURAL - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC - ID_ASC - ID_DESC - ADDRESS_ASC - ADDRESS_DESC - CREATED_AT_ASC - CREATED_AT_DESC - UPDATED_AT_ASC - UPDATED_AT_DESC - ADDRESS_TRGM_SIMILARITY_ASC - ADDRESS_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC -} - """A connection to a list of `RoleType` values.""" type RoleTypeConnection { """A list of `RoleType` objects.""" @@ -23719,227 +23690,6 @@ enum RoleTypeOrderBy { NAME_DESC } -"""A connection to a list of `OrgPermissionDefault` values.""" -type OrgPermissionDefaultConnection { - """A list of `OrgPermissionDefault` objects.""" - nodes: [OrgPermissionDefault]! - - """ - A list of edges which contains the `OrgPermissionDefault` and cursor to aid in pagination. - """ - edges: [OrgPermissionDefaultEdge]! - - """Information to aid in pagination.""" - pageInfo: PageInfo! - - """ - The count of *all* `OrgPermissionDefault` you could get from the connection. - """ - totalCount: Int! -} - -""" -Stores the default permission bitmask assigned to new members upon joining -""" -type OrgPermissionDefault { - id: UUID! - - """Default permission bitmask applied to new members""" - permissions: BitString! - - """References the entity these default permissions apply to""" - entityId: UUID! - - """Reads a single `User` that is related to this `OrgPermissionDefault`.""" - entity: User -} - -"""A `OrgPermissionDefault` edge in the connection.""" -type OrgPermissionDefaultEdge { - """A cursor for use in pagination.""" - cursor: Cursor - - """The `OrgPermissionDefault` at the end of the edge.""" - node: OrgPermissionDefault -} - -""" -A filter to be used against `OrgPermissionDefault` object types. All fields are combined with a logical ‘and.’ -""" -input OrgPermissionDefaultFilter { - """Filter by the object’s `id` field.""" - id: UUIDFilter - - """Filter by the object’s `permissions` field.""" - permissions: BitStringFilter - - """Filter by the object’s `entityId` field.""" - entityId: UUIDFilter - - """Checks for all expressions in this list.""" - and: [OrgPermissionDefaultFilter!] - - """Checks for any expressions in this list.""" - or: [OrgPermissionDefaultFilter!] - - """Negates the expression.""" - not: OrgPermissionDefaultFilter - - """Filter by the object’s `entity` relation.""" - entity: UserFilter -} - -"""Methods to use when ordering `OrgPermissionDefault`.""" -enum OrgPermissionDefaultOrderBy { - NATURAL - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC - ID_ASC - ID_DESC -} - -"""A connection to a list of `PhoneNumber` values.""" -type PhoneNumberConnection { - """A list of `PhoneNumber` objects.""" - nodes: [PhoneNumber]! - - """ - A list of edges which contains the `PhoneNumber` and cursor to aid in pagination. - """ - edges: [PhoneNumberEdge]! - - """Information to aid in pagination.""" - pageInfo: PageInfo! - - """The count of *all* `PhoneNumber` you could get from the connection.""" - totalCount: Int! -} - -""" -User phone numbers with country code, verification, and primary-number management -""" -type PhoneNumber { - id: UUID! - ownerId: UUID! - - """Country calling code (e.g. +1, +44)""" - cc: String! - - """The phone number without country code""" - number: String! - - """Whether the phone number has been verified via SMS code""" - isVerified: Boolean! - - """Whether this is the user's primary phone number""" - isPrimary: Boolean! - createdAt: Datetime - updatedAt: Datetime - - """Reads a single `User` that is related to this `PhoneNumber`.""" - owner: User - - """ - TRGM similarity when searching `cc`. Returns null when no trgm search filter is active. - """ - ccTrgmSimilarity: Float - - """ - TRGM similarity when searching `number`. Returns null when no trgm search filter is active. - """ - numberTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float -} - -"""A `PhoneNumber` edge in the connection.""" -type PhoneNumberEdge { - """A cursor for use in pagination.""" - cursor: Cursor - - """The `PhoneNumber` at the end of the edge.""" - node: PhoneNumber -} - -""" -A filter to be used against `PhoneNumber` object types. All fields are combined with a logical ‘and.’ -""" -input PhoneNumberFilter { - """Filter by the object’s `id` field.""" - id: UUIDFilter - - """Filter by the object’s `ownerId` field.""" - ownerId: UUIDFilter - - """Filter by the object’s `cc` field.""" - cc: StringFilter - - """Filter by the object’s `number` field.""" - number: StringFilter - - """Filter by the object’s `isVerified` field.""" - isVerified: BooleanFilter - - """Filter by the object’s `isPrimary` field.""" - isPrimary: BooleanFilter - - """Filter by the object’s `createdAt` field.""" - createdAt: DatetimeFilter - - """Filter by the object’s `updatedAt` field.""" - updatedAt: DatetimeFilter - - """Checks for all expressions in this list.""" - and: [PhoneNumberFilter!] - - """Checks for any expressions in this list.""" - or: [PhoneNumberFilter!] - - """Negates the expression.""" - not: PhoneNumberFilter - - """Filter by the object’s `owner` relation.""" - owner: UserFilter - - """TRGM search on the `cc` column.""" - trgmCc: TrgmSearchInput - - """TRGM search on the `number` column.""" - trgmNumber: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String -} - -"""Methods to use when ordering `PhoneNumber`.""" -enum PhoneNumberOrderBy { - NATURAL - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC - ID_ASC - ID_DESC - NUMBER_ASC - NUMBER_DESC - CREATED_AT_ASC - CREATED_AT_DESC - UPDATED_AT_ASC - UPDATED_AT_DESC - CC_TRGM_SIMILARITY_ASC - CC_TRGM_SIMILARITY_DESC - NUMBER_TRGM_SIMILARITY_ASC - NUMBER_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC -} - """A connection to a list of `AppLimitDefault` values.""" type AppLimitDefaultConnection { """A list of `AppLimitDefault` objects.""" @@ -24090,192 +23840,46 @@ enum OrgLimitDefaultOrderBy { NAME_DESC } -"""A connection to a list of `ConnectedAccount` values.""" -type ConnectedAccountConnection { - """A list of `ConnectedAccount` objects.""" - nodes: [ConnectedAccount]! +"""A connection to a list of `NodeTypeRegistry` values.""" +type NodeTypeRegistryConnection { + """A list of `NodeTypeRegistry` objects.""" + nodes: [NodeTypeRegistry]! """ - A list of edges which contains the `ConnectedAccount` and cursor to aid in pagination. + A list of edges which contains the `NodeTypeRegistry` and cursor to aid in pagination. """ - edges: [ConnectedAccountEdge]! + edges: [NodeTypeRegistryEdge]! """Information to aid in pagination.""" pageInfo: PageInfo! """ - The count of *all* `ConnectedAccount` you could get from the connection. + The count of *all* `NodeTypeRegistry` you could get from the connection. """ totalCount: Int! } """ -OAuth and social login connections linking external service accounts to users +Registry of high-level semantic AST node types using domain-prefixed naming. These IR nodes compile to multiple targets (Postgres RLS, egress, ingress, etc.). """ -type ConnectedAccount { - id: UUID! - ownerId: UUID! - - """The service used, e.g. `twitter` or `github`.""" - service: String! - - """A unique identifier for the user within the service""" - identifier: String! - - """Additional profile details extracted from this login method""" - details: JSON! - - """Whether this connected account has been verified""" - isVerified: Boolean! - createdAt: Datetime - updatedAt: Datetime - - """Reads a single `User` that is related to this `ConnectedAccount`.""" - owner: User - +type NodeTypeRegistry { """ - TRGM similarity when searching `service`. Returns null when no trgm search filter is active. + PascalCase domain-prefixed node type name (e.g., AuthzDirectOwner, DataTimestamps, FieldImmutable) """ - serviceTrgmSimilarity: Float + name: String! """ - TRGM similarity when searching `identifier`. Returns null when no trgm search filter is active. + snake_case slug for use in code and configuration (e.g., authz_direct_owner, data_timestamps) """ - identifierTrgmSimilarity: Float + slug: String! """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. + Node type category: authz (authorization semantics), data (table-level behaviors), field (column-level behaviors), view (view query types), relation (relational structure between tables) """ - searchScore: Float -} + category: String! -"""A `ConnectedAccount` edge in the connection.""" -type ConnectedAccountEdge { - """A cursor for use in pagination.""" - cursor: Cursor - - """The `ConnectedAccount` at the end of the edge.""" - node: ConnectedAccount -} - -""" -A filter to be used against `ConnectedAccount` object types. All fields are combined with a logical ‘and.’ -""" -input ConnectedAccountFilter { - """Filter by the object’s `id` field.""" - id: UUIDFilter - - """Filter by the object’s `ownerId` field.""" - ownerId: UUIDFilter - - """Filter by the object’s `service` field.""" - service: StringFilter - - """Filter by the object’s `identifier` field.""" - identifier: StringFilter - - """Filter by the object’s `details` field.""" - details: JSONFilter - - """Filter by the object’s `isVerified` field.""" - isVerified: BooleanFilter - - """Filter by the object’s `createdAt` field.""" - createdAt: DatetimeFilter - - """Filter by the object’s `updatedAt` field.""" - updatedAt: DatetimeFilter - - """Checks for all expressions in this list.""" - and: [ConnectedAccountFilter!] - - """Checks for any expressions in this list.""" - or: [ConnectedAccountFilter!] - - """Negates the expression.""" - not: ConnectedAccountFilter - - """Filter by the object’s `owner` relation.""" - owner: UserFilter - - """TRGM search on the `service` column.""" - trgmService: TrgmSearchInput - - """TRGM search on the `identifier` column.""" - trgmIdentifier: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String -} - -"""Methods to use when ordering `ConnectedAccount`.""" -enum ConnectedAccountOrderBy { - NATURAL - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC - ID_ASC - ID_DESC - SERVICE_ASC - SERVICE_DESC - IDENTIFIER_ASC - IDENTIFIER_DESC - CREATED_AT_ASC - CREATED_AT_DESC - UPDATED_AT_ASC - UPDATED_AT_DESC - SERVICE_TRGM_SIMILARITY_ASC - SERVICE_TRGM_SIMILARITY_DESC - IDENTIFIER_TRGM_SIMILARITY_ASC - IDENTIFIER_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC -} - -"""A connection to a list of `NodeTypeRegistry` values.""" -type NodeTypeRegistryConnection { - """A list of `NodeTypeRegistry` objects.""" - nodes: [NodeTypeRegistry]! - - """ - A list of edges which contains the `NodeTypeRegistry` and cursor to aid in pagination. - """ - edges: [NodeTypeRegistryEdge]! - - """Information to aid in pagination.""" - pageInfo: PageInfo! - - """ - The count of *all* `NodeTypeRegistry` you could get from the connection. - """ - totalCount: Int! -} - -""" -Registry of high-level semantic AST node types using domain-prefixed naming. These IR nodes compile to multiple targets (Postgres RLS, egress, ingress, etc.). -""" -type NodeTypeRegistry { - """ - PascalCase domain-prefixed node type name (e.g., AuthzDirectOwner, DataTimestamps, FieldImmutable) - """ - name: String! - - """ - snake_case slug for use in code and configuration (e.g., authz_direct_owner, data_timestamps) - """ - slug: String! - - """ - Node type category: authz (authorization semantics), data (table-level behaviors), field (column-level behaviors), view (view query types), relation (relational structure between tables) - """ - category: String! - - """Human-readable display name for UI""" - displayName: String + """Human-readable display name for UI""" + displayName: String """Description of what this node type does""" description: String @@ -24289,36 +23893,6 @@ type NodeTypeRegistry { tags: [String]! createdAt: Datetime! updatedAt: Datetime! - - """ - TRGM similarity when searching `name`. Returns null when no trgm search filter is active. - """ - nameTrgmSimilarity: Float - - """ - TRGM similarity when searching `slug`. Returns null when no trgm search filter is active. - """ - slugTrgmSimilarity: Float - - """ - TRGM similarity when searching `category`. Returns null when no trgm search filter is active. - """ - categoryTrgmSimilarity: Float - - """ - TRGM similarity when searching `displayName`. Returns null when no trgm search filter is active. - """ - displayNameTrgmSimilarity: Float - - """ - TRGM similarity when searching `description`. Returns null when no trgm search filter is active. - """ - descriptionTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `NodeTypeRegistry` edge in the connection.""" @@ -24369,29 +23943,6 @@ input NodeTypeRegistryFilter { """Negates the expression.""" not: NodeTypeRegistryFilter - - """TRGM search on the `name` column.""" - trgmName: TrgmSearchInput - - """TRGM search on the `slug` column.""" - trgmSlug: TrgmSearchInput - - """TRGM search on the `category` column.""" - trgmCategory: TrgmSearchInput - - """TRGM search on the `display_name` column.""" - trgmDisplayName: TrgmSearchInput - - """TRGM search on the `description` column.""" - trgmDescription: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """Methods to use when ordering `NodeTypeRegistry`.""" @@ -24405,18 +23956,6 @@ enum NodeTypeRegistryOrderBy { SLUG_DESC CATEGORY_ASC CATEGORY_DESC - NAME_TRGM_SIMILARITY_ASC - NAME_TRGM_SIMILARITY_DESC - SLUG_TRGM_SIMILARITY_ASC - SLUG_TRGM_SIMILARITY_DESC - CATEGORY_TRGM_SIMILARITY_ASC - CATEGORY_TRGM_SIMILARITY_DESC - DISPLAY_NAME_TRGM_SIMILARITY_ASC - DISPLAY_NAME_TRGM_SIMILARITY_DESC - DESCRIPTION_TRGM_SIMILARITY_ASC - DESCRIPTION_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `MembershipType` values.""" @@ -24455,21 +23994,6 @@ type MembershipType { Short prefix used to namespace tables and functions for this membership scope """ prefix: String! - - """ - TRGM similarity when searching `description`. Returns null when no trgm search filter is active. - """ - descriptionTrgmSimilarity: Float - - """ - TRGM similarity when searching `prefix`. Returns null when no trgm search filter is active. - """ - prefixTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `MembershipType` edge in the connection.""" @@ -24505,20 +24029,6 @@ input MembershipTypeFilter { """Negates the expression.""" not: MembershipTypeFilter - - """TRGM search on the `description` column.""" - trgmDescription: TrgmSearchInput - - """TRGM search on the `prefix` column.""" - trgmPrefix: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """Methods to use when ordering `MembershipType`.""" @@ -24530,12 +24040,6 @@ enum MembershipTypeOrderBy { ID_DESC NAME_ASC NAME_DESC - DESCRIPTION_TRGM_SIMILARITY_ASC - DESCRIPTION_TRGM_SIMILARITY_DESC - PREFIX_TRGM_SIMILARITY_ASC - PREFIX_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """ @@ -24627,16 +24131,6 @@ type Commit { """The root of the tree""" treeId: UUID date: Datetime! - - """ - TRGM similarity when searching `message`. Returns null when no trgm search filter is active. - """ - messageTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `Commit` edge in the connection.""" @@ -24687,17 +24181,6 @@ input CommitFilter { """Negates the expression.""" not: CommitFilter - - """TRGM search on the `message` column.""" - trgmMessage: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """Methods to use when ordering `Commit`.""" @@ -24709,10 +24192,6 @@ enum CommitOrderBy { ID_DESC DATABASE_ID_ASC DATABASE_ID_DESC - MESSAGE_TRGM_SIMILARITY_ASC - MESSAGE_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """ @@ -24742,17 +24221,6 @@ input AppPermissionFilter { """Negates the expression.""" not: AppPermissionFilter - - """TRGM search on the `description` column.""" - trgmDescription: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """Methods to use when ordering `AppPermission`.""" @@ -24766,10 +24234,6 @@ enum AppPermissionOrderBy { NAME_DESC BITNUM_ASC BITNUM_DESC - DESCRIPTION_TRGM_SIMILARITY_ASC - DESCRIPTION_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """ @@ -24799,17 +24263,6 @@ input OrgPermissionFilter { """Negates the expression.""" not: OrgPermissionFilter - - """TRGM search on the `description` column.""" - trgmDescription: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """Methods to use when ordering `OrgPermission`.""" @@ -24823,10 +24276,6 @@ enum OrgPermissionOrderBy { NAME_DESC BITNUM_ASC BITNUM_DESC - DESCRIPTION_TRGM_SIMILARITY_ASC - DESCRIPTION_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `AppMembershipDefault` values.""" @@ -24961,16 +24410,6 @@ enum RlsModuleOrderBy { ID_DESC DATABASE_ID_ASC DATABASE_ID_DESC - AUTHENTICATE_TRGM_SIMILARITY_ASC - AUTHENTICATE_TRGM_SIMILARITY_DESC - AUTHENTICATE_STRICT_TRGM_SIMILARITY_ASC - AUTHENTICATE_STRICT_TRGM_SIMILARITY_DESC - CURRENT_ROLE_TRGM_SIMILARITY_ASC - CURRENT_ROLE_TRGM_SIMILARITY_DESC - CURRENT_ROLE_ID_TRGM_SIMILARITY_ASC - CURRENT_ROLE_ID_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `OrgMembershipDefault` values.""" @@ -25056,17 +24495,6 @@ input AppLevelRequirementFilter { """Negates the expression.""" not: AppLevelRequirementFilter - - """TRGM search on the `description` column.""" - trgmDescription: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """Methods to use when ordering `AppLevelRequirement`.""" @@ -25086,468 +24514,6 @@ enum AppLevelRequirementOrderBy { CREATED_AT_DESC UPDATED_AT_ASC UPDATED_AT_DESC - DESCRIPTION_TRGM_SIMILARITY_ASC - DESCRIPTION_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC -} - -"""A connection to a list of `AuditLog` values.""" -type AuditLogConnection { - """A list of `AuditLog` objects.""" - nodes: [AuditLog]! - - """ - A list of edges which contains the `AuditLog` and cursor to aid in pagination. - """ - edges: [AuditLogEdge]! - - """Information to aid in pagination.""" - pageInfo: PageInfo! - - """The count of *all* `AuditLog` you could get from the connection.""" - totalCount: Int! -} - -""" -Append-only audit log of authentication events (sign-in, sign-up, password changes, etc.) -""" -type AuditLog { - id: UUID! - - """ - Type of authentication event (e.g. sign_in, sign_up, password_change, verify_email) - """ - event: String! - - """User who performed the authentication action""" - actorId: UUID! - - """Request origin (domain) where the auth event occurred""" - origin: ConstructiveInternalTypeOrigin - - """Browser or client user-agent string from the request""" - userAgent: String - - """IP address of the client that initiated the auth event""" - ipAddress: InternetAddress - - """Whether the authentication attempt succeeded""" - success: Boolean! - - """Timestamp when the audit event was recorded""" - createdAt: Datetime! - - """Reads a single `User` that is related to this `AuditLog`.""" - actor: User - - """ - TRGM similarity when searching `userAgent`. Returns null when no trgm search filter is active. - """ - userAgentTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float -} - -scalar ConstructiveInternalTypeOrigin - -"""A `AuditLog` edge in the connection.""" -type AuditLogEdge { - """A cursor for use in pagination.""" - cursor: Cursor - - """The `AuditLog` at the end of the edge.""" - node: AuditLog -} - -""" -A filter to be used against `AuditLog` object types. All fields are combined with a logical ‘and.’ -""" -input AuditLogFilter { - """Filter by the object’s `id` field.""" - id: UUIDFilter - - """Filter by the object’s `event` field.""" - event: StringFilter - - """Filter by the object’s `actorId` field.""" - actorId: UUIDFilter - - """Filter by the object’s `origin` field.""" - origin: ConstructiveInternalTypeOriginFilter - - """Filter by the object’s `userAgent` field.""" - userAgent: StringFilter - - """Filter by the object’s `ipAddress` field.""" - ipAddress: InternetAddressFilter - - """Filter by the object’s `success` field.""" - success: BooleanFilter - - """Filter by the object’s `createdAt` field.""" - createdAt: DatetimeFilter - - """Checks for all expressions in this list.""" - and: [AuditLogFilter!] - - """Checks for any expressions in this list.""" - or: [AuditLogFilter!] - - """Negates the expression.""" - not: AuditLogFilter - - """Filter by the object’s `actor` relation.""" - actor: UserFilter - - """TRGM search on the `user_agent` column.""" - trgmUserAgent: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String -} - -""" -A filter to be used against ConstructiveInternalTypeOrigin fields. All fields are combined with a logical ‘and.’ -""" -input ConstructiveInternalTypeOriginFilter { - """ - Is null (if `true` is specified) or is not null (if `false` is specified). - """ - isNull: Boolean - - """Equal to the specified value.""" - equalTo: ConstructiveInternalTypeOrigin - - """Not equal to the specified value.""" - notEqualTo: ConstructiveInternalTypeOrigin - - """ - Not equal to the specified value, treating null like an ordinary value. - """ - distinctFrom: ConstructiveInternalTypeOrigin - - """Equal to the specified value, treating null like an ordinary value.""" - notDistinctFrom: ConstructiveInternalTypeOrigin - - """Included in the specified list.""" - in: [ConstructiveInternalTypeOrigin!] - - """Not included in the specified list.""" - notIn: [ConstructiveInternalTypeOrigin!] - - """Less than the specified value.""" - lessThan: ConstructiveInternalTypeOrigin - - """Less than or equal to the specified value.""" - lessThanOrEqualTo: ConstructiveInternalTypeOrigin - - """Greater than the specified value.""" - greaterThan: ConstructiveInternalTypeOrigin - - """Greater than or equal to the specified value.""" - greaterThanOrEqualTo: ConstructiveInternalTypeOrigin - - """Contains the specified string (case-sensitive).""" - includes: ConstructiveInternalTypeOrigin - - """Does not contain the specified string (case-sensitive).""" - notIncludes: ConstructiveInternalTypeOrigin - - """Contains the specified string (case-insensitive).""" - includesInsensitive: ConstructiveInternalTypeOrigin - - """Does not contain the specified string (case-insensitive).""" - notIncludesInsensitive: ConstructiveInternalTypeOrigin - - """Starts with the specified string (case-sensitive).""" - startsWith: ConstructiveInternalTypeOrigin - - """Does not start with the specified string (case-sensitive).""" - notStartsWith: ConstructiveInternalTypeOrigin - - """Starts with the specified string (case-insensitive).""" - startsWithInsensitive: ConstructiveInternalTypeOrigin - - """Does not start with the specified string (case-insensitive).""" - notStartsWithInsensitive: ConstructiveInternalTypeOrigin - - """Ends with the specified string (case-sensitive).""" - endsWith: ConstructiveInternalTypeOrigin - - """Does not end with the specified string (case-sensitive).""" - notEndsWith: ConstructiveInternalTypeOrigin - - """Ends with the specified string (case-insensitive).""" - endsWithInsensitive: ConstructiveInternalTypeOrigin - - """Does not end with the specified string (case-insensitive).""" - notEndsWithInsensitive: ConstructiveInternalTypeOrigin - - """ - Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. - """ - like: ConstructiveInternalTypeOrigin - - """ - Does not match the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. - """ - notLike: ConstructiveInternalTypeOrigin - - """ - Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. - """ - likeInsensitive: ConstructiveInternalTypeOrigin - - """ - Does not match the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. - """ - notLikeInsensitive: ConstructiveInternalTypeOrigin - - """Equal to the specified value (case-insensitive).""" - equalToInsensitive: String - - """Not equal to the specified value (case-insensitive).""" - notEqualToInsensitive: String - - """ - Not equal to the specified value, treating null like an ordinary value (case-insensitive). - """ - distinctFromInsensitive: String - - """ - Equal to the specified value, treating null like an ordinary value (case-insensitive). - """ - notDistinctFromInsensitive: String - - """Included in the specified list (case-insensitive).""" - inInsensitive: [String!] - - """Not included in the specified list (case-insensitive).""" - notInInsensitive: [String!] - - """Less than the specified value (case-insensitive).""" - lessThanInsensitive: String - - """Less than or equal to the specified value (case-insensitive).""" - lessThanOrEqualToInsensitive: String - - """Greater than the specified value (case-insensitive).""" - greaterThanInsensitive: String - - """Greater than or equal to the specified value (case-insensitive).""" - greaterThanOrEqualToInsensitive: String -} - -""" -A filter to be used against InternetAddress fields. All fields are combined with a logical ‘and.’ -""" -input InternetAddressFilter { - """ - Is null (if `true` is specified) or is not null (if `false` is specified). - """ - isNull: Boolean - - """Equal to the specified value.""" - equalTo: InternetAddress - - """Not equal to the specified value.""" - notEqualTo: InternetAddress - - """ - Not equal to the specified value, treating null like an ordinary value. - """ - distinctFrom: InternetAddress - - """Equal to the specified value, treating null like an ordinary value.""" - notDistinctFrom: InternetAddress - - """Included in the specified list.""" - in: [InternetAddress!] - - """Not included in the specified list.""" - notIn: [InternetAddress!] - - """Less than the specified value.""" - lessThan: InternetAddress - - """Less than or equal to the specified value.""" - lessThanOrEqualTo: InternetAddress - - """Greater than the specified value.""" - greaterThan: InternetAddress - - """Greater than or equal to the specified value.""" - greaterThanOrEqualTo: InternetAddress - - """Contains the specified internet address.""" - contains: InternetAddress - - """Contains or equal to the specified internet address.""" - containsOrEqualTo: InternetAddress - - """Contained by the specified internet address.""" - containedBy: InternetAddress - - """Contained by or equal to the specified internet address.""" - containedByOrEqualTo: InternetAddress - - """Contains or contained by the specified internet address.""" - containsOrContainedBy: InternetAddress -} - -"""Methods to use when ordering `AuditLog`.""" -enum AuditLogOrderBy { - NATURAL - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC - ID_ASC - ID_DESC - EVENT_ASC - EVENT_DESC - USER_AGENT_TRGM_SIMILARITY_ASC - USER_AGENT_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC -} - -"""A connection to a list of `AppLevel` values.""" -type AppLevelConnection { - """A list of `AppLevel` objects.""" - nodes: [AppLevel]! - - """ - A list of edges which contains the `AppLevel` and cursor to aid in pagination. - """ - edges: [AppLevelEdge]! - - """Information to aid in pagination.""" - pageInfo: PageInfo! - - """The count of *all* `AppLevel` you could get from the connection.""" - totalCount: Int! -} - -""" -Defines available levels that users can achieve by completing requirements -""" -type AppLevel { - id: UUID! - - """Unique name of the level""" - name: String! - - """Human-readable description of what this level represents""" - description: String - - """Badge or icon image associated with this level""" - image: ConstructiveInternalTypeImage - - """Optional owner (actor) who created or manages this level""" - ownerId: UUID - createdAt: Datetime - updatedAt: Datetime - - """Reads a single `User` that is related to this `AppLevel`.""" - owner: User - - """ - TRGM similarity when searching `description`. Returns null when no trgm search filter is active. - """ - descriptionTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float -} - -"""A `AppLevel` edge in the connection.""" -type AppLevelEdge { - """A cursor for use in pagination.""" - cursor: Cursor - - """The `AppLevel` at the end of the edge.""" - node: AppLevel -} - -""" -A filter to be used against `AppLevel` object types. All fields are combined with a logical ‘and.’ -""" -input AppLevelFilter { - """Filter by the object’s `id` field.""" - id: UUIDFilter - - """Filter by the object’s `name` field.""" - name: StringFilter - - """Filter by the object’s `description` field.""" - description: StringFilter - - """Filter by the object’s `image` field.""" - image: ConstructiveInternalTypeImageFilter - - """Filter by the object’s `ownerId` field.""" - ownerId: UUIDFilter - - """Filter by the object’s `createdAt` field.""" - createdAt: DatetimeFilter - - """Filter by the object’s `updatedAt` field.""" - updatedAt: DatetimeFilter - - """Checks for all expressions in this list.""" - and: [AppLevelFilter!] - - """Checks for any expressions in this list.""" - or: [AppLevelFilter!] - - """Negates the expression.""" - not: AppLevelFilter - - """Filter by the object’s `owner` relation.""" - owner: UserFilter - - """A related `owner` exists.""" - ownerExists: Boolean - - """TRGM search on the `description` column.""" - trgmDescription: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String -} - -"""Methods to use when ordering `AppLevel`.""" -enum AppLevelOrderBy { - NATURAL - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC - ID_ASC - ID_DESC - NAME_ASC - NAME_DESC - CREATED_AT_ASC - CREATED_AT_DESC - UPDATED_AT_ASC - UPDATED_AT_DESC - DESCRIPTION_TRGM_SIMILARITY_ASC - DESCRIPTION_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `SqlMigration` values.""" @@ -25581,41 +24547,6 @@ type SqlMigration { action: String actionId: UUID actorId: UUID - - """ - TRGM similarity when searching `name`. Returns null when no trgm search filter is active. - """ - nameTrgmSimilarity: Float - - """ - TRGM similarity when searching `deploy`. Returns null when no trgm search filter is active. - """ - deployTrgmSimilarity: Float - - """ - TRGM similarity when searching `content`. Returns null when no trgm search filter is active. - """ - contentTrgmSimilarity: Float - - """ - TRGM similarity when searching `revert`. Returns null when no trgm search filter is active. - """ - revertTrgmSimilarity: Float - - """ - TRGM similarity when searching `verify`. Returns null when no trgm search filter is active. - """ - verifyTrgmSimilarity: Float - - """ - TRGM similarity when searching `action`. Returns null when no trgm search filter is active. - """ - actionTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `SqlMigration` edge in the connection.""" @@ -25675,32 +24606,6 @@ input SqlMigrationFilter { """Negates the expression.""" not: SqlMigrationFilter - - """TRGM search on the `name` column.""" - trgmName: TrgmSearchInput - - """TRGM search on the `deploy` column.""" - trgmDeploy: TrgmSearchInput - - """TRGM search on the `content` column.""" - trgmContent: TrgmSearchInput - - """TRGM search on the `revert` column.""" - trgmRevert: TrgmSearchInput - - """TRGM search on the `verify` column.""" - trgmVerify: TrgmSearchInput - - """TRGM search on the `action` column.""" - trgmAction: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """Methods to use when ordering `SqlMigration`.""" @@ -25728,119 +24633,6 @@ enum SqlMigrationOrderBy { ACTION_ID_DESC ACTOR_ID_ASC ACTOR_ID_DESC - NAME_TRGM_SIMILARITY_ASC - NAME_TRGM_SIMILARITY_DESC - DEPLOY_TRGM_SIMILARITY_ASC - DEPLOY_TRGM_SIMILARITY_DESC - CONTENT_TRGM_SIMILARITY_ASC - CONTENT_TRGM_SIMILARITY_DESC - REVERT_TRGM_SIMILARITY_ASC - REVERT_TRGM_SIMILARITY_DESC - VERIFY_TRGM_SIMILARITY_ASC - VERIFY_TRGM_SIMILARITY_DESC - ACTION_TRGM_SIMILARITY_ASC - ACTION_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC -} - -"""A connection to a list of `Email` values.""" -type EmailConnection { - """A list of `Email` objects.""" - nodes: [Email]! - - """ - A list of edges which contains the `Email` and cursor to aid in pagination. - """ - edges: [EmailEdge]! - - """Information to aid in pagination.""" - pageInfo: PageInfo! - - """The count of *all* `Email` you could get from the connection.""" - totalCount: Int! -} - -"""User email addresses with verification and primary-email management""" -type Email { - id: UUID! - ownerId: UUID! - - """The email address""" - email: ConstructiveInternalTypeEmail! - - """Whether the email address has been verified via confirmation link""" - isVerified: Boolean! - - """Whether this is the user's primary email address""" - isPrimary: Boolean! - createdAt: Datetime - updatedAt: Datetime - - """Reads a single `User` that is related to this `Email`.""" - owner: User -} - -"""A `Email` edge in the connection.""" -type EmailEdge { - """A cursor for use in pagination.""" - cursor: Cursor - - """The `Email` at the end of the edge.""" - node: Email -} - -""" -A filter to be used against `Email` object types. All fields are combined with a logical ‘and.’ -""" -input EmailFilter { - """Filter by the object’s `id` field.""" - id: UUIDFilter - - """Filter by the object’s `ownerId` field.""" - ownerId: UUIDFilter - - """Filter by the object’s `email` field.""" - email: ConstructiveInternalTypeEmailFilter - - """Filter by the object’s `isVerified` field.""" - isVerified: BooleanFilter - - """Filter by the object’s `isPrimary` field.""" - isPrimary: BooleanFilter - - """Filter by the object’s `createdAt` field.""" - createdAt: DatetimeFilter - - """Filter by the object’s `updatedAt` field.""" - updatedAt: DatetimeFilter - - """Checks for all expressions in this list.""" - and: [EmailFilter!] - - """Checks for any expressions in this list.""" - or: [EmailFilter!] - - """Negates the expression.""" - not: EmailFilter - - """Filter by the object’s `owner` relation.""" - owner: UserFilter -} - -"""Methods to use when ordering `Email`.""" -enum EmailOrderBy { - NATURAL - PRIMARY_KEY_ASC - PRIMARY_KEY_DESC - ID_ASC - ID_DESC - EMAIL_ASC - EMAIL_DESC - CREATED_AT_ASC - CREATED_AT_DESC - UPDATED_AT_ASC - UPDATED_AT_DESC } """A connection to a list of `User` values.""" @@ -25921,16 +24713,6 @@ type AstMigration { action: String actionId: UUID actorId: UUID - - """ - TRGM similarity when searching `action`. Returns null when no trgm search filter is active. - """ - actionTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """A `AstMigration` edge in the connection.""" @@ -25993,17 +24775,6 @@ input AstMigrationFilter { """Negates the expression.""" not: AstMigrationFilter - - """TRGM search on the `action` column.""" - trgmAction: TrgmSearchInput - - """ - Composite full-text search. Provide a search string and it will be dispatched - to all text-compatible search algorithms (tsvector, BM25, pg_trgm) - simultaneously. Rows matching ANY algorithm are returned. All matching score - fields are populated. - """ - fullTextSearch: String } """Methods to use when ordering `AstMigration`.""" @@ -26025,10 +24796,6 @@ enum AstMigrationOrderBy { ACTION_ID_DESC ACTOR_ID_ASC ACTOR_ID_DESC - ACTION_TRGM_SIMILARITY_ASC - ACTION_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """A connection to a list of `AppMembership` values.""" @@ -26119,28 +24886,6 @@ enum HierarchyModuleOrderBy { ID_DESC DATABASE_ID_ASC DATABASE_ID_DESC - CHART_EDGES_TABLE_NAME_TRGM_SIMILARITY_ASC - CHART_EDGES_TABLE_NAME_TRGM_SIMILARITY_DESC - HIERARCHY_SPRT_TABLE_NAME_TRGM_SIMILARITY_ASC - HIERARCHY_SPRT_TABLE_NAME_TRGM_SIMILARITY_DESC - CHART_EDGE_GRANTS_TABLE_NAME_TRGM_SIMILARITY_ASC - CHART_EDGE_GRANTS_TABLE_NAME_TRGM_SIMILARITY_DESC - PREFIX_TRGM_SIMILARITY_ASC - PREFIX_TRGM_SIMILARITY_DESC - PRIVATE_SCHEMA_NAME_TRGM_SIMILARITY_ASC - PRIVATE_SCHEMA_NAME_TRGM_SIMILARITY_DESC - SPRT_TABLE_NAME_TRGM_SIMILARITY_ASC - SPRT_TABLE_NAME_TRGM_SIMILARITY_DESC - REBUILD_HIERARCHY_FUNCTION_TRGM_SIMILARITY_ASC - REBUILD_HIERARCHY_FUNCTION_TRGM_SIMILARITY_DESC - GET_SUBORDINATES_FUNCTION_TRGM_SIMILARITY_ASC - GET_SUBORDINATES_FUNCTION_TRGM_SIMILARITY_DESC - GET_MANAGERS_FUNCTION_TRGM_SIMILARITY_ASC - GET_MANAGERS_FUNCTION_TRGM_SIMILARITY_DESC - IS_MANAGER_OF_FUNCTION_TRGM_SIMILARITY_ASC - IS_MANAGER_OF_FUNCTION_TRGM_SIMILARITY_DESC - SEARCH_SCORE_ASC - SEARCH_SCORE_DESC } """Root meta schema type""" @@ -26293,24 +25038,36 @@ type MetaQuery { The root mutation type which contains root level fields which mutate data. """ type Mutation { + sendAccountDeletionEmail( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: SendAccountDeletionEmailInput! + ): SendAccountDeletionEmailPayload signOut( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. """ input: SignOutInput! ): SignOutPayload - sendAccountDeletionEmail( + acceptDatabaseTransfer( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. """ - input: SendAccountDeletionEmailInput! - ): SendAccountDeletionEmailPayload - checkPassword( + input: AcceptDatabaseTransferInput! + ): AcceptDatabaseTransferPayload + cancelDatabaseTransfer( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. """ - input: CheckPasswordInput! - ): CheckPasswordPayload + input: CancelDatabaseTransferInput! + ): CancelDatabaseTransferPayload + rejectDatabaseTransfer( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: RejectDatabaseTransferInput! + ): RejectDatabaseTransferPayload submitInviteCode( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. @@ -26323,18 +25080,12 @@ type Mutation { """ input: SubmitOrgInviteCodeInput! ): SubmitOrgInviteCodePayload - freezeObjects( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: FreezeObjectsInput! - ): FreezeObjectsPayload - initEmptyRepo( + checkPassword( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. """ - input: InitEmptyRepoInput! - ): InitEmptyRepoPayload + input: CheckPasswordInput! + ): CheckPasswordPayload confirmDeleteAccount( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. @@ -26353,30 +25104,40 @@ type Mutation { """ input: VerifyEmailInput! ): VerifyEmailPayload - removeNodeAtPath( + freezeObjects( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. """ - input: RemoveNodeAtPathInput! - ): RemoveNodeAtPathPayload - resetPassword( + input: FreezeObjectsInput! + ): FreezeObjectsPayload + initEmptyRepo( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. """ - input: ResetPasswordInput! - ): ResetPasswordPayload - bootstrapUser( + input: InitEmptyRepoInput! + ): InitEmptyRepoPayload + + """ + Executes a draft blueprint definition. Four phases: (1) create tables with nodes[], fields, and policies[], (2) create relations between tables, (3) create indexes on table fields (supports BTREE, HNSW, GIN, GIST, BM25, etc.), (4) create full-text search configurations with weighted multi-field TSVector support. nodes[] entries can be strings or {$type, data} objects. Relations use $type for relation_type with junction config in data. Indexes reference table_ref + column name(s) and are resolved to field_ids. Full-text searches reference table_ref + tsvector field + source fields with weights/langs. Builds a ref_map of local ref names to created table UUIDs. Updates blueprint status to constructed (or failed with error_details). Returns the ref_map. + """ + constructBlueprint( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. """ - input: BootstrapUserInput! - ): BootstrapUserPayload - setFieldOrder( + input: ConstructBlueprintInput! + ): ConstructBlueprintPayload + resetPassword( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. """ - input: SetFieldOrderInput! - ): SetFieldOrderPayload + input: ResetPasswordInput! + ): ResetPasswordPayload + removeNodeAtPath( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: RemoveNodeAtPathInput! + ): RemoveNodeAtPathPayload setDataAtPath( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. @@ -26389,12 +25150,34 @@ type Mutation { """ input: SetPropsAndCommitInput! ): SetPropsAndCommitPayload + + """ + Creates a new blueprint by copying a template definition. Checks visibility: owners can always copy their own templates, others require public visibility. Increments the template copy_count. Returns the new blueprint ID. + """ + copyTemplateToBlueprint( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CopyTemplateToBlueprintInput! + ): CopyTemplateToBlueprintPayload provisionDatabaseWithUser( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. """ input: ProvisionDatabaseWithUserInput! ): ProvisionDatabaseWithUserPayload + bootstrapUser( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: BootstrapUserInput! + ): BootstrapUserPayload + setFieldOrder( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: SetFieldOrderInput! + ): SetFieldOrderPayload insertNodeAtPath( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. @@ -26457,18 +25240,18 @@ type Mutation { """ input: OneTimeTokenInput! ): OneTimeTokenPayload - forgotPassword( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: ForgotPasswordInput! - ): ForgotPasswordPayload sendVerificationEmail( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. """ input: SendVerificationEmailInput! ): SendVerificationEmailPayload + forgotPassword( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: ForgotPasswordInput! + ): ForgotPasswordPayload verifyPassword( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. @@ -26506,6 +25289,14 @@ type Mutation { input: CreateApiSchemaInput! ): CreateApiSchemaPayload + """Creates a single `SiteTheme`.""" + createSiteTheme( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateSiteThemeInput! + ): CreateSiteThemePayload + """Creates a single `OrgMember`.""" createOrgMember( """ @@ -26546,22 +25337,6 @@ type Mutation { input: CreateSecretsModuleInput! ): CreateSecretsModulePayload - """Creates a single `UuidModule`.""" - createUuidModule( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: CreateUuidModuleInput! - ): CreateUuidModulePayload - - """Creates a single `SiteTheme`.""" - createSiteTheme( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: CreateSiteThemeInput! - ): CreateSiteThemePayload - """Creates a single `Store`.""" createStore( """ @@ -26746,6 +25521,14 @@ type Mutation { input: CreateCryptoAddressesModuleInput! ): CreateCryptoAddressesModulePayload + """Creates a single `ConnectedAccount`.""" + createConnectedAccount( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateConnectedAccountInput! + ): CreateConnectedAccountPayload + """Creates a single `PhoneNumber`.""" createPhoneNumber( """ @@ -26770,14 +25553,6 @@ type Mutation { input: CreateOrgLimitDefaultInput! ): CreateOrgLimitDefaultPayload - """Creates a single `ConnectedAccount`.""" - createConnectedAccount( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: CreateConnectedAccountInput! - ): CreateConnectedAccountPayload - """Creates a single `TableGrant`.""" createTableGrant( """ @@ -27026,6 +25801,14 @@ type Mutation { input: CreateSqlMigrationInput! ): CreateSqlMigrationPayload + """Creates a single `DatabaseTransfer`.""" + createDatabaseTransfer( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateDatabaseTransferInput! + ): CreateDatabaseTransferPayload + """Creates a single `CryptoAuthModule`.""" createCryptoAuthModule( """ @@ -27058,6 +25841,14 @@ type Mutation { input: CreateEmailInput! ): CreateEmailPayload + """Creates a single `Enum`.""" + createEnum( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateEnumInput! + ): CreateEnumPayload + """Creates a single `View`.""" createView( """ @@ -27066,6 +25857,14 @@ type Mutation { input: CreateViewInput! ): CreateViewPayload + """Creates a single `Blueprint`.""" + createBlueprint( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateBlueprintInput! + ): CreateBlueprintPayload + """Creates a single `PermissionsModule`.""" createPermissionsModule( """ @@ -27074,6 +25873,14 @@ type Mutation { input: CreatePermissionsModuleInput! ): CreatePermissionsModulePayload + """Creates a single `EmbeddingChunk`.""" + createEmbeddingChunk( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateEmbeddingChunkInput! + ): CreateEmbeddingChunkPayload + """Creates a single `LimitsModule`.""" createLimitsModule( """ @@ -27090,14 +25897,6 @@ type Mutation { input: CreateProfilesModuleInput! ): CreateProfilesModulePayload - """Creates a single `SecureTableProvision`.""" - createSecureTableProvision( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: CreateSecureTableProvisionInput! - ): CreateSecureTableProvisionPayload - """Creates a single `User`.""" createUser( """ @@ -27202,6 +26001,14 @@ type Mutation { input: CreateSiteInput! ): CreateSitePayload + """Creates a single `BlueprintTemplate`.""" + createBlueprintTemplate( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateBlueprintTemplateInput! + ): CreateBlueprintTemplatePayload + """Creates a single `HierarchyModule`.""" createHierarchyModule( """ @@ -27226,6 +26033,14 @@ type Mutation { input: CreateForeignKeyConstraintInput! ): CreateForeignKeyConstraintPayload + """Creates a single `SecureTableProvision`.""" + createSecureTableProvision( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateSecureTableProvisionInput! + ): CreateSecureTableProvisionPayload + """Creates a single `OrgInvite`.""" createOrgInvite( """ @@ -27258,14 +26073,6 @@ type Mutation { input: CreateUserAuthModuleInput! ): CreateUserAuthModulePayload - """Creates a single `RelationProvision`.""" - createRelationProvision( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: CreateRelationProvisionInput! - ): CreateRelationProvisionPayload - """Creates a single `Field`.""" createField( """ @@ -27282,6 +26089,14 @@ type Mutation { input: CreateMembershipsModuleInput! ): CreateMembershipsModulePayload + """Creates a single `RelationProvision`.""" + createRelationProvision( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: CreateRelationProvisionInput! + ): CreateRelationProvisionPayload + """Updates a single `DefaultIdsModule` using a unique key and a patch.""" updateDefaultIdsModule( """ @@ -27306,6 +26121,14 @@ type Mutation { input: UpdateApiSchemaInput! ): UpdateApiSchemaPayload + """Updates a single `SiteTheme` using a unique key and a patch.""" + updateSiteTheme( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateSiteThemeInput! + ): UpdateSiteThemePayload + """Updates a single `OrgMember` using a unique key and a patch.""" updateOrgMember( """ @@ -27350,22 +26173,6 @@ type Mutation { input: UpdateSecretsModuleInput! ): UpdateSecretsModulePayload - """Updates a single `UuidModule` using a unique key and a patch.""" - updateUuidModule( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdateUuidModuleInput! - ): UpdateUuidModulePayload - - """Updates a single `SiteTheme` using a unique key and a patch.""" - updateSiteTheme( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdateSiteThemeInput! - ): UpdateSiteThemePayload - """Updates a single `Store` using a unique key and a patch.""" updateStore( """ @@ -27558,6 +26365,14 @@ type Mutation { input: UpdateCryptoAddressesModuleInput! ): UpdateCryptoAddressesModulePayload + """Updates a single `ConnectedAccount` using a unique key and a patch.""" + updateConnectedAccount( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateConnectedAccountInput! + ): UpdateConnectedAccountPayload + """Updates a single `PhoneNumber` using a unique key and a patch.""" updatePhoneNumber( """ @@ -27582,14 +26397,6 @@ type Mutation { input: UpdateOrgLimitDefaultInput! ): UpdateOrgLimitDefaultPayload - """Updates a single `ConnectedAccount` using a unique key and a patch.""" - updateConnectedAccount( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdateConnectedAccountInput! - ): UpdateConnectedAccountPayload - """Updates a single `TableGrant` using a unique key and a patch.""" updateTableGrant( """ @@ -27836,6 +26643,14 @@ type Mutation { input: UpdateAppLevelInput! ): UpdateAppLevelPayload + """Updates a single `DatabaseTransfer` using a unique key and a patch.""" + updateDatabaseTransfer( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateDatabaseTransferInput! + ): UpdateDatabaseTransferPayload + """Updates a single `CryptoAuthModule` using a unique key and a patch.""" updateCryptoAuthModule( """ @@ -27870,6 +26685,14 @@ type Mutation { input: UpdateEmailInput! ): UpdateEmailPayload + """Updates a single `Enum` using a unique key and a patch.""" + updateEnum( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateEnumInput! + ): UpdateEnumPayload + """Updates a single `View` using a unique key and a patch.""" updateView( """ @@ -27878,6 +26701,14 @@ type Mutation { input: UpdateViewInput! ): UpdateViewPayload + """Updates a single `Blueprint` using a unique key and a patch.""" + updateBlueprint( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateBlueprintInput! + ): UpdateBlueprintPayload + """Updates a single `PermissionsModule` using a unique key and a patch.""" updatePermissionsModule( """ @@ -27886,6 +26717,14 @@ type Mutation { input: UpdatePermissionsModuleInput! ): UpdatePermissionsModulePayload + """Updates a single `EmbeddingChunk` using a unique key and a patch.""" + updateEmbeddingChunk( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateEmbeddingChunkInput! + ): UpdateEmbeddingChunkPayload + """Updates a single `LimitsModule` using a unique key and a patch.""" updateLimitsModule( """ @@ -27902,16 +26741,6 @@ type Mutation { input: UpdateProfilesModuleInput! ): UpdateProfilesModulePayload - """ - Updates a single `SecureTableProvision` using a unique key and a patch. - """ - updateSecureTableProvision( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdateSecureTableProvisionInput! - ): UpdateSecureTableProvisionPayload - """Updates a single `User` using a unique key and a patch.""" updateUser( """ @@ -28010,6 +26839,14 @@ type Mutation { input: UpdateSiteInput! ): UpdateSitePayload + """Updates a single `BlueprintTemplate` using a unique key and a patch.""" + updateBlueprintTemplate( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateBlueprintTemplateInput! + ): UpdateBlueprintTemplatePayload + """Updates a single `HierarchyModule` using a unique key and a patch.""" updateHierarchyModule( """ @@ -28036,6 +26873,16 @@ type Mutation { input: UpdateForeignKeyConstraintInput! ): UpdateForeignKeyConstraintPayload + """ + Updates a single `SecureTableProvision` using a unique key and a patch. + """ + updateSecureTableProvision( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateSecureTableProvisionInput! + ): UpdateSecureTableProvisionPayload + """Updates a single `OrgInvite` using a unique key and a patch.""" updateOrgInvite( """ @@ -28068,14 +26915,6 @@ type Mutation { input: UpdateUserAuthModuleInput! ): UpdateUserAuthModulePayload - """Updates a single `RelationProvision` using a unique key and a patch.""" - updateRelationProvision( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: UpdateRelationProvisionInput! - ): UpdateRelationProvisionPayload - """Updates a single `Field` using a unique key and a patch.""" updateField( """ @@ -28092,6 +26931,14 @@ type Mutation { input: UpdateMembershipsModuleInput! ): UpdateMembershipsModulePayload + """Updates a single `RelationProvision` using a unique key and a patch.""" + updateRelationProvision( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: UpdateRelationProvisionInput! + ): UpdateRelationProvisionPayload + """Deletes a single `DefaultIdsModule` using a unique key.""" deleteDefaultIdsModule( """ @@ -28116,6 +26963,14 @@ type Mutation { input: DeleteApiSchemaInput! ): DeleteApiSchemaPayload + """Deletes a single `SiteTheme` using a unique key.""" + deleteSiteTheme( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteSiteThemeInput! + ): DeleteSiteThemePayload + """Deletes a single `OrgMember` using a unique key.""" deleteOrgMember( """ @@ -28156,22 +27011,6 @@ type Mutation { input: DeleteSecretsModuleInput! ): DeleteSecretsModulePayload - """Deletes a single `UuidModule` using a unique key.""" - deleteUuidModule( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeleteUuidModuleInput! - ): DeleteUuidModulePayload - - """Deletes a single `SiteTheme` using a unique key.""" - deleteSiteTheme( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeleteSiteThemeInput! - ): DeleteSiteThemePayload - """Deletes a single `Store` using a unique key.""" deleteStore( """ @@ -28356,6 +27195,14 @@ type Mutation { input: DeleteCryptoAddressesModuleInput! ): DeleteCryptoAddressesModulePayload + """Deletes a single `ConnectedAccount` using a unique key.""" + deleteConnectedAccount( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteConnectedAccountInput! + ): DeleteConnectedAccountPayload + """Deletes a single `PhoneNumber` using a unique key.""" deletePhoneNumber( """ @@ -28380,14 +27227,6 @@ type Mutation { input: DeleteOrgLimitDefaultInput! ): DeleteOrgLimitDefaultPayload - """Deletes a single `ConnectedAccount` using a unique key.""" - deleteConnectedAccount( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeleteConnectedAccountInput! - ): DeleteConnectedAccountPayload - """Deletes a single `TableGrant` using a unique key.""" deleteTableGrant( """ @@ -28628,6 +27467,14 @@ type Mutation { input: DeleteAppLevelInput! ): DeleteAppLevelPayload + """Deletes a single `DatabaseTransfer` using a unique key.""" + deleteDatabaseTransfer( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteDatabaseTransferInput! + ): DeleteDatabaseTransferPayload + """Deletes a single `CryptoAuthModule` using a unique key.""" deleteCryptoAuthModule( """ @@ -28660,6 +27507,14 @@ type Mutation { input: DeleteEmailInput! ): DeleteEmailPayload + """Deletes a single `Enum` using a unique key.""" + deleteEnum( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteEnumInput! + ): DeleteEnumPayload + """Deletes a single `View` using a unique key.""" deleteView( """ @@ -28668,6 +27523,14 @@ type Mutation { input: DeleteViewInput! ): DeleteViewPayload + """Deletes a single `Blueprint` using a unique key.""" + deleteBlueprint( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteBlueprintInput! + ): DeleteBlueprintPayload + """Deletes a single `PermissionsModule` using a unique key.""" deletePermissionsModule( """ @@ -28676,6 +27539,14 @@ type Mutation { input: DeletePermissionsModuleInput! ): DeletePermissionsModulePayload + """Deletes a single `EmbeddingChunk` using a unique key.""" + deleteEmbeddingChunk( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteEmbeddingChunkInput! + ): DeleteEmbeddingChunkPayload + """Deletes a single `LimitsModule` using a unique key.""" deleteLimitsModule( """ @@ -28692,14 +27563,6 @@ type Mutation { input: DeleteProfilesModuleInput! ): DeleteProfilesModulePayload - """Deletes a single `SecureTableProvision` using a unique key.""" - deleteSecureTableProvision( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeleteSecureTableProvisionInput! - ): DeleteSecureTableProvisionPayload - """Deletes a single `User` using a unique key.""" deleteUser( """ @@ -28796,6 +27659,14 @@ type Mutation { input: DeleteSiteInput! ): DeleteSitePayload + """Deletes a single `BlueprintTemplate` using a unique key.""" + deleteBlueprintTemplate( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteBlueprintTemplateInput! + ): DeleteBlueprintTemplatePayload + """Deletes a single `HierarchyModule` using a unique key.""" deleteHierarchyModule( """ @@ -28820,6 +27691,14 @@ type Mutation { input: DeleteForeignKeyConstraintInput! ): DeleteForeignKeyConstraintPayload + """Deletes a single `SecureTableProvision` using a unique key.""" + deleteSecureTableProvision( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteSecureTableProvisionInput! + ): DeleteSecureTableProvisionPayload + """Deletes a single `OrgInvite` using a unique key.""" deleteOrgInvite( """ @@ -28852,14 +27731,6 @@ type Mutation { input: DeleteUserAuthModuleInput! ): DeleteUserAuthModulePayload - """Deletes a single `RelationProvision` using a unique key.""" - deleteRelationProvision( - """ - The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. - """ - input: DeleteRelationProvisionInput! - ): DeleteRelationProvisionPayload - """Deletes a single `Field` using a unique key.""" deleteField( """ @@ -28875,6 +27746,38 @@ type Mutation { """ input: DeleteMembershipsModuleInput! ): DeleteMembershipsModulePayload + + """Deletes a single `RelationProvision` using a unique key.""" + deleteRelationProvision( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: DeleteRelationProvisionInput! + ): DeleteRelationProvisionPayload +} + +"""The output of our `sendAccountDeletionEmail` mutation.""" +type SendAccountDeletionEmailPayload { + """ + The exact same `clientMutationId` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String + result: Boolean + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query +} + +"""All input for the `sendAccountDeletionEmail` mutation.""" +input SendAccountDeletionEmailInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String } """The output of our `signOut` mutation.""" @@ -28900,8 +27803,8 @@ input SignOutInput { clientMutationId: String } -"""The output of our `sendAccountDeletionEmail` mutation.""" -type SendAccountDeletionEmailPayload { +"""The output of our `acceptDatabaseTransfer` mutation.""" +type AcceptDatabaseTransferPayload { """ The exact same `clientMutationId` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. @@ -28915,22 +27818,24 @@ type SendAccountDeletionEmailPayload { query: Query } -"""All input for the `sendAccountDeletionEmail` mutation.""" -input SendAccountDeletionEmailInput { +"""All input for the `acceptDatabaseTransfer` mutation.""" +input AcceptDatabaseTransferInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. """ clientMutationId: String + transferId: UUID } -"""The output of our `checkPassword` mutation.""" -type CheckPasswordPayload { +"""The output of our `cancelDatabaseTransfer` mutation.""" +type CancelDatabaseTransferPayload { """ The exact same `clientMutationId` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String + result: Boolean """ Our root query field type. Allows us to run any query from our mutation payload. @@ -28938,18 +27843,18 @@ type CheckPasswordPayload { query: Query } -"""All input for the `checkPassword` mutation.""" -input CheckPasswordInput { +"""All input for the `cancelDatabaseTransfer` mutation.""" +input CancelDatabaseTransferInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. """ clientMutationId: String - password: String + transferId: UUID } -"""The output of our `submitInviteCode` mutation.""" -type SubmitInviteCodePayload { +"""The output of our `rejectDatabaseTransfer` mutation.""" +type RejectDatabaseTransferPayload { """ The exact same `clientMutationId` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. @@ -28963,18 +27868,18 @@ type SubmitInviteCodePayload { query: Query } -"""All input for the `submitInviteCode` mutation.""" -input SubmitInviteCodeInput { +"""All input for the `rejectDatabaseTransfer` mutation.""" +input RejectDatabaseTransferInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. """ clientMutationId: String - token: String + transferId: UUID } -"""The output of our `submitOrgInviteCode` mutation.""" -type SubmitOrgInviteCodePayload { +"""The output of our `submitInviteCode` mutation.""" +type SubmitInviteCodePayload { """ The exact same `clientMutationId` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. @@ -28988,8 +27893,8 @@ type SubmitOrgInviteCodePayload { query: Query } -"""All input for the `submitOrgInviteCode` mutation.""" -input SubmitOrgInviteCodeInput { +"""All input for the `submitInviteCode` mutation.""" +input SubmitInviteCodeInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. @@ -28998,13 +27903,14 @@ input SubmitOrgInviteCodeInput { token: String } -"""The output of our `freezeObjects` mutation.""" -type FreezeObjectsPayload { +"""The output of our `submitOrgInviteCode` mutation.""" +type SubmitOrgInviteCodePayload { """ The exact same `clientMutationId` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String + result: Boolean """ Our root query field type. Allows us to run any query from our mutation payload. @@ -29012,19 +27918,18 @@ type FreezeObjectsPayload { query: Query } -"""All input for the `freezeObjects` mutation.""" -input FreezeObjectsInput { +"""All input for the `submitOrgInviteCode` mutation.""" +input SubmitOrgInviteCodeInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. """ clientMutationId: String - databaseId: UUID - id: UUID + token: String } -"""The output of our `initEmptyRepo` mutation.""" -type InitEmptyRepoPayload { +"""The output of our `checkPassword` mutation.""" +type CheckPasswordPayload { """ The exact same `clientMutationId` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. @@ -29037,15 +27942,14 @@ type InitEmptyRepoPayload { query: Query } -"""All input for the `initEmptyRepo` mutation.""" -input InitEmptyRepoInput { +"""All input for the `checkPassword` mutation.""" +input CheckPasswordInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. """ clientMutationId: String - dbId: UUID - storeId: UUID + password: String } """The output of our `confirmDeleteAccount` mutation.""" @@ -29126,14 +28030,13 @@ input VerifyEmailInput { token: String } -"""The output of our `removeNodeAtPath` mutation.""" -type RemoveNodeAtPathPayload { +"""The output of our `freezeObjects` mutation.""" +type FreezeObjectsPayload { """ The exact same `clientMutationId` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String - result: UUID """ Our root query field type. Allows us to run any query from our mutation payload. @@ -29141,26 +28044,24 @@ type RemoveNodeAtPathPayload { query: Query } -"""All input for the `removeNodeAtPath` mutation.""" -input RemoveNodeAtPathInput { +"""All input for the `freezeObjects` mutation.""" +input FreezeObjectsInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. """ clientMutationId: String - dbId: UUID - root: UUID - path: [String] + databaseId: UUID + id: UUID } -"""The output of our `resetPassword` mutation.""" -type ResetPasswordPayload { +"""The output of our `initEmptyRepo` mutation.""" +type InitEmptyRepoPayload { """ The exact same `clientMutationId` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String - result: Boolean """ Our root query field type. Allows us to run any query from our mutation payload. @@ -29168,26 +28069,25 @@ type ResetPasswordPayload { query: Query } -"""All input for the `resetPassword` mutation.""" -input ResetPasswordInput { +"""All input for the `initEmptyRepo` mutation.""" +input InitEmptyRepoInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. """ clientMutationId: String - roleId: UUID - resetToken: String - newPassword: String + dbId: UUID + storeId: UUID } -"""The output of our `bootstrapUser` mutation.""" -type BootstrapUserPayload { +"""The output of our `constructBlueprint` mutation.""" +type ConstructBlueprintPayload { """ The exact same `clientMutationId` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String - result: [BootstrapUserRecord] + result: JSON """ Our root query field type. Allows us to run any query from our mutation payload. @@ -29195,65 +28095,52 @@ type BootstrapUserPayload { query: Query } -type BootstrapUserRecord { - outUserId: UUID - outEmail: String - outUsername: String - outDisplayName: String - outIsAdmin: Boolean - outIsOwner: Boolean - outIsSudo: Boolean - outApiKey: String - - """ - TRGM similarity when searching `outEmail`. Returns null when no trgm search filter is active. - """ - outEmailTrgmSimilarity: Float - +"""All input for the `constructBlueprint` mutation.""" +input ConstructBlueprintInput { """ - TRGM similarity when searching `outUsername`. Returns null when no trgm search filter is active. - """ - outUsernameTrgmSimilarity: Float - - """ - TRGM similarity when searching `outDisplayName`. Returns null when no trgm search filter is active. + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. """ - outDisplayNameTrgmSimilarity: Float + clientMutationId: String + blueprintId: UUID + schemaId: UUID +} +"""The output of our `resetPassword` mutation.""" +type ResetPasswordPayload { """ - TRGM similarity when searching `outApiKey`. Returns null when no trgm search filter is active. + The exact same `clientMutationId` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. """ - outApiKeyTrgmSimilarity: Float + clientMutationId: String + result: Boolean """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. + Our root query field type. Allows us to run any query from our mutation payload. """ - searchScore: Float + query: Query } -"""All input for the `bootstrapUser` mutation.""" -input BootstrapUserInput { +"""All input for the `resetPassword` mutation.""" +input ResetPasswordInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. """ clientMutationId: String - targetDatabaseId: UUID - password: String - isAdmin: Boolean - isOwner: Boolean - username: String - displayName: String - returnApiKey: Boolean + roleId: UUID + resetToken: String + newPassword: String } -"""The output of our `setFieldOrder` mutation.""" -type SetFieldOrderPayload { +"""The output of our `removeNodeAtPath` mutation.""" +type RemoveNodeAtPathPayload { """ The exact same `clientMutationId` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String + result: UUID """ Our root query field type. Allows us to run any query from our mutation payload. @@ -29261,14 +28148,16 @@ type SetFieldOrderPayload { query: Query } -"""All input for the `setFieldOrder` mutation.""" -input SetFieldOrderInput { +"""All input for the `removeNodeAtPath` mutation.""" +input RemoveNodeAtPathInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. """ clientMutationId: String - fieldIds: [UUID] + dbId: UUID + root: UUID + path: [String] } """The output of our `setDataAtPath` mutation.""" @@ -29328,14 +28217,14 @@ input SetPropsAndCommitInput { data: JSON } -"""The output of our `provisionDatabaseWithUser` mutation.""" -type ProvisionDatabaseWithUserPayload { +"""The output of our `copyTemplateToBlueprint` mutation.""" +type CopyTemplateToBlueprintPayload { """ The exact same `clientMutationId` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String - result: [ProvisionDatabaseWithUserRecord] + result: UUID """ Our root query field type. Allows us to run any query from our mutation payload. @@ -29343,19 +28232,38 @@ type ProvisionDatabaseWithUserPayload { query: Query } -type ProvisionDatabaseWithUserRecord { - outDatabaseId: UUID - outApiKey: String +"""All input for the `copyTemplateToBlueprint` mutation.""" +input CopyTemplateToBlueprintInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + templateId: UUID + databaseId: UUID + ownerId: UUID + nameOverride: String + displayNameOverride: String +} +"""The output of our `provisionDatabaseWithUser` mutation.""" +type ProvisionDatabaseWithUserPayload { """ - TRGM similarity when searching `outApiKey`. Returns null when no trgm search filter is active. + The exact same `clientMutationId` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. """ - outApiKeyTrgmSimilarity: Float + clientMutationId: String + result: [ProvisionDatabaseWithUserRecord] """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. + Our root query field type. Allows us to run any query from our mutation payload. """ - searchScore: Float + query: Query +} + +type ProvisionDatabaseWithUserRecord { + outDatabaseId: UUID + outApiKey: String } """All input for the `provisionDatabaseWithUser` mutation.""" @@ -29372,6 +28280,72 @@ input ProvisionDatabaseWithUserInput { pOptions: JSON } +"""The output of our `bootstrapUser` mutation.""" +type BootstrapUserPayload { + """ + The exact same `clientMutationId` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String + result: [BootstrapUserRecord] + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query +} + +type BootstrapUserRecord { + outUserId: UUID + outEmail: String + outUsername: String + outDisplayName: String + outIsAdmin: Boolean + outIsOwner: Boolean + outIsSudo: Boolean + outApiKey: String +} + +"""All input for the `bootstrapUser` mutation.""" +input BootstrapUserInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + targetDatabaseId: UUID + password: String + isAdmin: Boolean + isOwner: Boolean + username: String + displayName: String + returnApiKey: Boolean +} + +"""The output of our `setFieldOrder` mutation.""" +type SetFieldOrderPayload { + """ + The exact same `clientMutationId` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query +} + +"""All input for the `setFieldOrder` mutation.""" +input SetFieldOrderInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + fieldIds: [UUID] +} + """The output of our `insertNodeAtPath` mutation.""" type InsertNodeAtPathPayload { """ @@ -29515,16 +28489,6 @@ type SignInOneTimeTokenRecord { accessTokenExpiresAt: Datetime isVerified: Boolean totpEnabled: Boolean - - """ - TRGM similarity when searching `accessToken`. Returns null when no trgm search filter is active. - """ - accessTokenTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """All input for the `signInOneTimeToken` mutation.""" @@ -29622,16 +28586,6 @@ type SignInRecord { accessTokenExpiresAt: Datetime isVerified: Boolean totpEnabled: Boolean - - """ - TRGM similarity when searching `accessToken`. Returns null when no trgm search filter is active. - """ - accessTokenTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """All input for the `signIn` mutation.""" @@ -29670,16 +28624,6 @@ type SignUpRecord { accessTokenExpiresAt: Datetime isVerified: Boolean totpEnabled: Boolean - - """ - TRGM similarity when searching `accessToken`. Returns null when no trgm search filter is active. - """ - accessTokenTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """All input for the `signUp` mutation.""" @@ -29724,13 +28668,14 @@ input OneTimeTokenInput { rememberMe: Boolean } -"""The output of our `forgotPassword` mutation.""" -type ForgotPasswordPayload { +"""The output of our `sendVerificationEmail` mutation.""" +type SendVerificationEmailPayload { """ The exact same `clientMutationId` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String + result: Boolean """ Our root query field type. Allows us to run any query from our mutation payload. @@ -29738,8 +28683,8 @@ type ForgotPasswordPayload { query: Query } -"""All input for the `forgotPassword` mutation.""" -input ForgotPasswordInput { +"""All input for the `sendVerificationEmail` mutation.""" +input SendVerificationEmailInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. @@ -29748,14 +28693,13 @@ input ForgotPasswordInput { email: ConstructiveInternalTypeEmail } -"""The output of our `sendVerificationEmail` mutation.""" -type SendVerificationEmailPayload { +"""The output of our `forgotPassword` mutation.""" +type ForgotPasswordPayload { """ The exact same `clientMutationId` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String - result: Boolean """ Our root query field type. Allows us to run any query from our mutation payload. @@ -29763,8 +28707,8 @@ type SendVerificationEmailPayload { query: Query } -"""All input for the `sendVerificationEmail` mutation.""" -input SendVerificationEmailInput { +"""All input for the `forgotPassword` mutation.""" +input ForgotPasswordInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. @@ -29840,26 +28784,6 @@ type Session { csrfSecret: String createdAt: Datetime updatedAt: Datetime - - """ - TRGM similarity when searching `uagent`. Returns null when no trgm search filter is active. - """ - uagentTrgmSimilarity: Float - - """ - TRGM similarity when searching `fingerprintMode`. Returns null when no trgm search filter is active. - """ - fingerprintModeTrgmSimilarity: Float - - """ - TRGM similarity when searching `csrfSecret`. Returns null when no trgm search filter is active. - """ - csrfSecretTrgmSimilarity: Float - - """ - Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. - """ - searchScore: Float } """All input for the `verifyPassword` mutation.""" @@ -30031,6 +28955,58 @@ input ApiSchemaInput { apiId: UUID! } +"""The output of our create `SiteTheme` mutation.""" +type CreateSiteThemePayload { + """ + The exact same `clientMutationId` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String + + """The `SiteTheme` that was created by this mutation.""" + siteTheme: SiteTheme + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `SiteTheme`. May be used by Relay 1.""" + siteThemeEdge( + """The method to use when ordering `SiteTheme`.""" + orderBy: [SiteThemeOrderBy!]! = [PRIMARY_KEY_ASC] + ): SiteThemeEdge +} + +"""All input for the create `SiteTheme` mutation.""" +input CreateSiteThemeInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + + """The `SiteTheme` to be created by this mutation.""" + siteTheme: SiteThemeInput! +} + +"""An input for mutations affecting `SiteTheme`""" +input SiteThemeInput { + """Unique identifier for this theme record""" + id: UUID + + """Reference to the metaschema database""" + databaseId: UUID! + + """Site this theme belongs to""" + siteId: UUID! + + """ + JSONB object containing theme tokens (colors, typography, spacing, etc.) + """ + theme: JSON! +} + """The output of our create `OrgMember` mutation.""" type CreateOrgMemberPayload { """ @@ -30259,102 +29235,6 @@ input SecretsModuleInput { tableName: String } -"""The output of our create `UuidModule` mutation.""" -type CreateUuidModulePayload { - """ - The exact same `clientMutationId` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - - """The `UuidModule` that was created by this mutation.""" - uuidModule: UuidModule - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `UuidModule`. May be used by Relay 1.""" - uuidModuleEdge( - """The method to use when ordering `UuidModule`.""" - orderBy: [UuidModuleOrderBy!]! = [PRIMARY_KEY_ASC] - ): UuidModuleEdge -} - -"""All input for the create `UuidModule` mutation.""" -input CreateUuidModuleInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - - """The `UuidModule` to be created by this mutation.""" - uuidModule: UuidModuleInput! -} - -"""An input for mutations affecting `UuidModule`""" -input UuidModuleInput { - id: UUID - databaseId: UUID! - schemaId: UUID - uuidFunction: String - uuidSeed: String! -} - -"""The output of our create `SiteTheme` mutation.""" -type CreateSiteThemePayload { - """ - The exact same `clientMutationId` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - - """The `SiteTheme` that was created by this mutation.""" - siteTheme: SiteTheme - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `SiteTheme`. May be used by Relay 1.""" - siteThemeEdge( - """The method to use when ordering `SiteTheme`.""" - orderBy: [SiteThemeOrderBy!]! = [PRIMARY_KEY_ASC] - ): SiteThemeEdge -} - -"""All input for the create `SiteTheme` mutation.""" -input CreateSiteThemeInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - - """The `SiteTheme` to be created by this mutation.""" - siteTheme: SiteThemeInput! -} - -"""An input for mutations affecting `SiteTheme`""" -input SiteThemeInput { - """Unique identifier for this theme record""" - id: UUID - - """Reference to the metaschema database""" - databaseId: UUID! - - """Site this theme belongs to""" - siteId: UUID! - - """ - JSONB object containing theme tokens (colors, typography, spacing, etc.) - """ - theme: JSON! -} - """The output of our create `Store` mutation.""" type CreateStorePayload { """ @@ -31466,6 +30346,61 @@ input CryptoAddressesModuleInput { cryptoNetwork: String } +"""The output of our create `ConnectedAccount` mutation.""" +type CreateConnectedAccountPayload { + """ + The exact same `clientMutationId` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String + + """The `ConnectedAccount` that was created by this mutation.""" + connectedAccount: ConnectedAccount + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `ConnectedAccount`. May be used by Relay 1.""" + connectedAccountEdge( + """The method to use when ordering `ConnectedAccount`.""" + orderBy: [ConnectedAccountOrderBy!]! = [PRIMARY_KEY_ASC] + ): ConnectedAccountEdge +} + +"""All input for the create `ConnectedAccount` mutation.""" +input CreateConnectedAccountInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + + """The `ConnectedAccount` to be created by this mutation.""" + connectedAccount: ConnectedAccountInput! +} + +"""An input for mutations affecting `ConnectedAccount`""" +input ConnectedAccountInput { + id: UUID + ownerId: UUID + + """The service used, e.g. `twitter` or `github`.""" + service: String! + + """A unique identifier for the user within the service""" + identifier: String! + + """Additional profile details extracted from this login method""" + details: JSON! + + """Whether this connected account has been verified""" + isVerified: Boolean + createdAt: Datetime + updatedAt: Datetime +} + """The output of our create `PhoneNumber` mutation.""" type CreatePhoneNumberPayload { """ @@ -31613,61 +30548,6 @@ input OrgLimitDefaultInput { max: Int } -"""The output of our create `ConnectedAccount` mutation.""" -type CreateConnectedAccountPayload { - """ - The exact same `clientMutationId` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - - """The `ConnectedAccount` that was created by this mutation.""" - connectedAccount: ConnectedAccount - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `ConnectedAccount`. May be used by Relay 1.""" - connectedAccountEdge( - """The method to use when ordering `ConnectedAccount`.""" - orderBy: [ConnectedAccountOrderBy!]! = [PRIMARY_KEY_ASC] - ): ConnectedAccountEdge -} - -"""All input for the create `ConnectedAccount` mutation.""" -input CreateConnectedAccountInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - - """The `ConnectedAccount` to be created by this mutation.""" - connectedAccount: ConnectedAccountInput! -} - -"""An input for mutations affecting `ConnectedAccount`""" -input ConnectedAccountInput { - id: UUID - ownerId: UUID - - """The service used, e.g. `twitter` or `github`.""" - service: String! - - """A unique identifier for the user within the service""" - identifier: String! - - """Additional profile details extracted from this login method""" - details: JSON! - - """Whether this connected account has been verified""" - isVerified: Boolean - createdAt: Datetime - updatedAt: Datetime -} - """The output of our create `TableGrant` mutation.""" type CreateTableGrantPayload { """ @@ -31860,8 +30740,10 @@ input OrgChartEdgeGrantInput { """User ID of the manager being assigned; NULL for top-level positions""" parentId: UUID - """User ID of the admin who performed this grant or revocation""" - grantorId: UUID! + """ + User ID of the admin who performed this grant or revocation; NULL if grantor was deleted + """ + grantorId: UUID """TRUE to add/update the edge, FALSE to remove it""" isGrant: Boolean @@ -33212,7 +32094,7 @@ input AuditLogInput { """ event: String! - """User who performed the authentication action""" + """User who performed the authentication action; NULL if user was deleted""" actorId: UUID """Request origin (domain) where the auth event occurred""" @@ -33331,6 +32213,59 @@ input SqlMigrationInput { actorId: UUID } +"""The output of our create `DatabaseTransfer` mutation.""" +type CreateDatabaseTransferPayload { + """ + The exact same `clientMutationId` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String + + """The `DatabaseTransfer` that was created by this mutation.""" + databaseTransfer: DatabaseTransfer + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `DatabaseTransfer`. May be used by Relay 1.""" + databaseTransferEdge( + """The method to use when ordering `DatabaseTransfer`.""" + orderBy: [DatabaseTransferOrderBy!]! = [PRIMARY_KEY_ASC] + ): DatabaseTransferEdge +} + +"""All input for the create `DatabaseTransfer` mutation.""" +input CreateDatabaseTransferInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + + """The `DatabaseTransfer` to be created by this mutation.""" + databaseTransfer: DatabaseTransferInput! +} + +"""An input for mutations affecting `DatabaseTransfer`""" +input DatabaseTransferInput { + id: UUID + databaseId: UUID! + targetOwnerId: UUID! + sourceApproved: Boolean + targetApproved: Boolean + sourceApprovedAt: Datetime + targetApprovedAt: Datetime + status: String + initiatedBy: UUID! + notes: String + expiresAt: Datetime + createdAt: Datetime + updatedAt: Datetime + completedAt: Datetime +} + """The output of our create `CryptoAuthModule` mutation.""" type CreateCryptoAuthModulePayload { """ @@ -33564,6 +32499,57 @@ input EmailInput { updatedAt: Datetime } +"""The output of our create `Enum` mutation.""" +type CreateEnumPayload { + """ + The exact same `clientMutationId` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String + + """The `Enum` that was created by this mutation.""" + enum: Enum + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Enum`. May be used by Relay 1.""" + enumEdge( + """The method to use when ordering `Enum`.""" + orderBy: [EnumOrderBy!]! = [PRIMARY_KEY_ASC] + ): EnumEdge +} + +"""All input for the create `Enum` mutation.""" +input CreateEnumInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + + """The `Enum` to be created by this mutation.""" + enum: EnumInput! +} + +"""An input for mutations affecting `Enum`""" +input EnumInput { + id: UUID + databaseId: UUID! + schemaId: UUID! + name: String! + label: String + description: String + values: [String] + smartTags: JSON + category: ObjectCategory + module: String + scope: Int + tags: [String] +} + """The output of our create `View` mutation.""" type CreateViewPayload { """ @@ -33619,6 +32605,115 @@ input ViewInput { tags: [String] } +"""The output of our create `Blueprint` mutation.""" +type CreateBlueprintPayload { + """ + The exact same `clientMutationId` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String + + """The `Blueprint` that was created by this mutation.""" + blueprint: Blueprint + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Blueprint`. May be used by Relay 1.""" + blueprintEdge( + """The method to use when ordering `Blueprint`.""" + orderBy: [BlueprintOrderBy!]! = [PRIMARY_KEY_ASC] + ): BlueprintEdge +} + +"""All input for the create `Blueprint` mutation.""" +input CreateBlueprintInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + + """The `Blueprint` to be created by this mutation.""" + blueprint: BlueprintInput! +} + +"""An input for mutations affecting `Blueprint`""" +input BlueprintInput { + """Unique identifier for this blueprint.""" + id: UUID + + """The user who owns this blueprint.""" + ownerId: UUID! + + """ + The database this blueprint is scoped to. Tables created by construct_blueprint() are provisioned in this database. + """ + databaseId: UUID! + + """Machine-readable name for the blueprint. Must be unique per database.""" + name: String! + + """Human-readable display name for the blueprint.""" + displayName: String! + + """Optional description of the blueprint.""" + description: String + + """ + The blueprint definition as a JSONB document. Same format as blueprint_template.definition: contains tables[] (with nodes[], fields[], grants[], policies[] using $type) and relations[] (using $type). This is a mutable copy that the owner can customize before executing. + """ + definition: JSON! + + """ + If this blueprint was created by copying a template, the ID of the source template. NULL if built from scratch. + """ + templateId: UUID + + """ + Execution state of the blueprint. draft: not yet executed (definition can still be modified). constructed: successfully executed via construct_blueprint(). failed: execution failed (see error_details). Defaults to draft. + """ + status: String + + """ + Timestamp when construct_blueprint() successfully completed. NULL until constructed. + """ + constructedAt: Datetime + + """ + Error message from the most recent failed construct_blueprint() attempt. NULL unless status is failed. + """ + errorDetails: String + + """ + Mapping of ref names to created table UUIDs, populated by construct_blueprint() after successful execution. Format: {"products": "uuid", "categories": "uuid", ...}. Defaults to empty object. + """ + refMap: JSON + + """ + Immutable snapshot of the definition at construct-time. Preserved so the exact definition that was executed is recorded even if the user later modifies the definition for re-execution. NULL until constructed. + """ + constructedDefinition: JSON + + """ + UUIDv5 Merkle root hash of the definition. Computed automatically via trigger from the ordered table_hashes. Used for content-addressable deduplication and provenance tracking. Backend-computed — clients should never set this directly. + """ + definitionHash: UUID + + """ + JSONB map of table ref names to their individual UUIDv5 content hashes. Each table hash is computed from the canonical jsonb::text of the table entry. Enables structural comparison at the table level across blueprints and templates. Backend-computed via trigger. + """ + tableHashes: JSON + + """Timestamp when this blueprint was created.""" + createdAt: Datetime + + """Timestamp when this blueprint was last modified.""" + updatedAt: Datetime +} + """The output of our create `PermissionsModule` mutation.""" type CreatePermissionsModulePayload { """ @@ -33675,6 +32770,63 @@ input PermissionsModuleInput { getMaskByName: String } +"""The output of our create `EmbeddingChunk` mutation.""" +type CreateEmbeddingChunkPayload { + """ + The exact same `clientMutationId` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String + + """The `EmbeddingChunk` that was created by this mutation.""" + embeddingChunk: EmbeddingChunk + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `EmbeddingChunk`. May be used by Relay 1.""" + embeddingChunkEdge( + """The method to use when ordering `EmbeddingChunk`.""" + orderBy: [EmbeddingChunkOrderBy!]! = [PRIMARY_KEY_ASC] + ): EmbeddingChunkEdge +} + +"""All input for the create `EmbeddingChunk` mutation.""" +input CreateEmbeddingChunkInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + + """The `EmbeddingChunk` to be created by this mutation.""" + embeddingChunk: EmbeddingChunkInput! +} + +"""An input for mutations affecting `EmbeddingChunk`""" +input EmbeddingChunkInput { + id: UUID + databaseId: UUID + tableId: UUID! + embeddingFieldId: UUID + chunksTableId: UUID + chunksTableName: String + contentFieldName: String + dimensions: Int + metric: String + chunkSize: Int + chunkOverlap: Int + chunkStrategy: String + metadataFields: JSON + enqueueChunkingJob: Boolean + chunkingTaskName: String + parentFkFieldId: UUID + createdAt: Datetime + updatedAt: Datetime +} + """The output of our create `LimitsModule` mutation.""" type CreateLimitsModulePayload { """ @@ -33789,130 +32941,6 @@ input ProfilesModuleInput { prefix: String } -"""The output of our create `SecureTableProvision` mutation.""" -type CreateSecureTableProvisionPayload { - """ - The exact same `clientMutationId` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - - """The `SecureTableProvision` that was created by this mutation.""" - secureTableProvision: SecureTableProvision - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `SecureTableProvision`. May be used by Relay 1.""" - secureTableProvisionEdge( - """The method to use when ordering `SecureTableProvision`.""" - orderBy: [SecureTableProvisionOrderBy!]! = [PRIMARY_KEY_ASC] - ): SecureTableProvisionEdge -} - -"""All input for the create `SecureTableProvision` mutation.""" -input CreateSecureTableProvisionInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - - """The `SecureTableProvision` to be created by this mutation.""" - secureTableProvision: SecureTableProvisionInput! -} - -"""An input for mutations affecting `SecureTableProvision`""" -input SecureTableProvisionInput { - """Unique identifier for this provision row.""" - id: UUID - - """The database this provision belongs to. Required.""" - databaseId: UUID! - - """ - Target schema for the table. Defaults to uuid_nil(); the trigger resolves this to the app_public schema if not explicitly provided. - """ - schemaId: UUID - - """ - Target table to provision. Defaults to uuid_nil(); the trigger creates or resolves the table via table_name if not explicitly provided. - """ - tableId: UUID - - """ - Name of the target table. Used to create or look up the table when table_id is not provided. If omitted, it is backfilled from the resolved table. - """ - tableName: String - - """ - Which generator to invoke for field creation. One of: DataId, DataDirectOwner, DataEntityMembership, DataOwnershipInEntity, DataTimestamps, DataPeoplestamps, DataPublishable, DataSoftDelete. NULL means no field creation — the row only provisions grants and/or policies. - """ - nodeType: String - - """ - If true and Row Level Security is not yet enabled on the target table, enable it. Automatically set to true by the trigger when policy_type is provided. Defaults to true. - """ - useRls: Boolean - - """ - Configuration passed to the generator function for field creation (only used when node_type is set). Known keys include: field_name (text, default 'id') for DataId, owner_field_name (text, default 'owner_id') for DataDirectOwner/DataOwnershipInEntity, entity_field_name (text, default 'entity_id') for DataEntityMembership/DataOwnershipInEntity, include_id (boolean, default true) for most node_types, include_user_fk (boolean, default true) to add FK to users table. Defaults to '{}'. - """ - nodeData: JSON - - """ - JSON array of field definition objects to create on the target table. Each object has keys: "name" (text, required), "type" (text, required), "default" (text, optional), "is_required" (boolean, optional, defaults to false), "min" (float, optional), "max" (float, optional), "regexp" (text, optional). min/max generate CHECK constraints: for text/citext they constrain character_length, for integer/float types they constrain the value. regexp generates a CHECK (col ~ pattern) constraint for text/citext. Fields are created via metaschema.create_field() after any node_type generator runs, and their IDs are appended to out_fields. Example: [{"name":"username","type":"citext","max":256,"regexp":"^[a-z0-9_]+$"},{"name":"score","type":"integer","min":0,"max":100}]. Defaults to '[]' (no additional fields). - """ - fields: JSON - - """ - Database roles to grant privileges to. Supports multiple roles, e.g. ARRAY['authenticated', 'admin']. Each role receives all privileges defined in grant_privileges. Defaults to ARRAY['authenticated']. - """ - grantRoles: [String] - - """ - Array of [privilege, columns] tuples defining table grants. Examples: [["select","*"],["insert","*"]] for full access, or [["update",["name","bio"]]] for column-level grants. "*" means all columns; an array means column-level grant. Defaults to '[]' (no grants). The trigger validates this is a proper jsonb array. - """ - grantPrivileges: JSON - - """ - Policy generator type, e.g. 'AuthzEntityMembership', 'AuthzMembership', 'AuthzAllowAll'. NULL means no policy is created. When set, the trigger automatically enables RLS on the target table. - """ - policyType: String - - """ - Privileges the policy applies to, e.g. ARRAY['select','update']. NULL means privileges are derived from the grant_privileges verbs. - """ - policyPrivileges: [String] - - """ - Role the policy targets. NULL means it falls back to the first role in grant_roles. - """ - policyRole: String - - """ - Whether the policy is PERMISSIVE (true) or RESTRICTIVE (false). Defaults to true. - """ - policyPermissive: Boolean - - """ - Custom suffix for the generated policy name. When NULL and policy_type is set, the trigger auto-derives a suffix from policy_type by stripping the Authz prefix and underscoring the remainder (e.g. AuthzDirectOwner becomes direct_owner, producing policy names like auth_sel_direct_owner). When explicitly set, the value is passed through as-is to metaschema.create_policy name parameter. This ensures multiple policies on the same table do not collide (e.g. AuthzDirectOwner + AuthzPublishable each get unique names). - """ - policyName: String - - """ - Opaque configuration passed through to metaschema.create_policy(). Structure varies by policy_type and is not interpreted by this trigger. Defaults to '{}'. - """ - policyData: JSON - - """ - Output column populated by the trigger after field creation. Contains the UUIDs of the metaschema fields created on the target table by this provision row's generator. NULL when node_type is NULL or before the trigger runs. Callers should not set this directly. - """ - outFields: [UUID] -} - """The output of our create `User` mutation.""" type CreateUserPayload { """ @@ -34676,6 +33704,130 @@ input SiteInput { dbname: String } +"""The output of our create `BlueprintTemplate` mutation.""" +type CreateBlueprintTemplatePayload { + """ + The exact same `clientMutationId` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String + + """The `BlueprintTemplate` that was created by this mutation.""" + blueprintTemplate: BlueprintTemplate + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `BlueprintTemplate`. May be used by Relay 1.""" + blueprintTemplateEdge( + """The method to use when ordering `BlueprintTemplate`.""" + orderBy: [BlueprintTemplateOrderBy!]! = [PRIMARY_KEY_ASC] + ): BlueprintTemplateEdge +} + +"""All input for the create `BlueprintTemplate` mutation.""" +input CreateBlueprintTemplateInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + + """The `BlueprintTemplate` to be created by this mutation.""" + blueprintTemplate: BlueprintTemplateInput! +} + +"""An input for mutations affecting `BlueprintTemplate`""" +input BlueprintTemplateInput { + """Unique identifier for this template.""" + id: UUID + + """ + Machine-readable name for the template (e.g. e_commerce_basic). Must be unique per owner + version. + """ + name: String! + + """Semantic version string. Defaults to 1.0.0.""" + version: String + + """Human-readable display name for the template (e.g. E-Commerce Basic).""" + displayName: String! + + """Optional description of what the template provisions.""" + description: String + + """The user who created or published this template.""" + ownerId: UUID! + + """ + Access control for the template. private: only the owner can see and copy. public: anyone can browse and copy from the marketplace. Defaults to private. + """ + visibility: String + + """ + Domain categories for marketplace browsing (e.g. e-commerce, healthcare, social). Defaults to empty array. + """ + categories: [String] + + """ + Freeform tags for search and discovery (e.g. products, orders, payments). Defaults to empty array. + """ + tags: [String] + + """ + The blueprint definition as a JSONB document. Contains tables[] (each with nodes[] for data behaviors via string shorthand or {"$type": "...", "data": {...}} objects, fields[], grants[], and policies[] using {"$type": "...", "data": {...}}), and relations[] (using $type for relation_type with junction config in data). This is the core payload that gets copied into a blueprint for execution. + """ + definition: JSON! + + """ + Version of the definition format schema. Used for forward-compatible parsing. Defaults to 1. + """ + definitionSchemaVersion: String + + """ + Provenance of the template. user: manually created by a human. system: official curated template from the Constructive team. agent: AI-generated. Defaults to user. + """ + source: String + + """ + Complexity indicator for marketplace filtering. simple: 3-5 tables. moderate: 6-12 tables. complex: 13+ tables. NULL if not categorized. + """ + complexity: String + + """ + Denormalized count of how many blueprints have been created from this template via copy_template_to_blueprint(). Incremented automatically. Defaults to 0. + """ + copyCount: Int + + """ + Denormalized count of how many derivative templates have been forked from this template. Defaults to 0. + """ + forkCount: Int + + """ + If this template was forked from another template, the ID of the parent. NULL for original templates. + """ + forkedFromId: UUID + + """ + UUIDv5 Merkle root hash of the definition. Computed automatically via trigger from the ordered table_hashes. Used for content-addressable deduplication, provenance tracking, and cross-blueprint structural comparison. NULL columns are backend-computed — clients should never set this directly. + """ + definitionHash: UUID + + """ + JSONB map of table ref names to their individual UUIDv5 content hashes (e.g. {"products": "uuid", "categories": "uuid"}). Each table hash is computed from the canonical jsonb::text of the table entry. Enables structural comparison at the table level across different blueprints. Backend-computed via trigger. + """ + tableHashes: JSON + + """Timestamp when this template was created.""" + createdAt: Datetime + + """Timestamp when this template was last modified.""" + updatedAt: Datetime +} + """The output of our create `HierarchyModule` mutation.""" type CreateHierarchyModulePayload { """ @@ -34861,6 +34013,130 @@ input ForeignKeyConstraintInput { updatedAt: Datetime } +"""The output of our create `SecureTableProvision` mutation.""" +type CreateSecureTableProvisionPayload { + """ + The exact same `clientMutationId` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String + + """The `SecureTableProvision` that was created by this mutation.""" + secureTableProvision: SecureTableProvision + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `SecureTableProvision`. May be used by Relay 1.""" + secureTableProvisionEdge( + """The method to use when ordering `SecureTableProvision`.""" + orderBy: [SecureTableProvisionOrderBy!]! = [PRIMARY_KEY_ASC] + ): SecureTableProvisionEdge +} + +"""All input for the create `SecureTableProvision` mutation.""" +input CreateSecureTableProvisionInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + + """The `SecureTableProvision` to be created by this mutation.""" + secureTableProvision: SecureTableProvisionInput! +} + +"""An input for mutations affecting `SecureTableProvision`""" +input SecureTableProvisionInput { + """Unique identifier for this provision row.""" + id: UUID + + """The database this provision belongs to. Required.""" + databaseId: UUID! + + """ + Target schema for the table. Defaults to uuid_nil(); the trigger resolves this to the app_public schema if not explicitly provided. + """ + schemaId: UUID + + """ + Target table to provision. Defaults to uuid_nil(); the trigger creates or resolves the table via table_name if not explicitly provided. + """ + tableId: UUID + + """ + Name of the target table. Used to create or look up the table when table_id is not provided. If omitted, it is backfilled from the resolved table. + """ + tableName: String + + """ + Which generator to invoke for field creation. One of: DataId, DataDirectOwner, DataEntityMembership, DataOwnershipInEntity, DataTimestamps, DataPeoplestamps, DataPublishable, DataSoftDelete. NULL means no field creation — the row only provisions grants and/or policies. + """ + nodeType: String + + """ + If true and Row Level Security is not yet enabled on the target table, enable it. Automatically set to true by the trigger when policy_type is provided. Defaults to true. + """ + useRls: Boolean + + """ + Configuration passed to the generator function for field creation (only used when node_type is set). Known keys include: field_name (text, default 'id') for DataId, owner_field_name (text, default 'owner_id') for DataDirectOwner/DataOwnershipInEntity, entity_field_name (text, default 'entity_id') for DataEntityMembership/DataOwnershipInEntity, include_id (boolean, default true) for most node_types, include_user_fk (boolean, default true) to add FK to users table, create_index (boolean, default true) to create btree indexes on FK fields for join and cascade performance. Defaults to '{}'. + """ + nodeData: JSON + + """ + PostgreSQL array of jsonb field definition objects to create on the target table. Each object has keys: "name" (text, required), "type" (text, required), "default" (text, optional), "is_required" (boolean, optional, defaults to false), "min" (float, optional), "max" (float, optional), "regexp" (text, optional), "index" (boolean, optional, defaults to false — creates a btree index on the field). min/max generate CHECK constraints: for text/citext they constrain character_length, for integer/float types they constrain the value. regexp generates a CHECK (col ~ pattern) constraint for text/citext. Fields are created via metaschema.create_field() after any node_type generator runs, and their IDs are appended to out_fields. Example: ARRAY['{"name":"username","type":"citext","max":256,"regexp":"^[a-z0-9_]+$"}'::jsonb, '{"name":"score","type":"integer","min":0,"max":100}'::jsonb]. Defaults to '{}' (no additional fields). + """ + fields: [JSON] + + """ + Database roles to grant privileges to. Supports multiple roles, e.g. ARRAY['authenticated', 'admin']. Each role receives all privileges defined in grant_privileges. Defaults to ARRAY['authenticated']. + """ + grantRoles: [String] + + """ + PostgreSQL array of jsonb [privilege, columns] tuples defining table grants. Examples: ARRAY['["select","*"]'::jsonb, '["insert","*"]'::jsonb] for full access, or ARRAY['["update",["name","bio"]]'::jsonb] for column-level grants. "*" means all columns; an array means column-level grant. Defaults to '{}' (no grants). Type safety is enforced by PostgreSQL at INSERT time. + """ + grantPrivileges: [JSON] + + """ + Policy generator type, e.g. 'AuthzEntityMembership', 'AuthzMembership', 'AuthzAllowAll'. NULL means no policy is created. When set, the trigger automatically enables RLS on the target table. + """ + policyType: String + + """ + Privileges the policy applies to, e.g. ARRAY['select','update']. NULL means privileges are derived from the grant_privileges verbs. + """ + policyPrivileges: [String] + + """ + Role the policy targets. NULL means it falls back to the first role in grant_roles. + """ + policyRole: String + + """ + Whether the policy is PERMISSIVE (true) or RESTRICTIVE (false). Defaults to true. + """ + policyPermissive: Boolean + + """ + Custom suffix for the generated policy name. When NULL and policy_type is set, the trigger auto-derives a suffix from policy_type by stripping the Authz prefix and underscoring the remainder (e.g. AuthzDirectOwner becomes direct_owner, producing policy names like auth_sel_direct_owner). When explicitly set, the value is passed through as-is to metaschema.create_policy name parameter. This ensures multiple policies on the same table do not collide (e.g. AuthzDirectOwner + AuthzPublishable each get unique names). + """ + policyName: String + + """ + Opaque configuration passed through to metaschema.create_policy(). Structure varies by policy_type and is not interpreted by this trigger. Defaults to '{}'. + """ + policyData: JSON + + """ + Output column populated by the trigger after field creation. Contains the UUIDs of the metaschema fields created on the target table by this provision row's generator. NULL when node_type is NULL or before the trigger runs. Callers should not set this directly. + """ + outFields: [UUID] +} + """The output of our create `OrgInvite` mutation.""" type CreateOrgInvitePayload { """ @@ -35122,6 +34398,140 @@ input UserAuthModuleInput { extendTokenExpires: String } +"""The output of our create `Field` mutation.""" +type CreateFieldPayload { + """ + The exact same `clientMutationId` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String + + """The `Field` that was created by this mutation.""" + field: Field + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Field`. May be used by Relay 1.""" + fieldEdge( + """The method to use when ordering `Field`.""" + orderBy: [FieldOrderBy!]! = [PRIMARY_KEY_ASC] + ): FieldEdge +} + +"""All input for the create `Field` mutation.""" +input CreateFieldInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + + """The `Field` to be created by this mutation.""" + field: FieldInput! +} + +"""An input for mutations affecting `Field`""" +input FieldInput { + id: UUID + databaseId: UUID + tableId: UUID! + name: String! + label: String + description: String + smartTags: JSON + isRequired: Boolean + apiRequired: Boolean + defaultValue: String + defaultValueAst: JSON + isHidden: Boolean + type: String! + fieldOrder: Int + regexp: String + chk: JSON + chkExpr: JSON + min: Float + max: Float + tags: [String] + category: ObjectCategory + module: String + scope: Int + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our create `MembershipsModule` mutation.""" +type CreateMembershipsModulePayload { + """ + The exact same `clientMutationId` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String + + """The `MembershipsModule` that was created by this mutation.""" + membershipsModule: MembershipsModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `MembershipsModule`. May be used by Relay 1.""" + membershipsModuleEdge( + """The method to use when ordering `MembershipsModule`.""" + orderBy: [MembershipsModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): MembershipsModuleEdge +} + +"""All input for the create `MembershipsModule` mutation.""" +input CreateMembershipsModuleInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + + """The `MembershipsModule` to be created by this mutation.""" + membershipsModule: MembershipsModuleInput! +} + +"""An input for mutations affecting `MembershipsModule`""" +input MembershipsModuleInput { + id: UUID + databaseId: UUID! + schemaId: UUID + privateSchemaId: UUID + membershipsTableId: UUID + membershipsTableName: String + membersTableId: UUID + membersTableName: String + membershipDefaultsTableId: UUID + membershipDefaultsTableName: String + grantsTableId: UUID + grantsTableName: String + actorTableId: UUID + limitsTableId: UUID + defaultLimitsTableId: UUID + permissionsTableId: UUID + defaultPermissionsTableId: UUID + sprtTableId: UUID + adminGrantsTableId: UUID + adminGrantsTableName: String + ownerGrantsTableId: UUID + ownerGrantsTableName: String + membershipType: Int! + entityTableId: UUID + entityTableOwnerId: UUID + prefix: String + actorMaskCheck: String + actorPermCheck: String + entityIdsByMask: String + entityIdsByPerm: String + entityIdsFunction: String +} + """The output of our create `RelationProvision` mutation.""" type CreateRelationProvisionPayload { """ @@ -35218,6 +34628,14 @@ input RelationProvisionInput { """ isRequired: Boolean + """ + Whether the FK field should be required at the API level even though it is nullable at the database level. Defaults to false. + When true and is_required is false, the field is created as nullable (allowing SET NULL cascade) but a @requiredInput smart tag is added so PostGraphile treats it as non-null in create/update input types. + When is_required is true, api_required is ignored (the field is already required at both levels). + Ignored for RelationManyToMany (junction FK fields are always required). + """ + apiRequired: Boolean + """ For RelationManyToMany: an existing junction table to use. Defaults to uuid_nil(). - When uuid_nil(): the trigger creates a new junction table via secure_table_provision using junction_table_name. @@ -35255,6 +34673,28 @@ input RelationProvisionInput { """ useCompositeKey: Boolean + """ + Whether to create a btree index on FK fields created by this relation. Defaults to true. + PostgreSQL does not automatically index foreign key columns (only the referenced PK side is indexed). + Without indexes on FK columns, JOINs, CASCADE deletes, and RLS policy lookups perform sequential scans. + - RelationBelongsTo: creates an index on the FK field on the source table. + - RelationHasMany: creates an index on the FK field on the target table. + - RelationHasOne: skipped — the unique constraint already creates an implicit index. + - RelationManyToMany: creates indexes on both FK fields on the junction table. + Set to false only for very small tables or write-heavy tables where index maintenance cost outweighs read performance. + """ + createIndex: Boolean + + """ + For RelationManyToMany: whether to expose the M:N shortcut fields in the GraphQL API. Defaults to true. + When true, sets @behavior +manyToMany on the junction table smart_tags so PostGraphile generates + clean M:N connection fields (e.g., event.contacts instead of event.contactEventsByEventId). + When false (or toggled off via UPDATE), the behavior tag is removed and the M:N fields disappear from GraphQL. + Toggling is supported: UPDATE expose_in_api to true/false and the smart tag is added/removed automatically. + Ignored for RelationBelongsTo/RelationHasOne/RelationHasMany. + """ + exposeInApi: Boolean + """ For RelationManyToMany: which generator to invoke for field creation on the junction table. Forwarded to secure_table_provision as-is. The trigger does not interpret or validate this value. Examples: DataId (creates UUID primary key), DataDirectOwner (creates owner_id field), DataEntityMembership (creates entity_id field), DataOwnershipInEntity (creates both owner_id and entity_id), DataTimestamps, DataPeoplestamps, DataPublishable, DataSoftDelete. @@ -35280,9 +34720,9 @@ input RelationProvisionInput { grantRoles: [String] """ - For RelationManyToMany: privilege grants for the junction table. Forwarded to secure_table_provision as-is. Format: array of [privilege, columns] tuples. Examples: [["select","*"],["insert","*"]] for full access, or [["update",["name","bio"]]] for column-level grants. "*" means all columns. Defaults to select/insert/delete for all columns. Ignored for RelationBelongsTo/RelationHasOne. + For RelationManyToMany: privilege grants for the junction table. Forwarded to secure_table_provision as-is. Format: PostgreSQL array of jsonb [privilege, columns] tuples. Examples: ARRAY['["select","*"]'::jsonb, '["insert","*"]'::jsonb] for full access, or ARRAY['["update",["name","bio"]]'::jsonb] for column-level grants. "*" means all columns. Defaults to select/insert/delete for all columns. Ignored for RelationBelongsTo/RelationHasOne. """ - grantPrivileges: JSON + grantPrivileges: [JSON] """ For RelationManyToMany: RLS policy type for the junction table. Forwarded to secure_table_provision as-is. The trigger does not interpret or validate this value. @@ -35343,139 +34783,6 @@ input RelationProvisionInput { outTargetFieldId: UUID } -"""The output of our create `Field` mutation.""" -type CreateFieldPayload { - """ - The exact same `clientMutationId` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - - """The `Field` that was created by this mutation.""" - field: Field - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `Field`. May be used by Relay 1.""" - fieldEdge( - """The method to use when ordering `Field`.""" - orderBy: [FieldOrderBy!]! = [PRIMARY_KEY_ASC] - ): FieldEdge -} - -"""All input for the create `Field` mutation.""" -input CreateFieldInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - - """The `Field` to be created by this mutation.""" - field: FieldInput! -} - -"""An input for mutations affecting `Field`""" -input FieldInput { - id: UUID - databaseId: UUID - tableId: UUID! - name: String! - label: String - description: String - smartTags: JSON - isRequired: Boolean - defaultValue: String - defaultValueAst: JSON - isHidden: Boolean - type: String! - fieldOrder: Int - regexp: String - chk: JSON - chkExpr: JSON - min: Float - max: Float - tags: [String] - category: ObjectCategory - module: String - scope: Int - createdAt: Datetime - updatedAt: Datetime -} - -"""The output of our create `MembershipsModule` mutation.""" -type CreateMembershipsModulePayload { - """ - The exact same `clientMutationId` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - - """The `MembershipsModule` that was created by this mutation.""" - membershipsModule: MembershipsModule - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `MembershipsModule`. May be used by Relay 1.""" - membershipsModuleEdge( - """The method to use when ordering `MembershipsModule`.""" - orderBy: [MembershipsModuleOrderBy!]! = [PRIMARY_KEY_ASC] - ): MembershipsModuleEdge -} - -"""All input for the create `MembershipsModule` mutation.""" -input CreateMembershipsModuleInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - - """The `MembershipsModule` to be created by this mutation.""" - membershipsModule: MembershipsModuleInput! -} - -"""An input for mutations affecting `MembershipsModule`""" -input MembershipsModuleInput { - id: UUID - databaseId: UUID! - schemaId: UUID - privateSchemaId: UUID - membershipsTableId: UUID - membershipsTableName: String - membersTableId: UUID - membersTableName: String - membershipDefaultsTableId: UUID - membershipDefaultsTableName: String - grantsTableId: UUID - grantsTableName: String - actorTableId: UUID - limitsTableId: UUID - defaultLimitsTableId: UUID - permissionsTableId: UUID - defaultPermissionsTableId: UUID - sprtTableId: UUID - adminGrantsTableId: UUID - adminGrantsTableName: String - ownerGrantsTableId: UUID - ownerGrantsTableName: String - membershipType: Int! - entityTableId: UUID - entityTableOwnerId: UUID - prefix: String - actorMaskCheck: String - actorPermCheck: String - entityIdsByMask: String - entityIdsByPerm: String - entityIdsFunction: String -} - """The output of our update `DefaultIdsModule` mutation.""" type UpdateDefaultIdsModulePayload { """ @@ -35627,6 +34934,65 @@ input ApiSchemaPatch { apiId: UUID } +"""The output of our update `SiteTheme` mutation.""" +type UpdateSiteThemePayload { + """ + The exact same `clientMutationId` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String + + """The `SiteTheme` that was updated by this mutation.""" + siteTheme: SiteTheme + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `SiteTheme`. May be used by Relay 1.""" + siteThemeEdge( + """The method to use when ordering `SiteTheme`.""" + orderBy: [SiteThemeOrderBy!]! = [PRIMARY_KEY_ASC] + ): SiteThemeEdge +} + +"""All input for the `updateSiteTheme` mutation.""" +input UpdateSiteThemeInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + + """Unique identifier for this theme record""" + id: UUID! + + """ + An object where the defined keys will be set on the `SiteTheme` being updated. + """ + siteThemePatch: SiteThemePatch! +} + +""" +Represents an update to a `SiteTheme`. Fields that are set will be updated. +""" +input SiteThemePatch { + """Unique identifier for this theme record""" + id: UUID + + """Reference to the metaschema database""" + databaseId: UUID + + """Site this theme belongs to""" + siteId: UUID + + """ + JSONB object containing theme tokens (colors, typography, spacing, etc.) + """ + theme: JSON +} + """The output of our update `OrgMember` mutation.""" type UpdateOrgMemberPayload { """ @@ -35881,114 +35247,6 @@ input SecretsModulePatch { tableName: String } -"""The output of our update `UuidModule` mutation.""" -type UpdateUuidModulePayload { - """ - The exact same `clientMutationId` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - - """The `UuidModule` that was updated by this mutation.""" - uuidModule: UuidModule - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `UuidModule`. May be used by Relay 1.""" - uuidModuleEdge( - """The method to use when ordering `UuidModule`.""" - orderBy: [UuidModuleOrderBy!]! = [PRIMARY_KEY_ASC] - ): UuidModuleEdge -} - -"""All input for the `updateUuidModule` mutation.""" -input UpdateUuidModuleInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - id: UUID! - - """ - An object where the defined keys will be set on the `UuidModule` being updated. - """ - uuidModulePatch: UuidModulePatch! -} - -""" -Represents an update to a `UuidModule`. Fields that are set will be updated. -""" -input UuidModulePatch { - id: UUID - databaseId: UUID - schemaId: UUID - uuidFunction: String - uuidSeed: String -} - -"""The output of our update `SiteTheme` mutation.""" -type UpdateSiteThemePayload { - """ - The exact same `clientMutationId` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - - """The `SiteTheme` that was updated by this mutation.""" - siteTheme: SiteTheme - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `SiteTheme`. May be used by Relay 1.""" - siteThemeEdge( - """The method to use when ordering `SiteTheme`.""" - orderBy: [SiteThemeOrderBy!]! = [PRIMARY_KEY_ASC] - ): SiteThemeEdge -} - -"""All input for the `updateSiteTheme` mutation.""" -input UpdateSiteThemeInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - - """Unique identifier for this theme record""" - id: UUID! - - """ - An object where the defined keys will be set on the `SiteTheme` being updated. - """ - siteThemePatch: SiteThemePatch! -} - -""" -Represents an update to a `SiteTheme`. Fields that are set will be updated. -""" -input SiteThemePatch { - """Unique identifier for this theme record""" - id: UUID - - """Reference to the metaschema database""" - databaseId: UUID - - """Site this theme belongs to""" - siteId: UUID - - """ - JSONB object containing theme tokens (colors, typography, spacing, etc.) - """ - theme: JSON -} - """The output of our update `Store` mutation.""" type UpdateStorePayload { """ @@ -37221,6 +36479,66 @@ input CryptoAddressesModulePatch { cryptoNetwork: String } +"""The output of our update `ConnectedAccount` mutation.""" +type UpdateConnectedAccountPayload { + """ + The exact same `clientMutationId` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String + + """The `ConnectedAccount` that was updated by this mutation.""" + connectedAccount: ConnectedAccount + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `ConnectedAccount`. May be used by Relay 1.""" + connectedAccountEdge( + """The method to use when ordering `ConnectedAccount`.""" + orderBy: [ConnectedAccountOrderBy!]! = [PRIMARY_KEY_ASC] + ): ConnectedAccountEdge +} + +"""All input for the `updateConnectedAccount` mutation.""" +input UpdateConnectedAccountInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + id: UUID! + + """ + An object where the defined keys will be set on the `ConnectedAccount` being updated. + """ + connectedAccountPatch: ConnectedAccountPatch! +} + +""" +Represents an update to a `ConnectedAccount`. Fields that are set will be updated. +""" +input ConnectedAccountPatch { + id: UUID + ownerId: UUID + + """The service used, e.g. `twitter` or `github`.""" + service: String + + """A unique identifier for the user within the service""" + identifier: String + + """Additional profile details extracted from this login method""" + details: JSON + + """Whether this connected account has been verified""" + isVerified: Boolean + createdAt: Datetime + updatedAt: Datetime +} + """The output of our update `PhoneNumber` mutation.""" type UpdatePhoneNumberPayload { """ @@ -37383,66 +36701,6 @@ input OrgLimitDefaultPatch { max: Int } -"""The output of our update `ConnectedAccount` mutation.""" -type UpdateConnectedAccountPayload { - """ - The exact same `clientMutationId` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - - """The `ConnectedAccount` that was updated by this mutation.""" - connectedAccount: ConnectedAccount - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `ConnectedAccount`. May be used by Relay 1.""" - connectedAccountEdge( - """The method to use when ordering `ConnectedAccount`.""" - orderBy: [ConnectedAccountOrderBy!]! = [PRIMARY_KEY_ASC] - ): ConnectedAccountEdge -} - -"""All input for the `updateConnectedAccount` mutation.""" -input UpdateConnectedAccountInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - id: UUID! - - """ - An object where the defined keys will be set on the `ConnectedAccount` being updated. - """ - connectedAccountPatch: ConnectedAccountPatch! -} - -""" -Represents an update to a `ConnectedAccount`. Fields that are set will be updated. -""" -input ConnectedAccountPatch { - id: UUID - ownerId: UUID - - """The service used, e.g. `twitter` or `github`.""" - service: String - - """A unique identifier for the user within the service""" - identifier: String - - """Additional profile details extracted from this login method""" - details: JSON - - """Whether this connected account has been verified""" - isVerified: Boolean - createdAt: Datetime - updatedAt: Datetime -} - """The output of our update `TableGrant` mutation.""" type UpdateTableGrantPayload { """ @@ -37655,7 +36913,9 @@ input OrgChartEdgeGrantPatch { """User ID of the manager being assigned; NULL for top-level positions""" parentId: UUID - """User ID of the admin who performed this grant or revocation""" + """ + User ID of the admin who performed this grant or revocation; NULL if grantor was deleted + """ grantorId: UUID """TRUE to add/update the edge, FALSE to remove it""" @@ -39156,7 +38416,7 @@ input AuditLogPatch { """ event: String - """User who performed the authentication action""" + """User who performed the authentication action; NULL if user was deleted""" actorId: UUID """Request origin (domain) where the auth event occurred""" @@ -39237,6 +38497,64 @@ input AppLevelPatch { imageUpload: Upload } +"""The output of our update `DatabaseTransfer` mutation.""" +type UpdateDatabaseTransferPayload { + """ + The exact same `clientMutationId` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String + + """The `DatabaseTransfer` that was updated by this mutation.""" + databaseTransfer: DatabaseTransfer + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `DatabaseTransfer`. May be used by Relay 1.""" + databaseTransferEdge( + """The method to use when ordering `DatabaseTransfer`.""" + orderBy: [DatabaseTransferOrderBy!]! = [PRIMARY_KEY_ASC] + ): DatabaseTransferEdge +} + +"""All input for the `updateDatabaseTransfer` mutation.""" +input UpdateDatabaseTransferInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + id: UUID! + + """ + An object where the defined keys will be set on the `DatabaseTransfer` being updated. + """ + databaseTransferPatch: DatabaseTransferPatch! +} + +""" +Represents an update to a `DatabaseTransfer`. Fields that are set will be updated. +""" +input DatabaseTransferPatch { + id: UUID + databaseId: UUID + targetOwnerId: UUID + sourceApproved: Boolean + targetApproved: Boolean + sourceApprovedAt: Datetime + targetApprovedAt: Datetime + status: String + initiatedBy: UUID + notes: String + expiresAt: Datetime + createdAt: Datetime + updatedAt: Datetime + completedAt: Datetime +} + """The output of our update `CryptoAuthModule` mutation.""" type UpdateCryptoAuthModulePayload { """ @@ -39490,6 +38808,60 @@ input EmailPatch { updatedAt: Datetime } +"""The output of our update `Enum` mutation.""" +type UpdateEnumPayload { + """ + The exact same `clientMutationId` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String + + """The `Enum` that was updated by this mutation.""" + enum: Enum + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Enum`. May be used by Relay 1.""" + enumEdge( + """The method to use when ordering `Enum`.""" + orderBy: [EnumOrderBy!]! = [PRIMARY_KEY_ASC] + ): EnumEdge +} + +"""All input for the `updateEnum` mutation.""" +input UpdateEnumInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + id: UUID! + + """ + An object where the defined keys will be set on the `Enum` being updated. + """ + enumPatch: EnumPatch! +} + +"""Represents an update to a `Enum`. Fields that are set will be updated.""" +input EnumPatch { + id: UUID + databaseId: UUID + schemaId: UUID + name: String + label: String + description: String + values: [String] + smartTags: JSON + category: ObjectCategory + module: String + scope: Int + tags: [String] +} + """The output of our update `View` mutation.""" type UpdateViewPayload { """ @@ -39548,6 +38920,122 @@ input ViewPatch { tags: [String] } +"""The output of our update `Blueprint` mutation.""" +type UpdateBlueprintPayload { + """ + The exact same `clientMutationId` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String + + """The `Blueprint` that was updated by this mutation.""" + blueprint: Blueprint + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Blueprint`. May be used by Relay 1.""" + blueprintEdge( + """The method to use when ordering `Blueprint`.""" + orderBy: [BlueprintOrderBy!]! = [PRIMARY_KEY_ASC] + ): BlueprintEdge +} + +"""All input for the `updateBlueprint` mutation.""" +input UpdateBlueprintInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + + """Unique identifier for this blueprint.""" + id: UUID! + + """ + An object where the defined keys will be set on the `Blueprint` being updated. + """ + blueprintPatch: BlueprintPatch! +} + +""" +Represents an update to a `Blueprint`. Fields that are set will be updated. +""" +input BlueprintPatch { + """Unique identifier for this blueprint.""" + id: UUID + + """The user who owns this blueprint.""" + ownerId: UUID + + """ + The database this blueprint is scoped to. Tables created by construct_blueprint() are provisioned in this database. + """ + databaseId: UUID + + """Machine-readable name for the blueprint. Must be unique per database.""" + name: String + + """Human-readable display name for the blueprint.""" + displayName: String + + """Optional description of the blueprint.""" + description: String + + """ + The blueprint definition as a JSONB document. Same format as blueprint_template.definition: contains tables[] (with nodes[], fields[], grants[], policies[] using $type) and relations[] (using $type). This is a mutable copy that the owner can customize before executing. + """ + definition: JSON + + """ + If this blueprint was created by copying a template, the ID of the source template. NULL if built from scratch. + """ + templateId: UUID + + """ + Execution state of the blueprint. draft: not yet executed (definition can still be modified). constructed: successfully executed via construct_blueprint(). failed: execution failed (see error_details). Defaults to draft. + """ + status: String + + """ + Timestamp when construct_blueprint() successfully completed. NULL until constructed. + """ + constructedAt: Datetime + + """ + Error message from the most recent failed construct_blueprint() attempt. NULL unless status is failed. + """ + errorDetails: String + + """ + Mapping of ref names to created table UUIDs, populated by construct_blueprint() after successful execution. Format: {"products": "uuid", "categories": "uuid", ...}. Defaults to empty object. + """ + refMap: JSON + + """ + Immutable snapshot of the definition at construct-time. Preserved so the exact definition that was executed is recorded even if the user later modifies the definition for re-execution. NULL until constructed. + """ + constructedDefinition: JSON + + """ + UUIDv5 Merkle root hash of the definition. Computed automatically via trigger from the ordered table_hashes. Used for content-addressable deduplication and provenance tracking. Backend-computed — clients should never set this directly. + """ + definitionHash: UUID + + """ + JSONB map of table ref names to their individual UUIDv5 content hashes. Each table hash is computed from the canonical jsonb::text of the table entry. Enables structural comparison at the table level across blueprints and templates. Backend-computed via trigger. + """ + tableHashes: JSON + + """Timestamp when this blueprint was created.""" + createdAt: Datetime + + """Timestamp when this blueprint was last modified.""" + updatedAt: Datetime +} + """The output of our update `PermissionsModule` mutation.""" type UpdatePermissionsModulePayload { """ @@ -39609,6 +39097,68 @@ input PermissionsModulePatch { getMaskByName: String } +"""The output of our update `EmbeddingChunk` mutation.""" +type UpdateEmbeddingChunkPayload { + """ + The exact same `clientMutationId` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String + + """The `EmbeddingChunk` that was updated by this mutation.""" + embeddingChunk: EmbeddingChunk + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `EmbeddingChunk`. May be used by Relay 1.""" + embeddingChunkEdge( + """The method to use when ordering `EmbeddingChunk`.""" + orderBy: [EmbeddingChunkOrderBy!]! = [PRIMARY_KEY_ASC] + ): EmbeddingChunkEdge +} + +"""All input for the `updateEmbeddingChunk` mutation.""" +input UpdateEmbeddingChunkInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + id: UUID! + + """ + An object where the defined keys will be set on the `EmbeddingChunk` being updated. + """ + embeddingChunkPatch: EmbeddingChunkPatch! +} + +""" +Represents an update to a `EmbeddingChunk`. Fields that are set will be updated. +""" +input EmbeddingChunkPatch { + id: UUID + databaseId: UUID + tableId: UUID + embeddingFieldId: UUID + chunksTableId: UUID + chunksTableName: String + contentFieldName: String + dimensions: Int + metric: String + chunkSize: Int + chunkOverlap: Int + chunkStrategy: String + metadataFields: JSON + enqueueChunkingJob: Boolean + chunkingTaskName: String + parentFkFieldId: UUID + createdAt: Datetime + updatedAt: Datetime +} + """The output of our update `LimitsModule` mutation.""" type UpdateLimitsModulePayload { """ @@ -39733,137 +39283,6 @@ input ProfilesModulePatch { prefix: String } -"""The output of our update `SecureTableProvision` mutation.""" -type UpdateSecureTableProvisionPayload { - """ - The exact same `clientMutationId` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - - """The `SecureTableProvision` that was updated by this mutation.""" - secureTableProvision: SecureTableProvision - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `SecureTableProvision`. May be used by Relay 1.""" - secureTableProvisionEdge( - """The method to use when ordering `SecureTableProvision`.""" - orderBy: [SecureTableProvisionOrderBy!]! = [PRIMARY_KEY_ASC] - ): SecureTableProvisionEdge -} - -"""All input for the `updateSecureTableProvision` mutation.""" -input UpdateSecureTableProvisionInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - - """Unique identifier for this provision row.""" - id: UUID! - - """ - An object where the defined keys will be set on the `SecureTableProvision` being updated. - """ - secureTableProvisionPatch: SecureTableProvisionPatch! -} - -""" -Represents an update to a `SecureTableProvision`. Fields that are set will be updated. -""" -input SecureTableProvisionPatch { - """Unique identifier for this provision row.""" - id: UUID - - """The database this provision belongs to. Required.""" - databaseId: UUID - - """ - Target schema for the table. Defaults to uuid_nil(); the trigger resolves this to the app_public schema if not explicitly provided. - """ - schemaId: UUID - - """ - Target table to provision. Defaults to uuid_nil(); the trigger creates or resolves the table via table_name if not explicitly provided. - """ - tableId: UUID - - """ - Name of the target table. Used to create or look up the table when table_id is not provided. If omitted, it is backfilled from the resolved table. - """ - tableName: String - - """ - Which generator to invoke for field creation. One of: DataId, DataDirectOwner, DataEntityMembership, DataOwnershipInEntity, DataTimestamps, DataPeoplestamps, DataPublishable, DataSoftDelete. NULL means no field creation — the row only provisions grants and/or policies. - """ - nodeType: String - - """ - If true and Row Level Security is not yet enabled on the target table, enable it. Automatically set to true by the trigger when policy_type is provided. Defaults to true. - """ - useRls: Boolean - - """ - Configuration passed to the generator function for field creation (only used when node_type is set). Known keys include: field_name (text, default 'id') for DataId, owner_field_name (text, default 'owner_id') for DataDirectOwner/DataOwnershipInEntity, entity_field_name (text, default 'entity_id') for DataEntityMembership/DataOwnershipInEntity, include_id (boolean, default true) for most node_types, include_user_fk (boolean, default true) to add FK to users table. Defaults to '{}'. - """ - nodeData: JSON - - """ - JSON array of field definition objects to create on the target table. Each object has keys: "name" (text, required), "type" (text, required), "default" (text, optional), "is_required" (boolean, optional, defaults to false), "min" (float, optional), "max" (float, optional), "regexp" (text, optional). min/max generate CHECK constraints: for text/citext they constrain character_length, for integer/float types they constrain the value. regexp generates a CHECK (col ~ pattern) constraint for text/citext. Fields are created via metaschema.create_field() after any node_type generator runs, and their IDs are appended to out_fields. Example: [{"name":"username","type":"citext","max":256,"regexp":"^[a-z0-9_]+$"},{"name":"score","type":"integer","min":0,"max":100}]. Defaults to '[]' (no additional fields). - """ - fields: JSON - - """ - Database roles to grant privileges to. Supports multiple roles, e.g. ARRAY['authenticated', 'admin']. Each role receives all privileges defined in grant_privileges. Defaults to ARRAY['authenticated']. - """ - grantRoles: [String] - - """ - Array of [privilege, columns] tuples defining table grants. Examples: [["select","*"],["insert","*"]] for full access, or [["update",["name","bio"]]] for column-level grants. "*" means all columns; an array means column-level grant. Defaults to '[]' (no grants). The trigger validates this is a proper jsonb array. - """ - grantPrivileges: JSON - - """ - Policy generator type, e.g. 'AuthzEntityMembership', 'AuthzMembership', 'AuthzAllowAll'. NULL means no policy is created. When set, the trigger automatically enables RLS on the target table. - """ - policyType: String - - """ - Privileges the policy applies to, e.g. ARRAY['select','update']. NULL means privileges are derived from the grant_privileges verbs. - """ - policyPrivileges: [String] - - """ - Role the policy targets. NULL means it falls back to the first role in grant_roles. - """ - policyRole: String - - """ - Whether the policy is PERMISSIVE (true) or RESTRICTIVE (false). Defaults to true. - """ - policyPermissive: Boolean - - """ - Custom suffix for the generated policy name. When NULL and policy_type is set, the trigger auto-derives a suffix from policy_type by stripping the Authz prefix and underscoring the remainder (e.g. AuthzDirectOwner becomes direct_owner, producing policy names like auth_sel_direct_owner). When explicitly set, the value is passed through as-is to metaschema.create_policy name parameter. This ensures multiple policies on the same table do not collide (e.g. AuthzDirectOwner + AuthzPublishable each get unique names). - """ - policyName: String - - """ - Opaque configuration passed through to metaschema.create_policy(). Structure varies by policy_type and is not interpreted by this trigger. Defaults to '{}'. - """ - policyData: JSON - - """ - Output column populated by the trigger after field creation. Contains the UUIDs of the metaschema fields created on the target table by this provision row's generator. NULL when node_type is NULL or before the trigger runs. Callers should not set this directly. - """ - outFields: [UUID] -} - """The output of our update `User` mutation.""" type UpdateUserPayload { """ @@ -40657,6 +40076,137 @@ input SitePatch { logoUpload: Upload } +"""The output of our update `BlueprintTemplate` mutation.""" +type UpdateBlueprintTemplatePayload { + """ + The exact same `clientMutationId` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String + + """The `BlueprintTemplate` that was updated by this mutation.""" + blueprintTemplate: BlueprintTemplate + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `BlueprintTemplate`. May be used by Relay 1.""" + blueprintTemplateEdge( + """The method to use when ordering `BlueprintTemplate`.""" + orderBy: [BlueprintTemplateOrderBy!]! = [PRIMARY_KEY_ASC] + ): BlueprintTemplateEdge +} + +"""All input for the `updateBlueprintTemplate` mutation.""" +input UpdateBlueprintTemplateInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + + """Unique identifier for this template.""" + id: UUID! + + """ + An object where the defined keys will be set on the `BlueprintTemplate` being updated. + """ + blueprintTemplatePatch: BlueprintTemplatePatch! +} + +""" +Represents an update to a `BlueprintTemplate`. Fields that are set will be updated. +""" +input BlueprintTemplatePatch { + """Unique identifier for this template.""" + id: UUID + + """ + Machine-readable name for the template (e.g. e_commerce_basic). Must be unique per owner + version. + """ + name: String + + """Semantic version string. Defaults to 1.0.0.""" + version: String + + """Human-readable display name for the template (e.g. E-Commerce Basic).""" + displayName: String + + """Optional description of what the template provisions.""" + description: String + + """The user who created or published this template.""" + ownerId: UUID + + """ + Access control for the template. private: only the owner can see and copy. public: anyone can browse and copy from the marketplace. Defaults to private. + """ + visibility: String + + """ + Domain categories for marketplace browsing (e.g. e-commerce, healthcare, social). Defaults to empty array. + """ + categories: [String] + + """ + Freeform tags for search and discovery (e.g. products, orders, payments). Defaults to empty array. + """ + tags: [String] + + """ + The blueprint definition as a JSONB document. Contains tables[] (each with nodes[] for data behaviors via string shorthand or {"$type": "...", "data": {...}} objects, fields[], grants[], and policies[] using {"$type": "...", "data": {...}}), and relations[] (using $type for relation_type with junction config in data). This is the core payload that gets copied into a blueprint for execution. + """ + definition: JSON + + """ + Version of the definition format schema. Used for forward-compatible parsing. Defaults to 1. + """ + definitionSchemaVersion: String + + """ + Provenance of the template. user: manually created by a human. system: official curated template from the Constructive team. agent: AI-generated. Defaults to user. + """ + source: String + + """ + Complexity indicator for marketplace filtering. simple: 3-5 tables. moderate: 6-12 tables. complex: 13+ tables. NULL if not categorized. + """ + complexity: String + + """ + Denormalized count of how many blueprints have been created from this template via copy_template_to_blueprint(). Incremented automatically. Defaults to 0. + """ + copyCount: Int + + """ + Denormalized count of how many derivative templates have been forked from this template. Defaults to 0. + """ + forkCount: Int + + """ + If this template was forked from another template, the ID of the parent. NULL for original templates. + """ + forkedFromId: UUID + + """ + UUIDv5 Merkle root hash of the definition. Computed automatically via trigger from the ordered table_hashes. Used for content-addressable deduplication, provenance tracking, and cross-blueprint structural comparison. NULL columns are backend-computed — clients should never set this directly. + """ + definitionHash: UUID + + """ + JSONB map of table ref names to their individual UUIDv5 content hashes (e.g. {"products": "uuid", "categories": "uuid"}). Each table hash is computed from the canonical jsonb::text of the table entry. Enables structural comparison at the table level across different blueprints. Backend-computed via trigger. + """ + tableHashes: JSON + + """Timestamp when this template was created.""" + createdAt: Datetime + + """Timestamp when this template was last modified.""" + updatedAt: Datetime +} + """The output of our update `HierarchyModule` mutation.""" type UpdateHierarchyModulePayload { """ @@ -40857,6 +40407,137 @@ input ForeignKeyConstraintPatch { updatedAt: Datetime } +"""The output of our update `SecureTableProvision` mutation.""" +type UpdateSecureTableProvisionPayload { + """ + The exact same `clientMutationId` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String + + """The `SecureTableProvision` that was updated by this mutation.""" + secureTableProvision: SecureTableProvision + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `SecureTableProvision`. May be used by Relay 1.""" + secureTableProvisionEdge( + """The method to use when ordering `SecureTableProvision`.""" + orderBy: [SecureTableProvisionOrderBy!]! = [PRIMARY_KEY_ASC] + ): SecureTableProvisionEdge +} + +"""All input for the `updateSecureTableProvision` mutation.""" +input UpdateSecureTableProvisionInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + + """Unique identifier for this provision row.""" + id: UUID! + + """ + An object where the defined keys will be set on the `SecureTableProvision` being updated. + """ + secureTableProvisionPatch: SecureTableProvisionPatch! +} + +""" +Represents an update to a `SecureTableProvision`. Fields that are set will be updated. +""" +input SecureTableProvisionPatch { + """Unique identifier for this provision row.""" + id: UUID + + """The database this provision belongs to. Required.""" + databaseId: UUID + + """ + Target schema for the table. Defaults to uuid_nil(); the trigger resolves this to the app_public schema if not explicitly provided. + """ + schemaId: UUID + + """ + Target table to provision. Defaults to uuid_nil(); the trigger creates or resolves the table via table_name if not explicitly provided. + """ + tableId: UUID + + """ + Name of the target table. Used to create or look up the table when table_id is not provided. If omitted, it is backfilled from the resolved table. + """ + tableName: String + + """ + Which generator to invoke for field creation. One of: DataId, DataDirectOwner, DataEntityMembership, DataOwnershipInEntity, DataTimestamps, DataPeoplestamps, DataPublishable, DataSoftDelete. NULL means no field creation — the row only provisions grants and/or policies. + """ + nodeType: String + + """ + If true and Row Level Security is not yet enabled on the target table, enable it. Automatically set to true by the trigger when policy_type is provided. Defaults to true. + """ + useRls: Boolean + + """ + Configuration passed to the generator function for field creation (only used when node_type is set). Known keys include: field_name (text, default 'id') for DataId, owner_field_name (text, default 'owner_id') for DataDirectOwner/DataOwnershipInEntity, entity_field_name (text, default 'entity_id') for DataEntityMembership/DataOwnershipInEntity, include_id (boolean, default true) for most node_types, include_user_fk (boolean, default true) to add FK to users table, create_index (boolean, default true) to create btree indexes on FK fields for join and cascade performance. Defaults to '{}'. + """ + nodeData: JSON + + """ + PostgreSQL array of jsonb field definition objects to create on the target table. Each object has keys: "name" (text, required), "type" (text, required), "default" (text, optional), "is_required" (boolean, optional, defaults to false), "min" (float, optional), "max" (float, optional), "regexp" (text, optional), "index" (boolean, optional, defaults to false — creates a btree index on the field). min/max generate CHECK constraints: for text/citext they constrain character_length, for integer/float types they constrain the value. regexp generates a CHECK (col ~ pattern) constraint for text/citext. Fields are created via metaschema.create_field() after any node_type generator runs, and their IDs are appended to out_fields. Example: ARRAY['{"name":"username","type":"citext","max":256,"regexp":"^[a-z0-9_]+$"}'::jsonb, '{"name":"score","type":"integer","min":0,"max":100}'::jsonb]. Defaults to '{}' (no additional fields). + """ + fields: [JSON] + + """ + Database roles to grant privileges to. Supports multiple roles, e.g. ARRAY['authenticated', 'admin']. Each role receives all privileges defined in grant_privileges. Defaults to ARRAY['authenticated']. + """ + grantRoles: [String] + + """ + PostgreSQL array of jsonb [privilege, columns] tuples defining table grants. Examples: ARRAY['["select","*"]'::jsonb, '["insert","*"]'::jsonb] for full access, or ARRAY['["update",["name","bio"]]'::jsonb] for column-level grants. "*" means all columns; an array means column-level grant. Defaults to '{}' (no grants). Type safety is enforced by PostgreSQL at INSERT time. + """ + grantPrivileges: [JSON] + + """ + Policy generator type, e.g. 'AuthzEntityMembership', 'AuthzMembership', 'AuthzAllowAll'. NULL means no policy is created. When set, the trigger automatically enables RLS on the target table. + """ + policyType: String + + """ + Privileges the policy applies to, e.g. ARRAY['select','update']. NULL means privileges are derived from the grant_privileges verbs. + """ + policyPrivileges: [String] + + """ + Role the policy targets. NULL means it falls back to the first role in grant_roles. + """ + policyRole: String + + """ + Whether the policy is PERMISSIVE (true) or RESTRICTIVE (false). Defaults to true. + """ + policyPermissive: Boolean + + """ + Custom suffix for the generated policy name. When NULL and policy_type is set, the trigger auto-derives a suffix from policy_type by stripping the Authz prefix and underscoring the remainder (e.g. AuthzDirectOwner becomes direct_owner, producing policy names like auth_sel_direct_owner). When explicitly set, the value is passed through as-is to metaschema.create_policy name parameter. This ensures multiple policies on the same table do not collide (e.g. AuthzDirectOwner + AuthzPublishable each get unique names). + """ + policyName: String + + """ + Opaque configuration passed through to metaschema.create_policy(). Structure varies by policy_type and is not interpreted by this trigger. Defaults to '{}'. + """ + policyData: JSON + + """ + Output column populated by the trigger after field creation. Contains the UUIDs of the metaschema fields created on the target table by this provision row's generator. NULL when node_type is NULL or before the trigger runs. Callers should not set this directly. + """ + outFields: [UUID] +} + """The output of our update `OrgInvite` mutation.""" type UpdateOrgInvitePayload { """ @@ -41138,6 +40819,150 @@ input UserAuthModulePatch { extendTokenExpires: String } +"""The output of our update `Field` mutation.""" +type UpdateFieldPayload { + """ + The exact same `clientMutationId` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String + + """The `Field` that was updated by this mutation.""" + field: Field + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Field`. May be used by Relay 1.""" + fieldEdge( + """The method to use when ordering `Field`.""" + orderBy: [FieldOrderBy!]! = [PRIMARY_KEY_ASC] + ): FieldEdge +} + +"""All input for the `updateField` mutation.""" +input UpdateFieldInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + id: UUID! + + """ + An object where the defined keys will be set on the `Field` being updated. + """ + fieldPatch: FieldPatch! +} + +""" +Represents an update to a `Field`. Fields that are set will be updated. +""" +input FieldPatch { + id: UUID + databaseId: UUID + tableId: UUID + name: String + label: String + description: String + smartTags: JSON + isRequired: Boolean + apiRequired: Boolean + defaultValue: String + defaultValueAst: JSON + isHidden: Boolean + type: String + fieldOrder: Int + regexp: String + chk: JSON + chkExpr: JSON + min: Float + max: Float + tags: [String] + category: ObjectCategory + module: String + scope: Int + createdAt: Datetime + updatedAt: Datetime +} + +"""The output of our update `MembershipsModule` mutation.""" +type UpdateMembershipsModulePayload { + """ + The exact same `clientMutationId` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String + + """The `MembershipsModule` that was updated by this mutation.""" + membershipsModule: MembershipsModule + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `MembershipsModule`. May be used by Relay 1.""" + membershipsModuleEdge( + """The method to use when ordering `MembershipsModule`.""" + orderBy: [MembershipsModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): MembershipsModuleEdge +} + +"""All input for the `updateMembershipsModule` mutation.""" +input UpdateMembershipsModuleInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + id: UUID! + + """ + An object where the defined keys will be set on the `MembershipsModule` being updated. + """ + membershipsModulePatch: MembershipsModulePatch! +} + +""" +Represents an update to a `MembershipsModule`. Fields that are set will be updated. +""" +input MembershipsModulePatch { + id: UUID + databaseId: UUID + schemaId: UUID + privateSchemaId: UUID + membershipsTableId: UUID + membershipsTableName: String + membersTableId: UUID + membersTableName: String + membershipDefaultsTableId: UUID + membershipDefaultsTableName: String + grantsTableId: UUID + grantsTableName: String + actorTableId: UUID + limitsTableId: UUID + defaultLimitsTableId: UUID + permissionsTableId: UUID + defaultPermissionsTableId: UUID + sprtTableId: UUID + adminGrantsTableId: UUID + adminGrantsTableName: String + ownerGrantsTableId: UUID + ownerGrantsTableName: String + membershipType: Int + entityTableId: UUID + entityTableOwnerId: UUID + prefix: String + actorMaskCheck: String + actorPermCheck: String + entityIdsByMask: String + entityIdsByPerm: String + entityIdsFunction: String +} + """The output of our update `RelationProvision` mutation.""" type UpdateRelationProvisionPayload { """ @@ -41241,6 +41066,14 @@ input RelationProvisionPatch { """ isRequired: Boolean + """ + Whether the FK field should be required at the API level even though it is nullable at the database level. Defaults to false. + When true and is_required is false, the field is created as nullable (allowing SET NULL cascade) but a @requiredInput smart tag is added so PostGraphile treats it as non-null in create/update input types. + When is_required is true, api_required is ignored (the field is already required at both levels). + Ignored for RelationManyToMany (junction FK fields are always required). + """ + apiRequired: Boolean + """ For RelationManyToMany: an existing junction table to use. Defaults to uuid_nil(). - When uuid_nil(): the trigger creates a new junction table via secure_table_provision using junction_table_name. @@ -41278,6 +41111,28 @@ input RelationProvisionPatch { """ useCompositeKey: Boolean + """ + Whether to create a btree index on FK fields created by this relation. Defaults to true. + PostgreSQL does not automatically index foreign key columns (only the referenced PK side is indexed). + Without indexes on FK columns, JOINs, CASCADE deletes, and RLS policy lookups perform sequential scans. + - RelationBelongsTo: creates an index on the FK field on the source table. + - RelationHasMany: creates an index on the FK field on the target table. + - RelationHasOne: skipped — the unique constraint already creates an implicit index. + - RelationManyToMany: creates indexes on both FK fields on the junction table. + Set to false only for very small tables or write-heavy tables where index maintenance cost outweighs read performance. + """ + createIndex: Boolean + + """ + For RelationManyToMany: whether to expose the M:N shortcut fields in the GraphQL API. Defaults to true. + When true, sets @behavior +manyToMany on the junction table smart_tags so PostGraphile generates + clean M:N connection fields (e.g., event.contacts instead of event.contactEventsByEventId). + When false (or toggled off via UPDATE), the behavior tag is removed and the M:N fields disappear from GraphQL. + Toggling is supported: UPDATE expose_in_api to true/false and the smart tag is added/removed automatically. + Ignored for RelationBelongsTo/RelationHasOne/RelationHasMany. + """ + exposeInApi: Boolean + """ For RelationManyToMany: which generator to invoke for field creation on the junction table. Forwarded to secure_table_provision as-is. The trigger does not interpret or validate this value. Examples: DataId (creates UUID primary key), DataDirectOwner (creates owner_id field), DataEntityMembership (creates entity_id field), DataOwnershipInEntity (creates both owner_id and entity_id), DataTimestamps, DataPeoplestamps, DataPublishable, DataSoftDelete. @@ -41303,9 +41158,9 @@ input RelationProvisionPatch { grantRoles: [String] """ - For RelationManyToMany: privilege grants for the junction table. Forwarded to secure_table_provision as-is. Format: array of [privilege, columns] tuples. Examples: [["select","*"],["insert","*"]] for full access, or [["update",["name","bio"]]] for column-level grants. "*" means all columns. Defaults to select/insert/delete for all columns. Ignored for RelationBelongsTo/RelationHasOne. + For RelationManyToMany: privilege grants for the junction table. Forwarded to secure_table_provision as-is. Format: PostgreSQL array of jsonb [privilege, columns] tuples. Examples: ARRAY['["select","*"]'::jsonb, '["insert","*"]'::jsonb] for full access, or ARRAY['["update",["name","bio"]]'::jsonb] for column-level grants. "*" means all columns. Defaults to select/insert/delete for all columns. Ignored for RelationBelongsTo/RelationHasOne. """ - grantPrivileges: JSON + grantPrivileges: [JSON] """ For RelationManyToMany: RLS policy type for the junction table. Forwarded to secure_table_provision as-is. The trigger does not interpret or validate this value. @@ -41366,149 +41221,6 @@ input RelationProvisionPatch { outTargetFieldId: UUID } -"""The output of our update `Field` mutation.""" -type UpdateFieldPayload { - """ - The exact same `clientMutationId` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - - """The `Field` that was updated by this mutation.""" - field: Field - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `Field`. May be used by Relay 1.""" - fieldEdge( - """The method to use when ordering `Field`.""" - orderBy: [FieldOrderBy!]! = [PRIMARY_KEY_ASC] - ): FieldEdge -} - -"""All input for the `updateField` mutation.""" -input UpdateFieldInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - id: UUID! - - """ - An object where the defined keys will be set on the `Field` being updated. - """ - fieldPatch: FieldPatch! -} - -""" -Represents an update to a `Field`. Fields that are set will be updated. -""" -input FieldPatch { - id: UUID - databaseId: UUID - tableId: UUID - name: String - label: String - description: String - smartTags: JSON - isRequired: Boolean - defaultValue: String - defaultValueAst: JSON - isHidden: Boolean - type: String - fieldOrder: Int - regexp: String - chk: JSON - chkExpr: JSON - min: Float - max: Float - tags: [String] - category: ObjectCategory - module: String - scope: Int - createdAt: Datetime - updatedAt: Datetime -} - -"""The output of our update `MembershipsModule` mutation.""" -type UpdateMembershipsModulePayload { - """ - The exact same `clientMutationId` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - - """The `MembershipsModule` that was updated by this mutation.""" - membershipsModule: MembershipsModule - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `MembershipsModule`. May be used by Relay 1.""" - membershipsModuleEdge( - """The method to use when ordering `MembershipsModule`.""" - orderBy: [MembershipsModuleOrderBy!]! = [PRIMARY_KEY_ASC] - ): MembershipsModuleEdge -} - -"""All input for the `updateMembershipsModule` mutation.""" -input UpdateMembershipsModuleInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - id: UUID! - - """ - An object where the defined keys will be set on the `MembershipsModule` being updated. - """ - membershipsModulePatch: MembershipsModulePatch! -} - -""" -Represents an update to a `MembershipsModule`. Fields that are set will be updated. -""" -input MembershipsModulePatch { - id: UUID - databaseId: UUID - schemaId: UUID - privateSchemaId: UUID - membershipsTableId: UUID - membershipsTableName: String - membersTableId: UUID - membersTableName: String - membershipDefaultsTableId: UUID - membershipDefaultsTableName: String - grantsTableId: UUID - grantsTableName: String - actorTableId: UUID - limitsTableId: UUID - defaultLimitsTableId: UUID - permissionsTableId: UUID - defaultPermissionsTableId: UUID - sprtTableId: UUID - adminGrantsTableId: UUID - adminGrantsTableName: String - ownerGrantsTableId: UUID - ownerGrantsTableName: String - membershipType: Int - entityTableId: UUID - entityTableOwnerId: UUID - prefix: String - actorMaskCheck: String - actorPermCheck: String - entityIdsByMask: String - entityIdsByPerm: String - entityIdsFunction: String -} - """The output of our delete `DefaultIdsModule` mutation.""" type DeleteDefaultIdsModulePayload { """ @@ -41610,6 +41322,41 @@ input DeleteApiSchemaInput { id: UUID! } +"""The output of our delete `SiteTheme` mutation.""" +type DeleteSiteThemePayload { + """ + The exact same `clientMutationId` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String + + """The `SiteTheme` that was deleted by this mutation.""" + siteTheme: SiteTheme + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `SiteTheme`. May be used by Relay 1.""" + siteThemeEdge( + """The method to use when ordering `SiteTheme`.""" + orderBy: [SiteThemeOrderBy!]! = [PRIMARY_KEY_ASC] + ): SiteThemeEdge +} + +"""All input for the `deleteSiteTheme` mutation.""" +input DeleteSiteThemeInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + + """Unique identifier for this theme record""" + id: UUID! +} + """The output of our delete `OrgMember` mutation.""" type DeleteOrgMemberPayload { """ @@ -41778,74 +41525,6 @@ input DeleteSecretsModuleInput { id: UUID! } -"""The output of our delete `UuidModule` mutation.""" -type DeleteUuidModulePayload { - """ - The exact same `clientMutationId` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - - """The `UuidModule` that was deleted by this mutation.""" - uuidModule: UuidModule - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `UuidModule`. May be used by Relay 1.""" - uuidModuleEdge( - """The method to use when ordering `UuidModule`.""" - orderBy: [UuidModuleOrderBy!]! = [PRIMARY_KEY_ASC] - ): UuidModuleEdge -} - -"""All input for the `deleteUuidModule` mutation.""" -input DeleteUuidModuleInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - id: UUID! -} - -"""The output of our delete `SiteTheme` mutation.""" -type DeleteSiteThemePayload { - """ - The exact same `clientMutationId` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - - """The `SiteTheme` that was deleted by this mutation.""" - siteTheme: SiteTheme - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `SiteTheme`. May be used by Relay 1.""" - siteThemeEdge( - """The method to use when ordering `SiteTheme`.""" - orderBy: [SiteThemeOrderBy!]! = [PRIMARY_KEY_ASC] - ): SiteThemeEdge -} - -"""All input for the `deleteSiteTheme` mutation.""" -input DeleteSiteThemeInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - - """Unique identifier for this theme record""" - id: UUID! -} - """The output of our delete `Store` mutation.""" type DeleteStorePayload { """ @@ -42613,6 +42292,39 @@ input DeleteCryptoAddressesModuleInput { id: UUID! } +"""The output of our delete `ConnectedAccount` mutation.""" +type DeleteConnectedAccountPayload { + """ + The exact same `clientMutationId` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String + + """The `ConnectedAccount` that was deleted by this mutation.""" + connectedAccount: ConnectedAccount + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `ConnectedAccount`. May be used by Relay 1.""" + connectedAccountEdge( + """The method to use when ordering `ConnectedAccount`.""" + orderBy: [ConnectedAccountOrderBy!]! = [PRIMARY_KEY_ASC] + ): ConnectedAccountEdge +} + +"""All input for the `deleteConnectedAccount` mutation.""" +input DeleteConnectedAccountInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + id: UUID! +} + """The output of our delete `PhoneNumber` mutation.""" type DeletePhoneNumberPayload { """ @@ -42712,39 +42424,6 @@ input DeleteOrgLimitDefaultInput { id: UUID! } -"""The output of our delete `ConnectedAccount` mutation.""" -type DeleteConnectedAccountPayload { - """ - The exact same `clientMutationId` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - - """The `ConnectedAccount` that was deleted by this mutation.""" - connectedAccount: ConnectedAccount - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `ConnectedAccount`. May be used by Relay 1.""" - connectedAccountEdge( - """The method to use when ordering `ConnectedAccount`.""" - orderBy: [ConnectedAccountOrderBy!]! = [PRIMARY_KEY_ASC] - ): ConnectedAccountEdge -} - -"""All input for the `deleteConnectedAccount` mutation.""" -input DeleteConnectedAccountInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - id: UUID! -} - """The output of our delete `TableGrant` mutation.""" type DeleteTableGrantPayload { """ @@ -43753,6 +43432,39 @@ input DeleteAppLevelInput { id: UUID! } +"""The output of our delete `DatabaseTransfer` mutation.""" +type DeleteDatabaseTransferPayload { + """ + The exact same `clientMutationId` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String + + """The `DatabaseTransfer` that was deleted by this mutation.""" + databaseTransfer: DatabaseTransfer + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `DatabaseTransfer`. May be used by Relay 1.""" + databaseTransferEdge( + """The method to use when ordering `DatabaseTransfer`.""" + orderBy: [DatabaseTransferOrderBy!]! = [PRIMARY_KEY_ASC] + ): DatabaseTransferEdge +} + +"""All input for the `deleteDatabaseTransfer` mutation.""" +input DeleteDatabaseTransferInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + id: UUID! +} + """The output of our delete `CryptoAuthModule` mutation.""" type DeleteCryptoAuthModulePayload { """ @@ -43885,6 +43597,39 @@ input DeleteEmailInput { id: UUID! } +"""The output of our delete `Enum` mutation.""" +type DeleteEnumPayload { + """ + The exact same `clientMutationId` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String + + """The `Enum` that was deleted by this mutation.""" + enum: Enum + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Enum`. May be used by Relay 1.""" + enumEdge( + """The method to use when ordering `Enum`.""" + orderBy: [EnumOrderBy!]! = [PRIMARY_KEY_ASC] + ): EnumEdge +} + +"""All input for the `deleteEnum` mutation.""" +input DeleteEnumInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + id: UUID! +} + """The output of our delete `View` mutation.""" type DeleteViewPayload { """ @@ -43918,6 +43663,41 @@ input DeleteViewInput { id: UUID! } +"""The output of our delete `Blueprint` mutation.""" +type DeleteBlueprintPayload { + """ + The exact same `clientMutationId` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String + + """The `Blueprint` that was deleted by this mutation.""" + blueprint: Blueprint + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `Blueprint`. May be used by Relay 1.""" + blueprintEdge( + """The method to use when ordering `Blueprint`.""" + orderBy: [BlueprintOrderBy!]! = [PRIMARY_KEY_ASC] + ): BlueprintEdge +} + +"""All input for the `deleteBlueprint` mutation.""" +input DeleteBlueprintInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + + """Unique identifier for this blueprint.""" + id: UUID! +} + """The output of our delete `PermissionsModule` mutation.""" type DeletePermissionsModulePayload { """ @@ -43951,31 +43731,31 @@ input DeletePermissionsModuleInput { id: UUID! } -"""The output of our delete `LimitsModule` mutation.""" -type DeleteLimitsModulePayload { +"""The output of our delete `EmbeddingChunk` mutation.""" +type DeleteEmbeddingChunkPayload { """ The exact same `clientMutationId` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String - """The `LimitsModule` that was deleted by this mutation.""" - limitsModule: LimitsModule + """The `EmbeddingChunk` that was deleted by this mutation.""" + embeddingChunk: EmbeddingChunk """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """An edge for our `LimitsModule`. May be used by Relay 1.""" - limitsModuleEdge( - """The method to use when ordering `LimitsModule`.""" - orderBy: [LimitsModuleOrderBy!]! = [PRIMARY_KEY_ASC] - ): LimitsModuleEdge + """An edge for our `EmbeddingChunk`. May be used by Relay 1.""" + embeddingChunkEdge( + """The method to use when ordering `EmbeddingChunk`.""" + orderBy: [EmbeddingChunkOrderBy!]! = [PRIMARY_KEY_ASC] + ): EmbeddingChunkEdge } -"""All input for the `deleteLimitsModule` mutation.""" -input DeleteLimitsModuleInput { +"""All input for the `deleteEmbeddingChunk` mutation.""" +input DeleteEmbeddingChunkInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. @@ -43984,31 +43764,31 @@ input DeleteLimitsModuleInput { id: UUID! } -"""The output of our delete `ProfilesModule` mutation.""" -type DeleteProfilesModulePayload { +"""The output of our delete `LimitsModule` mutation.""" +type DeleteLimitsModulePayload { """ The exact same `clientMutationId` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String - """The `ProfilesModule` that was deleted by this mutation.""" - profilesModule: ProfilesModule + """The `LimitsModule` that was deleted by this mutation.""" + limitsModule: LimitsModule """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """An edge for our `ProfilesModule`. May be used by Relay 1.""" - profilesModuleEdge( - """The method to use when ordering `ProfilesModule`.""" - orderBy: [ProfilesModuleOrderBy!]! = [PRIMARY_KEY_ASC] - ): ProfilesModuleEdge + """An edge for our `LimitsModule`. May be used by Relay 1.""" + limitsModuleEdge( + """The method to use when ordering `LimitsModule`.""" + orderBy: [LimitsModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): LimitsModuleEdge } -"""All input for the `deleteProfilesModule` mutation.""" -input DeleteProfilesModuleInput { +"""All input for the `deleteLimitsModule` mutation.""" +input DeleteLimitsModuleInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. @@ -44017,38 +43797,36 @@ input DeleteProfilesModuleInput { id: UUID! } -"""The output of our delete `SecureTableProvision` mutation.""" -type DeleteSecureTableProvisionPayload { +"""The output of our delete `ProfilesModule` mutation.""" +type DeleteProfilesModulePayload { """ The exact same `clientMutationId` that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. """ clientMutationId: String - """The `SecureTableProvision` that was deleted by this mutation.""" - secureTableProvision: SecureTableProvision + """The `ProfilesModule` that was deleted by this mutation.""" + profilesModule: ProfilesModule """ Our root query field type. Allows us to run any query from our mutation payload. """ query: Query - """An edge for our `SecureTableProvision`. May be used by Relay 1.""" - secureTableProvisionEdge( - """The method to use when ordering `SecureTableProvision`.""" - orderBy: [SecureTableProvisionOrderBy!]! = [PRIMARY_KEY_ASC] - ): SecureTableProvisionEdge + """An edge for our `ProfilesModule`. May be used by Relay 1.""" + profilesModuleEdge( + """The method to use when ordering `ProfilesModule`.""" + orderBy: [ProfilesModuleOrderBy!]! = [PRIMARY_KEY_ASC] + ): ProfilesModuleEdge } -"""All input for the `deleteSecureTableProvision` mutation.""" -input DeleteSecureTableProvisionInput { +"""All input for the `deleteProfilesModule` mutation.""" +input DeleteProfilesModuleInput { """ An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client. """ clientMutationId: String - - """Unique identifier for this provision row.""" id: UUID! } @@ -44452,6 +44230,41 @@ input DeleteSiteInput { id: UUID! } +"""The output of our delete `BlueprintTemplate` mutation.""" +type DeleteBlueprintTemplatePayload { + """ + The exact same `clientMutationId` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String + + """The `BlueprintTemplate` that was deleted by this mutation.""" + blueprintTemplate: BlueprintTemplate + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `BlueprintTemplate`. May be used by Relay 1.""" + blueprintTemplateEdge( + """The method to use when ordering `BlueprintTemplate`.""" + orderBy: [BlueprintTemplateOrderBy!]! = [PRIMARY_KEY_ASC] + ): BlueprintTemplateEdge +} + +"""All input for the `deleteBlueprintTemplate` mutation.""" +input DeleteBlueprintTemplateInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + + """Unique identifier for this template.""" + id: UUID! +} + """The output of our delete `HierarchyModule` mutation.""" type DeleteHierarchyModulePayload { """ @@ -44551,6 +44364,41 @@ input DeleteForeignKeyConstraintInput { id: UUID! } +"""The output of our delete `SecureTableProvision` mutation.""" +type DeleteSecureTableProvisionPayload { + """ + The exact same `clientMutationId` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String + + """The `SecureTableProvision` that was deleted by this mutation.""" + secureTableProvision: SecureTableProvision + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `SecureTableProvision`. May be used by Relay 1.""" + secureTableProvisionEdge( + """The method to use when ordering `SecureTableProvision`.""" + orderBy: [SecureTableProvisionOrderBy!]! = [PRIMARY_KEY_ASC] + ): SecureTableProvisionEdge +} + +"""All input for the `deleteSecureTableProvision` mutation.""" +input DeleteSecureTableProvisionInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + + """Unique identifier for this provision row.""" + id: UUID! +} + """The output of our delete `OrgInvite` mutation.""" type DeleteOrgInvitePayload { """ @@ -44683,41 +44531,6 @@ input DeleteUserAuthModuleInput { id: UUID! } -"""The output of our delete `RelationProvision` mutation.""" -type DeleteRelationProvisionPayload { - """ - The exact same `clientMutationId` that was provided in the mutation input, - unchanged and unused. May be used by a client to track mutations. - """ - clientMutationId: String - - """The `RelationProvision` that was deleted by this mutation.""" - relationProvision: RelationProvision - - """ - Our root query field type. Allows us to run any query from our mutation payload. - """ - query: Query - - """An edge for our `RelationProvision`. May be used by Relay 1.""" - relationProvisionEdge( - """The method to use when ordering `RelationProvision`.""" - orderBy: [RelationProvisionOrderBy!]! = [PRIMARY_KEY_ASC] - ): RelationProvisionEdge -} - -"""All input for the `deleteRelationProvision` mutation.""" -input DeleteRelationProvisionInput { - """ - An arbitrary string value with no semantic meaning. Will be included in the - payload verbatim. May be used to track mutations by the client. - """ - clientMutationId: String - - """Unique identifier for this relation provision row.""" - id: UUID! -} - """The output of our delete `Field` mutation.""" type DeleteFieldPayload { """ @@ -44782,4 +44595,39 @@ input DeleteMembershipsModuleInput { """ clientMutationId: String id: UUID! +} + +"""The output of our delete `RelationProvision` mutation.""" +type DeleteRelationProvisionPayload { + """ + The exact same `clientMutationId` that was provided in the mutation input, + unchanged and unused. May be used by a client to track mutations. + """ + clientMutationId: String + + """The `RelationProvision` that was deleted by this mutation.""" + relationProvision: RelationProvision + + """ + Our root query field type. Allows us to run any query from our mutation payload. + """ + query: Query + + """An edge for our `RelationProvision`. May be used by Relay 1.""" + relationProvisionEdge( + """The method to use when ordering `RelationProvision`.""" + orderBy: [RelationProvisionOrderBy!]! = [PRIMARY_KEY_ASC] + ): RelationProvisionEdge +} + +"""All input for the `deleteRelationProvision` mutation.""" +input DeleteRelationProvisionInput { + """ + An arbitrary string value with no semantic meaning. Will be included in the + payload verbatim. May be used to track mutations by the client. + """ + clientMutationId: String + + """Unique identifier for this relation provision row.""" + id: UUID! } \ No newline at end of file